2004-11-25 J"orn Rennecke <joern.rennecke@st.com>
[official-gcc.git] / libstdc++-v3 / configure
blob0024e82faa2e9e6b9e7608fc12d53afd9badacfe
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:4: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 lt_cv_deplibs_check_method=pass_all
4001 netbsd* | knetbsd*-gnu)
4002 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4003 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4004 else
4005 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4009 newsos6)
4010 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4011 lt_cv_file_magic_cmd=/usr/bin/file
4012 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4015 osf3* | osf4* | osf5*)
4016 # this will be overridden with pass_all, but let us keep it just in case
4017 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4018 lt_cv_file_magic_test_file=/shlib/libc.so
4019 lt_cv_deplibs_check_method=pass_all
4022 sco3.2v5*)
4023 lt_cv_deplibs_check_method=pass_all
4026 solaris*)
4027 lt_cv_deplibs_check_method=pass_all
4028 lt_cv_file_magic_test_file=/lib/libc.so
4031 sysv5uw[78]* | sysv4*uw2*)
4032 lt_cv_deplibs_check_method=pass_all
4035 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4036 case $host_vendor in
4037 ncr)
4038 lt_cv_deplibs_check_method=pass_all
4040 motorola)
4041 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]'
4042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4044 esac
4046 esac
4049 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4050 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4051 file_magic_cmd=$lt_cv_file_magic_cmd
4052 deplibs_check_method=$lt_cv_deplibs_check_method
4058 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4060 # Only perform the check for file, if the check method requires it
4061 case $deplibs_check_method in
4062 file_magic*)
4063 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4064 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4065 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4066 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 case $MAGIC_CMD in
4071 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4073 ?:/*)
4074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4077 ac_save_MAGIC_CMD="$MAGIC_CMD"
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4079 ac_dummy="/usr/bin:$PATH"
4080 for ac_dir in $ac_dummy; do
4081 test -z "$ac_dir" && ac_dir=.
4082 if test -f $ac_dir/${ac_tool_prefix}file; then
4083 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4084 if test -n "$file_magic_test_file"; then
4085 case $deplibs_check_method in
4086 "file_magic "*)
4087 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4089 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4090 egrep "$file_magic_regex" > /dev/null; then
4092 else
4093 cat <<EOF 1>&2
4095 *** Warning: the command libtool uses to detect shared libraries,
4096 *** $file_magic_cmd, produces output that libtool cannot recognize.
4097 *** The result is that libtool may fail to recognize shared libraries
4098 *** as such. This will affect the creation of libtool libraries that
4099 *** depend on shared libraries, but programs linked with such libtool
4100 *** libraries will work regardless of this problem. Nevertheless, you
4101 *** may want to report the problem to your system manager and/or to
4102 *** bug-libtool@gnu.org
4105 fi ;;
4106 esac
4108 break
4110 done
4111 IFS="$ac_save_ifs"
4112 MAGIC_CMD="$ac_save_MAGIC_CMD"
4114 esac
4117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4118 if test -n "$MAGIC_CMD"; then
4119 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4120 echo "${ECHO_T}$MAGIC_CMD" >&6
4121 else
4122 echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6
4126 if test -z "$lt_cv_path_MAGIC_CMD"; then
4127 if test -n "$ac_tool_prefix"; then
4128 echo "$as_me:$LINENO: checking for file" >&5
4129 echo $ECHO_N "checking for file... $ECHO_C" >&6
4130 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 else
4133 case $MAGIC_CMD in
4135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4137 ?:/*)
4138 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4141 ac_save_MAGIC_CMD="$MAGIC_CMD"
4142 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4143 ac_dummy="/usr/bin:$PATH"
4144 for ac_dir in $ac_dummy; do
4145 test -z "$ac_dir" && ac_dir=.
4146 if test -f $ac_dir/file; then
4147 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4148 if test -n "$file_magic_test_file"; then
4149 case $deplibs_check_method in
4150 "file_magic "*)
4151 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4153 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4154 egrep "$file_magic_regex" > /dev/null; then
4156 else
4157 cat <<EOF 1>&2
4159 *** Warning: the command libtool uses to detect shared libraries,
4160 *** $file_magic_cmd, produces output that libtool cannot recognize.
4161 *** The result is that libtool may fail to recognize shared libraries
4162 *** as such. This will affect the creation of libtool libraries that
4163 *** depend on shared libraries, but programs linked with such libtool
4164 *** libraries will work regardless of this problem. Nevertheless, you
4165 *** may want to report the problem to your system manager and/or to
4166 *** bug-libtool@gnu.org
4169 fi ;;
4170 esac
4172 break
4174 done
4175 IFS="$ac_save_ifs"
4176 MAGIC_CMD="$ac_save_MAGIC_CMD"
4178 esac
4181 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4182 if test -n "$MAGIC_CMD"; then
4183 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4184 echo "${ECHO_T}$MAGIC_CMD" >&6
4185 else
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4190 else
4191 MAGIC_CMD=:
4197 esac
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4202 echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4204 if test "${ac_cv_prog_RANLIB+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 else
4207 if test -n "$RANLIB"; then
4208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4209 else
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 for as_dir in $PATH
4213 IFS=$as_save_IFS
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 break 2
4221 done
4222 done
4226 RANLIB=$ac_cv_prog_RANLIB
4227 if test -n "$RANLIB"; then
4228 echo "$as_me:$LINENO: result: $RANLIB" >&5
4229 echo "${ECHO_T}$RANLIB" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4236 if test -z "$ac_cv_prog_RANLIB"; then
4237 ac_ct_RANLIB=$RANLIB
4238 # Extract the first word of "ranlib", so it can be a program name with args.
4239 set dummy ranlib; ac_word=$2
4240 echo "$as_me:$LINENO: checking for $ac_word" >&5
4241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else
4245 if test -n "$ac_ct_RANLIB"; then
4246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4251 IFS=$as_save_IFS
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_ac_ct_RANLIB="ranlib"
4256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 break 2
4259 done
4260 done
4262 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4266 if test -n "$ac_ct_RANLIB"; then
4267 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4268 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4269 else
4270 echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6
4274 RANLIB=$ac_ct_RANLIB
4275 else
4276 RANLIB="$ac_cv_prog_RANLIB"
4279 if test -n "$ac_tool_prefix"; then
4280 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4281 set dummy ${ac_tool_prefix}strip; ac_word=$2
4282 echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4284 if test "${ac_cv_prog_STRIP+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 else
4287 if test -n "$STRIP"; then
4288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4289 else
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH
4293 IFS=$as_save_IFS
4294 test -z "$as_dir" && as_dir=.
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 break 2
4301 done
4302 done
4306 STRIP=$ac_cv_prog_STRIP
4307 if test -n "$STRIP"; then
4308 echo "$as_me:$LINENO: result: $STRIP" >&5
4309 echo "${ECHO_T}$STRIP" >&6
4310 else
4311 echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6
4316 if test -z "$ac_cv_prog_STRIP"; then
4317 ac_ct_STRIP=$STRIP
4318 # Extract the first word of "strip", so it can be a program name with args.
4319 set dummy strip; ac_word=$2
4320 echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 else
4325 if test -n "$ac_ct_STRIP"; then
4326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4327 else
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH
4331 IFS=$as_save_IFS
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_ac_ct_STRIP="strip"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 break 2
4339 done
4340 done
4342 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4346 if test -n "$ac_ct_STRIP"; then
4347 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4348 echo "${ECHO_T}$ac_ct_STRIP" >&6
4349 else
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4354 STRIP=$ac_ct_STRIP
4355 else
4356 STRIP="$ac_cv_prog_STRIP"
4360 # Check for any special flags to pass to ltconfig.
4361 libtool_flags="--cache-file=$cache_file"
4362 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4363 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4364 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4365 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4366 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4369 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4370 if test "${enable_libtool_lock+set}" = set; then
4371 enableval="$enable_libtool_lock"
4374 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4375 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4378 # Check whether --with-pic or --without-pic was given.
4379 if test "${with_pic+set}" = set; then
4380 withval="$with_pic"
4381 pic_mode="$withval"
4382 else
4383 pic_mode=default
4385 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4386 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4388 # Some flags need to be propagated to the compiler or linker for good
4389 # libtool support.
4390 case $host in
4391 *-*-irix6*)
4392 # Find out which ABI we are using.
4393 echo '#line 4393 "configure"' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
4396 ac_status=$?
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; then
4399 if test "$lt_cv_prog_gnu_ld" = yes; then
4400 case `/usr/bin/file conftest.$ac_objext` in
4401 *32-bit*)
4402 LD="${LD-ld} -melf32bsmip"
4404 *N32*)
4405 LD="${LD-ld} -melf32bmipn32"
4407 *64-bit*)
4408 LD="${LD-ld} -melf64bmip"
4410 esac
4411 else
4412 case `/usr/bin/file conftest.$ac_objext` in
4413 *32-bit*)
4414 LD="${LD-ld} -32"
4416 *N32*)
4417 LD="${LD-ld} -n32"
4419 *64-bit*)
4420 LD="${LD-ld} -64"
4422 esac
4425 rm -rf conftest*
4428 ia64-*-hpux*)
4429 # Find out which ABI we are using.
4430 echo 'int i;' > conftest.$ac_ext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>&5
4433 ac_status=$?
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; then
4436 case "`/usr/bin/file conftest.o`" in
4437 *ELF-32*)
4438 HPUX_IA64_MODE="32"
4440 *ELF-64*)
4441 HPUX_IA64_MODE="64"
4443 esac
4445 rm -rf conftest*
4448 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4449 # Find out which ABI we are using.
4450 echo 'int i;' > conftest.$ac_ext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>&5
4453 ac_status=$?
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; then
4456 case "`/usr/bin/file conftest.o`" in
4457 *32-bit*)
4458 case $host in
4459 x86_64-*linux*)
4460 LD="${LD-ld} -m elf_i386"
4462 ppc64-*linux*|powerpc64-*linux*)
4463 LD="${LD-ld} -m elf32ppclinux"
4465 s390x-*linux*)
4466 LD="${LD-ld} -m elf_s390"
4468 sparc64-*linux*)
4469 LD="${LD-ld} -m elf32_sparc"
4471 esac
4473 *64-bit*)
4474 case $host in
4475 x86_64-*linux*)
4476 LD="${LD-ld} -m elf_x86_64"
4478 ppc*-*linux*|powerpc*-*linux*)
4479 LD="${LD-ld} -m elf64ppc"
4481 s390*-*linux*)
4482 LD="${LD-ld} -m elf64_s390"
4484 sparc*-*linux*)
4485 LD="${LD-ld} -m elf64_sparc"
4487 esac
4489 esac
4491 rm -rf conftest*
4494 *-*-sco3.2v5*)
4495 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4496 SAVE_CFLAGS="$CFLAGS"
4497 CFLAGS="$CFLAGS -belf"
4498 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4499 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4500 if test "${lt_cv_cc_needs_belf+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 else
4505 ac_ext=c
4506 ac_cpp='$CPP $CPPFLAGS'
4507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511 if test x$gcc_no_link = xyes; then
4512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4514 { (exit 1); exit 1; }; }
4516 cat >conftest.$ac_ext <<_ACEOF
4517 /* confdefs.h. */
4518 _ACEOF
4519 cat confdefs.h >>conftest.$ac_ext
4520 cat >>conftest.$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 rm -f conftest.$ac_objext conftest$ac_exeext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4533 (eval $ac_link) 2>conftest.er1
4534 ac_status=$?
4535 grep -v '^ *+' conftest.er1 >conftest.err
4536 rm -f conftest.er1
4537 cat conftest.err >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try='test -z "$ac_c_werror_flag"
4541 || test ! -s conftest.err'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543 (eval $ac_try) 2>&5
4544 ac_status=$?
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; } &&
4547 { ac_try='test -s conftest$ac_exeext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 (eval $ac_try) 2>&5
4550 ac_status=$?
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4553 lt_cv_cc_needs_belf=yes
4554 else
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 lt_cv_cc_needs_belf=no
4560 rm -f conftest.err conftest.$ac_objext \
4561 conftest$ac_exeext conftest.$ac_ext
4562 ac_ext=c
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4570 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4571 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4572 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4573 CFLAGS="$SAVE_CFLAGS"
4578 esac
4581 # Save cache, so that ltconfig can load it
4582 cat >confcache <<\_ACEOF
4583 # This file is a shell script that caches the results of configure
4584 # tests run on this system so they can be shared between configure
4585 # scripts and configure runs, see configure's option --config-cache.
4586 # It is not useful on other systems. If it contains results you don't
4587 # want to keep, you may remove or edit it.
4589 # config.status only pays attention to the cache file if you give it
4590 # the --recheck option to rerun configure.
4592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4594 # following values.
4596 _ACEOF
4598 # The following way of writing the cache mishandles newlines in values,
4599 # but we know of no workaround that is simple, portable, and efficient.
4600 # So, don't put newlines in cache variables' values.
4601 # Ultrix sh set writes to stderr and can't be redirected directly,
4602 # and sets the high bit in the cache file unless we assign to the vars.
4604 (set) 2>&1 |
4605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4606 *ac_space=\ *)
4607 # `set' does not quote correctly, so add quotes (double-quote
4608 # substitution turns \\\\ into \\, and sed turns \\ into \).
4609 sed -n \
4610 "s/'/'\\\\''/g;
4611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4614 # `set' quotes correctly as required by POSIX, so do not add quotes.
4615 sed -n \
4616 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4618 esac;
4620 sed '
4621 t clear
4622 : clear
4623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4624 t end
4625 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4626 : end' >>confcache
4627 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4628 if test -w $cache_file; then
4629 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4630 cat confcache >$cache_file
4631 else
4632 echo "not updating unwritable cache $cache_file"
4635 rm -f confcache
4637 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4638 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4639 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4640 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4641 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4642 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4643 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4644 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4645 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4646 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4647 echo "$as_me: error: libtool configure failed" >&2;}
4648 { (exit 1); exit 1; }; }
4650 # Reload cache, that may have been modified by ltconfig
4651 if test -r "$cache_file"; then
4652 # Some versions of bash will fail to source /dev/null (special
4653 # files actually), so we avoid doing that.
4654 if test -f "$cache_file"; then
4655 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4656 echo "$as_me: loading cache $cache_file" >&6;}
4657 case $cache_file in
4658 [\\/]* | ?:[\\/]* ) . $cache_file;;
4659 *) . ./$cache_file;;
4660 esac
4662 else
4663 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4664 echo "$as_me: creating cache $cache_file" >&6;}
4665 >$cache_file
4669 # This can be used to rebuild libtool when needed
4670 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4672 # Always use our own libtool.
4673 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4675 # Redirect the config.log output again, so that the ltconfig log is not
4676 # clobbered by the next message.
4677 exec 5>>./config.log
4679 ac_ext=cc
4680 ac_cpp='$CXXCPP $CPPFLAGS'
4681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4684 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4685 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4686 if test -z "$CXXCPP"; then
4687 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 else
4690 # Double quotes because CXXCPP needs to be expanded
4691 for CXXCPP in "$CXX -E" "/lib/cpp"
4693 ac_preproc_ok=false
4694 for ac_cxx_preproc_warn_flag in '' yes
4696 # Use a header file that comes with gcc, so configuring glibc
4697 # with a fresh cross-compiler works.
4698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4699 # <limits.h> exists even on freestanding compilers.
4700 # On the NeXT, cc -E runs the code through the compiler's parser,
4701 # not just through cpp. "Syntax error" is here to catch this case.
4702 cat >conftest.$ac_ext <<_ACEOF
4703 /* confdefs.h. */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 #ifdef __STDC__
4709 # include <limits.h>
4710 #else
4711 # include <assert.h>
4712 #endif
4713 Syntax error
4714 _ACEOF
4715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4717 ac_status=$?
4718 grep -v '^ *+' conftest.er1 >conftest.err
4719 rm -f conftest.er1
4720 cat conftest.err >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } >/dev/null; then
4723 if test -s conftest.err; then
4724 ac_cpp_err=$ac_cxx_preproc_warn_flag
4725 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4726 else
4727 ac_cpp_err=
4729 else
4730 ac_cpp_err=yes
4732 if test -z "$ac_cpp_err"; then
4734 else
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 # Broken: fails on valid input.
4739 continue
4741 rm -f conftest.err conftest.$ac_ext
4743 # OK, works on sane cases. Now check whether non-existent headers
4744 # can be detected and how.
4745 cat >conftest.$ac_ext <<_ACEOF
4746 /* confdefs.h. */
4747 _ACEOF
4748 cat confdefs.h >>conftest.$ac_ext
4749 cat >>conftest.$ac_ext <<_ACEOF
4750 /* end confdefs.h. */
4751 #include <ac_nonexistent.h>
4752 _ACEOF
4753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } >/dev/null; then
4761 if test -s conftest.err; then
4762 ac_cpp_err=$ac_cxx_preproc_warn_flag
4763 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4764 else
4765 ac_cpp_err=
4767 else
4768 ac_cpp_err=yes
4770 if test -z "$ac_cpp_err"; then
4771 # Broken: success on invalid input.
4772 continue
4773 else
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 # Passes both tests.
4778 ac_preproc_ok=:
4779 break
4781 rm -f conftest.err conftest.$ac_ext
4783 done
4784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4785 rm -f conftest.err conftest.$ac_ext
4786 if $ac_preproc_ok; then
4787 break
4790 done
4791 ac_cv_prog_CXXCPP=$CXXCPP
4794 CXXCPP=$ac_cv_prog_CXXCPP
4795 else
4796 ac_cv_prog_CXXCPP=$CXXCPP
4798 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4799 echo "${ECHO_T}$CXXCPP" >&6
4800 ac_preproc_ok=false
4801 for ac_cxx_preproc_warn_flag in '' yes
4803 # Use a header file that comes with gcc, so configuring glibc
4804 # with a fresh cross-compiler works.
4805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4806 # <limits.h> exists even on freestanding compilers.
4807 # On the NeXT, cc -E runs the code through the compiler's parser,
4808 # not just through cpp. "Syntax error" is here to catch this case.
4809 cat >conftest.$ac_ext <<_ACEOF
4810 /* confdefs.h. */
4811 _ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #ifdef __STDC__
4816 # include <limits.h>
4817 #else
4818 # include <assert.h>
4819 #endif
4820 Syntax error
4821 _ACEOF
4822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4824 ac_status=$?
4825 grep -v '^ *+' conftest.er1 >conftest.err
4826 rm -f conftest.er1
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } >/dev/null; then
4830 if test -s conftest.err; then
4831 ac_cpp_err=$ac_cxx_preproc_warn_flag
4832 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4833 else
4834 ac_cpp_err=
4836 else
4837 ac_cpp_err=yes
4839 if test -z "$ac_cpp_err"; then
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 # Broken: fails on valid input.
4846 continue
4848 rm -f conftest.err conftest.$ac_ext
4850 # OK, works on sane cases. Now check whether non-existent headers
4851 # can be detected and how.
4852 cat >conftest.$ac_ext <<_ACEOF
4853 /* confdefs.h. */
4854 _ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 #include <ac_nonexistent.h>
4859 _ACEOF
4860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4862 ac_status=$?
4863 grep -v '^ *+' conftest.er1 >conftest.err
4864 rm -f conftest.er1
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } >/dev/null; then
4868 if test -s conftest.err; then
4869 ac_cpp_err=$ac_cxx_preproc_warn_flag
4870 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4871 else
4872 ac_cpp_err=
4874 else
4875 ac_cpp_err=yes
4877 if test -z "$ac_cpp_err"; then
4878 # Broken: success on invalid input.
4879 continue
4880 else
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.$ac_ext >&5
4884 # Passes both tests.
4885 ac_preproc_ok=:
4886 break
4888 rm -f conftest.err conftest.$ac_ext
4890 done
4891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4892 rm -f conftest.err conftest.$ac_ext
4893 if $ac_preproc_ok; then
4895 else
4896 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4897 See \`config.log' for more details." >&5
4898 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4899 See \`config.log' for more details." >&2;}
4900 { (exit 1); exit 1; }; }
4903 ac_ext=c
4904 ac_cpp='$CPP $CPPFLAGS'
4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4912 lt_save_CC="$CC"
4913 lt_save_CFLAGS="$CFLAGS"
4914 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4915 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4916 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4917 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4918 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4919 deplibs_check_method="$deplibs_check_method" \
4920 file_magic_cmd="$file_magic_cmd" \
4921 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4922 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4923 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4924 echo "$as_me: error: libtool tag configuration failed" >&2;}
4925 { (exit 1); exit 1; }; }
4926 CC="$lt_save_CC"
4927 CFLAGS="$lt_save_CFLAGS"
4929 # Redirect the config.log output again, so that the ltconfig log is not
4930 # clobbered by the next message.
4931 exec 5>>./config.log
4940 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4942 # Possibly disable most of the library.
4943 ## XXX Consider skipping unncessary tests altogether in this case, rather
4944 ## than just ignoring the results. Faster /and/ more correct, win win.
4946 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4947 if test "${enable_hosted_libstdcxx+set}" = set; then
4948 enableval="$enable_hosted_libstdcxx"
4950 else
4951 case "$host" in
4952 arm*-*-symbianelf*)
4953 enable_hosted_libstdcxx=no
4956 enable_hosted_libstdcxx=yes
4958 esac
4960 if test "$enable_hosted_libstdcxx" = no; then
4961 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4962 echo "$as_me: Only freestanding libraries will be built" >&6;}
4963 is_hosted=no
4964 hosted_define=0
4965 enable_abi_check=no
4966 enable_libstdcxx_pch=no
4967 else
4968 is_hosted=yes
4969 hosted_define=1
4973 cat >>confdefs.h <<_ACEOF
4974 #define _GLIBCXX_HOSTED $hosted_define
4975 _ACEOF
4979 # Check for support bits and g++ features that don't require linking.
4981 echo "$as_me:$LINENO: checking for exception model to use" >&5
4982 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4985 ac_ext=cc
4986 ac_cpp='$CXXCPP $CPPFLAGS'
4987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4991 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4992 if test "${enable_sjlj_exceptions+set}" = set; then
4993 enableval="$enable_sjlj_exceptions"
4995 case "$enableval" in
4996 yes|no|auto) ;;
4997 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4998 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4999 { (exit 1); exit 1; }; } ;;
5000 esac
5002 else
5003 enable_sjlj_exceptions=auto
5007 if test $enable_sjlj_exceptions = auto; then
5008 # Botheration. Now we've got to detect the exception model. Link tests
5009 # against libgcc.a are problematic since we've not been given proper -L
5010 # bits for single-tree newlib and libgloss.
5012 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5013 cat > conftest.$ac_ext << EOF
5014 #line 5014 "configure"
5015 struct S { ~S(); };
5016 void bar();
5017 void foo()
5019 S s;
5020 bar();
5023 old_CXXFLAGS="$CXXFLAGS"
5024 CXXFLAGS=-S
5025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5026 (eval $ac_compile) 2>&5
5027 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; then
5030 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5031 enable_sjlj_exceptions=yes
5032 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5033 enable_sjlj_exceptions=no
5036 CXXFLAGS="$old_CXXFLAGS"
5037 rm -f conftest*
5040 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5041 # to two different models.
5042 case $enable_sjlj_exceptions in
5043 yes)
5045 cat >>confdefs.h <<\_ACEOF
5046 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5047 _ACEOF
5049 ac_exception_model_name=sjlj
5052 ac_exception_model_name="call frame"
5055 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5056 echo "$as_me: error: unable to detect exception model" >&2;}
5057 { (exit 1); exit 1; }; }
5059 esac
5060 ac_ext=c
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5067 echo "${ECHO_T}$ac_exception_model_name" >&6
5070 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5071 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5072 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5073 if test "${enable_libstdcxx_pch+set}" = set; then
5074 enableval="$enable_libstdcxx_pch"
5076 case "$enableval" in
5077 yes|no) ;;
5078 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5079 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5080 { (exit 1); exit 1; }; } ;;
5081 esac
5083 else
5084 enable_libstdcxx_pch=$is_hosted
5087 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5088 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5090 if test $enable_libstdcxx_pch = yes; then
5091 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5092 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5093 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 else
5096 ac_save_CXXFLAGS="$CXXFLAGS"
5097 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5100 ac_ext=cc
5101 ac_cpp='$CXXCPP $CPPFLAGS'
5102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5106 echo '#include <math.h>' > conftest.h
5107 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5108 -o conftest.h.gch 1>&5 2>&1 &&
5109 echo '#error "pch failed"' > conftest.h &&
5110 echo '#include "conftest.h"' > conftest.cc &&
5111 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5112 then
5113 glibcxx_cv_prog_CXX_pch=yes
5114 else
5115 glibcxx_cv_prog_CXX_pch=no
5117 rm -f conftest*
5118 CXXFLAGS=$ac_save_CXXFLAGS
5119 ac_ext=c
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5128 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5129 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5133 if test $enable_libstdcxx_pch = yes; then
5134 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5135 else
5136 glibcxx_PCHFLAGS=""
5141 # Enable all the variable C++ runtime options.
5142 # NB: C_MBCHAR must come early.
5144 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5145 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5146 # Check whether --enable-cstdio or --disable-cstdio was given.
5147 if test "${enable_cstdio+set}" = set; then
5148 enableval="$enable_cstdio"
5150 case "$enableval" in
5151 stdio) ;;
5152 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5153 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5154 { (exit 1); exit 1; }; } ;;
5155 esac
5157 else
5158 enable_cstdio=stdio
5162 # Now that libio has been removed, you can have any color you want as long
5163 # as it's black. This is one big no-op until other packages are added, but
5164 # showing the framework never hurts.
5165 case ${enable_cstdio} in
5166 stdio)
5167 CSTDIO_H=config/io/c_io_stdio.h
5168 BASIC_FILE_H=config/io/basic_file_stdio.h
5169 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5170 echo "$as_me:$LINENO: result: stdio" >&5
5171 echo "${ECHO_T}stdio" >&6
5173 esac
5179 ac_ext=c
5180 ac_cpp='$CPP $CPPFLAGS'
5181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5184 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5185 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5186 # On Suns, sometimes $CPP names a directory.
5187 if test -n "$CPP" && test -d "$CPP"; then
5188 CPP=
5190 if test -z "$CPP"; then
5191 if test "${ac_cv_prog_CPP+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 else
5194 # Double quotes because CPP needs to be expanded
5195 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5197 ac_preproc_ok=false
5198 for ac_c_preproc_warn_flag in '' yes
5200 # Use a header file that comes with gcc, so configuring glibc
5201 # with a fresh cross-compiler works.
5202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5203 # <limits.h> exists even on freestanding compilers.
5204 # On the NeXT, cc -E runs the code through the compiler's parser,
5205 # not just through cpp. "Syntax error" is here to catch this case.
5206 cat >conftest.$ac_ext <<_ACEOF
5207 /* confdefs.h. */
5208 _ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 #ifdef __STDC__
5213 # include <limits.h>
5214 #else
5215 # include <assert.h>
5216 #endif
5217 Syntax error
5218 _ACEOF
5219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5221 ac_status=$?
5222 grep -v '^ *+' conftest.er1 >conftest.err
5223 rm -f conftest.er1
5224 cat conftest.err >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } >/dev/null; then
5227 if test -s conftest.err; then
5228 ac_cpp_err=$ac_c_preproc_warn_flag
5229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5230 else
5231 ac_cpp_err=
5233 else
5234 ac_cpp_err=yes
5236 if test -z "$ac_cpp_err"; then
5238 else
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.$ac_ext >&5
5242 # Broken: fails on valid input.
5243 continue
5245 rm -f conftest.err conftest.$ac_ext
5247 # OK, works on sane cases. Now check whether non-existent headers
5248 # can be detected and how.
5249 cat >conftest.$ac_ext <<_ACEOF
5250 /* confdefs.h. */
5251 _ACEOF
5252 cat confdefs.h >>conftest.$ac_ext
5253 cat >>conftest.$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5255 #include <ac_nonexistent.h>
5256 _ACEOF
5257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5259 ac_status=$?
5260 grep -v '^ *+' conftest.er1 >conftest.err
5261 rm -f conftest.er1
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } >/dev/null; then
5265 if test -s conftest.err; then
5266 ac_cpp_err=$ac_c_preproc_warn_flag
5267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5268 else
5269 ac_cpp_err=
5271 else
5272 ac_cpp_err=yes
5274 if test -z "$ac_cpp_err"; then
5275 # Broken: success on invalid input.
5276 continue
5277 else
5278 echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.$ac_ext >&5
5281 # Passes both tests.
5282 ac_preproc_ok=:
5283 break
5285 rm -f conftest.err conftest.$ac_ext
5287 done
5288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5289 rm -f conftest.err conftest.$ac_ext
5290 if $ac_preproc_ok; then
5291 break
5294 done
5295 ac_cv_prog_CPP=$CPP
5298 CPP=$ac_cv_prog_CPP
5299 else
5300 ac_cv_prog_CPP=$CPP
5302 echo "$as_me:$LINENO: result: $CPP" >&5
5303 echo "${ECHO_T}$CPP" >&6
5304 ac_preproc_ok=false
5305 for ac_c_preproc_warn_flag in '' yes
5307 # Use a header file that comes with gcc, so configuring glibc
5308 # with a fresh cross-compiler works.
5309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5310 # <limits.h> exists even on freestanding compilers.
5311 # On the NeXT, cc -E runs the code through the compiler's parser,
5312 # not just through cpp. "Syntax error" is here to catch this case.
5313 cat >conftest.$ac_ext <<_ACEOF
5314 /* confdefs.h. */
5315 _ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5319 #ifdef __STDC__
5320 # include <limits.h>
5321 #else
5322 # include <assert.h>
5323 #endif
5324 Syntax error
5325 _ACEOF
5326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5328 ac_status=$?
5329 grep -v '^ *+' conftest.er1 >conftest.err
5330 rm -f conftest.er1
5331 cat conftest.err >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } >/dev/null; then
5334 if test -s conftest.err; then
5335 ac_cpp_err=$ac_c_preproc_warn_flag
5336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5337 else
5338 ac_cpp_err=
5340 else
5341 ac_cpp_err=yes
5343 if test -z "$ac_cpp_err"; then
5345 else
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 # Broken: fails on valid input.
5350 continue
5352 rm -f conftest.err conftest.$ac_ext
5354 # OK, works on sane cases. Now check whether non-existent headers
5355 # can be detected and how.
5356 cat >conftest.$ac_ext <<_ACEOF
5357 /* confdefs.h. */
5358 _ACEOF
5359 cat confdefs.h >>conftest.$ac_ext
5360 cat >>conftest.$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5362 #include <ac_nonexistent.h>
5363 _ACEOF
5364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5366 ac_status=$?
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev/null; then
5372 if test -s conftest.err; then
5373 ac_cpp_err=$ac_c_preproc_warn_flag
5374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5375 else
5376 ac_cpp_err=
5378 else
5379 ac_cpp_err=yes
5381 if test -z "$ac_cpp_err"; then
5382 # Broken: success on invalid input.
5383 continue
5384 else
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5388 # Passes both tests.
5389 ac_preproc_ok=:
5390 break
5392 rm -f conftest.err conftest.$ac_ext
5394 done
5395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5396 rm -f conftest.err conftest.$ac_ext
5397 if $ac_preproc_ok; then
5399 else
5400 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5401 See \`config.log' for more details." >&5
5402 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5403 See \`config.log' for more details." >&2;}
5404 { (exit 1); exit 1; }; }
5407 ac_ext=c
5408 ac_cpp='$CPP $CPPFLAGS'
5409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5414 echo "$as_me:$LINENO: checking for egrep" >&5
5415 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5416 if test "${ac_cv_prog_egrep+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5420 then ac_cv_prog_egrep='grep -E'
5421 else ac_cv_prog_egrep='egrep'
5424 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5425 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5426 EGREP=$ac_cv_prog_egrep
5429 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5430 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5431 if test "${ac_cv_header_stdc+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434 cat >conftest.$ac_ext <<_ACEOF
5435 /* confdefs.h. */
5436 _ACEOF
5437 cat confdefs.h >>conftest.$ac_ext
5438 cat >>conftest.$ac_ext <<_ACEOF
5439 /* end confdefs.h. */
5440 #include <stdlib.h>
5441 #include <stdarg.h>
5442 #include <string.h>
5443 #include <float.h>
5446 main ()
5450 return 0;
5452 _ACEOF
5453 rm -f conftest.$ac_objext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>conftest.er1
5456 ac_status=$?
5457 grep -v '^ *+' conftest.er1 >conftest.err
5458 rm -f conftest.er1
5459 cat conftest.err >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } &&
5462 { ac_try='test -z "$ac_c_werror_flag"
5463 || test ! -s conftest.err'
5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465 (eval $ac_try) 2>&5
5466 ac_status=$?
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; } &&
5469 { ac_try='test -s conftest.$ac_objext'
5470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 (eval $ac_try) 2>&5
5472 ac_status=$?
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); }; }; then
5475 ac_cv_header_stdc=yes
5476 else
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5480 ac_cv_header_stdc=no
5482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5484 if test $ac_cv_header_stdc = yes; then
5485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5486 cat >conftest.$ac_ext <<_ACEOF
5487 /* confdefs.h. */
5488 _ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5492 #include <string.h>
5494 _ACEOF
5495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5496 $EGREP "memchr" >/dev/null 2>&1; then
5498 else
5499 ac_cv_header_stdc=no
5501 rm -f conftest*
5505 if test $ac_cv_header_stdc = yes; then
5506 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5507 cat >conftest.$ac_ext <<_ACEOF
5508 /* confdefs.h. */
5509 _ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 #include <stdlib.h>
5515 _ACEOF
5516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5517 $EGREP "free" >/dev/null 2>&1; then
5519 else
5520 ac_cv_header_stdc=no
5522 rm -f conftest*
5526 if test $ac_cv_header_stdc = yes; then
5527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5528 if test "$cross_compiling" = yes; then
5530 else
5531 cat >conftest.$ac_ext <<_ACEOF
5532 /* confdefs.h. */
5533 _ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <ctype.h>
5538 #if ((' ' & 0x0FF) == 0x020)
5539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5541 #else
5542 # define ISLOWER(c) \
5543 (('a' <= (c) && (c) <= 'i') \
5544 || ('j' <= (c) && (c) <= 'r') \
5545 || ('s' <= (c) && (c) <= 'z'))
5546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5547 #endif
5549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5551 main ()
5553 int i;
5554 for (i = 0; i < 256; i++)
5555 if (XOR (islower (i), ISLOWER (i))
5556 || toupper (i) != TOUPPER (i))
5557 exit(2);
5558 exit (0);
5560 _ACEOF
5561 rm -f conftest$ac_exeext
5562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5563 (eval $ac_link) 2>&5
5564 ac_status=$?
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 (eval $ac_try) 2>&5
5569 ac_status=$?
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5573 else
5574 echo "$as_me: program exited with status $ac_status" >&5
5575 echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.$ac_ext >&5
5578 ( exit $ac_status )
5579 ac_cv_header_stdc=no
5581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5585 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5586 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5587 if test $ac_cv_header_stdc = yes; then
5589 cat >>confdefs.h <<\_ACEOF
5590 #define STDC_HEADERS 1
5591 _ACEOF
5595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5606 inttypes.h stdint.h unistd.h
5608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5609 echo "$as_me:$LINENO: checking for $ac_header" >&5
5610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 else
5614 cat >conftest.$ac_ext <<_ACEOF
5615 /* confdefs.h. */
5616 _ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 $ac_includes_default
5622 #include <$ac_header>
5623 _ACEOF
5624 rm -f conftest.$ac_objext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>conftest.er1
5627 ac_status=$?
5628 grep -v '^ *+' conftest.er1 >conftest.err
5629 rm -f conftest.er1
5630 cat conftest.err >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } &&
5633 { ac_try='test -z "$ac_c_werror_flag"
5634 || test ! -s conftest.err'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 (eval $ac_try) 2>&5
5637 ac_status=$?
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; } &&
5640 { ac_try='test -s conftest.$ac_objext'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642 (eval $ac_try) 2>&5
5643 ac_status=$?
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 eval "$as_ac_Header=yes"
5647 else
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5651 eval "$as_ac_Header=no"
5653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5658 cat >>confdefs.h <<_ACEOF
5659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5660 _ACEOF
5664 done
5668 echo "$as_me:$LINENO: checking for C locale to use" >&5
5669 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5670 # Check whether --enable-clocale or --disable-clocale was given.
5671 if test "${enable_clocale+set}" = set; then
5672 enableval="$enable_clocale"
5674 case "$enableval" in
5675 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5676 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5677 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5678 { (exit 1); exit 1; }; } ;;
5679 esac
5681 else
5682 enable_clocale=auto
5686 # If they didn't use this option switch, or if they specified --enable
5687 # with no specific model, we'll have to look for one. If they
5688 # specified --disable (???), do likewise.
5689 if test $enable_clocale = no || test $enable_clocale = yes; then
5690 enable_clocale=auto
5693 # Either a known package, or "auto"
5694 enable_clocale_flag=$enable_clocale
5696 # Probe for locale support if no specific model is specified.
5697 # Default to "generic".
5698 if test $enable_clocale_flag = auto; then
5699 case ${target_os} in
5700 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5701 cat >conftest.$ac_ext <<_ACEOF
5702 /* confdefs.h. */
5703 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5708 #include <features.h>
5709 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5710 _GLIBCXX_ok
5711 #endif
5713 _ACEOF
5714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5715 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5716 enable_clocale_flag=gnu
5717 else
5718 enable_clocale_flag=generic
5720 rm -f conftest*
5723 # Test for bugs early in glibc-2.2.x series
5724 if test $enable_clocale_flag = gnu; then
5725 if test "$cross_compiling" = yes; then
5726 enable_clocale_flag=generic
5727 else
5728 cat >conftest.$ac_ext <<_ACEOF
5729 /* confdefs.h. */
5730 _ACEOF
5731 cat confdefs.h >>conftest.$ac_ext
5732 cat >>conftest.$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5735 #define _GNU_SOURCE 1
5736 #include <locale.h>
5737 #include <string.h>
5738 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5739 extern __typeof(newlocale) __newlocale;
5740 extern __typeof(duplocale) __duplocale;
5741 extern __typeof(strcoll_l) __strcoll_l;
5742 #endif
5743 int main()
5745 const char __one[] = "Äuglein Augmen";
5746 const char __two[] = "Äuglein";
5747 int i;
5748 int j;
5749 __locale_t loc;
5750 __locale_t loc_dup;
5751 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5752 loc_dup = __duplocale(loc);
5753 i = __strcoll_l(__one, __two, loc);
5754 j = __strcoll_l(__one, __two, loc_dup);
5755 return 0;
5758 _ACEOF
5759 rm -f conftest$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>&5
5762 ac_status=$?
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 (eval $ac_try) 2>&5
5767 ac_status=$?
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; }; then
5770 enable_clocale_flag=gnu
5771 else
5772 echo "$as_me: program exited with status $ac_status" >&5
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.$ac_ext >&5
5776 ( exit $ac_status )
5777 enable_clocale_flag=generic
5779 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5783 # ... at some point put __strxfrm_l tests in as well.
5785 darwin*)
5786 enable_clocale_flag=darwin
5789 enable_clocale_flag=generic
5791 esac
5794 # Deal with gettext issues. Default to not using it (=no) until we detect
5795 # support for it later. Let the user turn it off via --e/d, but let that
5796 # default to on for easier handling.
5797 USE_NLS=no
5798 # Check whether --enable-nls or --disable-nls was given.
5799 if test "${enable_nls+set}" = set; then
5800 enableval="$enable_nls"
5802 else
5803 enable_nls=yes
5806 # Set configure bits for specified locale package
5807 case ${enable_clocale_flag} in
5808 generic)
5809 echo "$as_me:$LINENO: result: generic" >&5
5810 echo "${ECHO_T}generic" >&6
5812 CLOCALE_H=config/locale/generic/c_locale.h
5813 CLOCALE_CC=config/locale/generic/c_locale.cc
5814 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5815 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5816 CCOLLATE_CC=config/locale/generic/collate_members.cc
5817 CCTYPE_CC=config/locale/generic/ctype_members.cc
5818 CMESSAGES_H=config/locale/generic/messages_members.h
5819 CMESSAGES_CC=config/locale/generic/messages_members.cc
5820 CMONEY_CC=config/locale/generic/monetary_members.cc
5821 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5822 CTIME_H=config/locale/generic/time_members.h
5823 CTIME_CC=config/locale/generic/time_members.cc
5824 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5826 darwin)
5827 echo "$as_me:$LINENO: result: darwin" >&5
5828 echo "${ECHO_T}darwin" >&6
5830 CLOCALE_H=config/locale/generic/c_locale.h
5831 CLOCALE_CC=config/locale/generic/c_locale.cc
5832 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5833 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5834 CCOLLATE_CC=config/locale/generic/collate_members.cc
5835 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5836 CMESSAGES_H=config/locale/generic/messages_members.h
5837 CMESSAGES_CC=config/locale/generic/messages_members.cc
5838 CMONEY_CC=config/locale/generic/monetary_members.cc
5839 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5840 CTIME_H=config/locale/generic/time_members.h
5841 CTIME_CC=config/locale/generic/time_members.cc
5842 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5845 gnu)
5846 echo "$as_me:$LINENO: result: gnu" >&5
5847 echo "${ECHO_T}gnu" >&6
5849 # Declare intention to use gettext, and add support for specific
5850 # languages.
5851 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5852 ALL_LINGUAS="de fr"
5854 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5855 # Extract the first word of "msgfmt", so it can be a program name with args.
5856 set dummy msgfmt; ac_word=$2
5857 echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5859 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 else
5862 if test -n "$check_msgfmt"; then
5863 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_check_msgfmt="yes"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5879 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5882 check_msgfmt=$ac_cv_prog_check_msgfmt
5883 if test -n "$check_msgfmt"; then
5884 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5885 echo "${ECHO_T}$check_msgfmt" >&6
5886 else
5887 echo "$as_me:$LINENO: result: no" >&5
5888 echo "${ECHO_T}no" >&6
5891 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5892 USE_NLS=yes
5894 # Export the build objects.
5895 for ling in $ALL_LINGUAS; do \
5896 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5897 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5898 done
5902 CLOCALE_H=config/locale/gnu/c_locale.h
5903 CLOCALE_CC=config/locale/gnu/c_locale.cc
5904 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5905 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5906 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5907 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5908 CMESSAGES_H=config/locale/gnu/messages_members.h
5909 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5910 CMONEY_CC=config/locale/gnu/monetary_members.cc
5911 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5912 CTIME_H=config/locale/gnu/time_members.h
5913 CTIME_CC=config/locale/gnu/time_members.cc
5914 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5916 ieee_1003.1-2001)
5917 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5918 echo "${ECHO_T}IEEE 1003.1" >&6
5920 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5921 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5922 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5923 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5924 CCOLLATE_CC=config/locale/generic/collate_members.cc
5925 CCTYPE_CC=config/locale/generic/ctype_members.cc
5926 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5927 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5928 CMONEY_CC=config/locale/generic/monetary_members.cc
5929 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5930 CTIME_H=config/locale/generic/time_members.h
5931 CTIME_CC=config/locale/generic/time_members.cc
5932 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5934 esac
5936 # This is where the testsuite looks for locale catalogs, using the
5937 # -DLOCALEDIR define during testsuite compilation.
5938 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5941 # A standalone libintl (e.g., GNU libintl) may be in use.
5942 if test $USE_NLS = yes; then
5944 for ac_header in libintl.h
5946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5948 echo "$as_me:$LINENO: checking for $ac_header" >&5
5949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5955 else
5956 # Is the header compilable?
5957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5959 cat >conftest.$ac_ext <<_ACEOF
5960 /* confdefs.h. */
5961 _ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 $ac_includes_default
5966 #include <$ac_header>
5967 _ACEOF
5968 rm -f conftest.$ac_objext
5969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5970 (eval $ac_compile) 2>conftest.er1
5971 ac_status=$?
5972 grep -v '^ *+' conftest.er1 >conftest.err
5973 rm -f conftest.er1
5974 cat conftest.err >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); } &&
5977 { ac_try='test -z "$ac_c_werror_flag"
5978 || test ! -s conftest.err'
5979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 (eval $ac_try) 2>&5
5981 ac_status=$?
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); }; } &&
5984 { ac_try='test -s conftest.$ac_objext'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 (eval $ac_try) 2>&5
5987 ac_status=$?
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; }; then
5990 ac_header_compiler=yes
5991 else
5992 echo "$as_me: failed program was:" >&5
5993 sed 's/^/| /' conftest.$ac_ext >&5
5995 ac_header_compiler=no
5997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5999 echo "${ECHO_T}$ac_header_compiler" >&6
6001 # Is the header present?
6002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6004 cat >conftest.$ac_ext <<_ACEOF
6005 /* confdefs.h. */
6006 _ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6010 #include <$ac_header>
6011 _ACEOF
6012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6014 ac_status=$?
6015 grep -v '^ *+' conftest.er1 >conftest.err
6016 rm -f conftest.er1
6017 cat conftest.err >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } >/dev/null; then
6020 if test -s conftest.err; then
6021 ac_cpp_err=$ac_c_preproc_warn_flag
6022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6023 else
6024 ac_cpp_err=
6026 else
6027 ac_cpp_err=yes
6029 if test -z "$ac_cpp_err"; then
6030 ac_header_preproc=yes
6031 else
6032 echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6035 ac_header_preproc=no
6037 rm -f conftest.err conftest.$ac_ext
6038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6039 echo "${ECHO_T}$ac_header_preproc" >&6
6041 # So? What about this header?
6042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6043 yes:no: )
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6047 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6048 ac_header_preproc=yes
6050 no:yes:* )
6051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6055 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6056 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6058 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6062 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6064 cat <<\_ASBOX
6065 ## ----------------------------------------- ##
6066 ## Report this to the package-unused lists. ##
6067 ## ----------------------------------------- ##
6068 _ASBOX
6070 sed "s/^/$as_me: WARNING: /" >&2
6072 esac
6073 echo "$as_me:$LINENO: checking for $ac_header" >&5
6074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 else
6078 eval "$as_ac_Header=\$ac_header_preproc"
6080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6085 cat >>confdefs.h <<_ACEOF
6086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6087 _ACEOF
6089 else
6090 USE_NLS=no
6093 done
6095 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6096 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6097 if test "${ac_cv_search_gettext+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 else
6100 ac_func_search_save_LIBS=$LIBS
6101 ac_cv_search_gettext=no
6102 if test x$gcc_no_link = xyes; then
6103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6105 { (exit 1); exit 1; }; }
6107 cat >conftest.$ac_ext <<_ACEOF
6108 /* confdefs.h. */
6109 _ACEOF
6110 cat confdefs.h >>conftest.$ac_ext
6111 cat >>conftest.$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6114 /* Override any gcc2 internal prototype to avoid an error. */
6115 #ifdef __cplusplus
6116 extern "C"
6117 #endif
6118 /* We use char because int might match the return type of a gcc2
6119 builtin and then its argument prototype would still apply. */
6120 char gettext ();
6122 main ()
6124 gettext ();
6126 return 0;
6128 _ACEOF
6129 rm -f conftest.$ac_objext conftest$ac_exeext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6131 (eval $ac_link) 2>conftest.er1
6132 ac_status=$?
6133 grep -v '^ *+' conftest.er1 >conftest.err
6134 rm -f conftest.er1
6135 cat conftest.err >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try='test -z "$ac_c_werror_flag"
6139 || test ! -s conftest.err'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6141 (eval $ac_try) 2>&5
6142 ac_status=$?
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try='test -s conftest$ac_exeext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 (eval $ac_try) 2>&5
6148 ac_status=$?
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 ac_cv_search_gettext="none required"
6152 else
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6157 rm -f conftest.err conftest.$ac_objext \
6158 conftest$ac_exeext conftest.$ac_ext
6159 if test "$ac_cv_search_gettext" = no; then
6160 for ac_lib in intl; do
6161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6162 if test x$gcc_no_link = xyes; then
6163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6165 { (exit 1); exit 1; }; }
6167 cat >conftest.$ac_ext <<_ACEOF
6168 /* confdefs.h. */
6169 _ACEOF
6170 cat confdefs.h >>conftest.$ac_ext
6171 cat >>conftest.$ac_ext <<_ACEOF
6172 /* end confdefs.h. */
6174 /* Override any gcc2 internal prototype to avoid an error. */
6175 #ifdef __cplusplus
6176 extern "C"
6177 #endif
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6180 char gettext ();
6182 main ()
6184 gettext ();
6186 return 0;
6188 _ACEOF
6189 rm -f conftest.$ac_objext conftest$ac_exeext
6190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6191 (eval $ac_link) 2>conftest.er1
6192 ac_status=$?
6193 grep -v '^ *+' conftest.er1 >conftest.err
6194 rm -f conftest.er1
6195 cat conftest.err >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } &&
6198 { ac_try='test -z "$ac_c_werror_flag"
6199 || test ! -s conftest.err'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201 (eval $ac_try) 2>&5
6202 ac_status=$?
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; } &&
6205 { ac_try='test -s conftest$ac_exeext'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 (eval $ac_try) 2>&5
6208 ac_status=$?
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; }; then
6211 ac_cv_search_gettext="-l$ac_lib"
6212 break
6213 else
6214 echo "$as_me: failed program was:" >&5
6215 sed 's/^/| /' conftest.$ac_ext >&5
6218 rm -f conftest.err conftest.$ac_objext \
6219 conftest$ac_exeext conftest.$ac_ext
6220 done
6222 LIBS=$ac_func_search_save_LIBS
6224 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6225 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6226 if test "$ac_cv_search_gettext" != no; then
6227 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6229 else
6230 USE_NLS=no
6234 if test $USE_NLS = yes; then
6235 cat >>confdefs.h <<\_ACEOF
6236 #define _GLIBCXX_USE_NLS 1
6237 _ACEOF
6257 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6258 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6259 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6260 if test "${enable_libstdcxx_allocator+set}" = set; then
6261 enableval="$enable_libstdcxx_allocator"
6263 case "$enableval" in
6264 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6265 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6266 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6267 { (exit 1); exit 1; }; } ;;
6268 esac
6270 else
6271 enable_libstdcxx_allocator=auto
6275 # If they didn't use this option switch, or if they specified --enable
6276 # with no specific model, we'll have to look for one. If they
6277 # specified --disable (???), do likewise.
6278 if test $enable_libstdcxx_allocator = no ||
6279 test $enable_libstdcxx_allocator = yes;
6280 then
6281 enable_libstdcxx_allocator=auto
6284 # Either a known package, or "auto". Auto implies the default choice
6285 # for a particular platform.
6286 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6288 # Probe for host-specific support if no specific model is specified.
6289 # Default to "new".
6290 if test $enable_libstdcxx_allocator_flag = auto; then
6291 case ${target_os} in
6292 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6293 enable_libstdcxx_allocator_flag=mt
6296 enable_libstdcxx_allocator_flag=new
6298 esac
6300 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6301 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6304 # Set configure bits for specified locale package
6305 case ${enable_libstdcxx_allocator_flag} in
6306 bitmap)
6307 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6308 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6310 malloc)
6311 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6312 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6315 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6316 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6318 new)
6319 ALLOCATOR_H=config/allocator/new_allocator_base.h
6320 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6322 pool)
6323 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6324 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6326 esac
6332 # Check whether --enable-cheaders or --disable-cheaders was given.
6333 if test "${enable_cheaders+set}" = set; then
6334 enableval="$enable_cheaders"
6336 case "$enableval" in
6337 c|c_std) ;;
6338 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6339 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6340 { (exit 1); exit 1; }; } ;;
6341 esac
6343 else
6344 enable_cheaders=$c_model
6347 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6348 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6350 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6357 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6358 if test "${enable_c_mbchar+set}" = set; then
6359 enableval="$enable_c_mbchar"
6361 case "$enableval" in
6362 yes|no) ;;
6363 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6364 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6365 { (exit 1); exit 1; }; } ;;
6366 esac
6368 else
6369 enable_c_mbchar=yes
6372 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6376 # Check whether --enable-c99 or --disable-c99 was given.
6377 if test "${enable_c99+set}" = set; then
6378 enableval="$enable_c99"
6380 case "$enableval" in
6381 yes|no) ;;
6382 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6383 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6384 { (exit 1); exit 1; }; } ;;
6385 esac
6387 else
6388 enable_c99=yes
6394 ac_ext=cc
6395 ac_cpp='$CXXCPP $CPPFLAGS'
6396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6401 # Check for the existence of <math.h> functions used if C99 is enabled.
6402 ac_c99_math=yes;
6403 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6404 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6405 cat >conftest.$ac_ext <<_ACEOF
6406 /* confdefs.h. */
6407 _ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6411 #include <math.h>
6413 main ()
6415 fpclassify(0.0);
6417 return 0;
6419 _ACEOF
6420 rm -f conftest.$ac_objext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>conftest.er1
6423 ac_status=$?
6424 grep -v '^ *+' conftest.er1 >conftest.err
6425 rm -f conftest.er1
6426 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -z "$ac_cxx_werror_flag"
6430 || test ! -s conftest.err'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 (eval $ac_try) 2>&5
6433 ac_status=$?
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try='test -s conftest.$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 (eval $ac_try) 2>&5
6439 ac_status=$?
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6443 else
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_c99_math=no
6449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6450 cat >conftest.$ac_ext <<_ACEOF
6451 /* confdefs.h. */
6452 _ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 #include <math.h>
6458 main ()
6460 isfinite(0.0);
6462 return 0;
6464 _ACEOF
6465 rm -f conftest.$ac_objext
6466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6467 (eval $ac_compile) 2>conftest.er1
6468 ac_status=$?
6469 grep -v '^ *+' conftest.er1 >conftest.err
6470 rm -f conftest.er1
6471 cat conftest.err >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } &&
6474 { ac_try='test -z "$ac_cxx_werror_flag"
6475 || test ! -s conftest.err'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 (eval $ac_try) 2>&5
6478 ac_status=$?
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; } &&
6481 { ac_try='test -s conftest.$ac_objext'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6483 (eval $ac_try) 2>&5
6484 ac_status=$?
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; }; then
6488 else
6489 echo "$as_me: failed program was:" >&5
6490 sed 's/^/| /' conftest.$ac_ext >&5
6492 ac_c99_math=no
6494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6495 cat >conftest.$ac_ext <<_ACEOF
6496 /* confdefs.h. */
6497 _ACEOF
6498 cat confdefs.h >>conftest.$ac_ext
6499 cat >>conftest.$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6501 #include <math.h>
6503 main ()
6505 isinf(0.0);
6507 return 0;
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6513 ac_status=$?
6514 grep -v '^ *+' conftest.er1 >conftest.err
6515 rm -f conftest.er1
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_cxx_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_c99_math=no
6539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6540 cat >conftest.$ac_ext <<_ACEOF
6541 /* confdefs.h. */
6542 _ACEOF
6543 cat confdefs.h >>conftest.$ac_ext
6544 cat >>conftest.$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 #include <math.h>
6548 main ()
6550 isnan(0.0);
6552 return 0;
6554 _ACEOF
6555 rm -f conftest.$ac_objext
6556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6557 (eval $ac_compile) 2>conftest.er1
6558 ac_status=$?
6559 grep -v '^ *+' conftest.er1 >conftest.err
6560 rm -f conftest.er1
6561 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try='test -z "$ac_cxx_werror_flag"
6565 || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 (eval $ac_try) 2>&5
6568 ac_status=$?
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try='test -s conftest.$ac_objext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573 (eval $ac_try) 2>&5
6574 ac_status=$?
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6578 else
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 ac_c99_math=no
6584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6585 cat >conftest.$ac_ext <<_ACEOF
6586 /* confdefs.h. */
6587 _ACEOF
6588 cat confdefs.h >>conftest.$ac_ext
6589 cat >>conftest.$ac_ext <<_ACEOF
6590 /* end confdefs.h. */
6591 #include <math.h>
6593 main ()
6595 isnormal(0.0);
6597 return 0;
6599 _ACEOF
6600 rm -f conftest.$ac_objext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6602 (eval $ac_compile) 2>conftest.er1
6603 ac_status=$?
6604 grep -v '^ *+' conftest.er1 >conftest.err
6605 rm -f conftest.er1
6606 cat conftest.err >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } &&
6609 { ac_try='test -z "$ac_cxx_werror_flag"
6610 || test ! -s conftest.err'
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 (eval $ac_try) 2>&5
6613 ac_status=$?
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }; } &&
6616 { ac_try='test -s conftest.$ac_objext'
6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 (eval $ac_try) 2>&5
6619 ac_status=$?
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6623 else
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_c99_math=no
6629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6630 cat >conftest.$ac_ext <<_ACEOF
6631 /* confdefs.h. */
6632 _ACEOF
6633 cat confdefs.h >>conftest.$ac_ext
6634 cat >>conftest.$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6636 #include <math.h>
6638 main ()
6640 signbit(0.0);
6642 return 0;
6644 _ACEOF
6645 rm -f conftest.$ac_objext
6646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6647 (eval $ac_compile) 2>conftest.er1
6648 ac_status=$?
6649 grep -v '^ *+' conftest.er1 >conftest.err
6650 rm -f conftest.er1
6651 cat conftest.err >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); } &&
6654 { ac_try='test -z "$ac_cxx_werror_flag"
6655 || test ! -s conftest.err'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 (eval $ac_try) 2>&5
6658 ac_status=$?
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; } &&
6661 { ac_try='test -s conftest.$ac_objext'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 (eval $ac_try) 2>&5
6664 ac_status=$?
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; }; then
6668 else
6669 echo "$as_me: failed program was:" >&5
6670 sed 's/^/| /' conftest.$ac_ext >&5
6672 ac_c99_math=no
6674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6675 cat >conftest.$ac_ext <<_ACEOF
6676 /* confdefs.h. */
6677 _ACEOF
6678 cat confdefs.h >>conftest.$ac_ext
6679 cat >>conftest.$ac_ext <<_ACEOF
6680 /* end confdefs.h. */
6681 #include <math.h>
6683 main ()
6685 isgreater(0.0,0.0);
6687 return 0;
6689 _ACEOF
6690 rm -f conftest.$ac_objext
6691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6692 (eval $ac_compile) 2>conftest.er1
6693 ac_status=$?
6694 grep -v '^ *+' conftest.er1 >conftest.err
6695 rm -f conftest.er1
6696 cat conftest.err >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } &&
6699 { ac_try='test -z "$ac_cxx_werror_flag"
6700 || test ! -s conftest.err'
6701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 (eval $ac_try) 2>&5
6703 ac_status=$?
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); }; } &&
6706 { ac_try='test -s conftest.$ac_objext'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; }; then
6713 else
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 ac_c99_math=no
6719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6720 cat >conftest.$ac_ext <<_ACEOF
6721 /* confdefs.h. */
6722 _ACEOF
6723 cat confdefs.h >>conftest.$ac_ext
6724 cat >>conftest.$ac_ext <<_ACEOF
6725 /* end confdefs.h. */
6726 #include <math.h>
6728 main ()
6730 isgreaterequal(0.0,0.0);
6732 return 0;
6734 _ACEOF
6735 rm -f conftest.$ac_objext
6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6737 (eval $ac_compile) 2>conftest.er1
6738 ac_status=$?
6739 grep -v '^ *+' conftest.er1 >conftest.err
6740 rm -f conftest.er1
6741 cat conftest.err >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } &&
6744 { ac_try='test -z "$ac_cxx_werror_flag"
6745 || test ! -s conftest.err'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 (eval $ac_try) 2>&5
6748 ac_status=$?
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; } &&
6751 { ac_try='test -s conftest.$ac_objext'
6752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 (eval $ac_try) 2>&5
6754 ac_status=$?
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); }; }; then
6758 else
6759 echo "$as_me: failed program was:" >&5
6760 sed 's/^/| /' conftest.$ac_ext >&5
6762 ac_c99_math=no
6764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6765 cat >conftest.$ac_ext <<_ACEOF
6766 /* confdefs.h. */
6767 _ACEOF
6768 cat confdefs.h >>conftest.$ac_ext
6769 cat >>conftest.$ac_ext <<_ACEOF
6770 /* end confdefs.h. */
6771 #include <math.h>
6773 main ()
6775 isless(0.0,0.0);
6777 return 0;
6779 _ACEOF
6780 rm -f conftest.$ac_objext
6781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6782 (eval $ac_compile) 2>conftest.er1
6783 ac_status=$?
6784 grep -v '^ *+' conftest.er1 >conftest.err
6785 rm -f conftest.er1
6786 cat conftest.err >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); } &&
6789 { ac_try='test -z "$ac_cxx_werror_flag"
6790 || test ! -s conftest.err'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 (eval $ac_try) 2>&5
6793 ac_status=$?
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; } &&
6796 { ac_try='test -s conftest.$ac_objext'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 (eval $ac_try) 2>&5
6799 ac_status=$?
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; }; then
6803 else
6804 echo "$as_me: failed program was:" >&5
6805 sed 's/^/| /' conftest.$ac_ext >&5
6807 ac_c99_math=no
6809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6810 cat >conftest.$ac_ext <<_ACEOF
6811 /* confdefs.h. */
6812 _ACEOF
6813 cat confdefs.h >>conftest.$ac_ext
6814 cat >>conftest.$ac_ext <<_ACEOF
6815 /* end confdefs.h. */
6816 #include <math.h>
6818 main ()
6820 islessequal(0.0,0.0);
6822 return 0;
6824 _ACEOF
6825 rm -f conftest.$ac_objext
6826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6827 (eval $ac_compile) 2>conftest.er1
6828 ac_status=$?
6829 grep -v '^ *+' conftest.er1 >conftest.err
6830 rm -f conftest.er1
6831 cat conftest.err >&5
6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 (exit $ac_status); } &&
6834 { ac_try='test -z "$ac_cxx_werror_flag"
6835 || test ! -s conftest.err'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 (eval $ac_try) 2>&5
6838 ac_status=$?
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; } &&
6841 { ac_try='test -s conftest.$ac_objext'
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 (eval $ac_try) 2>&5
6844 ac_status=$?
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; }; then
6848 else
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.$ac_ext >&5
6852 ac_c99_math=no
6854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6855 cat >conftest.$ac_ext <<_ACEOF
6856 /* confdefs.h. */
6857 _ACEOF
6858 cat confdefs.h >>conftest.$ac_ext
6859 cat >>conftest.$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6861 #include <math.h>
6863 main ()
6865 islessgreater(0.0,0.0);
6867 return 0;
6869 _ACEOF
6870 rm -f conftest.$ac_objext
6871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6872 (eval $ac_compile) 2>conftest.er1
6873 ac_status=$?
6874 grep -v '^ *+' conftest.er1 >conftest.err
6875 rm -f conftest.er1
6876 cat conftest.err >&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); } &&
6879 { ac_try='test -z "$ac_cxx_werror_flag"
6880 || test ! -s conftest.err'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 (eval $ac_try) 2>&5
6883 ac_status=$?
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; } &&
6886 { ac_try='test -s conftest.$ac_objext'
6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 (eval $ac_try) 2>&5
6889 ac_status=$?
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then
6893 else
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.$ac_ext >&5
6897 ac_c99_math=no
6899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6900 cat >conftest.$ac_ext <<_ACEOF
6901 /* confdefs.h. */
6902 _ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 #include <math.h>
6908 main ()
6910 isunordered(0.0,0.0);
6912 return 0;
6914 _ACEOF
6915 rm -f conftest.$ac_objext
6916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6917 (eval $ac_compile) 2>conftest.er1
6918 ac_status=$?
6919 grep -v '^ *+' conftest.er1 >conftest.err
6920 rm -f conftest.er1
6921 cat conftest.err >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } &&
6924 { ac_try='test -z "$ac_cxx_werror_flag"
6925 || test ! -s conftest.err'
6926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6927 (eval $ac_try) 2>&5
6928 ac_status=$?
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); }; } &&
6931 { ac_try='test -s conftest.$ac_objext'
6932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 (eval $ac_try) 2>&5
6934 ac_status=$?
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); }; }; then
6938 else
6939 echo "$as_me: failed program was:" >&5
6940 sed 's/^/| /' conftest.$ac_ext >&5
6942 ac_c99_math=no
6944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6945 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6946 echo "${ECHO_T}$ac_c99_math" >&6
6948 if test x"$ac_c99_math" = x"yes"; then
6949 cat >>confdefs.h <<\_ACEOF
6950 #define _GLIBCXX_USE_C99_MATH 1
6951 _ACEOF
6955 # Check for the existence in <stdio.h> of vscanf, et. al.
6956 ac_c99_stdio=yes;
6957 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6958 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6959 cat >conftest.$ac_ext <<_ACEOF
6960 /* confdefs.h. */
6961 _ACEOF
6962 cat confdefs.h >>conftest.$ac_ext
6963 cat >>conftest.$ac_ext <<_ACEOF
6964 /* end confdefs.h. */
6965 #include <stdio.h>
6967 main ()
6969 snprintf("12", 0, "%i");
6971 return 0;
6973 _ACEOF
6974 rm -f conftest.$ac_objext
6975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6976 (eval $ac_compile) 2>conftest.er1
6977 ac_status=$?
6978 grep -v '^ *+' conftest.er1 >conftest.err
6979 rm -f conftest.er1
6980 cat conftest.err >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } &&
6983 { ac_try='test -z "$ac_cxx_werror_flag"
6984 || test ! -s conftest.err'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 (eval $ac_try) 2>&5
6987 ac_status=$?
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try='test -s conftest.$ac_objext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 (eval $ac_try) 2>&5
6993 ac_status=$?
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6997 else
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_c99_stdio=no
7003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7004 cat >conftest.$ac_ext <<_ACEOF
7005 /* confdefs.h. */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 #include <stdio.h>
7011 #include <stdarg.h>
7012 void foo(char* fmt, ...)
7013 {va_list args; va_start(args, fmt);
7014 vfscanf(stderr, "%i", args);}
7016 main ()
7020 return 0;
7022 _ACEOF
7023 rm -f conftest.$ac_objext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } &&
7032 { ac_try='test -z "$ac_cxx_werror_flag"
7033 || test ! -s conftest.err'
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 (eval $ac_try) 2>&5
7036 ac_status=$?
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); }; } &&
7039 { ac_try='test -s conftest.$ac_objext'
7040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 (eval $ac_try) 2>&5
7042 ac_status=$?
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }; }; then
7046 else
7047 echo "$as_me: failed program was:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7050 ac_c99_stdio=no
7052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7053 cat >conftest.$ac_ext <<_ACEOF
7054 /* confdefs.h. */
7055 _ACEOF
7056 cat confdefs.h >>conftest.$ac_ext
7057 cat >>conftest.$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 #include <stdio.h>
7060 #include <stdarg.h>
7061 void foo(char* fmt, ...)
7062 {va_list args; va_start(args, fmt);
7063 vscanf("%i", args);}
7065 main ()
7069 return 0;
7071 _ACEOF
7072 rm -f conftest.$ac_objext
7073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7074 (eval $ac_compile) 2>conftest.er1
7075 ac_status=$?
7076 grep -v '^ *+' conftest.er1 >conftest.err
7077 rm -f conftest.er1
7078 cat conftest.err >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } &&
7081 { ac_try='test -z "$ac_cxx_werror_flag"
7082 || test ! -s conftest.err'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 (eval $ac_try) 2>&5
7085 ac_status=$?
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; } &&
7088 { ac_try='test -s conftest.$ac_objext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 (eval $ac_try) 2>&5
7091 ac_status=$?
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7095 else
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.$ac_ext >&5
7099 ac_c99_stdio=no
7101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7102 cat >conftest.$ac_ext <<_ACEOF
7103 /* confdefs.h. */
7104 _ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 #include <stdio.h>
7109 #include <stdarg.h>
7110 void foo(char* fmt, ...)
7111 {va_list args; va_start(args, fmt);
7112 vsnprintf(fmt, 0, "%i", args);}
7114 main ()
7118 return 0;
7120 _ACEOF
7121 rm -f conftest.$ac_objext
7122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7123 (eval $ac_compile) 2>conftest.er1
7124 ac_status=$?
7125 grep -v '^ *+' conftest.er1 >conftest.err
7126 rm -f conftest.er1
7127 cat conftest.err >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } &&
7130 { ac_try='test -z "$ac_cxx_werror_flag"
7131 || test ! -s conftest.err'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 (eval $ac_try) 2>&5
7134 ac_status=$?
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; } &&
7137 { ac_try='test -s conftest.$ac_objext'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 (eval $ac_try) 2>&5
7140 ac_status=$?
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); }; }; then
7144 else
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.$ac_ext >&5
7148 ac_c99_stdio=no
7150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7151 cat >conftest.$ac_ext <<_ACEOF
7152 /* confdefs.h. */
7153 _ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h. */
7157 #include <stdio.h>
7158 #include <stdarg.h>
7159 void foo(char* fmt, ...)
7160 {va_list args; va_start(args, fmt);
7161 vsscanf(fmt, "%i", args);}
7163 main ()
7167 return 0;
7169 _ACEOF
7170 rm -f conftest.$ac_objext
7171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7172 (eval $ac_compile) 2>conftest.er1
7173 ac_status=$?
7174 grep -v '^ *+' conftest.er1 >conftest.err
7175 rm -f conftest.er1
7176 cat conftest.err >&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } &&
7179 { ac_try='test -z "$ac_cxx_werror_flag"
7180 || test ! -s conftest.err'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 (eval $ac_try) 2>&5
7183 ac_status=$?
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; } &&
7186 { ac_try='test -s conftest.$ac_objext'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 (eval $ac_try) 2>&5
7189 ac_status=$?
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; }; then
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 ac_c99_stdio=no
7199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7200 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7201 echo "${ECHO_T}$ac_c99_stdio" >&6
7203 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7204 ac_c99_stdlib=yes;
7205 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7206 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7207 if test "${ac_c99_lldiv_t+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 else
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 #include <stdlib.h>
7219 main ()
7221 lldiv_t mydivt;
7223 return 0;
7225 _ACEOF
7226 rm -f conftest.$ac_objext
7227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7228 (eval $ac_compile) 2>conftest.er1
7229 ac_status=$?
7230 grep -v '^ *+' conftest.er1 >conftest.err
7231 rm -f conftest.er1
7232 cat conftest.err >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); } &&
7235 { ac_try='test -z "$ac_cxx_werror_flag"
7236 || test ! -s conftest.err'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 (eval $ac_try) 2>&5
7239 ac_status=$?
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest.$ac_objext'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7244 (eval $ac_try) 2>&5
7245 ac_status=$?
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 ac_c99_lldiv_t=yes
7249 else
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 ac_c99_lldiv_t=no
7255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7259 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7260 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7262 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7263 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7264 cat >conftest.$ac_ext <<_ACEOF
7265 /* confdefs.h. */
7266 _ACEOF
7267 cat confdefs.h >>conftest.$ac_ext
7268 cat >>conftest.$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 #include <stdlib.h>
7272 main ()
7274 char* tmp; strtof("gnu", &tmp);
7276 return 0;
7278 _ACEOF
7279 rm -f conftest.$ac_objext
7280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7281 (eval $ac_compile) 2>conftest.er1
7282 ac_status=$?
7283 grep -v '^ *+' conftest.er1 >conftest.err
7284 rm -f conftest.er1
7285 cat conftest.err >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); } &&
7288 { ac_try='test -z "$ac_cxx_werror_flag"
7289 || test ! -s conftest.err'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; } &&
7295 { ac_try='test -s conftest.$ac_objext'
7296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 (eval $ac_try) 2>&5
7298 ac_status=$?
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); }; }; then
7302 else
7303 echo "$as_me: failed program was:" >&5
7304 sed 's/^/| /' conftest.$ac_ext >&5
7306 ac_c99_stdlib=no
7308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7309 cat >conftest.$ac_ext <<_ACEOF
7310 /* confdefs.h. */
7311 _ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 #include <stdlib.h>
7317 main ()
7319 char* tmp; strtold("gnu", &tmp);
7321 return 0;
7323 _ACEOF
7324 rm -f conftest.$ac_objext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7326 (eval $ac_compile) 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_cxx_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest.$ac_objext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7347 else
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 ac_c99_stdlib=no
7353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7354 cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h. */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <stdlib.h>
7362 main ()
7364 llabs(10);
7366 return 0;
7368 _ACEOF
7369 rm -f conftest.$ac_objext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7372 ac_status=$?
7373 grep -v '^ *+' conftest.er1 >conftest.err
7374 rm -f conftest.er1
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_cxx_werror_flag"
7379 || test ! -s conftest.err'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; } &&
7385 { ac_try='test -s conftest.$ac_objext'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5
7388 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_c99_stdlib=no
7398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399 cat >conftest.$ac_ext <<_ACEOF
7400 /* confdefs.h. */
7401 _ACEOF
7402 cat confdefs.h >>conftest.$ac_ext
7403 cat >>conftest.$ac_ext <<_ACEOF
7404 /* end confdefs.h. */
7405 #include <stdlib.h>
7407 main ()
7409 lldiv(10,1);
7411 return 0;
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416 (eval $ac_compile) 2>conftest.er1
7417 ac_status=$?
7418 grep -v '^ *+' conftest.er1 >conftest.err
7419 rm -f conftest.er1
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try='test -z "$ac_cxx_werror_flag"
7424 || test ! -s conftest.err'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 (eval $ac_try) 2>&5
7427 ac_status=$?
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; } &&
7430 { ac_try='test -s conftest.$ac_objext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7437 else
7438 echo "$as_me: failed program was:" >&5
7439 sed 's/^/| /' conftest.$ac_ext >&5
7441 ac_c99_stdlib=no
7443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7444 cat >conftest.$ac_ext <<_ACEOF
7445 /* confdefs.h. */
7446 _ACEOF
7447 cat confdefs.h >>conftest.$ac_ext
7448 cat >>conftest.$ac_ext <<_ACEOF
7449 /* end confdefs.h. */
7450 #include <stdlib.h>
7452 main ()
7454 atoll("10");
7456 return 0;
7458 _ACEOF
7459 rm -f conftest.$ac_objext
7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7461 (eval $ac_compile) 2>conftest.er1
7462 ac_status=$?
7463 grep -v '^ *+' conftest.er1 >conftest.err
7464 rm -f conftest.er1
7465 cat conftest.err >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } &&
7468 { ac_try='test -z "$ac_cxx_werror_flag"
7469 || test ! -s conftest.err'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 (eval $ac_try) 2>&5
7472 ac_status=$?
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; } &&
7475 { ac_try='test -s conftest.$ac_objext'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 (eval $ac_try) 2>&5
7478 ac_status=$?
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 ac_c99_stdlib=no
7488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h. */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 #include <stdlib.h>
7497 main ()
7499 _Exit(0);
7501 return 0;
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7506 (eval $ac_compile) 2>conftest.er1
7507 ac_status=$?
7508 grep -v '^ *+' conftest.er1 >conftest.err
7509 rm -f conftest.er1
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try='test -z "$ac_cxx_werror_flag"
7514 || test ! -s conftest.err'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 (eval $ac_try) 2>&5
7517 ac_status=$?
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; } &&
7520 { ac_try='test -s conftest.$ac_objext'
7521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 (eval $ac_try) 2>&5
7523 ac_status=$?
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; }; then
7527 else
7528 echo "$as_me: failed program was:" >&5
7529 sed 's/^/| /' conftest.$ac_ext >&5
7531 ac_c99_stdlib=no
7533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7534 if test x"$ac_c99_lldiv_t" = x"no"; then
7535 ac_c99_stdlib=no;
7537 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7538 echo "${ECHO_T}$ac_c99_stdlib" >&6
7540 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7541 # XXX the wchar.h checks should be rolled into the general C99 bits.
7542 ac_c99_wchar=yes;
7543 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7544 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7545 cat >conftest.$ac_ext <<_ACEOF
7546 /* confdefs.h. */
7547 _ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7551 #include <wchar.h>
7553 main ()
7555 wcstold(L"10.0", NULL);
7557 return 0;
7559 _ACEOF
7560 rm -f conftest.$ac_objext
7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7562 (eval $ac_compile) 2>conftest.er1
7563 ac_status=$?
7564 grep -v '^ *+' conftest.er1 >conftest.err
7565 rm -f conftest.er1
7566 cat conftest.err >&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); } &&
7569 { ac_try='test -z "$ac_cxx_werror_flag"
7570 || test ! -s conftest.err'
7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 (eval $ac_try) 2>&5
7573 ac_status=$?
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); }; } &&
7576 { ac_try='test -s conftest.$ac_objext'
7577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 (eval $ac_try) 2>&5
7579 ac_status=$?
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); }; }; then
7583 else
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7587 ac_c99_wchar=no
7589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7590 cat >conftest.$ac_ext <<_ACEOF
7591 /* confdefs.h. */
7592 _ACEOF
7593 cat confdefs.h >>conftest.$ac_ext
7594 cat >>conftest.$ac_ext <<_ACEOF
7595 /* end confdefs.h. */
7596 #include <wchar.h>
7598 main ()
7600 wcstoll(L"10", NULL, 10);
7602 return 0;
7604 _ACEOF
7605 rm -f conftest.$ac_objext
7606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7607 (eval $ac_compile) 2>conftest.er1
7608 ac_status=$?
7609 grep -v '^ *+' conftest.er1 >conftest.err
7610 rm -f conftest.er1
7611 cat conftest.err >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); } &&
7614 { ac_try='test -z "$ac_cxx_werror_flag"
7615 || test ! -s conftest.err'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 (eval $ac_try) 2>&5
7618 ac_status=$?
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; } &&
7621 { ac_try='test -s conftest.$ac_objext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 (eval $ac_try) 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7628 else
7629 echo "$as_me: failed program was:" >&5
7630 sed 's/^/| /' conftest.$ac_ext >&5
7632 ac_c99_wchar=no
7634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7635 cat >conftest.$ac_ext <<_ACEOF
7636 /* confdefs.h. */
7637 _ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7641 #include <wchar.h>
7643 main ()
7645 wcstoull(L"10", NULL, 10);
7647 return 0;
7649 _ACEOF
7650 rm -f conftest.$ac_objext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652 (eval $ac_compile) 2>conftest.er1
7653 ac_status=$?
7654 grep -v '^ *+' conftest.er1 >conftest.err
7655 rm -f conftest.er1
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try='test -z "$ac_cxx_werror_flag"
7660 || test ! -s conftest.err'
7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 (eval $ac_try) 2>&5
7663 ac_status=$?
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }; } &&
7666 { ac_try='test -s conftest.$ac_objext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 (eval $ac_try) 2>&5
7669 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7673 else
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.$ac_ext >&5
7677 ac_c99_wchar=no
7679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7680 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7681 echo "${ECHO_T}$ac_c99_wchar" >&6
7683 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7684 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7685 if test x"$ac_c99_math" = x"no" ||
7686 test x"$ac_c99_stdio" = x"no" ||
7687 test x"$ac_c99_stdlib" = x"no" ||
7688 test x"$ac_c99_wchar" = x"no"; then
7689 enable_c99=no;
7691 echo "$as_me:$LINENO: result: $enable_c99" >&5
7692 echo "${ECHO_T}$enable_c99" >&6
7694 if test x"$ac_99_math" = x"yes"; then
7695 cat >>confdefs.h <<\_ACEOF
7696 #define _GLIBCXX_USE_C99_MATH 1
7697 _ACEOF
7701 # Option parsed, now set things appropriately
7702 if test x"$enable_c99" = x"yes"; then
7703 cat >>confdefs.h <<\_ACEOF
7704 #define _GLIBCXX_USE_C99 1
7705 _ACEOF
7709 ac_ext=c
7710 ac_cpp='$CPP $CPPFLAGS'
7711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7717 # Check whether --enable-long-long or --disable-long-long was given.
7718 if test "${enable_long_long+set}" = set; then
7719 enableval="$enable_long_long"
7721 case "$enableval" in
7722 yes|no) ;;
7723 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7724 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7725 { (exit 1); exit 1; }; } ;;
7726 esac
7728 else
7729 enable_long_long=yes
7732 if test $enable_long_long = yes; then
7733 cat >>confdefs.h <<\_ACEOF
7734 #define _GLIBCXX_USE_LONG_LONG 1
7735 _ACEOF
7740 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7741 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7742 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7743 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7744 echo "${ECHO_T}$target_thread_file" >&6
7746 if test $target_thread_file != single; then
7747 cat >>confdefs.h <<\_ACEOF
7748 #define HAVE_GTHR_DEFAULT 1
7749 _ACEOF
7753 glibcxx_thread_h=gthr-$target_thread_file.h
7755 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7756 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7757 enable_thread=yes
7758 else
7759 enable_thread=no
7765 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7766 if test "${enable_concept_checks+set}" = set; then
7767 enableval="$enable_concept_checks"
7769 case "$enableval" in
7770 yes|no) ;;
7771 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7772 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7773 { (exit 1); exit 1; }; } ;;
7774 esac
7776 else
7777 enable_concept_checks=no
7780 if test $enable_concept_checks = yes; then
7781 cat >>confdefs.h <<\_ACEOF
7782 #define _GLIBCXX_CONCEPT_CHECKS 1
7783 _ACEOF
7788 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7789 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7790 enableval="$enable_libstdcxx_debug_flags"
7791 case "x$enable_libstdcxx_debug_flags" in
7792 xno | x) enable_libstdcxx_debug_flags= ;;
7793 x-*) ;;
7794 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7795 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7796 { (exit 1); exit 1; }; } ;;
7797 esac
7798 else
7799 enable_libstdcxx_debug_flags="-g3 -O0"
7803 # Option parsed, now set things appropriately
7804 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7807 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7808 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7811 echo "$as_me:$LINENO: checking for additional debug build" >&5
7812 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7813 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7814 if test "${enable_libstdcxx_debug+set}" = set; then
7815 enableval="$enable_libstdcxx_debug"
7817 case "$enableval" in
7818 yes|no) ;;
7819 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7820 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7821 { (exit 1); exit 1; }; } ;;
7822 esac
7824 else
7825 enable_libstdcxx_debug=no
7828 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7829 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7832 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7833 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7834 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7835 if test "${enable_cxx_flags+set}" = set; then
7836 enableval="$enable_cxx_flags"
7837 case "x$enable_cxx_flags" in
7838 xno | x) enable_cxx_flags= ;;
7839 x-*) ;;
7840 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7841 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7842 { (exit 1); exit 1; }; } ;;
7843 esac
7844 else
7845 enable_cxx_flags=
7849 # Run through flags (either default or command-line) and set anything
7850 # extra (e.g., #defines) that must accompany particular g++ options.
7851 if test -n "$enable_cxx_flags"; then
7852 for f in $enable_cxx_flags; do
7853 case "$f" in
7854 -fhonor-std) ;;
7855 -*) ;;
7856 *) # and we're trying to pass /what/ exactly?
7857 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7858 echo "$as_me: error: compiler flags start with a -" >&2;}
7859 { (exit 1); exit 1; }; } ;;
7860 esac
7861 done
7864 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7865 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7866 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7870 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7871 if test "${enable_fully_dynamic_string+set}" = set; then
7872 enableval="$enable_fully_dynamic_string"
7874 case "$enableval" in
7875 yes|no) ;;
7876 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7877 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7878 { (exit 1); exit 1; }; } ;;
7879 esac
7881 else
7882 enable_fully_dynamic_string=no
7885 if test $enable_fully_dynamic_string = yes; then
7886 cat >>confdefs.h <<\_ACEOF
7887 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7888 _ACEOF
7893 # No surprises, no surprises...
7894 if test $atomicity_dir = cpu/generic ; then
7895 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7896 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7897 if test $target_thread_file = single; then
7898 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7899 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7900 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7901 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7902 else
7903 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7904 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7905 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7906 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7911 if $GLIBCXX_IS_NATIVE; then
7913 # We can do more elaborate tests that assume a working linker.
7914 CANADIAN=no
7916 # Check for available headers.
7930 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7931 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7932 sys/types.h
7934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7936 echo "$as_me:$LINENO: checking for $ac_header" >&5
7937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7943 else
7944 # Is the header compilable?
7945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7947 cat >conftest.$ac_ext <<_ACEOF
7948 /* confdefs.h. */
7949 _ACEOF
7950 cat confdefs.h >>conftest.$ac_ext
7951 cat >>conftest.$ac_ext <<_ACEOF
7952 /* end confdefs.h. */
7953 $ac_includes_default
7954 #include <$ac_header>
7955 _ACEOF
7956 rm -f conftest.$ac_objext
7957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7958 (eval $ac_compile) 2>conftest.er1
7959 ac_status=$?
7960 grep -v '^ *+' conftest.er1 >conftest.err
7961 rm -f conftest.er1
7962 cat conftest.err >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); } &&
7965 { ac_try='test -z "$ac_c_werror_flag"
7966 || test ! -s conftest.err'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7968 (eval $ac_try) 2>&5
7969 ac_status=$?
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; } &&
7972 { ac_try='test -s conftest.$ac_objext'
7973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974 (eval $ac_try) 2>&5
7975 ac_status=$?
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); }; }; then
7978 ac_header_compiler=yes
7979 else
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.$ac_ext >&5
7983 ac_header_compiler=no
7985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7987 echo "${ECHO_T}$ac_header_compiler" >&6
7989 # Is the header present?
7990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7992 cat >conftest.$ac_ext <<_ACEOF
7993 /* confdefs.h. */
7994 _ACEOF
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 #include <$ac_header>
7999 _ACEOF
8000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8002 ac_status=$?
8003 grep -v '^ *+' conftest.er1 >conftest.err
8004 rm -f conftest.er1
8005 cat conftest.err >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } >/dev/null; then
8008 if test -s conftest.err; then
8009 ac_cpp_err=$ac_c_preproc_warn_flag
8010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8011 else
8012 ac_cpp_err=
8014 else
8015 ac_cpp_err=yes
8017 if test -z "$ac_cpp_err"; then
8018 ac_header_preproc=yes
8019 else
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 ac_header_preproc=no
8025 rm -f conftest.err conftest.$ac_ext
8026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8027 echo "${ECHO_T}$ac_header_preproc" >&6
8029 # So? What about this header?
8030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8031 yes:no: )
8032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8036 ac_header_preproc=yes
8038 no:yes:* )
8039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8052 cat <<\_ASBOX
8053 ## ----------------------------------------- ##
8054 ## Report this to the package-unused lists. ##
8055 ## ----------------------------------------- ##
8056 _ASBOX
8058 sed "s/^/$as_me: WARNING: /" >&2
8060 esac
8061 echo "$as_me:$LINENO: checking for $ac_header" >&5
8062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 else
8066 eval "$as_ac_Header=\$ac_header_preproc"
8068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8073 cat >>confdefs.h <<_ACEOF
8074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8083 # All these tests are for C++; save the language and the compiler flags.
8084 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8085 # found in GLIBCXX_CONFIGURE.
8088 ac_ext=cc
8089 ac_cpp='$CXXCPP $CPPFLAGS'
8090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8095 ac_save_CXXFLAGS="$CXXFLAGS"
8097 # Check for maintainer-mode bits.
8098 if test x"$USE_MAINTAINER_MODE" = xno; then
8099 WERROR=''
8100 else
8101 WERROR='-Werror'
8104 # Check for -ffunction-sections -fdata-sections
8105 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8106 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8107 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h. */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8116 main ()
8118 int foo;
8120 return 0;
8122 _ACEOF
8123 rm -f conftest.$ac_objext
8124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8125 (eval $ac_compile) 2>conftest.er1
8126 ac_status=$?
8127 grep -v '^ *+' conftest.er1 >conftest.err
8128 rm -f conftest.er1
8129 cat conftest.err >&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } &&
8132 { ac_try='test -z "$ac_cxx_werror_flag"
8133 || test ! -s conftest.err'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 (eval $ac_try) 2>&5
8136 ac_status=$?
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try='test -s conftest.$ac_objext'
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 (eval $ac_try) 2>&5
8142 ac_status=$?
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; }; then
8145 ac_fdsections=yes
8146 else
8147 echo "$as_me: failed program was:" >&5
8148 sed 's/^/| /' conftest.$ac_ext >&5
8150 ac_fdsections=no
8152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8153 if test "$ac_test_CXXFLAGS" = set; then
8154 CXXFLAGS="$ac_save_CXXFLAGS"
8155 else
8156 # this is the suspicious part
8157 CXXFLAGS=''
8159 if test x"$ac_fdsections" = x"yes"; then
8160 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8162 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8163 echo "${ECHO_T}$ac_fdsections" >&6
8165 ac_ext=c
8166 ac_cpp='$CPP $CPPFLAGS'
8167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175 # If we're not using GNU ld, then there's no point in even trying these
8176 # tests. Check for that first. We should have already tested for gld
8177 # by now (in libtool), but require it now just to be safe...
8178 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8179 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8183 # The name set by libtool depends on the version of libtool. Shame on us
8184 # for depending on an impl detail, but c'est la vie. Older versions used
8185 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8186 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8187 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8188 # set (hence we're using an older libtool), then set it.
8189 if test x${with_gnu_ld+set} != xset; then
8190 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8191 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8192 with_gnu_ld=no
8193 else
8194 with_gnu_ld=$ac_cv_prog_gnu_ld
8198 # Start by getting the version number. I think the libtool test already
8199 # does some of this, but throws away the result.
8201 ldver=`$LD --version 2>/dev/null | head -1 | \
8202 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8204 glibcxx_gnu_ld_version=`echo $ldver | \
8205 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8207 # Set --gc-sections.
8208 if test "$with_gnu_ld" = "notbroken"; then
8209 # GNU ld it is! Joy and bunny rabbits!
8211 # All these tests are for C++; save the language and the compiler flags.
8212 # Need to do this so that g++ won't try to link in libstdc++
8213 ac_test_CFLAGS="${CFLAGS+set}"
8214 ac_save_CFLAGS="$CFLAGS"
8215 CFLAGS='-x c++ -Wl,--gc-sections'
8217 # Check for -Wl,--gc-sections
8218 # XXX This test is broken at the moment, as symbols required for linking
8219 # are now in libsupc++ (not built yet). In addition, this test has
8220 # cored on solaris in the past. In addition, --gc-sections doesn't
8221 # really work at the moment (keeps on discarding used sections, first
8222 # .eh_frame and now some of the glibc sections for iconv).
8223 # Bzzzzt. Thanks for playing, maybe next time.
8224 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8225 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8226 if test "$cross_compiling" = yes; then
8227 ac_sectionLDflags=yes
8228 else
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8236 int main(void)
8238 try { throw 1; }
8239 catch (...) { };
8240 return 0;
8243 _ACEOF
8244 rm -f conftest$ac_exeext
8245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8246 (eval $ac_link) 2>&5
8247 ac_status=$?
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_sectionLDflags=yes
8256 else
8257 echo "$as_me: program exited with status $ac_status" >&5
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8261 ( exit $ac_status )
8262 ac_sectionLDflags=no
8264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8266 if test "$ac_test_CFLAGS" = set; then
8267 CFLAGS="$ac_save_CFLAGS"
8268 else
8269 # this is the suspicious part
8270 CFLAGS=''
8272 if test "$ac_sectionLDflags" = "yes"; then
8273 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8275 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8276 echo "${ECHO_T}$ac_sectionLDflags" >&6
8279 # Set linker optimization flags.
8280 if test x"$with_gnu_ld" = x"yes"; then
8281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8289 ac_save_CXXFLAGS="$CXXFLAGS"
8290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8292 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8293 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8294 if test "${ac_cv_lib_m_sin+set}" = set; then
8295 echo $ECHO_N "(cached) $ECHO_C" >&6
8296 else
8297 ac_check_lib_save_LIBS=$LIBS
8298 LIBS="-lm $LIBS"
8299 if test x$gcc_no_link = xyes; then
8300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8302 { (exit 1); exit 1; }; }
8304 cat >conftest.$ac_ext <<_ACEOF
8305 /* confdefs.h. */
8306 _ACEOF
8307 cat confdefs.h >>conftest.$ac_ext
8308 cat >>conftest.$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8311 /* Override any gcc2 internal prototype to avoid an error. */
8312 #ifdef __cplusplus
8313 extern "C"
8314 #endif
8315 /* We use char because int might match the return type of a gcc2
8316 builtin and then its argument prototype would still apply. */
8317 char sin ();
8319 main ()
8321 sin ();
8323 return 0;
8325 _ACEOF
8326 rm -f conftest.$ac_objext conftest$ac_exeext
8327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8328 (eval $ac_link) 2>conftest.er1
8329 ac_status=$?
8330 grep -v '^ *+' conftest.er1 >conftest.err
8331 rm -f conftest.er1
8332 cat conftest.err >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); } &&
8335 { ac_try='test -z "$ac_c_werror_flag"
8336 || test ! -s conftest.err'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 (eval $ac_try) 2>&5
8339 ac_status=$?
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; } &&
8342 { ac_try='test -s conftest$ac_exeext'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 (eval $ac_try) 2>&5
8345 ac_status=$?
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then
8348 ac_cv_lib_m_sin=yes
8349 else
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.$ac_ext >&5
8353 ac_cv_lib_m_sin=no
8355 rm -f conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LIBS=$ac_check_lib_save_LIBS
8359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8360 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8361 if test $ac_cv_lib_m_sin = yes; then
8362 libm="-lm"
8365 ac_save_LIBS="$LIBS"
8366 LIBS="$LIBS $libm"
8370 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8371 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8372 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8373 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 else
8379 ac_ext=cc
8380 ac_cpp='$CXXCPP $CPPFLAGS'
8381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8385 cat >conftest.$ac_ext <<_ACEOF
8386 /* confdefs.h. */
8387 _ACEOF
8388 cat confdefs.h >>conftest.$ac_ext
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8391 #include <math.h>
8392 #ifdef HAVE_IEEEFP_H
8393 #include <ieeefp.h>
8394 #endif
8397 main ()
8399 isinf(0);
8401 return 0;
8403 _ACEOF
8404 rm -f conftest.$ac_objext
8405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8406 (eval $ac_compile) 2>conftest.er1
8407 ac_status=$?
8408 grep -v '^ *+' conftest.er1 >conftest.err
8409 rm -f conftest.er1
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try='test -z "$ac_cxx_werror_flag"
8414 || test ! -s conftest.err'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8416 (eval $ac_try) 2>&5
8417 ac_status=$?
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; } &&
8420 { ac_try='test -s conftest.$ac_objext'
8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8422 (eval $ac_try) 2>&5
8423 ac_status=$?
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then
8426 glibcxx_cv_func_isinf_use=yes
8427 else
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.$ac_ext >&5
8431 glibcxx_cv_func_isinf_use=no
8433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8434 ac_ext=c
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8445 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8447 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8449 for ac_func in isinf
8451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8452 echo "$as_me:$LINENO: checking for $ac_func" >&5
8453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8454 if eval "test \"\${$as_ac_var+set}\" = set"; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 else
8457 if test x$gcc_no_link = xyes; then
8458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8460 { (exit 1); exit 1; }; }
8462 cat >conftest.$ac_ext <<_ACEOF
8463 /* confdefs.h. */
8464 _ACEOF
8465 cat confdefs.h >>conftest.$ac_ext
8466 cat >>conftest.$ac_ext <<_ACEOF
8467 /* end confdefs.h. */
8468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8470 #define $ac_func innocuous_$ac_func
8472 /* System header to define __stub macros and hopefully few prototypes,
8473 which can conflict with char $ac_func (); below.
8474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8475 <limits.h> exists even on freestanding compilers. */
8477 #ifdef __STDC__
8478 # include <limits.h>
8479 #else
8480 # include <assert.h>
8481 #endif
8483 #undef $ac_func
8485 /* Override any gcc2 internal prototype to avoid an error. */
8486 #ifdef __cplusplus
8487 extern "C"
8489 #endif
8490 /* We use char because int might match the return type of a gcc2
8491 builtin and then its argument prototype would still apply. */
8492 char $ac_func ();
8493 /* The GNU C library defines this for functions which it implements
8494 to always fail with ENOSYS. Some functions are actually named
8495 something starting with __ and the normal name is an alias. */
8496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8497 choke me
8498 #else
8499 char (*f) () = $ac_func;
8500 #endif
8501 #ifdef __cplusplus
8503 #endif
8506 main ()
8508 return f != $ac_func;
8510 return 0;
8512 _ACEOF
8513 rm -f conftest.$ac_objext conftest$ac_exeext
8514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8515 (eval $ac_link) 2>conftest.er1
8516 ac_status=$?
8517 grep -v '^ *+' conftest.er1 >conftest.err
8518 rm -f conftest.er1
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try='test -z "$ac_c_werror_flag"
8523 || test ! -s conftest.err'
8524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8525 (eval $ac_try) 2>&5
8526 ac_status=$?
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }; } &&
8529 { ac_try='test -s conftest$ac_exeext'
8530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 (eval $ac_try) 2>&5
8532 ac_status=$?
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 eval "$as_ac_var=yes"
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8540 eval "$as_ac_var=no"
8542 rm -f conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8547 if test `eval echo '${'$as_ac_var'}'` = yes; then
8548 cat >>confdefs.h <<_ACEOF
8549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8550 _ACEOF
8553 done
8555 else
8557 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8558 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8559 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8560 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 else
8566 ac_ext=cc
8567 ac_cpp='$CXXCPP $CPPFLAGS'
8568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8572 cat >conftest.$ac_ext <<_ACEOF
8573 /* confdefs.h. */
8574 _ACEOF
8575 cat confdefs.h >>conftest.$ac_ext
8576 cat >>conftest.$ac_ext <<_ACEOF
8577 /* end confdefs.h. */
8578 #include <math.h>
8579 #ifdef HAVE_IEEEFP_H
8580 #include <ieeefp.h>
8581 #endif
8584 main ()
8586 _isinf(0);
8588 return 0;
8590 _ACEOF
8591 rm -f conftest.$ac_objext
8592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8593 (eval $ac_compile) 2>conftest.er1
8594 ac_status=$?
8595 grep -v '^ *+' conftest.er1 >conftest.err
8596 rm -f conftest.er1
8597 cat conftest.err >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } &&
8600 { ac_try='test -z "$ac_cxx_werror_flag"
8601 || test ! -s conftest.err'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 (eval $ac_try) 2>&5
8604 ac_status=$?
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try='test -s conftest.$ac_objext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 glibcxx_cv_func__isinf_use=yes
8614 else
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 glibcxx_cv_func__isinf_use=no
8620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8621 ac_ext=c
8622 ac_cpp='$CPP $CPPFLAGS'
8623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8632 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8634 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8636 for ac_func in _isinf
8638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8639 echo "$as_me:$LINENO: checking for $ac_func" >&5
8640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8641 if eval "test \"\${$as_ac_var+set}\" = set"; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 else
8644 if test x$gcc_no_link = xyes; then
8645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8647 { (exit 1); exit 1; }; }
8649 cat >conftest.$ac_ext <<_ACEOF
8650 /* confdefs.h. */
8651 _ACEOF
8652 cat confdefs.h >>conftest.$ac_ext
8653 cat >>conftest.$ac_ext <<_ACEOF
8654 /* end confdefs.h. */
8655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8657 #define $ac_func innocuous_$ac_func
8659 /* System header to define __stub macros and hopefully few prototypes,
8660 which can conflict with char $ac_func (); below.
8661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8662 <limits.h> exists even on freestanding compilers. */
8664 #ifdef __STDC__
8665 # include <limits.h>
8666 #else
8667 # include <assert.h>
8668 #endif
8670 #undef $ac_func
8672 /* Override any gcc2 internal prototype to avoid an error. */
8673 #ifdef __cplusplus
8674 extern "C"
8676 #endif
8677 /* We use char because int might match the return type of a gcc2
8678 builtin and then its argument prototype would still apply. */
8679 char $ac_func ();
8680 /* The GNU C library defines this for functions which it implements
8681 to always fail with ENOSYS. Some functions are actually named
8682 something starting with __ and the normal name is an alias. */
8683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8684 choke me
8685 #else
8686 char (*f) () = $ac_func;
8687 #endif
8688 #ifdef __cplusplus
8690 #endif
8693 main ()
8695 return f != $ac_func;
8697 return 0;
8699 _ACEOF
8700 rm -f conftest.$ac_objext conftest$ac_exeext
8701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8702 (eval $ac_link) 2>conftest.er1
8703 ac_status=$?
8704 grep -v '^ *+' conftest.er1 >conftest.err
8705 rm -f conftest.er1
8706 cat conftest.err >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try='test -z "$ac_c_werror_flag"
8710 || test ! -s conftest.err'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 (eval $ac_try) 2>&5
8713 ac_status=$?
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try='test -s conftest$ac_exeext'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 (eval $ac_try) 2>&5
8719 ac_status=$?
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; }; then
8722 eval "$as_ac_var=yes"
8723 else
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8727 eval "$as_ac_var=no"
8729 rm -f conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8734 if test `eval echo '${'$as_ac_var'}'` = yes; then
8735 cat >>confdefs.h <<_ACEOF
8736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8737 _ACEOF
8740 done
8747 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8748 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8749 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8750 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8752 else
8756 ac_ext=cc
8757 ac_cpp='$CXXCPP $CPPFLAGS'
8758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8762 cat >conftest.$ac_ext <<_ACEOF
8763 /* confdefs.h. */
8764 _ACEOF
8765 cat confdefs.h >>conftest.$ac_ext
8766 cat >>conftest.$ac_ext <<_ACEOF
8767 /* end confdefs.h. */
8768 #include <math.h>
8769 #ifdef HAVE_IEEEFP_H
8770 #include <ieeefp.h>
8771 #endif
8774 main ()
8776 isnan(0);
8778 return 0;
8780 _ACEOF
8781 rm -f conftest.$ac_objext
8782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8783 (eval $ac_compile) 2>conftest.er1
8784 ac_status=$?
8785 grep -v '^ *+' conftest.er1 >conftest.err
8786 rm -f conftest.er1
8787 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } &&
8790 { ac_try='test -z "$ac_cxx_werror_flag"
8791 || test ! -s conftest.err'
8792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8793 (eval $ac_try) 2>&5
8794 ac_status=$?
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); }; } &&
8797 { ac_try='test -s conftest.$ac_objext'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 (eval $ac_try) 2>&5
8800 ac_status=$?
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; }; then
8803 glibcxx_cv_func_isnan_use=yes
8804 else
8805 echo "$as_me: failed program was:" >&5
8806 sed 's/^/| /' conftest.$ac_ext >&5
8808 glibcxx_cv_func_isnan_use=no
8810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8811 ac_ext=c
8812 ac_cpp='$CPP $CPPFLAGS'
8813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8822 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8824 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8826 for ac_func in isnan
8828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8829 echo "$as_me:$LINENO: checking for $ac_func" >&5
8830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8831 if eval "test \"\${$as_ac_var+set}\" = set"; then
8832 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 else
8834 if test x$gcc_no_link = xyes; then
8835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8837 { (exit 1); exit 1; }; }
8839 cat >conftest.$ac_ext <<_ACEOF
8840 /* confdefs.h. */
8841 _ACEOF
8842 cat confdefs.h >>conftest.$ac_ext
8843 cat >>conftest.$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8847 #define $ac_func innocuous_$ac_func
8849 /* System header to define __stub macros and hopefully few prototypes,
8850 which can conflict with char $ac_func (); below.
8851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8852 <limits.h> exists even on freestanding compilers. */
8854 #ifdef __STDC__
8855 # include <limits.h>
8856 #else
8857 # include <assert.h>
8858 #endif
8860 #undef $ac_func
8862 /* Override any gcc2 internal prototype to avoid an error. */
8863 #ifdef __cplusplus
8864 extern "C"
8866 #endif
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8869 char $ac_func ();
8870 /* The GNU C library defines this for functions which it implements
8871 to always fail with ENOSYS. Some functions are actually named
8872 something starting with __ and the normal name is an alias. */
8873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8874 choke me
8875 #else
8876 char (*f) () = $ac_func;
8877 #endif
8878 #ifdef __cplusplus
8880 #endif
8883 main ()
8885 return f != $ac_func;
8887 return 0;
8889 _ACEOF
8890 rm -f conftest.$ac_objext conftest$ac_exeext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8892 (eval $ac_link) 2>conftest.er1
8893 ac_status=$?
8894 grep -v '^ *+' conftest.er1 >conftest.err
8895 rm -f conftest.er1
8896 cat conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } &&
8899 { ac_try='test -z "$ac_c_werror_flag"
8900 || test ! -s conftest.err'
8901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 (eval $ac_try) 2>&5
8903 ac_status=$?
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; } &&
8906 { ac_try='test -s conftest$ac_exeext'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 (eval $ac_try) 2>&5
8909 ac_status=$?
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; }; then
8912 eval "$as_ac_var=yes"
8913 else
8914 echo "$as_me: failed program was:" >&5
8915 sed 's/^/| /' conftest.$ac_ext >&5
8917 eval "$as_ac_var=no"
8919 rm -f conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8924 if test `eval echo '${'$as_ac_var'}'` = yes; then
8925 cat >>confdefs.h <<_ACEOF
8926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8927 _ACEOF
8930 done
8932 else
8934 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8935 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8936 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8937 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 else
8943 ac_ext=cc
8944 ac_cpp='$CXXCPP $CPPFLAGS'
8945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8949 cat >conftest.$ac_ext <<_ACEOF
8950 /* confdefs.h. */
8951 _ACEOF
8952 cat confdefs.h >>conftest.$ac_ext
8953 cat >>conftest.$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8955 #include <math.h>
8956 #ifdef HAVE_IEEEFP_H
8957 #include <ieeefp.h>
8958 #endif
8961 main ()
8963 _isnan(0);
8965 return 0;
8967 _ACEOF
8968 rm -f conftest.$ac_objext
8969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8970 (eval $ac_compile) 2>conftest.er1
8971 ac_status=$?
8972 grep -v '^ *+' conftest.er1 >conftest.err
8973 rm -f conftest.er1
8974 cat conftest.err >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try='test -z "$ac_cxx_werror_flag"
8978 || test ! -s conftest.err'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 (eval $ac_try) 2>&5
8981 ac_status=$?
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try='test -s conftest.$ac_objext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 glibcxx_cv_func__isnan_use=yes
8991 else
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.$ac_ext >&5
8995 glibcxx_cv_func__isnan_use=no
8997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8998 ac_ext=c
8999 ac_cpp='$CPP $CPPFLAGS'
9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9009 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9011 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9013 for ac_func in _isnan
9015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9016 echo "$as_me:$LINENO: checking for $ac_func" >&5
9017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9018 if eval "test \"\${$as_ac_var+set}\" = set"; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 else
9021 if test x$gcc_no_link = xyes; then
9022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9024 { (exit 1); exit 1; }; }
9026 cat >conftest.$ac_ext <<_ACEOF
9027 /* confdefs.h. */
9028 _ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9034 #define $ac_func innocuous_$ac_func
9036 /* System header to define __stub macros and hopefully few prototypes,
9037 which can conflict with char $ac_func (); below.
9038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9039 <limits.h> exists even on freestanding compilers. */
9041 #ifdef __STDC__
9042 # include <limits.h>
9043 #else
9044 # include <assert.h>
9045 #endif
9047 #undef $ac_func
9049 /* Override any gcc2 internal prototype to avoid an error. */
9050 #ifdef __cplusplus
9051 extern "C"
9053 #endif
9054 /* We use char because int might match the return type of a gcc2
9055 builtin and then its argument prototype would still apply. */
9056 char $ac_func ();
9057 /* The GNU C library defines this for functions which it implements
9058 to always fail with ENOSYS. Some functions are actually named
9059 something starting with __ and the normal name is an alias. */
9060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9061 choke me
9062 #else
9063 char (*f) () = $ac_func;
9064 #endif
9065 #ifdef __cplusplus
9067 #endif
9070 main ()
9072 return f != $ac_func;
9074 return 0;
9076 _ACEOF
9077 rm -f conftest.$ac_objext conftest$ac_exeext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9079 (eval $ac_link) 2>conftest.er1
9080 ac_status=$?
9081 grep -v '^ *+' conftest.er1 >conftest.err
9082 rm -f conftest.er1
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } &&
9086 { ac_try='test -z "$ac_c_werror_flag"
9087 || test ! -s conftest.err'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9089 (eval $ac_try) 2>&5
9090 ac_status=$?
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; } &&
9093 { ac_try='test -s conftest$ac_exeext'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 (eval $ac_try) 2>&5
9096 ac_status=$?
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; }; then
9099 eval "$as_ac_var=yes"
9100 else
9101 echo "$as_me: failed program was:" >&5
9102 sed 's/^/| /' conftest.$ac_ext >&5
9104 eval "$as_ac_var=no"
9106 rm -f conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9111 if test `eval echo '${'$as_ac_var'}'` = yes; then
9112 cat >>confdefs.h <<_ACEOF
9113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9114 _ACEOF
9117 done
9124 echo "$as_me:$LINENO: checking for finite declaration" >&5
9125 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9126 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9127 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 else
9133 ac_ext=cc
9134 ac_cpp='$CXXCPP $CPPFLAGS'
9135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9139 cat >conftest.$ac_ext <<_ACEOF
9140 /* confdefs.h. */
9141 _ACEOF
9142 cat confdefs.h >>conftest.$ac_ext
9143 cat >>conftest.$ac_ext <<_ACEOF
9144 /* end confdefs.h. */
9145 #include <math.h>
9146 #ifdef HAVE_IEEEFP_H
9147 #include <ieeefp.h>
9148 #endif
9151 main ()
9153 finite(0);
9155 return 0;
9157 _ACEOF
9158 rm -f conftest.$ac_objext
9159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9160 (eval $ac_compile) 2>conftest.er1
9161 ac_status=$?
9162 grep -v '^ *+' conftest.er1 >conftest.err
9163 rm -f conftest.er1
9164 cat conftest.err >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); } &&
9167 { ac_try='test -z "$ac_cxx_werror_flag"
9168 || test ! -s conftest.err'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 (eval $ac_try) 2>&5
9171 ac_status=$?
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; } &&
9174 { ac_try='test -s conftest.$ac_objext'
9175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176 (eval $ac_try) 2>&5
9177 ac_status=$?
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); }; }; then
9180 glibcxx_cv_func_finite_use=yes
9181 else
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.$ac_ext >&5
9185 glibcxx_cv_func_finite_use=no
9187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9188 ac_ext=c
9189 ac_cpp='$CPP $CPPFLAGS'
9190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9199 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9201 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9203 for ac_func in finite
9205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9206 echo "$as_me:$LINENO: checking for $ac_func" >&5
9207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9208 if eval "test \"\${$as_ac_var+set}\" = set"; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9210 else
9211 if test x$gcc_no_link = xyes; then
9212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9214 { (exit 1); exit 1; }; }
9216 cat >conftest.$ac_ext <<_ACEOF
9217 /* confdefs.h. */
9218 _ACEOF
9219 cat confdefs.h >>conftest.$ac_ext
9220 cat >>conftest.$ac_ext <<_ACEOF
9221 /* end confdefs.h. */
9222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9224 #define $ac_func innocuous_$ac_func
9226 /* System header to define __stub macros and hopefully few prototypes,
9227 which can conflict with char $ac_func (); below.
9228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9229 <limits.h> exists even on freestanding compilers. */
9231 #ifdef __STDC__
9232 # include <limits.h>
9233 #else
9234 # include <assert.h>
9235 #endif
9237 #undef $ac_func
9239 /* Override any gcc2 internal prototype to avoid an error. */
9240 #ifdef __cplusplus
9241 extern "C"
9243 #endif
9244 /* We use char because int might match the return type of a gcc2
9245 builtin and then its argument prototype would still apply. */
9246 char $ac_func ();
9247 /* The GNU C library defines this for functions which it implements
9248 to always fail with ENOSYS. Some functions are actually named
9249 something starting with __ and the normal name is an alias. */
9250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9251 choke me
9252 #else
9253 char (*f) () = $ac_func;
9254 #endif
9255 #ifdef __cplusplus
9257 #endif
9260 main ()
9262 return f != $ac_func;
9264 return 0;
9266 _ACEOF
9267 rm -f conftest.$ac_objext conftest$ac_exeext
9268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9269 (eval $ac_link) 2>conftest.er1
9270 ac_status=$?
9271 grep -v '^ *+' conftest.er1 >conftest.err
9272 rm -f conftest.er1
9273 cat conftest.err >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try='test -z "$ac_c_werror_flag"
9277 || test ! -s conftest.err'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 (eval $ac_try) 2>&5
9280 ac_status=$?
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; } &&
9283 { ac_try='test -s conftest$ac_exeext'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5
9286 ac_status=$?
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; }; then
9289 eval "$as_ac_var=yes"
9290 else
9291 echo "$as_me: failed program was:" >&5
9292 sed 's/^/| /' conftest.$ac_ext >&5
9294 eval "$as_ac_var=no"
9296 rm -f conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9301 if test `eval echo '${'$as_ac_var'}'` = yes; then
9302 cat >>confdefs.h <<_ACEOF
9303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9304 _ACEOF
9307 done
9309 else
9311 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9312 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9313 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9314 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9315 echo $ECHO_N "(cached) $ECHO_C" >&6
9316 else
9320 ac_ext=cc
9321 ac_cpp='$CXXCPP $CPPFLAGS'
9322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9326 cat >conftest.$ac_ext <<_ACEOF
9327 /* confdefs.h. */
9328 _ACEOF
9329 cat confdefs.h >>conftest.$ac_ext
9330 cat >>conftest.$ac_ext <<_ACEOF
9331 /* end confdefs.h. */
9332 #include <math.h>
9333 #ifdef HAVE_IEEEFP_H
9334 #include <ieeefp.h>
9335 #endif
9338 main ()
9340 _finite(0);
9342 return 0;
9344 _ACEOF
9345 rm -f conftest.$ac_objext
9346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9347 (eval $ac_compile) 2>conftest.er1
9348 ac_status=$?
9349 grep -v '^ *+' conftest.er1 >conftest.err
9350 rm -f conftest.er1
9351 cat conftest.err >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); } &&
9354 { ac_try='test -z "$ac_cxx_werror_flag"
9355 || test ! -s conftest.err'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9357 (eval $ac_try) 2>&5
9358 ac_status=$?
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; } &&
9361 { ac_try='test -s conftest.$ac_objext'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363 (eval $ac_try) 2>&5
9364 ac_status=$?
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; }; then
9367 glibcxx_cv_func__finite_use=yes
9368 else
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.$ac_ext >&5
9372 glibcxx_cv_func__finite_use=no
9374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9375 ac_ext=c
9376 ac_cpp='$CPP $CPPFLAGS'
9377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9386 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9388 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9390 for ac_func in _finite
9392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9393 echo "$as_me:$LINENO: checking for $ac_func" >&5
9394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9395 if eval "test \"\${$as_ac_var+set}\" = set"; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9397 else
9398 if test x$gcc_no_link = xyes; then
9399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9401 { (exit 1); exit 1; }; }
9403 cat >conftest.$ac_ext <<_ACEOF
9404 /* confdefs.h. */
9405 _ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9411 #define $ac_func innocuous_$ac_func
9413 /* System header to define __stub macros and hopefully few prototypes,
9414 which can conflict with char $ac_func (); below.
9415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9416 <limits.h> exists even on freestanding compilers. */
9418 #ifdef __STDC__
9419 # include <limits.h>
9420 #else
9421 # include <assert.h>
9422 #endif
9424 #undef $ac_func
9426 /* Override any gcc2 internal prototype to avoid an error. */
9427 #ifdef __cplusplus
9428 extern "C"
9430 #endif
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9433 char $ac_func ();
9434 /* The GNU C library defines this for functions which it implements
9435 to always fail with ENOSYS. Some functions are actually named
9436 something starting with __ and the normal name is an alias. */
9437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9438 choke me
9439 #else
9440 char (*f) () = $ac_func;
9441 #endif
9442 #ifdef __cplusplus
9444 #endif
9447 main ()
9449 return f != $ac_func;
9451 return 0;
9453 _ACEOF
9454 rm -f conftest.$ac_objext conftest$ac_exeext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9456 (eval $ac_link) 2>conftest.er1
9457 ac_status=$?
9458 grep -v '^ *+' conftest.er1 >conftest.err
9459 rm -f conftest.er1
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } &&
9463 { ac_try='test -z "$ac_c_werror_flag"
9464 || test ! -s conftest.err'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 (eval $ac_try) 2>&5
9467 ac_status=$?
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; } &&
9470 { ac_try='test -s conftest$ac_exeext'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9472 (eval $ac_try) 2>&5
9473 ac_status=$?
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then
9476 eval "$as_ac_var=yes"
9477 else
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.$ac_ext >&5
9481 eval "$as_ac_var=no"
9483 rm -f conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9488 if test `eval echo '${'$as_ac_var'}'` = yes; then
9489 cat >>confdefs.h <<_ACEOF
9490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9491 _ACEOF
9494 done
9501 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9502 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9503 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9504 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 else
9510 ac_ext=cc
9511 ac_cpp='$CXXCPP $CPPFLAGS'
9512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9516 cat >conftest.$ac_ext <<_ACEOF
9517 /* confdefs.h. */
9518 _ACEOF
9519 cat confdefs.h >>conftest.$ac_ext
9520 cat >>conftest.$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9522 #include <math.h>
9524 main ()
9526 copysign(0, 0);
9528 return 0;
9530 _ACEOF
9531 rm -f conftest.$ac_objext
9532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9533 (eval $ac_compile) 2>conftest.er1
9534 ac_status=$?
9535 grep -v '^ *+' conftest.er1 >conftest.err
9536 rm -f conftest.er1
9537 cat conftest.err >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); } &&
9540 { ac_try='test -z "$ac_cxx_werror_flag"
9541 || test ! -s conftest.err'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 (eval $ac_try) 2>&5
9544 ac_status=$?
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try='test -s conftest.$ac_objext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 (eval $ac_try) 2>&5
9550 ac_status=$?
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 glibcxx_cv_func_copysign_use=yes
9554 else
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9558 glibcxx_cv_func_copysign_use=no
9560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9561 ac_ext=c
9562 ac_cpp='$CPP $CPPFLAGS'
9563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9572 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9574 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9576 for ac_func in copysign
9578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9579 echo "$as_me:$LINENO: checking for $ac_func" >&5
9580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9581 if eval "test \"\${$as_ac_var+set}\" = set"; then
9582 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 else
9584 if test x$gcc_no_link = xyes; then
9585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9587 { (exit 1); exit 1; }; }
9589 cat >conftest.$ac_ext <<_ACEOF
9590 /* confdefs.h. */
9591 _ACEOF
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9597 #define $ac_func innocuous_$ac_func
9599 /* System header to define __stub macros and hopefully few prototypes,
9600 which can conflict with char $ac_func (); below.
9601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9602 <limits.h> exists even on freestanding compilers. */
9604 #ifdef __STDC__
9605 # include <limits.h>
9606 #else
9607 # include <assert.h>
9608 #endif
9610 #undef $ac_func
9612 /* Override any gcc2 internal prototype to avoid an error. */
9613 #ifdef __cplusplus
9614 extern "C"
9616 #endif
9617 /* We use char because int might match the return type of a gcc2
9618 builtin and then its argument prototype would still apply. */
9619 char $ac_func ();
9620 /* The GNU C library defines this for functions which it implements
9621 to always fail with ENOSYS. Some functions are actually named
9622 something starting with __ and the normal name is an alias. */
9623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9624 choke me
9625 #else
9626 char (*f) () = $ac_func;
9627 #endif
9628 #ifdef __cplusplus
9630 #endif
9633 main ()
9635 return f != $ac_func;
9637 return 0;
9639 _ACEOF
9640 rm -f conftest.$ac_objext conftest$ac_exeext
9641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9642 (eval $ac_link) 2>conftest.er1
9643 ac_status=$?
9644 grep -v '^ *+' conftest.er1 >conftest.err
9645 rm -f conftest.er1
9646 cat conftest.err >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); } &&
9649 { ac_try='test -z "$ac_c_werror_flag"
9650 || test ! -s conftest.err'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9652 (eval $ac_try) 2>&5
9653 ac_status=$?
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; } &&
9656 { ac_try='test -s conftest$ac_exeext'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 (eval $ac_try) 2>&5
9659 ac_status=$?
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; }; then
9662 eval "$as_ac_var=yes"
9663 else
9664 echo "$as_me: failed program was:" >&5
9665 sed 's/^/| /' conftest.$ac_ext >&5
9667 eval "$as_ac_var=no"
9669 rm -f conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9674 if test `eval echo '${'$as_ac_var'}'` = yes; then
9675 cat >>confdefs.h <<_ACEOF
9676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9677 _ACEOF
9680 done
9682 else
9684 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9685 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9686 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9687 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 else
9693 ac_ext=cc
9694 ac_cpp='$CXXCPP $CPPFLAGS'
9695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9699 cat >conftest.$ac_ext <<_ACEOF
9700 /* confdefs.h. */
9701 _ACEOF
9702 cat confdefs.h >>conftest.$ac_ext
9703 cat >>conftest.$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9705 #include <math.h>
9707 main ()
9709 _copysign(0, 0);
9711 return 0;
9713 _ACEOF
9714 rm -f conftest.$ac_objext
9715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9716 (eval $ac_compile) 2>conftest.er1
9717 ac_status=$?
9718 grep -v '^ *+' conftest.er1 >conftest.err
9719 rm -f conftest.er1
9720 cat conftest.err >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } &&
9723 { ac_try='test -z "$ac_cxx_werror_flag"
9724 || test ! -s conftest.err'
9725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 (eval $ac_try) 2>&5
9727 ac_status=$?
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); }; } &&
9730 { ac_try='test -s conftest.$ac_objext'
9731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 (eval $ac_try) 2>&5
9733 ac_status=$?
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; }; then
9736 glibcxx_cv_func__copysign_use=yes
9737 else
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.$ac_ext >&5
9741 glibcxx_cv_func__copysign_use=no
9743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9744 ac_ext=c
9745 ac_cpp='$CPP $CPPFLAGS'
9746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9755 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9757 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9759 for ac_func in _copysign
9761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9762 echo "$as_me:$LINENO: checking for $ac_func" >&5
9763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9764 if eval "test \"\${$as_ac_var+set}\" = set"; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9766 else
9767 if test x$gcc_no_link = xyes; then
9768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9770 { (exit 1); exit 1; }; }
9772 cat >conftest.$ac_ext <<_ACEOF
9773 /* confdefs.h. */
9774 _ACEOF
9775 cat confdefs.h >>conftest.$ac_ext
9776 cat >>conftest.$ac_ext <<_ACEOF
9777 /* end confdefs.h. */
9778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9780 #define $ac_func innocuous_$ac_func
9782 /* System header to define __stub macros and hopefully few prototypes,
9783 which can conflict with char $ac_func (); below.
9784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9785 <limits.h> exists even on freestanding compilers. */
9787 #ifdef __STDC__
9788 # include <limits.h>
9789 #else
9790 # include <assert.h>
9791 #endif
9793 #undef $ac_func
9795 /* Override any gcc2 internal prototype to avoid an error. */
9796 #ifdef __cplusplus
9797 extern "C"
9799 #endif
9800 /* We use char because int might match the return type of a gcc2
9801 builtin and then its argument prototype would still apply. */
9802 char $ac_func ();
9803 /* The GNU C library defines this for functions which it implements
9804 to always fail with ENOSYS. Some functions are actually named
9805 something starting with __ and the normal name is an alias. */
9806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9807 choke me
9808 #else
9809 char (*f) () = $ac_func;
9810 #endif
9811 #ifdef __cplusplus
9813 #endif
9816 main ()
9818 return f != $ac_func;
9820 return 0;
9822 _ACEOF
9823 rm -f conftest.$ac_objext conftest$ac_exeext
9824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 (eval $ac_link) 2>conftest.er1
9826 ac_status=$?
9827 grep -v '^ *+' conftest.er1 >conftest.err
9828 rm -f conftest.er1
9829 cat conftest.err >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } &&
9832 { ac_try='test -z "$ac_c_werror_flag"
9833 || test ! -s conftest.err'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 (eval $ac_try) 2>&5
9836 ac_status=$?
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; } &&
9839 { ac_try='test -s conftest$ac_exeext'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 (eval $ac_try) 2>&5
9842 ac_status=$?
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
9845 eval "$as_ac_var=yes"
9846 else
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 eval "$as_ac_var=no"
9852 rm -f conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9857 if test `eval echo '${'$as_ac_var'}'` = yes; then
9858 cat >>confdefs.h <<_ACEOF
9859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9860 _ACEOF
9863 done
9870 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9871 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9872 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9873 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 else
9879 ac_ext=cc
9880 ac_cpp='$CXXCPP $CPPFLAGS'
9881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9885 cat >conftest.$ac_ext <<_ACEOF
9886 /* confdefs.h. */
9887 _ACEOF
9888 cat confdefs.h >>conftest.$ac_ext
9889 cat >>conftest.$ac_ext <<_ACEOF
9890 /* end confdefs.h. */
9891 #include <math.h>
9893 main ()
9895 sincos(0, 0, 0);
9897 return 0;
9899 _ACEOF
9900 rm -f conftest.$ac_objext
9901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9902 (eval $ac_compile) 2>conftest.er1
9903 ac_status=$?
9904 grep -v '^ *+' conftest.er1 >conftest.err
9905 rm -f conftest.er1
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } &&
9909 { ac_try='test -z "$ac_cxx_werror_flag"
9910 || test ! -s conftest.err'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 (eval $ac_try) 2>&5
9913 ac_status=$?
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; } &&
9916 { ac_try='test -s conftest.$ac_objext'
9917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 (eval $ac_try) 2>&5
9919 ac_status=$?
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
9922 glibcxx_cv_func_sincos_use=yes
9923 else
9924 echo "$as_me: failed program was:" >&5
9925 sed 's/^/| /' conftest.$ac_ext >&5
9927 glibcxx_cv_func_sincos_use=no
9929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9930 ac_ext=c
9931 ac_cpp='$CPP $CPPFLAGS'
9932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9941 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9943 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9945 for ac_func in sincos
9947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9948 echo "$as_me:$LINENO: checking for $ac_func" >&5
9949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9950 if eval "test \"\${$as_ac_var+set}\" = set"; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9952 else
9953 if test x$gcc_no_link = xyes; then
9954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9956 { (exit 1); exit 1; }; }
9958 cat >conftest.$ac_ext <<_ACEOF
9959 /* confdefs.h. */
9960 _ACEOF
9961 cat confdefs.h >>conftest.$ac_ext
9962 cat >>conftest.$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9966 #define $ac_func innocuous_$ac_func
9968 /* System header to define __stub macros and hopefully few prototypes,
9969 which can conflict with char $ac_func (); below.
9970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9971 <limits.h> exists even on freestanding compilers. */
9973 #ifdef __STDC__
9974 # include <limits.h>
9975 #else
9976 # include <assert.h>
9977 #endif
9979 #undef $ac_func
9981 /* Override any gcc2 internal prototype to avoid an error. */
9982 #ifdef __cplusplus
9983 extern "C"
9985 #endif
9986 /* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */
9988 char $ac_func ();
9989 /* The GNU C library defines this for functions which it implements
9990 to always fail with ENOSYS. Some functions are actually named
9991 something starting with __ and the normal name is an alias. */
9992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9993 choke me
9994 #else
9995 char (*f) () = $ac_func;
9996 #endif
9997 #ifdef __cplusplus
9999 #endif
10002 main ()
10004 return f != $ac_func;
10006 return 0;
10008 _ACEOF
10009 rm -f conftest.$ac_objext conftest$ac_exeext
10010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10011 (eval $ac_link) 2>conftest.er1
10012 ac_status=$?
10013 grep -v '^ *+' conftest.er1 >conftest.err
10014 rm -f conftest.er1
10015 cat conftest.err >&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } &&
10018 { ac_try='test -z "$ac_c_werror_flag"
10019 || test ! -s conftest.err'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10022 ac_status=$?
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; } &&
10025 { ac_try='test -s conftest$ac_exeext'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; }; then
10031 eval "$as_ac_var=yes"
10032 else
10033 echo "$as_me: failed program was:" >&5
10034 sed 's/^/| /' conftest.$ac_ext >&5
10036 eval "$as_ac_var=no"
10038 rm -f conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10043 if test `eval echo '${'$as_ac_var'}'` = yes; then
10044 cat >>confdefs.h <<_ACEOF
10045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10046 _ACEOF
10049 done
10051 else
10053 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10054 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10055 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10056 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 else
10062 ac_ext=cc
10063 ac_cpp='$CXXCPP $CPPFLAGS'
10064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10068 cat >conftest.$ac_ext <<_ACEOF
10069 /* confdefs.h. */
10070 _ACEOF
10071 cat confdefs.h >>conftest.$ac_ext
10072 cat >>conftest.$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 #include <math.h>
10076 main ()
10078 _sincos(0, 0, 0);
10080 return 0;
10082 _ACEOF
10083 rm -f conftest.$ac_objext
10084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10085 (eval $ac_compile) 2>conftest.er1
10086 ac_status=$?
10087 grep -v '^ *+' conftest.er1 >conftest.err
10088 rm -f conftest.er1
10089 cat conftest.err >&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try='test -z "$ac_cxx_werror_flag"
10093 || test ! -s conftest.err'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; } &&
10099 { ac_try='test -s conftest.$ac_objext'
10100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101 (eval $ac_try) 2>&5
10102 ac_status=$?
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; }; then
10105 glibcxx_cv_func__sincos_use=yes
10106 else
10107 echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.$ac_ext >&5
10110 glibcxx_cv_func__sincos_use=no
10112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10113 ac_ext=c
10114 ac_cpp='$CPP $CPPFLAGS'
10115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10124 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10126 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10128 for ac_func in _sincos
10130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10131 echo "$as_me:$LINENO: checking for $ac_func" >&5
10132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10133 if eval "test \"\${$as_ac_var+set}\" = set"; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define $ac_func innocuous_$ac_func
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char $ac_func (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10162 #undef $ac_func
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char $ac_func ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10176 choke me
10177 #else
10178 char (*f) () = $ac_func;
10179 #endif
10180 #ifdef __cplusplus
10182 #endif
10185 main ()
10187 return f != $ac_func;
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 eval "$as_ac_var=yes"
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 eval "$as_ac_var=no"
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10226 if test `eval echo '${'$as_ac_var'}'` = yes; then
10227 cat >>confdefs.h <<_ACEOF
10228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10229 _ACEOF
10232 done
10239 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10240 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10241 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10242 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10248 ac_ext=cc
10249 ac_cpp='$CXXCPP $CPPFLAGS'
10250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10254 cat >conftest.$ac_ext <<_ACEOF
10255 /* confdefs.h. */
10256 _ACEOF
10257 cat confdefs.h >>conftest.$ac_ext
10258 cat >>conftest.$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10260 #include <math.h>
10261 #ifdef HAVE_IEEEFP_H
10262 #include <ieeefp.h>
10263 #endif
10266 main ()
10268 fpclass(0);
10270 return 0;
10272 _ACEOF
10273 rm -f conftest.$ac_objext
10274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10275 (eval $ac_compile) 2>conftest.er1
10276 ac_status=$?
10277 grep -v '^ *+' conftest.er1 >conftest.err
10278 rm -f conftest.er1
10279 cat conftest.err >&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } &&
10282 { ac_try='test -z "$ac_cxx_werror_flag"
10283 || test ! -s conftest.err'
10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285 (eval $ac_try) 2>&5
10286 ac_status=$?
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; } &&
10289 { ac_try='test -s conftest.$ac_objext'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10292 ac_status=$?
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; }; then
10295 glibcxx_cv_func_fpclass_use=yes
10296 else
10297 echo "$as_me: failed program was:" >&5
10298 sed 's/^/| /' conftest.$ac_ext >&5
10300 glibcxx_cv_func_fpclass_use=no
10302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10303 ac_ext=c
10304 ac_cpp='$CPP $CPPFLAGS'
10305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10314 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10316 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10318 for ac_func in fpclass
10320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10321 echo "$as_me:$LINENO: checking for $ac_func" >&5
10322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10323 if eval "test \"\${$as_ac_var+set}\" = set"; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 else
10326 if test x$gcc_no_link = xyes; then
10327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10329 { (exit 1); exit 1; }; }
10331 cat >conftest.$ac_ext <<_ACEOF
10332 /* confdefs.h. */
10333 _ACEOF
10334 cat confdefs.h >>conftest.$ac_ext
10335 cat >>conftest.$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10339 #define $ac_func innocuous_$ac_func
10341 /* System header to define __stub macros and hopefully few prototypes,
10342 which can conflict with char $ac_func (); below.
10343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10344 <limits.h> exists even on freestanding compilers. */
10346 #ifdef __STDC__
10347 # include <limits.h>
10348 #else
10349 # include <assert.h>
10350 #endif
10352 #undef $ac_func
10354 /* Override any gcc2 internal prototype to avoid an error. */
10355 #ifdef __cplusplus
10356 extern "C"
10358 #endif
10359 /* We use char because int might match the return type of a gcc2
10360 builtin and then its argument prototype would still apply. */
10361 char $ac_func ();
10362 /* The GNU C library defines this for functions which it implements
10363 to always fail with ENOSYS. Some functions are actually named
10364 something starting with __ and the normal name is an alias. */
10365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10366 choke me
10367 #else
10368 char (*f) () = $ac_func;
10369 #endif
10370 #ifdef __cplusplus
10372 #endif
10375 main ()
10377 return f != $ac_func;
10379 return 0;
10381 _ACEOF
10382 rm -f conftest.$ac_objext conftest$ac_exeext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10384 (eval $ac_link) 2>conftest.er1
10385 ac_status=$?
10386 grep -v '^ *+' conftest.er1 >conftest.err
10387 rm -f conftest.er1
10388 cat conftest.err >&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } &&
10391 { ac_try='test -z "$ac_c_werror_flag"
10392 || test ! -s conftest.err'
10393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394 (eval $ac_try) 2>&5
10395 ac_status=$?
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); }; } &&
10398 { ac_try='test -s conftest$ac_exeext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10401 ac_status=$?
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 eval "$as_ac_var=yes"
10405 else
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10409 eval "$as_ac_var=no"
10411 rm -f conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10416 if test `eval echo '${'$as_ac_var'}'` = yes; then
10417 cat >>confdefs.h <<_ACEOF
10418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10419 _ACEOF
10422 done
10424 else
10426 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10427 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10428 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10429 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10431 else
10435 ac_ext=cc
10436 ac_cpp='$CXXCPP $CPPFLAGS'
10437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10441 cat >conftest.$ac_ext <<_ACEOF
10442 /* confdefs.h. */
10443 _ACEOF
10444 cat confdefs.h >>conftest.$ac_ext
10445 cat >>conftest.$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10447 #include <math.h>
10448 #ifdef HAVE_IEEEFP_H
10449 #include <ieeefp.h>
10450 #endif
10453 main ()
10455 _fpclass(0);
10457 return 0;
10459 _ACEOF
10460 rm -f conftest.$ac_objext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>conftest.er1
10463 ac_status=$?
10464 grep -v '^ *+' conftest.er1 >conftest.err
10465 rm -f conftest.er1
10466 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try='test -z "$ac_cxx_werror_flag"
10470 || test ! -s conftest.err'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10473 ac_status=$?
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; } &&
10476 { ac_try='test -s conftest.$ac_objext'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10479 ac_status=$?
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; }; then
10482 glibcxx_cv_func__fpclass_use=yes
10483 else
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 glibcxx_cv_func__fpclass_use=no
10489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10490 ac_ext=c
10491 ac_cpp='$CPP $CPPFLAGS'
10492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10501 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10503 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10505 for ac_func in _fpclass
10507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10508 echo "$as_me:$LINENO: checking for $ac_func" >&5
10509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10510 if eval "test \"\${$as_ac_var+set}\" = set"; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 else
10513 if test x$gcc_no_link = xyes; then
10514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10516 { (exit 1); exit 1; }; }
10518 cat >conftest.$ac_ext <<_ACEOF
10519 /* confdefs.h. */
10520 _ACEOF
10521 cat confdefs.h >>conftest.$ac_ext
10522 cat >>conftest.$ac_ext <<_ACEOF
10523 /* end confdefs.h. */
10524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10526 #define $ac_func innocuous_$ac_func
10528 /* System header to define __stub macros and hopefully few prototypes,
10529 which can conflict with char $ac_func (); below.
10530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10531 <limits.h> exists even on freestanding compilers. */
10533 #ifdef __STDC__
10534 # include <limits.h>
10535 #else
10536 # include <assert.h>
10537 #endif
10539 #undef $ac_func
10541 /* Override any gcc2 internal prototype to avoid an error. */
10542 #ifdef __cplusplus
10543 extern "C"
10545 #endif
10546 /* We use char because int might match the return type of a gcc2
10547 builtin and then its argument prototype would still apply. */
10548 char $ac_func ();
10549 /* The GNU C library defines this for functions which it implements
10550 to always fail with ENOSYS. Some functions are actually named
10551 something starting with __ and the normal name is an alias. */
10552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10553 choke me
10554 #else
10555 char (*f) () = $ac_func;
10556 #endif
10557 #ifdef __cplusplus
10559 #endif
10562 main ()
10564 return f != $ac_func;
10566 return 0;
10568 _ACEOF
10569 rm -f conftest.$ac_objext conftest$ac_exeext
10570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10571 (eval $ac_link) 2>conftest.er1
10572 ac_status=$?
10573 grep -v '^ *+' conftest.er1 >conftest.err
10574 rm -f conftest.er1
10575 cat conftest.err >&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); } &&
10578 { ac_try='test -z "$ac_c_werror_flag"
10579 || test ! -s conftest.err'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; } &&
10585 { ac_try='test -s conftest$ac_exeext'
10586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10587 (eval $ac_try) 2>&5
10588 ac_status=$?
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); }; }; then
10591 eval "$as_ac_var=yes"
10592 else
10593 echo "$as_me: failed program was:" >&5
10594 sed 's/^/| /' conftest.$ac_ext >&5
10596 eval "$as_ac_var=no"
10598 rm -f conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10603 if test `eval echo '${'$as_ac_var'}'` = yes; then
10604 cat >>confdefs.h <<_ACEOF
10605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10606 _ACEOF
10609 done
10616 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10617 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10618 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10619 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10625 ac_ext=cc
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #include <math.h>
10638 #ifdef HAVE_IEEEFP_H
10639 #include <ieeefp.h>
10640 #endif
10643 main ()
10645 qfpclass(0);
10647 return 0;
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10653 ac_status=$?
10654 grep -v '^ *+' conftest.er1 >conftest.err
10655 rm -f conftest.er1
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try='test -z "$ac_cxx_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 glibcxx_cv_func_qfpclass_use=yes
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10677 glibcxx_cv_func_qfpclass_use=no
10679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_ext=c
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10693 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10695 for ac_func in qfpclass
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703 if test x$gcc_no_link = xyes; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10716 #define $ac_func innocuous_$ac_func
10718 /* System header to define __stub macros and hopefully few prototypes,
10719 which can conflict with char $ac_func (); below.
10720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10721 <limits.h> exists even on freestanding compilers. */
10723 #ifdef __STDC__
10724 # include <limits.h>
10725 #else
10726 # include <assert.h>
10727 #endif
10729 #undef $ac_func
10731 /* Override any gcc2 internal prototype to avoid an error. */
10732 #ifdef __cplusplus
10733 extern "C"
10735 #endif
10736 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10738 char $ac_func ();
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 choke me
10744 #else
10745 char (*f) () = $ac_func;
10746 #endif
10747 #ifdef __cplusplus
10749 #endif
10752 main ()
10754 return f != $ac_func;
10756 return 0;
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10772 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 eval "$as_ac_var=yes"
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10786 eval "$as_ac_var=no"
10788 rm -f conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10793 if test `eval echo '${'$as_ac_var'}'` = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10796 _ACEOF
10799 done
10801 else
10803 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10804 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10812 ac_ext=cc
10813 ac_cpp='$CXXCPP $CPPFLAGS'
10814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <math.h>
10825 #ifdef HAVE_IEEEFP_H
10826 #include <ieeefp.h>
10827 #endif
10830 main ()
10832 _qfpclass(0);
10834 return 0;
10836 _ACEOF
10837 rm -f conftest.$ac_objext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try='test -z "$ac_cxx_werror_flag"
10847 || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest.$ac_objext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10856 ac_status=$?
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 glibcxx_cv_func__qfpclass_use=yes
10860 else
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 glibcxx_cv_func__qfpclass_use=no
10866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_ext=c
10868 ac_cpp='$CPP $CPPFLAGS'
10869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10878 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10880 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10882 for ac_func in _qfpclass
10884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10885 echo "$as_me:$LINENO: checking for $ac_func" >&5
10886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10887 if eval "test \"\${$as_ac_var+set}\" = set"; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890 if test x$gcc_no_link = xyes; then
10891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893 { (exit 1); exit 1; }; }
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h. */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903 #define $ac_func innocuous_$ac_func
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char $ac_func (); below.
10907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908 <limits.h> exists even on freestanding compilers. */
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10916 #undef $ac_func
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 #ifdef __cplusplus
10920 extern "C"
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10925 char $ac_func ();
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10930 choke me
10931 #else
10932 char (*f) () = $ac_func;
10933 #endif
10934 #ifdef __cplusplus
10936 #endif
10939 main ()
10941 return f != $ac_func;
10943 return 0;
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948 (eval $ac_link) 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag"
10956 || test ! -s conftest.err'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10959 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; } &&
10962 { ac_try='test -s conftest$ac_exeext'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_var=yes"
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 eval "$as_ac_var=no"
10975 rm -f conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10980 if test `eval echo '${'$as_ac_var'}'` = yes; then
10981 cat >>confdefs.h <<_ACEOF
10982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10983 _ACEOF
10986 done
10993 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10994 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10995 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10996 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10997 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 else
11002 ac_ext=cc
11003 ac_cpp='$CXXCPP $CPPFLAGS'
11004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 #include <math.h>
11016 main ()
11018 hypot(0, 0);
11020 return 0;
11022 _ACEOF
11023 rm -f conftest.$ac_objext
11024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11025 (eval $ac_compile) 2>conftest.er1
11026 ac_status=$?
11027 grep -v '^ *+' conftest.er1 >conftest.err
11028 rm -f conftest.er1
11029 cat conftest.err >&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); } &&
11032 { ac_try='test -z "$ac_cxx_werror_flag"
11033 || test ! -s conftest.err'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; } &&
11039 { ac_try='test -s conftest.$ac_objext'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11042 ac_status=$?
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; }; then
11045 glibcxx_cv_func_hypot_use=yes
11046 else
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.$ac_ext >&5
11050 glibcxx_cv_func_hypot_use=no
11052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11053 ac_ext=c
11054 ac_cpp='$CPP $CPPFLAGS'
11055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11064 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11066 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11068 for ac_func in hypot
11070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11071 echo "$as_me:$LINENO: checking for $ac_func" >&5
11072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11073 if eval "test \"\${$as_ac_var+set}\" = set"; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 else
11076 if test x$gcc_no_link = xyes; then
11077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11079 { (exit 1); exit 1; }; }
11081 cat >conftest.$ac_ext <<_ACEOF
11082 /* confdefs.h. */
11083 _ACEOF
11084 cat confdefs.h >>conftest.$ac_ext
11085 cat >>conftest.$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11089 #define $ac_func innocuous_$ac_func
11091 /* System header to define __stub macros and hopefully few prototypes,
11092 which can conflict with char $ac_func (); below.
11093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11094 <limits.h> exists even on freestanding compilers. */
11096 #ifdef __STDC__
11097 # include <limits.h>
11098 #else
11099 # include <assert.h>
11100 #endif
11102 #undef $ac_func
11104 /* Override any gcc2 internal prototype to avoid an error. */
11105 #ifdef __cplusplus
11106 extern "C"
11108 #endif
11109 /* We use char because int might match the return type of a gcc2
11110 builtin and then its argument prototype would still apply. */
11111 char $ac_func ();
11112 /* The GNU C library defines this for functions which it implements
11113 to always fail with ENOSYS. Some functions are actually named
11114 something starting with __ and the normal name is an alias. */
11115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11116 choke me
11117 #else
11118 char (*f) () = $ac_func;
11119 #endif
11120 #ifdef __cplusplus
11122 #endif
11125 main ()
11127 return f != $ac_func;
11129 return 0;
11131 _ACEOF
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134 (eval $ac_link) 2>conftest.er1
11135 ac_status=$?
11136 grep -v '^ *+' conftest.er1 >conftest.err
11137 rm -f conftest.er1
11138 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } &&
11141 { ac_try='test -z "$ac_c_werror_flag"
11142 || test ! -s conftest.err'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11145 ac_status=$?
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; } &&
11148 { ac_try='test -s conftest$ac_exeext'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11151 ac_status=$?
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 eval "$as_ac_var=yes"
11155 else
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11159 eval "$as_ac_var=no"
11161 rm -f conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11166 if test `eval echo '${'$as_ac_var'}'` = yes; then
11167 cat >>confdefs.h <<_ACEOF
11168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11169 _ACEOF
11172 done
11174 else
11176 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11177 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11178 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11179 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11181 else
11185 ac_ext=cc
11186 ac_cpp='$CXXCPP $CPPFLAGS'
11187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h. */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197 #include <math.h>
11199 main ()
11201 _hypot(0, 0);
11203 return 0;
11205 _ACEOF
11206 rm -f conftest.$ac_objext
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>conftest.er1
11209 ac_status=$?
11210 grep -v '^ *+' conftest.er1 >conftest.err
11211 rm -f conftest.er1
11212 cat conftest.err >&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); } &&
11215 { ac_try='test -z "$ac_cxx_werror_flag"
11216 || test ! -s conftest.err'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11219 ac_status=$?
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; } &&
11222 { ac_try='test -s conftest.$ac_objext'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11225 ac_status=$?
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; }; then
11228 glibcxx_cv_func__hypot_use=yes
11229 else
11230 echo "$as_me: failed program was:" >&5
11231 sed 's/^/| /' conftest.$ac_ext >&5
11233 glibcxx_cv_func__hypot_use=no
11235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11236 ac_ext=c
11237 ac_cpp='$CPP $CPPFLAGS'
11238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11247 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11249 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11251 for ac_func in _hypot
11253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11254 echo "$as_me:$LINENO: checking for $ac_func" >&5
11255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11256 if eval "test \"\${$as_ac_var+set}\" = set"; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11258 else
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11272 #define $ac_func innocuous_$ac_func
11274 /* System header to define __stub macros and hopefully few prototypes,
11275 which can conflict with char $ac_func (); below.
11276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11277 <limits.h> exists even on freestanding compilers. */
11279 #ifdef __STDC__
11280 # include <limits.h>
11281 #else
11282 # include <assert.h>
11283 #endif
11285 #undef $ac_func
11287 /* Override any gcc2 internal prototype to avoid an error. */
11288 #ifdef __cplusplus
11289 extern "C"
11291 #endif
11292 /* We use char because int might match the return type of a gcc2
11293 builtin and then its argument prototype would still apply. */
11294 char $ac_func ();
11295 /* The GNU C library defines this for functions which it implements
11296 to always fail with ENOSYS. Some functions are actually named
11297 something starting with __ and the normal name is an alias. */
11298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11299 choke me
11300 #else
11301 char (*f) () = $ac_func;
11302 #endif
11303 #ifdef __cplusplus
11305 #endif
11308 main ()
11310 return f != $ac_func;
11312 return 0;
11314 _ACEOF
11315 rm -f conftest.$ac_objext conftest$ac_exeext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>conftest.er1
11318 ac_status=$?
11319 grep -v '^ *+' conftest.er1 >conftest.err
11320 rm -f conftest.er1
11321 cat conftest.err >&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try='test -z "$ac_c_werror_flag"
11325 || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11328 ac_status=$?
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try='test -s conftest$ac_exeext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11334 ac_status=$?
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 eval "$as_ac_var=yes"
11338 else
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 eval "$as_ac_var=no"
11344 rm -f conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11349 if test `eval echo '${'$as_ac_var'}'` = yes; then
11350 cat >>confdefs.h <<_ACEOF
11351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11352 _ACEOF
11355 done
11362 echo "$as_me:$LINENO: checking for float trig functions" >&5
11363 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11364 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11370 ac_ext=cc
11371 ac_cpp='$CXXCPP $CPPFLAGS'
11372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11376 cat >conftest.$ac_ext <<_ACEOF
11377 /* confdefs.h. */
11378 _ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11382 #include <math.h>
11384 main ()
11386 `for x in acosf asinf atanf \
11387 cosf sinf tanf \
11388 coshf sinhf tanhf; do echo "$x (0);"; done`
11390 return 0;
11392 _ACEOF
11393 rm -f conftest.$ac_objext
11394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11395 (eval $ac_compile) 2>conftest.er1
11396 ac_status=$?
11397 grep -v '^ *+' conftest.er1 >conftest.err
11398 rm -f conftest.er1
11399 cat conftest.err >&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); } &&
11402 { ac_try='test -z "$ac_cxx_werror_flag"
11403 || test ! -s conftest.err'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11406 ac_status=$?
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; } &&
11409 { ac_try='test -s conftest.$ac_objext'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11412 ac_status=$?
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; }; then
11415 glibcxx_cv_func_float_trig_use=yes
11416 else
11417 echo "$as_me: failed program was:" >&5
11418 sed 's/^/| /' conftest.$ac_ext >&5
11420 glibcxx_cv_func_float_trig_use=no
11422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11423 ac_ext=c
11424 ac_cpp='$CPP $CPPFLAGS'
11425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11432 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11433 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11443 for ac_func in acosf asinf atanf \
11444 cosf sinf tanf \
11445 coshf sinhf tanhf
11447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11448 echo "$as_me:$LINENO: checking for $ac_func" >&5
11449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11450 if eval "test \"\${$as_ac_var+set}\" = set"; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453 if test x$gcc_no_link = xyes; then
11454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11456 { (exit 1); exit 1; }; }
11458 cat >conftest.$ac_ext <<_ACEOF
11459 /* confdefs.h. */
11460 _ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11466 #define $ac_func innocuous_$ac_func
11468 /* System header to define __stub macros and hopefully few prototypes,
11469 which can conflict with char $ac_func (); below.
11470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11471 <limits.h> exists even on freestanding compilers. */
11473 #ifdef __STDC__
11474 # include <limits.h>
11475 #else
11476 # include <assert.h>
11477 #endif
11479 #undef $ac_func
11481 /* Override any gcc2 internal prototype to avoid an error. */
11482 #ifdef __cplusplus
11483 extern "C"
11485 #endif
11486 /* We use char because int might match the return type of a gcc2
11487 builtin and then its argument prototype would still apply. */
11488 char $ac_func ();
11489 /* The GNU C library defines this for functions which it implements
11490 to always fail with ENOSYS. Some functions are actually named
11491 something starting with __ and the normal name is an alias. */
11492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11493 choke me
11494 #else
11495 char (*f) () = $ac_func;
11496 #endif
11497 #ifdef __cplusplus
11499 #endif
11502 main ()
11504 return f != $ac_func;
11506 return 0;
11508 _ACEOF
11509 rm -f conftest.$ac_objext conftest$ac_exeext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511 (eval $ac_link) 2>conftest.er1
11512 ac_status=$?
11513 grep -v '^ *+' conftest.er1 >conftest.err
11514 rm -f conftest.er1
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11522 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 eval "$as_ac_var=yes"
11532 else
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11536 eval "$as_ac_var=no"
11538 rm -f conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11543 if test `eval echo '${'$as_ac_var'}'` = yes; then
11544 cat >>confdefs.h <<_ACEOF
11545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11546 _ACEOF
11549 done
11554 echo "$as_me:$LINENO: checking for float round functions" >&5
11555 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11556 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 else
11562 ac_ext=cc
11563 ac_cpp='$CXXCPP $CPPFLAGS'
11564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 #include <math.h>
11576 main ()
11578 `for x in ceilf floorf; do echo "$x (0);"; done`
11580 return 0;
11582 _ACEOF
11583 rm -f conftest.$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11586 ac_status=$?
11587 grep -v '^ *+' conftest.er1 >conftest.err
11588 rm -f conftest.er1
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_cxx_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11596 ac_status=$?
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11602 ac_status=$?
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 glibcxx_cv_func_float_round_use=yes
11606 else
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11610 glibcxx_cv_func_float_round_use=no
11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11613 ac_ext=c
11614 ac_cpp='$CPP $CPPFLAGS'
11615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11622 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11623 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11626 for ac_func in ceilf floorf
11628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11629 echo "$as_me:$LINENO: checking for $ac_func" >&5
11630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11631 if eval "test \"\${$as_ac_var+set}\" = set"; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11633 else
11634 if test x$gcc_no_link = xyes; then
11635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11637 { (exit 1); exit 1; }; }
11639 cat >conftest.$ac_ext <<_ACEOF
11640 /* confdefs.h. */
11641 _ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11647 #define $ac_func innocuous_$ac_func
11649 /* System header to define __stub macros and hopefully few prototypes,
11650 which can conflict with char $ac_func (); below.
11651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11652 <limits.h> exists even on freestanding compilers. */
11654 #ifdef __STDC__
11655 # include <limits.h>
11656 #else
11657 # include <assert.h>
11658 #endif
11660 #undef $ac_func
11662 /* Override any gcc2 internal prototype to avoid an error. */
11663 #ifdef __cplusplus
11664 extern "C"
11666 #endif
11667 /* We use char because int might match the return type of a gcc2
11668 builtin and then its argument prototype would still apply. */
11669 char $ac_func ();
11670 /* The GNU C library defines this for functions which it implements
11671 to always fail with ENOSYS. Some functions are actually named
11672 something starting with __ and the normal name is an alias. */
11673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11674 choke me
11675 #else
11676 char (*f) () = $ac_func;
11677 #endif
11678 #ifdef __cplusplus
11680 #endif
11683 main ()
11685 return f != $ac_func;
11687 return 0;
11689 _ACEOF
11690 rm -f conftest.$ac_objext conftest$ac_exeext
11691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11692 (eval $ac_link) 2>conftest.er1
11693 ac_status=$?
11694 grep -v '^ *+' conftest.er1 >conftest.err
11695 rm -f conftest.er1
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } &&
11699 { ac_try='test -z "$ac_c_werror_flag"
11700 || test ! -s conftest.err'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11703 ac_status=$?
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; } &&
11706 { ac_try='test -s conftest$ac_exeext'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; }; then
11712 eval "$as_ac_var=yes"
11713 else
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5
11717 eval "$as_ac_var=no"
11719 rm -f conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11724 if test `eval echo '${'$as_ac_var'}'` = yes; then
11725 cat >>confdefs.h <<_ACEOF
11726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11727 _ACEOF
11730 done
11736 echo "$as_me:$LINENO: checking for expf declaration" >&5
11737 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11738 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11739 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 else
11745 ac_ext=cc
11746 ac_cpp='$CXXCPP $CPPFLAGS'
11747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757 #include <math.h>
11758 #ifdef HAVE_IEEEFP_H
11759 #include <ieeefp.h>
11760 #endif
11763 main ()
11765 expf(0);
11767 return 0;
11769 _ACEOF
11770 rm -f conftest.$ac_objext
11771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11772 (eval $ac_compile) 2>conftest.er1
11773 ac_status=$?
11774 grep -v '^ *+' conftest.er1 >conftest.err
11775 rm -f conftest.er1
11776 cat conftest.err >&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try='test -z "$ac_cxx_werror_flag"
11780 || test ! -s conftest.err'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try='test -s conftest.$ac_objext'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11789 ac_status=$?
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; }; then
11792 glibcxx_cv_func_expf_use=yes
11793 else
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.$ac_ext >&5
11797 glibcxx_cv_func_expf_use=no
11799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11800 ac_ext=c
11801 ac_cpp='$CPP $CPPFLAGS'
11802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11811 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11813 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11815 for ac_func in expf
11817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11818 echo "$as_me:$LINENO: checking for $ac_func" >&5
11819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11820 if eval "test \"\${$as_ac_var+set}\" = set"; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 else
11823 if test x$gcc_no_link = xyes; then
11824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11826 { (exit 1); exit 1; }; }
11828 cat >conftest.$ac_ext <<_ACEOF
11829 /* confdefs.h. */
11830 _ACEOF
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11836 #define $ac_func innocuous_$ac_func
11838 /* System header to define __stub macros and hopefully few prototypes,
11839 which can conflict with char $ac_func (); below.
11840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11841 <limits.h> exists even on freestanding compilers. */
11843 #ifdef __STDC__
11844 # include <limits.h>
11845 #else
11846 # include <assert.h>
11847 #endif
11849 #undef $ac_func
11851 /* Override any gcc2 internal prototype to avoid an error. */
11852 #ifdef __cplusplus
11853 extern "C"
11855 #endif
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11858 char $ac_func ();
11859 /* The GNU C library defines this for functions which it implements
11860 to always fail with ENOSYS. Some functions are actually named
11861 something starting with __ and the normal name is an alias. */
11862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11863 choke me
11864 #else
11865 char (*f) () = $ac_func;
11866 #endif
11867 #ifdef __cplusplus
11869 #endif
11872 main ()
11874 return f != $ac_func;
11876 return 0;
11878 _ACEOF
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881 (eval $ac_link) 2>conftest.er1
11882 ac_status=$?
11883 grep -v '^ *+' conftest.er1 >conftest.err
11884 rm -f conftest.er1
11885 cat conftest.err >&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try='test -z "$ac_c_werror_flag"
11889 || test ! -s conftest.err'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11892 ac_status=$?
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; } &&
11895 { ac_try='test -s conftest$ac_exeext'
11896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 (eval $ac_try) 2>&5
11898 ac_status=$?
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; }; then
11901 eval "$as_ac_var=yes"
11902 else
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11906 eval "$as_ac_var=no"
11908 rm -f conftest.err conftest.$ac_objext \
11909 conftest$ac_exeext conftest.$ac_ext
11911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11913 if test `eval echo '${'$as_ac_var'}'` = yes; then
11914 cat >>confdefs.h <<_ACEOF
11915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11916 _ACEOF
11919 done
11921 else
11923 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11924 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11925 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11926 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 else
11932 ac_ext=cc
11933 ac_cpp='$CXXCPP $CPPFLAGS'
11934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11938 cat >conftest.$ac_ext <<_ACEOF
11939 /* confdefs.h. */
11940 _ACEOF
11941 cat confdefs.h >>conftest.$ac_ext
11942 cat >>conftest.$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11944 #include <math.h>
11945 #ifdef HAVE_IEEEFP_H
11946 #include <ieeefp.h>
11947 #endif
11950 main ()
11952 _expf(0);
11954 return 0;
11956 _ACEOF
11957 rm -f conftest.$ac_objext
11958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11959 (eval $ac_compile) 2>conftest.er1
11960 ac_status=$?
11961 grep -v '^ *+' conftest.er1 >conftest.err
11962 rm -f conftest.er1
11963 cat conftest.err >&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } &&
11966 { ac_try='test -z "$ac_cxx_werror_flag"
11967 || test ! -s conftest.err'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11970 ac_status=$?
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; } &&
11973 { ac_try='test -s conftest.$ac_objext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11976 ac_status=$?
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then
11979 glibcxx_cv_func__expf_use=yes
11980 else
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11984 glibcxx_cv_func__expf_use=no
11986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11987 ac_ext=c
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11998 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12000 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12002 for ac_func in _expf
12004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12005 echo "$as_me:$LINENO: checking for $ac_func" >&5
12006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12007 if eval "test \"\${$as_ac_var+set}\" = set"; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 else
12010 if test x$gcc_no_link = xyes; then
12011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12013 { (exit 1); exit 1; }; }
12015 cat >conftest.$ac_ext <<_ACEOF
12016 /* confdefs.h. */
12017 _ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12023 #define $ac_func innocuous_$ac_func
12025 /* System header to define __stub macros and hopefully few prototypes,
12026 which can conflict with char $ac_func (); below.
12027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12028 <limits.h> exists even on freestanding compilers. */
12030 #ifdef __STDC__
12031 # include <limits.h>
12032 #else
12033 # include <assert.h>
12034 #endif
12036 #undef $ac_func
12038 /* Override any gcc2 internal prototype to avoid an error. */
12039 #ifdef __cplusplus
12040 extern "C"
12042 #endif
12043 /* We use char because int might match the return type of a gcc2
12044 builtin and then its argument prototype would still apply. */
12045 char $ac_func ();
12046 /* The GNU C library defines this for functions which it implements
12047 to always fail with ENOSYS. Some functions are actually named
12048 something starting with __ and the normal name is an alias. */
12049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12050 choke me
12051 #else
12052 char (*f) () = $ac_func;
12053 #endif
12054 #ifdef __cplusplus
12056 #endif
12059 main ()
12061 return f != $ac_func;
12063 return 0;
12065 _ACEOF
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12068 (eval $ac_link) 2>conftest.er1
12069 ac_status=$?
12070 grep -v '^ *+' conftest.er1 >conftest.err
12071 rm -f conftest.er1
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try='test -z "$ac_c_werror_flag"
12076 || test ! -s conftest.err'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12079 ac_status=$?
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; } &&
12082 { ac_try='test -s conftest$ac_exeext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12085 ac_status=$?
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 eval "$as_ac_var=yes"
12089 else
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12093 eval "$as_ac_var=no"
12095 rm -f conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12100 if test `eval echo '${'$as_ac_var'}'` = yes; then
12101 cat >>confdefs.h <<_ACEOF
12102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12103 _ACEOF
12106 done
12113 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12114 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12115 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12116 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 else
12122 ac_ext=cc
12123 ac_cpp='$CXXCPP $CPPFLAGS'
12124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12128 cat >conftest.$ac_ext <<_ACEOF
12129 /* confdefs.h. */
12130 _ACEOF
12131 cat confdefs.h >>conftest.$ac_ext
12132 cat >>conftest.$ac_ext <<_ACEOF
12133 /* end confdefs.h. */
12134 #include <math.h>
12135 #ifdef HAVE_IEEEFP_H
12136 #include <ieeefp.h>
12137 #endif
12140 main ()
12142 isnanf(0);
12144 return 0;
12146 _ACEOF
12147 rm -f conftest.$ac_objext
12148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12149 (eval $ac_compile) 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } &&
12156 { ac_try='test -z "$ac_cxx_werror_flag"
12157 || test ! -s conftest.err'
12158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12159 (eval $ac_try) 2>&5
12160 ac_status=$?
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; } &&
12163 { ac_try='test -s conftest.$ac_objext'
12164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12165 (eval $ac_try) 2>&5
12166 ac_status=$?
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; }; then
12169 glibcxx_cv_func_isnanf_use=yes
12170 else
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.$ac_ext >&5
12174 glibcxx_cv_func_isnanf_use=no
12176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12177 ac_ext=c
12178 ac_cpp='$CPP $CPPFLAGS'
12179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12188 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12190 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12192 for ac_func in isnanf
12194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12195 echo "$as_me:$LINENO: checking for $ac_func" >&5
12196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12197 if eval "test \"\${$as_ac_var+set}\" = set"; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 else
12200 if test x$gcc_no_link = xyes; then
12201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12203 { (exit 1); exit 1; }; }
12205 cat >conftest.$ac_ext <<_ACEOF
12206 /* confdefs.h. */
12207 _ACEOF
12208 cat confdefs.h >>conftest.$ac_ext
12209 cat >>conftest.$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12213 #define $ac_func innocuous_$ac_func
12215 /* System header to define __stub macros and hopefully few prototypes,
12216 which can conflict with char $ac_func (); below.
12217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12218 <limits.h> exists even on freestanding compilers. */
12220 #ifdef __STDC__
12221 # include <limits.h>
12222 #else
12223 # include <assert.h>
12224 #endif
12226 #undef $ac_func
12228 /* Override any gcc2 internal prototype to avoid an error. */
12229 #ifdef __cplusplus
12230 extern "C"
12232 #endif
12233 /* We use char because int might match the return type of a gcc2
12234 builtin and then its argument prototype would still apply. */
12235 char $ac_func ();
12236 /* The GNU C library defines this for functions which it implements
12237 to always fail with ENOSYS. Some functions are actually named
12238 something starting with __ and the normal name is an alias. */
12239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12240 choke me
12241 #else
12242 char (*f) () = $ac_func;
12243 #endif
12244 #ifdef __cplusplus
12246 #endif
12249 main ()
12251 return f != $ac_func;
12253 return 0;
12255 _ACEOF
12256 rm -f conftest.$ac_objext conftest$ac_exeext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>conftest.er1
12259 ac_status=$?
12260 grep -v '^ *+' conftest.er1 >conftest.err
12261 rm -f conftest.er1
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12269 ac_status=$?
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 eval "$as_ac_var=yes"
12279 else
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12283 eval "$as_ac_var=no"
12285 rm -f conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12290 if test `eval echo '${'$as_ac_var'}'` = yes; then
12291 cat >>confdefs.h <<_ACEOF
12292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12293 _ACEOF
12296 done
12298 else
12300 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12301 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12302 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12303 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12309 ac_ext=cc
12310 ac_cpp='$CXXCPP $CPPFLAGS'
12311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12315 cat >conftest.$ac_ext <<_ACEOF
12316 /* confdefs.h. */
12317 _ACEOF
12318 cat confdefs.h >>conftest.$ac_ext
12319 cat >>conftest.$ac_ext <<_ACEOF
12320 /* end confdefs.h. */
12321 #include <math.h>
12322 #ifdef HAVE_IEEEFP_H
12323 #include <ieeefp.h>
12324 #endif
12327 main ()
12329 _isnanf(0);
12331 return 0;
12333 _ACEOF
12334 rm -f conftest.$ac_objext
12335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12336 (eval $ac_compile) 2>conftest.er1
12337 ac_status=$?
12338 grep -v '^ *+' conftest.er1 >conftest.err
12339 rm -f conftest.er1
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } &&
12343 { ac_try='test -z "$ac_cxx_werror_flag"
12344 || test ! -s conftest.err'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12347 ac_status=$?
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } &&
12350 { ac_try='test -s conftest.$ac_objext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12353 ac_status=$?
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
12356 glibcxx_cv_func__isnanf_use=yes
12357 else
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.$ac_ext >&5
12361 glibcxx_cv_func__isnanf_use=no
12363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12364 ac_ext=c
12365 ac_cpp='$CPP $CPPFLAGS'
12366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12375 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12377 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12379 for ac_func in _isnanf
12381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12382 echo "$as_me:$LINENO: checking for $ac_func" >&5
12383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12384 if eval "test \"\${$as_ac_var+set}\" = set"; then
12385 echo $ECHO_N "(cached) $ECHO_C" >&6
12386 else
12387 if test x$gcc_no_link = xyes; then
12388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12390 { (exit 1); exit 1; }; }
12392 cat >conftest.$ac_ext <<_ACEOF
12393 /* confdefs.h. */
12394 _ACEOF
12395 cat confdefs.h >>conftest.$ac_ext
12396 cat >>conftest.$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12400 #define $ac_func innocuous_$ac_func
12402 /* System header to define __stub macros and hopefully few prototypes,
12403 which can conflict with char $ac_func (); below.
12404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12405 <limits.h> exists even on freestanding compilers. */
12407 #ifdef __STDC__
12408 # include <limits.h>
12409 #else
12410 # include <assert.h>
12411 #endif
12413 #undef $ac_func
12415 /* Override any gcc2 internal prototype to avoid an error. */
12416 #ifdef __cplusplus
12417 extern "C"
12419 #endif
12420 /* We use char because int might match the return type of a gcc2
12421 builtin and then its argument prototype would still apply. */
12422 char $ac_func ();
12423 /* The GNU C library defines this for functions which it implements
12424 to always fail with ENOSYS. Some functions are actually named
12425 something starting with __ and the normal name is an alias. */
12426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12427 choke me
12428 #else
12429 char (*f) () = $ac_func;
12430 #endif
12431 #ifdef __cplusplus
12433 #endif
12436 main ()
12438 return f != $ac_func;
12440 return 0;
12442 _ACEOF
12443 rm -f conftest.$ac_objext conftest$ac_exeext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12445 (eval $ac_link) 2>conftest.er1
12446 ac_status=$?
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12456 ac_status=$?
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try='test -s conftest$ac_exeext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12462 ac_status=$?
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465 eval "$as_ac_var=yes"
12466 else
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.$ac_ext >&5
12470 eval "$as_ac_var=no"
12472 rm -f conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12477 if test `eval echo '${'$as_ac_var'}'` = yes; then
12478 cat >>confdefs.h <<_ACEOF
12479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12480 _ACEOF
12483 done
12490 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12491 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12493 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 else
12499 ac_ext=cc
12500 ac_cpp='$CXXCPP $CPPFLAGS'
12501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12505 cat >conftest.$ac_ext <<_ACEOF
12506 /* confdefs.h. */
12507 _ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12511 #include <math.h>
12512 #ifdef HAVE_IEEEFP_H
12513 #include <ieeefp.h>
12514 #endif
12517 main ()
12519 isinff(0);
12521 return 0;
12523 _ACEOF
12524 rm -f conftest.$ac_objext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12526 (eval $ac_compile) 2>conftest.er1
12527 ac_status=$?
12528 grep -v '^ *+' conftest.er1 >conftest.err
12529 rm -f conftest.er1
12530 cat conftest.err >&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } &&
12533 { ac_try='test -z "$ac_cxx_werror_flag"
12534 || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try='test -s conftest.$ac_objext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12546 glibcxx_cv_func_isinff_use=yes
12547 else
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12551 glibcxx_cv_func_isinff_use=no
12553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12554 ac_ext=c
12555 ac_cpp='$CPP $CPPFLAGS'
12556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12565 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12567 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12569 for ac_func in isinff
12571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12572 echo "$as_me:$LINENO: checking for $ac_func" >&5
12573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12574 if eval "test \"\${$as_ac_var+set}\" = set"; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 else
12577 if test x$gcc_no_link = xyes; then
12578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12580 { (exit 1); exit 1; }; }
12582 cat >conftest.$ac_ext <<_ACEOF
12583 /* confdefs.h. */
12584 _ACEOF
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12590 #define $ac_func innocuous_$ac_func
12592 /* System header to define __stub macros and hopefully few prototypes,
12593 which can conflict with char $ac_func (); below.
12594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 <limits.h> exists even on freestanding compilers. */
12597 #ifdef __STDC__
12598 # include <limits.h>
12599 #else
12600 # include <assert.h>
12601 #endif
12603 #undef $ac_func
12605 /* Override any gcc2 internal prototype to avoid an error. */
12606 #ifdef __cplusplus
12607 extern "C"
12609 #endif
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12612 char $ac_func ();
12613 /* The GNU C library defines this for functions which it implements
12614 to always fail with ENOSYS. Some functions are actually named
12615 something starting with __ and the normal name is an alias. */
12616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12617 choke me
12618 #else
12619 char (*f) () = $ac_func;
12620 #endif
12621 #ifdef __cplusplus
12623 #endif
12626 main ()
12628 return f != $ac_func;
12630 return 0;
12632 _ACEOF
12633 rm -f conftest.$ac_objext conftest$ac_exeext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12635 (eval $ac_link) 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try='test -z "$ac_c_werror_flag"
12643 || test ! -s conftest.err'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12646 ac_status=$?
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; } &&
12649 { ac_try='test -s conftest$ac_exeext'
12650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12651 (eval $ac_try) 2>&5
12652 ac_status=$?
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; }; then
12655 eval "$as_ac_var=yes"
12656 else
12657 echo "$as_me: failed program was:" >&5
12658 sed 's/^/| /' conftest.$ac_ext >&5
12660 eval "$as_ac_var=no"
12662 rm -f conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12667 if test `eval echo '${'$as_ac_var'}'` = yes; then
12668 cat >>confdefs.h <<_ACEOF
12669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12670 _ACEOF
12673 done
12675 else
12677 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12678 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12679 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12680 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12682 else
12686 ac_ext=cc
12687 ac_cpp='$CXXCPP $CPPFLAGS'
12688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 #include <math.h>
12699 #ifdef HAVE_IEEEFP_H
12700 #include <ieeefp.h>
12701 #endif
12704 main ()
12706 _isinff(0);
12708 return 0;
12710 _ACEOF
12711 rm -f conftest.$ac_objext
12712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12713 (eval $ac_compile) 2>conftest.er1
12714 ac_status=$?
12715 grep -v '^ *+' conftest.er1 >conftest.err
12716 rm -f conftest.er1
12717 cat conftest.err >&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try='test -z "$ac_cxx_werror_flag"
12721 || test ! -s conftest.err'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12724 ac_status=$?
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; } &&
12727 { ac_try='test -s conftest.$ac_objext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12730 ac_status=$?
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12733 glibcxx_cv_func__isinff_use=yes
12734 else
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.$ac_ext >&5
12738 glibcxx_cv_func__isinff_use=no
12740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12741 ac_ext=c
12742 ac_cpp='$CPP $CPPFLAGS'
12743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12751 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12752 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12754 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12756 for ac_func in _isinff
12758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12759 echo "$as_me:$LINENO: checking for $ac_func" >&5
12760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12761 if eval "test \"\${$as_ac_var+set}\" = set"; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 else
12764 if test x$gcc_no_link = xyes; then
12765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12767 { (exit 1); exit 1; }; }
12769 cat >conftest.$ac_ext <<_ACEOF
12770 /* confdefs.h. */
12771 _ACEOF
12772 cat confdefs.h >>conftest.$ac_ext
12773 cat >>conftest.$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12777 #define $ac_func innocuous_$ac_func
12779 /* System header to define __stub macros and hopefully few prototypes,
12780 which can conflict with char $ac_func (); below.
12781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12782 <limits.h> exists even on freestanding compilers. */
12784 #ifdef __STDC__
12785 # include <limits.h>
12786 #else
12787 # include <assert.h>
12788 #endif
12790 #undef $ac_func
12792 /* Override any gcc2 internal prototype to avoid an error. */
12793 #ifdef __cplusplus
12794 extern "C"
12796 #endif
12797 /* We use char because int might match the return type of a gcc2
12798 builtin and then its argument prototype would still apply. */
12799 char $ac_func ();
12800 /* The GNU C library defines this for functions which it implements
12801 to always fail with ENOSYS. Some functions are actually named
12802 something starting with __ and the normal name is an alias. */
12803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12804 choke me
12805 #else
12806 char (*f) () = $ac_func;
12807 #endif
12808 #ifdef __cplusplus
12810 #endif
12813 main ()
12815 return f != $ac_func;
12817 return 0;
12819 _ACEOF
12820 rm -f conftest.$ac_objext conftest$ac_exeext
12821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12822 (eval $ac_link) 2>conftest.er1
12823 ac_status=$?
12824 grep -v '^ *+' conftest.er1 >conftest.err
12825 rm -f conftest.er1
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } &&
12829 { ac_try='test -z "$ac_c_werror_flag"
12830 || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try='test -s conftest$ac_exeext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12839 ac_status=$?
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 eval "$as_ac_var=yes"
12843 else
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12847 eval "$as_ac_var=no"
12849 rm -f conftest.err conftest.$ac_objext \
12850 conftest$ac_exeext conftest.$ac_ext
12852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12854 if test `eval echo '${'$as_ac_var'}'` = yes; then
12855 cat >>confdefs.h <<_ACEOF
12856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12857 _ACEOF
12860 done
12867 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12868 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12869 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12870 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 else
12876 ac_ext=cc
12877 ac_cpp='$CXXCPP $CPPFLAGS'
12878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12882 cat >conftest.$ac_ext <<_ACEOF
12883 /* confdefs.h. */
12884 _ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12888 #include <math.h>
12890 main ()
12892 atan2f(0, 0);
12894 return 0;
12896 _ACEOF
12897 rm -f conftest.$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>conftest.er1
12900 ac_status=$?
12901 grep -v '^ *+' conftest.er1 >conftest.err
12902 rm -f conftest.er1
12903 cat conftest.err >&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); } &&
12906 { ac_try='test -z "$ac_cxx_werror_flag"
12907 || test ! -s conftest.err'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12910 ac_status=$?
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; } &&
12913 { ac_try='test -s conftest.$ac_objext'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12916 ac_status=$?
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; }; then
12919 glibcxx_cv_func_atan2f_use=yes
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12924 glibcxx_cv_func_atan2f_use=no
12926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12927 ac_ext=c
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12938 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12940 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12942 for ac_func in atan2f
12944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12945 echo "$as_me:$LINENO: checking for $ac_func" >&5
12946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12947 if eval "test \"\${$as_ac_var+set}\" = set"; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 if test x$gcc_no_link = xyes; then
12951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12953 { (exit 1); exit 1; }; }
12955 cat >conftest.$ac_ext <<_ACEOF
12956 /* confdefs.h. */
12957 _ACEOF
12958 cat confdefs.h >>conftest.$ac_ext
12959 cat >>conftest.$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12963 #define $ac_func innocuous_$ac_func
12965 /* System header to define __stub macros and hopefully few prototypes,
12966 which can conflict with char $ac_func (); below.
12967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12968 <limits.h> exists even on freestanding compilers. */
12970 #ifdef __STDC__
12971 # include <limits.h>
12972 #else
12973 # include <assert.h>
12974 #endif
12976 #undef $ac_func
12978 /* Override any gcc2 internal prototype to avoid an error. */
12979 #ifdef __cplusplus
12980 extern "C"
12982 #endif
12983 /* We use char because int might match the return type of a gcc2
12984 builtin and then its argument prototype would still apply. */
12985 char $ac_func ();
12986 /* The GNU C library defines this for functions which it implements
12987 to always fail with ENOSYS. Some functions are actually named
12988 something starting with __ and the normal name is an alias. */
12989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12990 choke me
12991 #else
12992 char (*f) () = $ac_func;
12993 #endif
12994 #ifdef __cplusplus
12996 #endif
12999 main ()
13001 return f != $ac_func;
13003 return 0;
13005 _ACEOF
13006 rm -f conftest.$ac_objext conftest$ac_exeext
13007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13008 (eval $ac_link) 2>conftest.er1
13009 ac_status=$?
13010 grep -v '^ *+' conftest.er1 >conftest.err
13011 rm -f conftest.er1
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } &&
13015 { ac_try='test -z "$ac_c_werror_flag"
13016 || test ! -s conftest.err'
13017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13018 (eval $ac_try) 2>&5
13019 ac_status=$?
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); }; } &&
13022 { ac_try='test -s conftest$ac_exeext'
13023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13024 (eval $ac_try) 2>&5
13025 ac_status=$?
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); }; }; then
13028 eval "$as_ac_var=yes"
13029 else
13030 echo "$as_me: failed program was:" >&5
13031 sed 's/^/| /' conftest.$ac_ext >&5
13033 eval "$as_ac_var=no"
13035 rm -f conftest.err conftest.$ac_objext \
13036 conftest$ac_exeext conftest.$ac_ext
13038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13040 if test `eval echo '${'$as_ac_var'}'` = yes; then
13041 cat >>confdefs.h <<_ACEOF
13042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13043 _ACEOF
13046 done
13048 else
13050 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13051 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13052 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13053 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 else
13059 ac_ext=cc
13060 ac_cpp='$CXXCPP $CPPFLAGS'
13061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13065 cat >conftest.$ac_ext <<_ACEOF
13066 /* confdefs.h. */
13067 _ACEOF
13068 cat confdefs.h >>conftest.$ac_ext
13069 cat >>conftest.$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13071 #include <math.h>
13073 main ()
13075 _atan2f(0, 0);
13077 return 0;
13079 _ACEOF
13080 rm -f conftest.$ac_objext
13081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13082 (eval $ac_compile) 2>conftest.er1
13083 ac_status=$?
13084 grep -v '^ *+' conftest.er1 >conftest.err
13085 rm -f conftest.er1
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } &&
13089 { ac_try='test -z "$ac_cxx_werror_flag"
13090 || test ! -s conftest.err'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13099 ac_status=$?
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 glibcxx_cv_func__atan2f_use=yes
13103 else
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.$ac_ext >&5
13107 glibcxx_cv_func__atan2f_use=no
13109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13110 ac_ext=c
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13121 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13123 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13125 for ac_func in _atan2f
13127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13128 echo "$as_me:$LINENO: checking for $ac_func" >&5
13129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13130 if eval "test \"\${$as_ac_var+set}\" = set"; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13132 else
13133 if test x$gcc_no_link = xyes; then
13134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13136 { (exit 1); exit 1; }; }
13138 cat >conftest.$ac_ext <<_ACEOF
13139 /* confdefs.h. */
13140 _ACEOF
13141 cat confdefs.h >>conftest.$ac_ext
13142 cat >>conftest.$ac_ext <<_ACEOF
13143 /* end confdefs.h. */
13144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13146 #define $ac_func innocuous_$ac_func
13148 /* System header to define __stub macros and hopefully few prototypes,
13149 which can conflict with char $ac_func (); below.
13150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13151 <limits.h> exists even on freestanding compilers. */
13153 #ifdef __STDC__
13154 # include <limits.h>
13155 #else
13156 # include <assert.h>
13157 #endif
13159 #undef $ac_func
13161 /* Override any gcc2 internal prototype to avoid an error. */
13162 #ifdef __cplusplus
13163 extern "C"
13165 #endif
13166 /* We use char because int might match the return type of a gcc2
13167 builtin and then its argument prototype would still apply. */
13168 char $ac_func ();
13169 /* The GNU C library defines this for functions which it implements
13170 to always fail with ENOSYS. Some functions are actually named
13171 something starting with __ and the normal name is an alias. */
13172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13173 choke me
13174 #else
13175 char (*f) () = $ac_func;
13176 #endif
13177 #ifdef __cplusplus
13179 #endif
13182 main ()
13184 return f != $ac_func;
13186 return 0;
13188 _ACEOF
13189 rm -f conftest.$ac_objext conftest$ac_exeext
13190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13191 (eval $ac_link) 2>conftest.er1
13192 ac_status=$?
13193 grep -v '^ *+' conftest.er1 >conftest.err
13194 rm -f conftest.er1
13195 cat conftest.err >&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } &&
13198 { ac_try='test -z "$ac_c_werror_flag"
13199 || test ! -s conftest.err'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13202 ac_status=$?
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; } &&
13205 { ac_try='test -s conftest$ac_exeext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13208 ac_status=$?
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 eval "$as_ac_var=yes"
13212 else
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.$ac_ext >&5
13216 eval "$as_ac_var=no"
13218 rm -f conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13223 if test `eval echo '${'$as_ac_var'}'` = yes; then
13224 cat >>confdefs.h <<_ACEOF
13225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13226 _ACEOF
13229 done
13236 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13237 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13238 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13239 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 else
13245 ac_ext=cc
13246 ac_cpp='$CXXCPP $CPPFLAGS'
13247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13251 cat >conftest.$ac_ext <<_ACEOF
13252 /* confdefs.h. */
13253 _ACEOF
13254 cat confdefs.h >>conftest.$ac_ext
13255 cat >>conftest.$ac_ext <<_ACEOF
13256 /* end confdefs.h. */
13257 #include <math.h>
13258 #ifdef HAVE_IEEEFP_H
13259 #include <ieeefp.h>
13260 #endif
13263 main ()
13265 fabsf(0);
13267 return 0;
13269 _ACEOF
13270 rm -f conftest.$ac_objext
13271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13272 (eval $ac_compile) 2>conftest.er1
13273 ac_status=$?
13274 grep -v '^ *+' conftest.er1 >conftest.err
13275 rm -f conftest.er1
13276 cat conftest.err >&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -z "$ac_cxx_werror_flag"
13280 || test ! -s conftest.err'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13283 ac_status=$?
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; } &&
13286 { ac_try='test -s conftest.$ac_objext'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13289 ac_status=$?
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; }; then
13292 glibcxx_cv_func_fabsf_use=yes
13293 else
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.$ac_ext >&5
13297 glibcxx_cv_func_fabsf_use=no
13299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13300 ac_ext=c
13301 ac_cpp='$CPP $CPPFLAGS'
13302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13311 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13313 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13315 for ac_func in fabsf
13317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13318 echo "$as_me:$LINENO: checking for $ac_func" >&5
13319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13320 if eval "test \"\${$as_ac_var+set}\" = set"; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 else
13323 if test x$gcc_no_link = xyes; then
13324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13326 { (exit 1); exit 1; }; }
13328 cat >conftest.$ac_ext <<_ACEOF
13329 /* confdefs.h. */
13330 _ACEOF
13331 cat confdefs.h >>conftest.$ac_ext
13332 cat >>conftest.$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13336 #define $ac_func innocuous_$ac_func
13338 /* System header to define __stub macros and hopefully few prototypes,
13339 which can conflict with char $ac_func (); below.
13340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13341 <limits.h> exists even on freestanding compilers. */
13343 #ifdef __STDC__
13344 # include <limits.h>
13345 #else
13346 # include <assert.h>
13347 #endif
13349 #undef $ac_func
13351 /* Override any gcc2 internal prototype to avoid an error. */
13352 #ifdef __cplusplus
13353 extern "C"
13355 #endif
13356 /* We use char because int might match the return type of a gcc2
13357 builtin and then its argument prototype would still apply. */
13358 char $ac_func ();
13359 /* The GNU C library defines this for functions which it implements
13360 to always fail with ENOSYS. Some functions are actually named
13361 something starting with __ and the normal name is an alias. */
13362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13363 choke me
13364 #else
13365 char (*f) () = $ac_func;
13366 #endif
13367 #ifdef __cplusplus
13369 #endif
13372 main ()
13374 return f != $ac_func;
13376 return 0;
13378 _ACEOF
13379 rm -f conftest.$ac_objext conftest$ac_exeext
13380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13381 (eval $ac_link) 2>conftest.er1
13382 ac_status=$?
13383 grep -v '^ *+' conftest.er1 >conftest.err
13384 rm -f conftest.er1
13385 cat conftest.err >&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } &&
13388 { ac_try='test -z "$ac_c_werror_flag"
13389 || test ! -s conftest.err'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13392 ac_status=$?
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; } &&
13395 { ac_try='test -s conftest$ac_exeext'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13398 ac_status=$?
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 eval "$as_ac_var=yes"
13402 else
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13406 eval "$as_ac_var=no"
13408 rm -f conftest.err conftest.$ac_objext \
13409 conftest$ac_exeext conftest.$ac_ext
13411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13413 if test `eval echo '${'$as_ac_var'}'` = yes; then
13414 cat >>confdefs.h <<_ACEOF
13415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13416 _ACEOF
13419 done
13421 else
13423 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13424 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13425 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13426 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 else
13432 ac_ext=cc
13433 ac_cpp='$CXXCPP $CPPFLAGS'
13434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <math.h>
13445 #ifdef HAVE_IEEEFP_H
13446 #include <ieeefp.h>
13447 #endif
13450 main ()
13452 _fabsf(0);
13454 return 0;
13456 _ACEOF
13457 rm -f conftest.$ac_objext
13458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13459 (eval $ac_compile) 2>conftest.er1
13460 ac_status=$?
13461 grep -v '^ *+' conftest.er1 >conftest.err
13462 rm -f conftest.er1
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try='test -z "$ac_cxx_werror_flag"
13467 || test ! -s conftest.err'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13470 ac_status=$?
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; } &&
13473 { ac_try='test -s conftest.$ac_objext'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13476 ac_status=$?
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; }; then
13479 glibcxx_cv_func__fabsf_use=yes
13480 else
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 glibcxx_cv_func__fabsf_use=no
13486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13487 ac_ext=c
13488 ac_cpp='$CPP $CPPFLAGS'
13489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13497 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13498 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13500 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13502 for ac_func in _fabsf
13504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13505 echo "$as_me:$LINENO: checking for $ac_func" >&5
13506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13507 if eval "test \"\${$as_ac_var+set}\" = set"; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13510 if test x$gcc_no_link = xyes; then
13511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13513 { (exit 1); exit 1; }; }
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13523 #define $ac_func innocuous_$ac_func
13525 /* System header to define __stub macros and hopefully few prototypes,
13526 which can conflict with char $ac_func (); below.
13527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13528 <limits.h> exists even on freestanding compilers. */
13530 #ifdef __STDC__
13531 # include <limits.h>
13532 #else
13533 # include <assert.h>
13534 #endif
13536 #undef $ac_func
13538 /* Override any gcc2 internal prototype to avoid an error. */
13539 #ifdef __cplusplus
13540 extern "C"
13542 #endif
13543 /* We use char because int might match the return type of a gcc2
13544 builtin and then its argument prototype would still apply. */
13545 char $ac_func ();
13546 /* The GNU C library defines this for functions which it implements
13547 to always fail with ENOSYS. Some functions are actually named
13548 something starting with __ and the normal name is an alias. */
13549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13550 choke me
13551 #else
13552 char (*f) () = $ac_func;
13553 #endif
13554 #ifdef __cplusplus
13556 #endif
13559 main ()
13561 return f != $ac_func;
13563 return 0;
13565 _ACEOF
13566 rm -f conftest.$ac_objext conftest$ac_exeext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 (eval $ac_link) 2>conftest.er1
13569 ac_status=$?
13570 grep -v '^ *+' conftest.er1 >conftest.err
13571 rm -f conftest.er1
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try='test -z "$ac_c_werror_flag"
13576 || test ! -s conftest.err'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13579 ac_status=$?
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; } &&
13582 { ac_try='test -s conftest$ac_exeext'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13585 ac_status=$?
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; }; then
13588 eval "$as_ac_var=yes"
13589 else
13590 echo "$as_me: failed program was:" >&5
13591 sed 's/^/| /' conftest.$ac_ext >&5
13593 eval "$as_ac_var=no"
13595 rm -f conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13600 if test `eval echo '${'$as_ac_var'}'` = yes; then
13601 cat >>confdefs.h <<_ACEOF
13602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13603 _ACEOF
13606 done
13613 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13614 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13615 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13616 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 else
13622 ac_ext=cc
13623 ac_cpp='$CXXCPP $CPPFLAGS'
13624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13628 cat >conftest.$ac_ext <<_ACEOF
13629 /* confdefs.h. */
13630 _ACEOF
13631 cat confdefs.h >>conftest.$ac_ext
13632 cat >>conftest.$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13634 #include <math.h>
13636 main ()
13638 fmodf(0, 0);
13640 return 0;
13642 _ACEOF
13643 rm -f conftest.$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -z "$ac_cxx_werror_flag"
13653 || test ! -s conftest.err'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try='test -s conftest.$ac_objext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 glibcxx_cv_func_fmodf_use=yes
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 glibcxx_cv_func_fmodf_use=no
13672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13673 ac_ext=c
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13684 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13686 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13688 for ac_func in fmodf
13690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13691 echo "$as_me:$LINENO: checking for $ac_func" >&5
13692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13693 if eval "test \"\${$as_ac_var+set}\" = set"; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 if test x$gcc_no_link = xyes; then
13697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13699 { (exit 1); exit 1; }; }
13701 cat >conftest.$ac_ext <<_ACEOF
13702 /* confdefs.h. */
13703 _ACEOF
13704 cat confdefs.h >>conftest.$ac_ext
13705 cat >>conftest.$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13709 #define $ac_func innocuous_$ac_func
13711 /* System header to define __stub macros and hopefully few prototypes,
13712 which can conflict with char $ac_func (); below.
13713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13714 <limits.h> exists even on freestanding compilers. */
13716 #ifdef __STDC__
13717 # include <limits.h>
13718 #else
13719 # include <assert.h>
13720 #endif
13722 #undef $ac_func
13724 /* Override any gcc2 internal prototype to avoid an error. */
13725 #ifdef __cplusplus
13726 extern "C"
13728 #endif
13729 /* We use char because int might match the return type of a gcc2
13730 builtin and then its argument prototype would still apply. */
13731 char $ac_func ();
13732 /* The GNU C library defines this for functions which it implements
13733 to always fail with ENOSYS. Some functions are actually named
13734 something starting with __ and the normal name is an alias. */
13735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13736 choke me
13737 #else
13738 char (*f) () = $ac_func;
13739 #endif
13740 #ifdef __cplusplus
13742 #endif
13745 main ()
13747 return f != $ac_func;
13749 return 0;
13751 _ACEOF
13752 rm -f conftest.$ac_objext conftest$ac_exeext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13754 (eval $ac_link) 2>conftest.er1
13755 ac_status=$?
13756 grep -v '^ *+' conftest.er1 >conftest.err
13757 rm -f conftest.er1
13758 cat conftest.err >&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try='test -z "$ac_c_werror_flag"
13762 || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try='test -s conftest$ac_exeext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 eval "$as_ac_var=yes"
13775 else
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13779 eval "$as_ac_var=no"
13781 rm -f conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13786 if test `eval echo '${'$as_ac_var'}'` = yes; then
13787 cat >>confdefs.h <<_ACEOF
13788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13789 _ACEOF
13792 done
13794 else
13796 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13797 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13798 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13799 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 else
13805 ac_ext=cc
13806 ac_cpp='$CXXCPP $CPPFLAGS'
13807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13811 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 #include <math.h>
13819 main ()
13821 _fmodf(0, 0);
13823 return 0;
13825 _ACEOF
13826 rm -f conftest.$ac_objext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13828 (eval $ac_compile) 2>conftest.er1
13829 ac_status=$?
13830 grep -v '^ *+' conftest.er1 >conftest.err
13831 rm -f conftest.er1
13832 cat conftest.err >&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -z "$ac_cxx_werror_flag"
13836 || test ! -s conftest.err'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13839 ac_status=$?
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; } &&
13842 { ac_try='test -s conftest.$ac_objext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13845 ac_status=$?
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 glibcxx_cv_func__fmodf_use=yes
13849 else
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 glibcxx_cv_func__fmodf_use=no
13855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13856 ac_ext=c
13857 ac_cpp='$CPP $CPPFLAGS'
13858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13867 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13869 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13871 for ac_func in _fmodf
13873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13874 echo "$as_me:$LINENO: checking for $ac_func" >&5
13875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13876 if eval "test \"\${$as_ac_var+set}\" = set"; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 if test x$gcc_no_link = xyes; then
13880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13882 { (exit 1); exit 1; }; }
13884 cat >conftest.$ac_ext <<_ACEOF
13885 /* confdefs.h. */
13886 _ACEOF
13887 cat confdefs.h >>conftest.$ac_ext
13888 cat >>conftest.$ac_ext <<_ACEOF
13889 /* end confdefs.h. */
13890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13892 #define $ac_func innocuous_$ac_func
13894 /* System header to define __stub macros and hopefully few prototypes,
13895 which can conflict with char $ac_func (); below.
13896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13897 <limits.h> exists even on freestanding compilers. */
13899 #ifdef __STDC__
13900 # include <limits.h>
13901 #else
13902 # include <assert.h>
13903 #endif
13905 #undef $ac_func
13907 /* Override any gcc2 internal prototype to avoid an error. */
13908 #ifdef __cplusplus
13909 extern "C"
13911 #endif
13912 /* We use char because int might match the return type of a gcc2
13913 builtin and then its argument prototype would still apply. */
13914 char $ac_func ();
13915 /* The GNU C library defines this for functions which it implements
13916 to always fail with ENOSYS. Some functions are actually named
13917 something starting with __ and the normal name is an alias. */
13918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13919 choke me
13920 #else
13921 char (*f) () = $ac_func;
13922 #endif
13923 #ifdef __cplusplus
13925 #endif
13928 main ()
13930 return f != $ac_func;
13932 return 0;
13934 _ACEOF
13935 rm -f conftest.$ac_objext conftest$ac_exeext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13937 (eval $ac_link) 2>conftest.er1
13938 ac_status=$?
13939 grep -v '^ *+' conftest.er1 >conftest.err
13940 rm -f conftest.er1
13941 cat conftest.err >&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -z "$ac_c_werror_flag"
13945 || test ! -s conftest.err'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; } &&
13951 { ac_try='test -s conftest$ac_exeext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 eval "$as_ac_var=yes"
13958 else
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13962 eval "$as_ac_var=no"
13964 rm -f conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13969 if test `eval echo '${'$as_ac_var'}'` = yes; then
13970 cat >>confdefs.h <<_ACEOF
13971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13972 _ACEOF
13975 done
13982 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13983 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13984 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13985 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 else
13991 ac_ext=cc
13992 ac_cpp='$CXXCPP $CPPFLAGS'
13993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <math.h>
14005 main ()
14007 frexpf(0, 0);
14009 return 0;
14011 _ACEOF
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14015 ac_status=$?
14016 grep -v '^ *+' conftest.er1 >conftest.err
14017 rm -f conftest.er1
14018 cat conftest.err >&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try='test -z "$ac_cxx_werror_flag"
14022 || test ! -s conftest.err'
14023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14024 (eval $ac_try) 2>&5
14025 ac_status=$?
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; } &&
14028 { ac_try='test -s conftest.$ac_objext'
14029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14030 (eval $ac_try) 2>&5
14031 ac_status=$?
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); }; }; then
14034 glibcxx_cv_func_frexpf_use=yes
14035 else
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 glibcxx_cv_func_frexpf_use=no
14041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14042 ac_ext=c
14043 ac_cpp='$CPP $CPPFLAGS'
14044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14053 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14055 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14057 for ac_func in frexpf
14059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14060 echo "$as_me:$LINENO: checking for $ac_func" >&5
14061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14062 if eval "test \"\${$as_ac_var+set}\" = set"; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 else
14065 if test x$gcc_no_link = xyes; then
14066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14068 { (exit 1); exit 1; }; }
14070 cat >conftest.$ac_ext <<_ACEOF
14071 /* confdefs.h. */
14072 _ACEOF
14073 cat confdefs.h >>conftest.$ac_ext
14074 cat >>conftest.$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14078 #define $ac_func innocuous_$ac_func
14080 /* System header to define __stub macros and hopefully few prototypes,
14081 which can conflict with char $ac_func (); below.
14082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14083 <limits.h> exists even on freestanding compilers. */
14085 #ifdef __STDC__
14086 # include <limits.h>
14087 #else
14088 # include <assert.h>
14089 #endif
14091 #undef $ac_func
14093 /* Override any gcc2 internal prototype to avoid an error. */
14094 #ifdef __cplusplus
14095 extern "C"
14097 #endif
14098 /* We use char because int might match the return type of a gcc2
14099 builtin and then its argument prototype would still apply. */
14100 char $ac_func ();
14101 /* The GNU C library defines this for functions which it implements
14102 to always fail with ENOSYS. Some functions are actually named
14103 something starting with __ and the normal name is an alias. */
14104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14105 choke me
14106 #else
14107 char (*f) () = $ac_func;
14108 #endif
14109 #ifdef __cplusplus
14111 #endif
14114 main ()
14116 return f != $ac_func;
14118 return 0;
14120 _ACEOF
14121 rm -f conftest.$ac_objext conftest$ac_exeext
14122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14123 (eval $ac_link) 2>conftest.er1
14124 ac_status=$?
14125 grep -v '^ *+' conftest.er1 >conftest.err
14126 rm -f conftest.er1
14127 cat conftest.err >&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); } &&
14130 { ac_try='test -z "$ac_c_werror_flag"
14131 || test ! -s conftest.err'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; } &&
14137 { ac_try='test -s conftest$ac_exeext'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; }; then
14143 eval "$as_ac_var=yes"
14144 else
14145 echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.$ac_ext >&5
14148 eval "$as_ac_var=no"
14150 rm -f conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14155 if test `eval echo '${'$as_ac_var'}'` = yes; then
14156 cat >>confdefs.h <<_ACEOF
14157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14158 _ACEOF
14161 done
14163 else
14165 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14166 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14167 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14168 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 else
14174 ac_ext=cc
14175 ac_cpp='$CXXCPP $CPPFLAGS'
14176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 #include <math.h>
14188 main ()
14190 _frexpf(0, 0);
14192 return 0;
14194 _ACEOF
14195 rm -f conftest.$ac_objext
14196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14197 (eval $ac_compile) 2>conftest.er1
14198 ac_status=$?
14199 grep -v '^ *+' conftest.er1 >conftest.err
14200 rm -f conftest.er1
14201 cat conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try='test -z "$ac_cxx_werror_flag"
14205 || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 glibcxx_cv_func__frexpf_use=yes
14218 else
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.$ac_ext >&5
14222 glibcxx_cv_func__frexpf_use=no
14224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14225 ac_ext=c
14226 ac_cpp='$CPP $CPPFLAGS'
14227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14236 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14238 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14240 for ac_func in _frexpf
14242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14243 echo "$as_me:$LINENO: checking for $ac_func" >&5
14244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14245 if eval "test \"\${$as_ac_var+set}\" = set"; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 else
14248 if test x$gcc_no_link = xyes; then
14249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14251 { (exit 1); exit 1; }; }
14253 cat >conftest.$ac_ext <<_ACEOF
14254 /* confdefs.h. */
14255 _ACEOF
14256 cat confdefs.h >>conftest.$ac_ext
14257 cat >>conftest.$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14261 #define $ac_func innocuous_$ac_func
14263 /* System header to define __stub macros and hopefully few prototypes,
14264 which can conflict with char $ac_func (); below.
14265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14266 <limits.h> exists even on freestanding compilers. */
14268 #ifdef __STDC__
14269 # include <limits.h>
14270 #else
14271 # include <assert.h>
14272 #endif
14274 #undef $ac_func
14276 /* Override any gcc2 internal prototype to avoid an error. */
14277 #ifdef __cplusplus
14278 extern "C"
14280 #endif
14281 /* We use char because int might match the return type of a gcc2
14282 builtin and then its argument prototype would still apply. */
14283 char $ac_func ();
14284 /* The GNU C library defines this for functions which it implements
14285 to always fail with ENOSYS. Some functions are actually named
14286 something starting with __ and the normal name is an alias. */
14287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14288 choke me
14289 #else
14290 char (*f) () = $ac_func;
14291 #endif
14292 #ifdef __cplusplus
14294 #endif
14297 main ()
14299 return f != $ac_func;
14301 return 0;
14303 _ACEOF
14304 rm -f conftest.$ac_objext conftest$ac_exeext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14306 (eval $ac_link) 2>conftest.er1
14307 ac_status=$?
14308 grep -v '^ *+' conftest.er1 >conftest.err
14309 rm -f conftest.er1
14310 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try='test -z "$ac_c_werror_flag"
14314 || test ! -s conftest.err'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; } &&
14320 { ac_try='test -s conftest$ac_exeext'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14323 ac_status=$?
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 eval "$as_ac_var=yes"
14327 else
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.$ac_ext >&5
14331 eval "$as_ac_var=no"
14333 rm -f conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14338 if test `eval echo '${'$as_ac_var'}'` = yes; then
14339 cat >>confdefs.h <<_ACEOF
14340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14341 _ACEOF
14344 done
14351 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14352 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14353 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14354 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 else
14360 ac_ext=cc
14361 ac_cpp='$CXXCPP $CPPFLAGS'
14362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372 #include <math.h>
14374 main ()
14376 hypotf(0, 0);
14378 return 0;
14380 _ACEOF
14381 rm -f conftest.$ac_objext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>conftest.er1
14384 ac_status=$?
14385 grep -v '^ *+' conftest.er1 >conftest.err
14386 rm -f conftest.er1
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } &&
14390 { ac_try='test -z "$ac_cxx_werror_flag"
14391 || test ! -s conftest.err'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; } &&
14397 { ac_try='test -s conftest.$ac_objext'
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14399 (eval $ac_try) 2>&5
14400 ac_status=$?
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; }; then
14403 glibcxx_cv_func_hypotf_use=yes
14404 else
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 glibcxx_cv_func_hypotf_use=no
14410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14411 ac_ext=c
14412 ac_cpp='$CPP $CPPFLAGS'
14413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14422 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14424 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14426 for ac_func in hypotf
14428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14429 echo "$as_me:$LINENO: checking for $ac_func" >&5
14430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14431 if eval "test \"\${$as_ac_var+set}\" = set"; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 if test x$gcc_no_link = xyes; then
14435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14437 { (exit 1); exit 1; }; }
14439 cat >conftest.$ac_ext <<_ACEOF
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14447 #define $ac_func innocuous_$ac_func
14449 /* System header to define __stub macros and hopefully few prototypes,
14450 which can conflict with char $ac_func (); below.
14451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14452 <limits.h> exists even on freestanding compilers. */
14454 #ifdef __STDC__
14455 # include <limits.h>
14456 #else
14457 # include <assert.h>
14458 #endif
14460 #undef $ac_func
14462 /* Override any gcc2 internal prototype to avoid an error. */
14463 #ifdef __cplusplus
14464 extern "C"
14466 #endif
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14469 char $ac_func ();
14470 /* The GNU C library defines this for functions which it implements
14471 to always fail with ENOSYS. Some functions are actually named
14472 something starting with __ and the normal name is an alias. */
14473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14474 choke me
14475 #else
14476 char (*f) () = $ac_func;
14477 #endif
14478 #ifdef __cplusplus
14480 #endif
14483 main ()
14485 return f != $ac_func;
14487 return 0;
14489 _ACEOF
14490 rm -f conftest.$ac_objext conftest$ac_exeext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14492 (eval $ac_link) 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try='test -z "$ac_c_werror_flag"
14500 || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest$ac_exeext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 eval "$as_ac_var=yes"
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 eval "$as_ac_var=no"
14519 rm -f conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14524 if test `eval echo '${'$as_ac_var'}'` = yes; then
14525 cat >>confdefs.h <<_ACEOF
14526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14527 _ACEOF
14530 done
14532 else
14534 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14535 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14536 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14537 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 else
14543 ac_ext=cc
14544 ac_cpp='$CXXCPP $CPPFLAGS'
14545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 #include <math.h>
14557 main ()
14559 _hypotf(0, 0);
14561 return 0;
14563 _ACEOF
14564 rm -f conftest.$ac_objext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14566 (eval $ac_compile) 2>conftest.er1
14567 ac_status=$?
14568 grep -v '^ *+' conftest.er1 >conftest.err
14569 rm -f conftest.er1
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } &&
14573 { ac_try='test -z "$ac_cxx_werror_flag"
14574 || test ! -s conftest.err'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try='test -s conftest.$ac_objext'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14586 glibcxx_cv_func__hypotf_use=yes
14587 else
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.$ac_ext >&5
14591 glibcxx_cv_func__hypotf_use=no
14593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14594 ac_ext=c
14595 ac_cpp='$CPP $CPPFLAGS'
14596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14605 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14607 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14609 for ac_func in _hypotf
14611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14612 echo "$as_me:$LINENO: checking for $ac_func" >&5
14613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14614 if eval "test \"\${$as_ac_var+set}\" = set"; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 else
14617 if test x$gcc_no_link = xyes; then
14618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14620 { (exit 1); exit 1; }; }
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14630 #define $ac_func innocuous_$ac_func
14632 /* System header to define __stub macros and hopefully few prototypes,
14633 which can conflict with char $ac_func (); below.
14634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14635 <limits.h> exists even on freestanding compilers. */
14637 #ifdef __STDC__
14638 # include <limits.h>
14639 #else
14640 # include <assert.h>
14641 #endif
14643 #undef $ac_func
14645 /* Override any gcc2 internal prototype to avoid an error. */
14646 #ifdef __cplusplus
14647 extern "C"
14649 #endif
14650 /* We use char because int might match the return type of a gcc2
14651 builtin and then its argument prototype would still apply. */
14652 char $ac_func ();
14653 /* The GNU C library defines this for functions which it implements
14654 to always fail with ENOSYS. Some functions are actually named
14655 something starting with __ and the normal name is an alias. */
14656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14657 choke me
14658 #else
14659 char (*f) () = $ac_func;
14660 #endif
14661 #ifdef __cplusplus
14663 #endif
14666 main ()
14668 return f != $ac_func;
14670 return 0;
14672 _ACEOF
14673 rm -f conftest.$ac_objext conftest$ac_exeext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>conftest.er1
14676 ac_status=$?
14677 grep -v '^ *+' conftest.er1 >conftest.err
14678 rm -f conftest.er1
14679 cat conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try='test -z "$ac_c_werror_flag"
14683 || test ! -s conftest.err'
14684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14685 (eval $ac_try) 2>&5
14686 ac_status=$?
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); }; } &&
14689 { ac_try='test -s conftest$ac_exeext'
14690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14691 (eval $ac_try) 2>&5
14692 ac_status=$?
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); }; }; then
14695 eval "$as_ac_var=yes"
14696 else
14697 echo "$as_me: failed program was:" >&5
14698 sed 's/^/| /' conftest.$ac_ext >&5
14700 eval "$as_ac_var=no"
14702 rm -f conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14707 if test `eval echo '${'$as_ac_var'}'` = yes; then
14708 cat >>confdefs.h <<_ACEOF
14709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14710 _ACEOF
14713 done
14720 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14721 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14722 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14723 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14725 else
14729 ac_ext=cc
14730 ac_cpp='$CXXCPP $CPPFLAGS'
14731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14735 cat >conftest.$ac_ext <<_ACEOF
14736 /* confdefs.h. */
14737 _ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14741 #include <math.h>
14743 main ()
14745 ldexpf(0, 0);
14747 return 0;
14749 _ACEOF
14750 rm -f conftest.$ac_objext
14751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14752 (eval $ac_compile) 2>conftest.er1
14753 ac_status=$?
14754 grep -v '^ *+' conftest.er1 >conftest.err
14755 rm -f conftest.er1
14756 cat conftest.err >&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); } &&
14759 { ac_try='test -z "$ac_cxx_werror_flag"
14760 || test ! -s conftest.err'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14763 ac_status=$?
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; } &&
14766 { ac_try='test -s conftest.$ac_objext'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14769 ac_status=$?
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; }; then
14772 glibcxx_cv_func_ldexpf_use=yes
14773 else
14774 echo "$as_me: failed program was:" >&5
14775 sed 's/^/| /' conftest.$ac_ext >&5
14777 glibcxx_cv_func_ldexpf_use=no
14779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14780 ac_ext=c
14781 ac_cpp='$CPP $CPPFLAGS'
14782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14791 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14793 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14795 for ac_func in ldexpf
14797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14798 echo "$as_me:$LINENO: checking for $ac_func" >&5
14799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14800 if eval "test \"\${$as_ac_var+set}\" = set"; then
14801 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 else
14803 if test x$gcc_no_link = xyes; then
14804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14806 { (exit 1); exit 1; }; }
14808 cat >conftest.$ac_ext <<_ACEOF
14809 /* confdefs.h. */
14810 _ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14816 #define $ac_func innocuous_$ac_func
14818 /* System header to define __stub macros and hopefully few prototypes,
14819 which can conflict with char $ac_func (); below.
14820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14821 <limits.h> exists even on freestanding compilers. */
14823 #ifdef __STDC__
14824 # include <limits.h>
14825 #else
14826 # include <assert.h>
14827 #endif
14829 #undef $ac_func
14831 /* Override any gcc2 internal prototype to avoid an error. */
14832 #ifdef __cplusplus
14833 extern "C"
14835 #endif
14836 /* We use char because int might match the return type of a gcc2
14837 builtin and then its argument prototype would still apply. */
14838 char $ac_func ();
14839 /* The GNU C library defines this for functions which it implements
14840 to always fail with ENOSYS. Some functions are actually named
14841 something starting with __ and the normal name is an alias. */
14842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14843 choke me
14844 #else
14845 char (*f) () = $ac_func;
14846 #endif
14847 #ifdef __cplusplus
14849 #endif
14852 main ()
14854 return f != $ac_func;
14856 return 0;
14858 _ACEOF
14859 rm -f conftest.$ac_objext conftest$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14861 (eval $ac_link) 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try='test -z "$ac_c_werror_flag"
14869 || test ! -s conftest.err'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; } &&
14875 { ac_try='test -s conftest$ac_exeext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 eval "$as_ac_var=yes"
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14886 eval "$as_ac_var=no"
14888 rm -f conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14893 if test `eval echo '${'$as_ac_var'}'` = yes; then
14894 cat >>confdefs.h <<_ACEOF
14895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14896 _ACEOF
14899 done
14901 else
14903 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14904 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14905 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14906 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14912 ac_ext=cc
14913 ac_cpp='$CXXCPP $CPPFLAGS'
14914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 #include <math.h>
14926 main ()
14928 _ldexpf(0, 0);
14930 return 0;
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_cxx_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 glibcxx_cv_func__ldexpf_use=yes
14956 else
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14960 glibcxx_cv_func__ldexpf_use=no
14962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14963 ac_ext=c
14964 ac_cpp='$CPP $CPPFLAGS'
14965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14974 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14978 for ac_func in _ldexpf
14980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14981 echo "$as_me:$LINENO: checking for $ac_func" >&5
14982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14983 if eval "test \"\${$as_ac_var+set}\" = set"; then
14984 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 else
14986 if test x$gcc_no_link = xyes; then
14987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14989 { (exit 1); exit 1; }; }
14991 cat >conftest.$ac_ext <<_ACEOF
14992 /* confdefs.h. */
14993 _ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14999 #define $ac_func innocuous_$ac_func
15001 /* System header to define __stub macros and hopefully few prototypes,
15002 which can conflict with char $ac_func (); below.
15003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15004 <limits.h> exists even on freestanding compilers. */
15006 #ifdef __STDC__
15007 # include <limits.h>
15008 #else
15009 # include <assert.h>
15010 #endif
15012 #undef $ac_func
15014 /* Override any gcc2 internal prototype to avoid an error. */
15015 #ifdef __cplusplus
15016 extern "C"
15018 #endif
15019 /* We use char because int might match the return type of a gcc2
15020 builtin and then its argument prototype would still apply. */
15021 char $ac_func ();
15022 /* The GNU C library defines this for functions which it implements
15023 to always fail with ENOSYS. Some functions are actually named
15024 something starting with __ and the normal name is an alias. */
15025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15026 choke me
15027 #else
15028 char (*f) () = $ac_func;
15029 #endif
15030 #ifdef __cplusplus
15032 #endif
15035 main ()
15037 return f != $ac_func;
15039 return 0;
15041 _ACEOF
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15044 (eval $ac_link) 2>conftest.er1
15045 ac_status=$?
15046 grep -v '^ *+' conftest.er1 >conftest.err
15047 rm -f conftest.er1
15048 cat conftest.err >&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try='test -z "$ac_c_werror_flag"
15052 || test ! -s conftest.err'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; } &&
15058 { ac_try='test -s conftest$ac_exeext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 eval "$as_ac_var=yes"
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15069 eval "$as_ac_var=no"
15071 rm -f conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15076 if test `eval echo '${'$as_ac_var'}'` = yes; then
15077 cat >>confdefs.h <<_ACEOF
15078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15079 _ACEOF
15082 done
15089 echo "$as_me:$LINENO: checking for logf declaration" >&5
15090 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15091 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15092 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15094 else
15098 ac_ext=cc
15099 ac_cpp='$CXXCPP $CPPFLAGS'
15100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104 cat >conftest.$ac_ext <<_ACEOF
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 #include <math.h>
15111 #ifdef HAVE_IEEEFP_H
15112 #include <ieeefp.h>
15113 #endif
15116 main ()
15118 logf(0);
15120 return 0;
15122 _ACEOF
15123 rm -f conftest.$ac_objext
15124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15125 (eval $ac_compile) 2>conftest.er1
15126 ac_status=$?
15127 grep -v '^ *+' conftest.er1 >conftest.err
15128 rm -f conftest.er1
15129 cat conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try='test -z "$ac_cxx_werror_flag"
15133 || test ! -s conftest.err'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15136 ac_status=$?
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; } &&
15139 { ac_try='test -s conftest.$ac_objext'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15142 ac_status=$?
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; }; then
15145 glibcxx_cv_func_logf_use=yes
15146 else
15147 echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15150 glibcxx_cv_func_logf_use=no
15152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15153 ac_ext=c
15154 ac_cpp='$CPP $CPPFLAGS'
15155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15164 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15166 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15168 for ac_func in logf
15170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15171 echo "$as_me:$LINENO: checking for $ac_func" >&5
15172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15173 if eval "test \"\${$as_ac_var+set}\" = set"; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 else
15176 if test x$gcc_no_link = xyes; then
15177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15179 { (exit 1); exit 1; }; }
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15189 #define $ac_func innocuous_$ac_func
15191 /* System header to define __stub macros and hopefully few prototypes,
15192 which can conflict with char $ac_func (); below.
15193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15194 <limits.h> exists even on freestanding compilers. */
15196 #ifdef __STDC__
15197 # include <limits.h>
15198 #else
15199 # include <assert.h>
15200 #endif
15202 #undef $ac_func
15204 /* Override any gcc2 internal prototype to avoid an error. */
15205 #ifdef __cplusplus
15206 extern "C"
15208 #endif
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15211 char $ac_func ();
15212 /* The GNU C library defines this for functions which it implements
15213 to always fail with ENOSYS. Some functions are actually named
15214 something starting with __ and the normal name is an alias. */
15215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15216 choke me
15217 #else
15218 char (*f) () = $ac_func;
15219 #endif
15220 #ifdef __cplusplus
15222 #endif
15225 main ()
15227 return f != $ac_func;
15229 return 0;
15231 _ACEOF
15232 rm -f conftest.$ac_objext conftest$ac_exeext
15233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15234 (eval $ac_link) 2>conftest.er1
15235 ac_status=$?
15236 grep -v '^ *+' conftest.er1 >conftest.err
15237 rm -f conftest.er1
15238 cat conftest.err >&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } &&
15241 { ac_try='test -z "$ac_c_werror_flag"
15242 || test ! -s conftest.err'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15245 ac_status=$?
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; } &&
15248 { ac_try='test -s conftest$ac_exeext'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; }; then
15254 eval "$as_ac_var=yes"
15255 else
15256 echo "$as_me: failed program was:" >&5
15257 sed 's/^/| /' conftest.$ac_ext >&5
15259 eval "$as_ac_var=no"
15261 rm -f conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15266 if test `eval echo '${'$as_ac_var'}'` = yes; then
15267 cat >>confdefs.h <<_ACEOF
15268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15269 _ACEOF
15272 done
15274 else
15276 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15277 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15278 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15279 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 else
15285 ac_ext=cc
15286 ac_cpp='$CXXCPP $CPPFLAGS'
15287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15291 cat >conftest.$ac_ext <<_ACEOF
15292 /* confdefs.h. */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 #include <math.h>
15298 #ifdef HAVE_IEEEFP_H
15299 #include <ieeefp.h>
15300 #endif
15303 main ()
15305 _logf(0);
15307 return 0;
15309 _ACEOF
15310 rm -f conftest.$ac_objext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15312 (eval $ac_compile) 2>conftest.er1
15313 ac_status=$?
15314 grep -v '^ *+' conftest.er1 >conftest.err
15315 rm -f conftest.er1
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try='test -z "$ac_cxx_werror_flag"
15320 || test ! -s conftest.err'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15323 ac_status=$?
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } &&
15326 { ac_try='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15332 glibcxx_cv_func__logf_use=yes
15333 else
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.$ac_ext >&5
15337 glibcxx_cv_func__logf_use=no
15339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15340 ac_ext=c
15341 ac_cpp='$CPP $CPPFLAGS'
15342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15351 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15353 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15355 for ac_func in _logf
15357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15358 echo "$as_me:$LINENO: checking for $ac_func" >&5
15359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15360 if eval "test \"\${$as_ac_var+set}\" = set"; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 else
15363 if test x$gcc_no_link = xyes; then
15364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15366 { (exit 1); exit 1; }; }
15368 cat >conftest.$ac_ext <<_ACEOF
15369 /* confdefs.h. */
15370 _ACEOF
15371 cat confdefs.h >>conftest.$ac_ext
15372 cat >>conftest.$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15376 #define $ac_func innocuous_$ac_func
15378 /* System header to define __stub macros and hopefully few prototypes,
15379 which can conflict with char $ac_func (); below.
15380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15381 <limits.h> exists even on freestanding compilers. */
15383 #ifdef __STDC__
15384 # include <limits.h>
15385 #else
15386 # include <assert.h>
15387 #endif
15389 #undef $ac_func
15391 /* Override any gcc2 internal prototype to avoid an error. */
15392 #ifdef __cplusplus
15393 extern "C"
15395 #endif
15396 /* We use char because int might match the return type of a gcc2
15397 builtin and then its argument prototype would still apply. */
15398 char $ac_func ();
15399 /* The GNU C library defines this for functions which it implements
15400 to always fail with ENOSYS. Some functions are actually named
15401 something starting with __ and the normal name is an alias. */
15402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15403 choke me
15404 #else
15405 char (*f) () = $ac_func;
15406 #endif
15407 #ifdef __cplusplus
15409 #endif
15412 main ()
15414 return f != $ac_func;
15416 return 0;
15418 _ACEOF
15419 rm -f conftest.$ac_objext conftest$ac_exeext
15420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15421 (eval $ac_link) 2>conftest.er1
15422 ac_status=$?
15423 grep -v '^ *+' conftest.er1 >conftest.err
15424 rm -f conftest.er1
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try='test -z "$ac_c_werror_flag"
15429 || test ! -s conftest.err'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15432 ac_status=$?
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; } &&
15435 { ac_try='test -s conftest$ac_exeext'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15438 ac_status=$?
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; }; then
15441 eval "$as_ac_var=yes"
15442 else
15443 echo "$as_me: failed program was:" >&5
15444 sed 's/^/| /' conftest.$ac_ext >&5
15446 eval "$as_ac_var=no"
15448 rm -f conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15453 if test `eval echo '${'$as_ac_var'}'` = yes; then
15454 cat >>confdefs.h <<_ACEOF
15455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15456 _ACEOF
15459 done
15466 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15467 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15468 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15469 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15475 ac_ext=cc
15476 ac_cpp='$CXXCPP $CPPFLAGS'
15477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15481 cat >conftest.$ac_ext <<_ACEOF
15482 /* confdefs.h. */
15483 _ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 #include <math.h>
15488 #ifdef HAVE_IEEEFP_H
15489 #include <ieeefp.h>
15490 #endif
15493 main ()
15495 log10f(0);
15497 return 0;
15499 _ACEOF
15500 rm -f conftest.$ac_objext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502 (eval $ac_compile) 2>conftest.er1
15503 ac_status=$?
15504 grep -v '^ *+' conftest.er1 >conftest.err
15505 rm -f conftest.er1
15506 cat conftest.err >&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try='test -z "$ac_cxx_werror_flag"
15510 || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15513 ac_status=$?
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 glibcxx_cv_func_log10f_use=yes
15523 else
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15527 glibcxx_cv_func_log10f_use=no
15529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15530 ac_ext=c
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15541 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15543 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15545 for ac_func in log10f
15547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15548 echo "$as_me:$LINENO: checking for $ac_func" >&5
15549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15550 if eval "test \"\${$as_ac_var+set}\" = set"; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 else
15553 if test x$gcc_no_link = xyes; then
15554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15556 { (exit 1); exit 1; }; }
15558 cat >conftest.$ac_ext <<_ACEOF
15559 /* confdefs.h. */
15560 _ACEOF
15561 cat confdefs.h >>conftest.$ac_ext
15562 cat >>conftest.$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15566 #define $ac_func innocuous_$ac_func
15568 /* System header to define __stub macros and hopefully few prototypes,
15569 which can conflict with char $ac_func (); below.
15570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15571 <limits.h> exists even on freestanding compilers. */
15573 #ifdef __STDC__
15574 # include <limits.h>
15575 #else
15576 # include <assert.h>
15577 #endif
15579 #undef $ac_func
15581 /* Override any gcc2 internal prototype to avoid an error. */
15582 #ifdef __cplusplus
15583 extern "C"
15585 #endif
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15588 char $ac_func ();
15589 /* The GNU C library defines this for functions which it implements
15590 to always fail with ENOSYS. Some functions are actually named
15591 something starting with __ and the normal name is an alias. */
15592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15593 choke me
15594 #else
15595 char (*f) () = $ac_func;
15596 #endif
15597 #ifdef __cplusplus
15599 #endif
15602 main ()
15604 return f != $ac_func;
15606 return 0;
15608 _ACEOF
15609 rm -f conftest.$ac_objext conftest$ac_exeext
15610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15611 (eval $ac_link) 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } &&
15618 { ac_try='test -z "$ac_c_werror_flag"
15619 || test ! -s conftest.err'
15620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15621 (eval $ac_try) 2>&5
15622 ac_status=$?
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); }; } &&
15625 { ac_try='test -s conftest$ac_exeext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15628 ac_status=$?
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 eval "$as_ac_var=yes"
15632 else
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 eval "$as_ac_var=no"
15638 rm -f conftest.err conftest.$ac_objext \
15639 conftest$ac_exeext conftest.$ac_ext
15641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15643 if test `eval echo '${'$as_ac_var'}'` = yes; then
15644 cat >>confdefs.h <<_ACEOF
15645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15646 _ACEOF
15649 done
15651 else
15653 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15654 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15655 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15656 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15662 ac_ext=cc
15663 ac_cpp='$CXXCPP $CPPFLAGS'
15664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15668 cat >conftest.$ac_ext <<_ACEOF
15669 /* confdefs.h. */
15670 _ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15674 #include <math.h>
15675 #ifdef HAVE_IEEEFP_H
15676 #include <ieeefp.h>
15677 #endif
15680 main ()
15682 _log10f(0);
15684 return 0;
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_cxx_werror_flag"
15697 || test ! -s conftest.err'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; } &&
15703 { ac_try='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 glibcxx_cv_func__log10f_use=yes
15710 else
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15714 glibcxx_cv_func__log10f_use=no
15716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15717 ac_ext=c
15718 ac_cpp='$CPP $CPPFLAGS'
15719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15728 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15730 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15732 for ac_func in _log10f
15734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15735 echo "$as_me:$LINENO: checking for $ac_func" >&5
15736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15737 if eval "test \"\${$as_ac_var+set}\" = set"; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740 if test x$gcc_no_link = xyes; then
15741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15743 { (exit 1); exit 1; }; }
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15753 #define $ac_func innocuous_$ac_func
15755 /* System header to define __stub macros and hopefully few prototypes,
15756 which can conflict with char $ac_func (); below.
15757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15758 <limits.h> exists even on freestanding compilers. */
15760 #ifdef __STDC__
15761 # include <limits.h>
15762 #else
15763 # include <assert.h>
15764 #endif
15766 #undef $ac_func
15768 /* Override any gcc2 internal prototype to avoid an error. */
15769 #ifdef __cplusplus
15770 extern "C"
15772 #endif
15773 /* We use char because int might match the return type of a gcc2
15774 builtin and then its argument prototype would still apply. */
15775 char $ac_func ();
15776 /* The GNU C library defines this for functions which it implements
15777 to always fail with ENOSYS. Some functions are actually named
15778 something starting with __ and the normal name is an alias. */
15779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15780 choke me
15781 #else
15782 char (*f) () = $ac_func;
15783 #endif
15784 #ifdef __cplusplus
15786 #endif
15789 main ()
15791 return f != $ac_func;
15793 return 0;
15795 _ACEOF
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15798 (eval $ac_link) 2>conftest.er1
15799 ac_status=$?
15800 grep -v '^ *+' conftest.er1 >conftest.err
15801 rm -f conftest.er1
15802 cat conftest.err >&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try='test -z "$ac_c_werror_flag"
15806 || test ! -s conftest.err'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15809 ac_status=$?
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; } &&
15812 { ac_try='test -s conftest$ac_exeext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15815 ac_status=$?
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15818 eval "$as_ac_var=yes"
15819 else
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.$ac_ext >&5
15823 eval "$as_ac_var=no"
15825 rm -f conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15830 if test `eval echo '${'$as_ac_var'}'` = yes; then
15831 cat >>confdefs.h <<_ACEOF
15832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15833 _ACEOF
15836 done
15843 echo "$as_me:$LINENO: checking for modff declaration" >&5
15844 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15845 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15846 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15852 ac_ext=cc
15853 ac_cpp='$CXXCPP $CPPFLAGS'
15854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 #include <math.h>
15866 main ()
15868 modff(0, 0);
15870 return 0;
15872 _ACEOF
15873 rm -f conftest.$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_cxx_werror_flag"
15883 || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 glibcxx_cv_func_modff_use=yes
15896 else
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15900 glibcxx_cv_func_modff_use=no
15902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15903 ac_ext=c
15904 ac_cpp='$CPP $CPPFLAGS'
15905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15914 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15916 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15918 for ac_func in modff
15920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15921 echo "$as_me:$LINENO: checking for $ac_func" >&5
15922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15923 if eval "test \"\${$as_ac_var+set}\" = set"; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15926 if test x$gcc_no_link = xyes; then
15927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15929 { (exit 1); exit 1; }; }
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15939 #define $ac_func innocuous_$ac_func
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func (); below.
15943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15944 <limits.h> exists even on freestanding compilers. */
15946 #ifdef __STDC__
15947 # include <limits.h>
15948 #else
15949 # include <assert.h>
15950 #endif
15952 #undef $ac_func
15954 /* Override any gcc2 internal prototype to avoid an error. */
15955 #ifdef __cplusplus
15956 extern "C"
15958 #endif
15959 /* We use char because int might match the return type of a gcc2
15960 builtin and then its argument prototype would still apply. */
15961 char $ac_func ();
15962 /* The GNU C library defines this for functions which it implements
15963 to always fail with ENOSYS. Some functions are actually named
15964 something starting with __ and the normal name is an alias. */
15965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15966 choke me
15967 #else
15968 char (*f) () = $ac_func;
15969 #endif
15970 #ifdef __cplusplus
15972 #endif
15975 main ()
15977 return f != $ac_func;
15979 return 0;
15981 _ACEOF
15982 rm -f conftest.$ac_objext conftest$ac_exeext
15983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15984 (eval $ac_link) 2>conftest.er1
15985 ac_status=$?
15986 grep -v '^ *+' conftest.er1 >conftest.err
15987 rm -f conftest.er1
15988 cat conftest.err >&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } &&
15991 { ac_try='test -z "$ac_c_werror_flag"
15992 || test ! -s conftest.err'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; } &&
15998 { ac_try='test -s conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 eval "$as_ac_var=yes"
16005 else
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.$ac_ext >&5
16009 eval "$as_ac_var=no"
16011 rm -f conftest.err conftest.$ac_objext \
16012 conftest$ac_exeext conftest.$ac_ext
16014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16016 if test `eval echo '${'$as_ac_var'}'` = yes; then
16017 cat >>confdefs.h <<_ACEOF
16018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16019 _ACEOF
16022 done
16024 else
16026 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16027 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16028 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16029 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16035 ac_ext=cc
16036 ac_cpp='$CXXCPP $CPPFLAGS'
16037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16041 cat >conftest.$ac_ext <<_ACEOF
16042 /* confdefs.h. */
16043 _ACEOF
16044 cat confdefs.h >>conftest.$ac_ext
16045 cat >>conftest.$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16047 #include <math.h>
16049 main ()
16051 _modff(0, 0);
16053 return 0;
16055 _ACEOF
16056 rm -f conftest.$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058 (eval $ac_compile) 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try='test -z "$ac_cxx_werror_flag"
16066 || test ! -s conftest.err'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; } &&
16072 { ac_try='test -s conftest.$ac_objext'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; }; then
16078 glibcxx_cv_func__modff_use=yes
16079 else
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16083 glibcxx_cv_func__modff_use=no
16085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16086 ac_ext=c
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16097 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16099 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16101 for ac_func in _modff
16103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16104 echo "$as_me:$LINENO: checking for $ac_func" >&5
16105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16106 if eval "test \"\${$as_ac_var+set}\" = set"; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 if test x$gcc_no_link = xyes; then
16110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16112 { (exit 1); exit 1; }; }
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h. */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16122 #define $ac_func innocuous_$ac_func
16124 /* System header to define __stub macros and hopefully few prototypes,
16125 which can conflict with char $ac_func (); below.
16126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16127 <limits.h> exists even on freestanding compilers. */
16129 #ifdef __STDC__
16130 # include <limits.h>
16131 #else
16132 # include <assert.h>
16133 #endif
16135 #undef $ac_func
16137 /* Override any gcc2 internal prototype to avoid an error. */
16138 #ifdef __cplusplus
16139 extern "C"
16141 #endif
16142 /* We use char because int might match the return type of a gcc2
16143 builtin and then its argument prototype would still apply. */
16144 char $ac_func ();
16145 /* The GNU C library defines this for functions which it implements
16146 to always fail with ENOSYS. Some functions are actually named
16147 something starting with __ and the normal name is an alias. */
16148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16149 choke me
16150 #else
16151 char (*f) () = $ac_func;
16152 #endif
16153 #ifdef __cplusplus
16155 #endif
16158 main ()
16160 return f != $ac_func;
16162 return 0;
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16167 (eval $ac_link) 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -z "$ac_c_werror_flag"
16175 || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try='test -s conftest$ac_exeext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 eval "$as_ac_var=yes"
16188 else
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16192 eval "$as_ac_var=no"
16194 rm -f conftest.err conftest.$ac_objext \
16195 conftest$ac_exeext conftest.$ac_ext
16197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16199 if test `eval echo '${'$as_ac_var'}'` = yes; then
16200 cat >>confdefs.h <<_ACEOF
16201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16202 _ACEOF
16205 done
16212 echo "$as_me:$LINENO: checking for powf declaration" >&5
16213 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16214 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16215 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 else
16221 ac_ext=cc
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h. */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 #include <math.h>
16235 main ()
16237 powf(0, 0);
16239 return 0;
16241 _ACEOF
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16245 ac_status=$?
16246 grep -v '^ *+' conftest.er1 >conftest.err
16247 rm -f conftest.er1
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_cxx_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 glibcxx_cv_func_powf_use=yes
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 glibcxx_cv_func_powf_use=no
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 ac_ext=c
16273 ac_cpp='$CPP $CPPFLAGS'
16274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16283 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16285 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16287 for ac_func in powf
16289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16290 echo "$as_me:$LINENO: checking for $ac_func" >&5
16291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16292 if eval "test \"\${$as_ac_var+set}\" = set"; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 else
16295 if test x$gcc_no_link = xyes; then
16296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16298 { (exit 1); exit 1; }; }
16300 cat >conftest.$ac_ext <<_ACEOF
16301 /* confdefs.h. */
16302 _ACEOF
16303 cat confdefs.h >>conftest.$ac_ext
16304 cat >>conftest.$ac_ext <<_ACEOF
16305 /* end confdefs.h. */
16306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16308 #define $ac_func innocuous_$ac_func
16310 /* System header to define __stub macros and hopefully few prototypes,
16311 which can conflict with char $ac_func (); below.
16312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16313 <limits.h> exists even on freestanding compilers. */
16315 #ifdef __STDC__
16316 # include <limits.h>
16317 #else
16318 # include <assert.h>
16319 #endif
16321 #undef $ac_func
16323 /* Override any gcc2 internal prototype to avoid an error. */
16324 #ifdef __cplusplus
16325 extern "C"
16327 #endif
16328 /* We use char because int might match the return type of a gcc2
16329 builtin and then its argument prototype would still apply. */
16330 char $ac_func ();
16331 /* The GNU C library defines this for functions which it implements
16332 to always fail with ENOSYS. Some functions are actually named
16333 something starting with __ and the normal name is an alias. */
16334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16335 choke me
16336 #else
16337 char (*f) () = $ac_func;
16338 #endif
16339 #ifdef __cplusplus
16341 #endif
16344 main ()
16346 return f != $ac_func;
16348 return 0;
16350 _ACEOF
16351 rm -f conftest.$ac_objext conftest$ac_exeext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16353 (eval $ac_link) 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } &&
16360 { ac_try='test -z "$ac_c_werror_flag"
16361 || test ! -s conftest.err'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16364 ac_status=$?
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; } &&
16367 { ac_try='test -s conftest$ac_exeext'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; }; then
16373 eval "$as_ac_var=yes"
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16378 eval "$as_ac_var=no"
16380 rm -f conftest.err conftest.$ac_objext \
16381 conftest$ac_exeext conftest.$ac_ext
16383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16385 if test `eval echo '${'$as_ac_var'}'` = yes; then
16386 cat >>confdefs.h <<_ACEOF
16387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16388 _ACEOF
16391 done
16393 else
16395 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16396 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16397 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16398 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16404 ac_ext=cc
16405 ac_cpp='$CXXCPP $CPPFLAGS'
16406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16410 cat >conftest.$ac_ext <<_ACEOF
16411 /* confdefs.h. */
16412 _ACEOF
16413 cat confdefs.h >>conftest.$ac_ext
16414 cat >>conftest.$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 #include <math.h>
16418 main ()
16420 _powf(0, 0);
16422 return 0;
16424 _ACEOF
16425 rm -f conftest.$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try='test -z "$ac_cxx_werror_flag"
16435 || test ! -s conftest.err'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; } &&
16441 { ac_try='test -s conftest.$ac_objext'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16444 ac_status=$?
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; }; then
16447 glibcxx_cv_func__powf_use=yes
16448 else
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.$ac_ext >&5
16452 glibcxx_cv_func__powf_use=no
16454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16455 ac_ext=c
16456 ac_cpp='$CPP $CPPFLAGS'
16457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16465 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16466 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16468 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16470 for ac_func in _powf
16472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16473 echo "$as_me:$LINENO: checking for $ac_func" >&5
16474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16475 if eval "test \"\${$as_ac_var+set}\" = set"; then
16476 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 else
16478 if test x$gcc_no_link = xyes; then
16479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16481 { (exit 1); exit 1; }; }
16483 cat >conftest.$ac_ext <<_ACEOF
16484 /* confdefs.h. */
16485 _ACEOF
16486 cat confdefs.h >>conftest.$ac_ext
16487 cat >>conftest.$ac_ext <<_ACEOF
16488 /* end confdefs.h. */
16489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16491 #define $ac_func innocuous_$ac_func
16493 /* System header to define __stub macros and hopefully few prototypes,
16494 which can conflict with char $ac_func (); below.
16495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16496 <limits.h> exists even on freestanding compilers. */
16498 #ifdef __STDC__
16499 # include <limits.h>
16500 #else
16501 # include <assert.h>
16502 #endif
16504 #undef $ac_func
16506 /* Override any gcc2 internal prototype to avoid an error. */
16507 #ifdef __cplusplus
16508 extern "C"
16510 #endif
16511 /* We use char because int might match the return type of a gcc2
16512 builtin and then its argument prototype would still apply. */
16513 char $ac_func ();
16514 /* The GNU C library defines this for functions which it implements
16515 to always fail with ENOSYS. Some functions are actually named
16516 something starting with __ and the normal name is an alias. */
16517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16518 choke me
16519 #else
16520 char (*f) () = $ac_func;
16521 #endif
16522 #ifdef __cplusplus
16524 #endif
16527 main ()
16529 return f != $ac_func;
16531 return 0;
16533 _ACEOF
16534 rm -f conftest.$ac_objext conftest$ac_exeext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16536 (eval $ac_link) 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_c_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try='test -s conftest$ac_exeext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 eval "$as_ac_var=yes"
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16561 eval "$as_ac_var=no"
16563 rm -f conftest.err conftest.$ac_objext \
16564 conftest$ac_exeext conftest.$ac_ext
16566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16568 if test `eval echo '${'$as_ac_var'}'` = yes; then
16569 cat >>confdefs.h <<_ACEOF
16570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16571 _ACEOF
16574 done
16581 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16582 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16583 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16584 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16590 ac_ext=cc
16591 ac_cpp='$CXXCPP $CPPFLAGS'
16592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 #ifdef HAVE_IEEEFP_H
16604 #include <ieeefp.h>
16605 #endif
16608 main ()
16610 sqrtf(0);
16612 return 0;
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -z "$ac_cxx_werror_flag"
16625 || test ! -s conftest.err'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; } &&
16631 { ac_try='test -s conftest.$ac_objext'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16634 ac_status=$?
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; }; then
16637 glibcxx_cv_func_sqrtf_use=yes
16638 else
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16642 glibcxx_cv_func_sqrtf_use=no
16644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16645 ac_ext=c
16646 ac_cpp='$CPP $CPPFLAGS'
16647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16656 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16658 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16660 for ac_func in sqrtf
16662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16663 echo "$as_me:$LINENO: checking for $ac_func" >&5
16664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16665 if eval "test \"\${$as_ac_var+set}\" = set"; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 else
16668 if test x$gcc_no_link = xyes; then
16669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16671 { (exit 1); exit 1; }; }
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16681 #define $ac_func innocuous_$ac_func
16683 /* System header to define __stub macros and hopefully few prototypes,
16684 which can conflict with char $ac_func (); below.
16685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16686 <limits.h> exists even on freestanding compilers. */
16688 #ifdef __STDC__
16689 # include <limits.h>
16690 #else
16691 # include <assert.h>
16692 #endif
16694 #undef $ac_func
16696 /* Override any gcc2 internal prototype to avoid an error. */
16697 #ifdef __cplusplus
16698 extern "C"
16700 #endif
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16703 char $ac_func ();
16704 /* The GNU C library defines this for functions which it implements
16705 to always fail with ENOSYS. Some functions are actually named
16706 something starting with __ and the normal name is an alias. */
16707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16708 choke me
16709 #else
16710 char (*f) () = $ac_func;
16711 #endif
16712 #ifdef __cplusplus
16714 #endif
16717 main ()
16719 return f != $ac_func;
16721 return 0;
16723 _ACEOF
16724 rm -f conftest.$ac_objext conftest$ac_exeext
16725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16726 (eval $ac_link) 2>conftest.er1
16727 ac_status=$?
16728 grep -v '^ *+' conftest.er1 >conftest.err
16729 rm -f conftest.er1
16730 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } &&
16733 { ac_try='test -z "$ac_c_werror_flag"
16734 || test ! -s conftest.err'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; } &&
16740 { ac_try='test -s conftest$ac_exeext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 eval "$as_ac_var=yes"
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 eval "$as_ac_var=no"
16753 rm -f conftest.err conftest.$ac_objext \
16754 conftest$ac_exeext conftest.$ac_ext
16756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16758 if test `eval echo '${'$as_ac_var'}'` = yes; then
16759 cat >>confdefs.h <<_ACEOF
16760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16761 _ACEOF
16764 done
16766 else
16768 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16769 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16770 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16771 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 else
16777 ac_ext=cc
16778 ac_cpp='$CXXCPP $CPPFLAGS'
16779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 #include <math.h>
16790 #ifdef HAVE_IEEEFP_H
16791 #include <ieeefp.h>
16792 #endif
16795 main ()
16797 _sqrtf(0);
16799 return 0;
16801 _ACEOF
16802 rm -f conftest.$ac_objext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16804 (eval $ac_compile) 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try='test -z "$ac_cxx_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 glibcxx_cv_func__sqrtf_use=yes
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16829 glibcxx_cv_func__sqrtf_use=no
16831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16832 ac_ext=c
16833 ac_cpp='$CPP $CPPFLAGS'
16834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16843 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16845 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16847 for ac_func in _sqrtf
16849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16850 echo "$as_me:$LINENO: checking for $ac_func" >&5
16851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16852 if eval "test \"\${$as_ac_var+set}\" = set"; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 else
16855 if test x$gcc_no_link = xyes; then
16856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16858 { (exit 1); exit 1; }; }
16860 cat >conftest.$ac_ext <<_ACEOF
16861 /* confdefs.h. */
16862 _ACEOF
16863 cat confdefs.h >>conftest.$ac_ext
16864 cat >>conftest.$ac_ext <<_ACEOF
16865 /* end confdefs.h. */
16866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16868 #define $ac_func innocuous_$ac_func
16870 /* System header to define __stub macros and hopefully few prototypes,
16871 which can conflict with char $ac_func (); below.
16872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16873 <limits.h> exists even on freestanding compilers. */
16875 #ifdef __STDC__
16876 # include <limits.h>
16877 #else
16878 # include <assert.h>
16879 #endif
16881 #undef $ac_func
16883 /* Override any gcc2 internal prototype to avoid an error. */
16884 #ifdef __cplusplus
16885 extern "C"
16887 #endif
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16890 char $ac_func ();
16891 /* The GNU C library defines this for functions which it implements
16892 to always fail with ENOSYS. Some functions are actually named
16893 something starting with __ and the normal name is an alias. */
16894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16895 choke me
16896 #else
16897 char (*f) () = $ac_func;
16898 #endif
16899 #ifdef __cplusplus
16901 #endif
16904 main ()
16906 return f != $ac_func;
16908 return 0;
16910 _ACEOF
16911 rm -f conftest.$ac_objext conftest$ac_exeext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16913 (eval $ac_link) 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -z "$ac_c_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest$ac_exeext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 eval "$as_ac_var=yes"
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 eval "$as_ac_var=no"
16940 rm -f conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16945 if test `eval echo '${'$as_ac_var'}'` = yes; then
16946 cat >>confdefs.h <<_ACEOF
16947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16948 _ACEOF
16951 done
16958 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16959 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16960 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16961 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16967 ac_ext=cc
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 #include <math.h>
16981 main ()
16983 sincosf(0, 0, 0);
16985 return 0;
16987 _ACEOF
16988 rm -f conftest.$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16991 ac_status=$?
16992 grep -v '^ *+' conftest.er1 >conftest.err
16993 rm -f conftest.er1
16994 cat conftest.err >&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try='test -z "$ac_cxx_werror_flag"
16998 || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 glibcxx_cv_func_sincosf_use=yes
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 glibcxx_cv_func_sincosf_use=no
17017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17018 ac_ext=c
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17029 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17031 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17033 for ac_func in sincosf
17035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17036 echo "$as_me:$LINENO: checking for $ac_func" >&5
17037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17038 if eval "test \"\${$as_ac_var+set}\" = set"; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17041 if test x$gcc_no_link = xyes; then
17042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17044 { (exit 1); exit 1; }; }
17046 cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17054 #define $ac_func innocuous_$ac_func
17056 /* System header to define __stub macros and hopefully few prototypes,
17057 which can conflict with char $ac_func (); below.
17058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17059 <limits.h> exists even on freestanding compilers. */
17061 #ifdef __STDC__
17062 # include <limits.h>
17063 #else
17064 # include <assert.h>
17065 #endif
17067 #undef $ac_func
17069 /* Override any gcc2 internal prototype to avoid an error. */
17070 #ifdef __cplusplus
17071 extern "C"
17073 #endif
17074 /* We use char because int might match the return type of a gcc2
17075 builtin and then its argument prototype would still apply. */
17076 char $ac_func ();
17077 /* The GNU C library defines this for functions which it implements
17078 to always fail with ENOSYS. Some functions are actually named
17079 something starting with __ and the normal name is an alias. */
17080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17081 choke me
17082 #else
17083 char (*f) () = $ac_func;
17084 #endif
17085 #ifdef __cplusplus
17087 #endif
17090 main ()
17092 return f != $ac_func;
17094 return 0;
17096 _ACEOF
17097 rm -f conftest.$ac_objext conftest$ac_exeext
17098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17099 (eval $ac_link) 2>conftest.er1
17100 ac_status=$?
17101 grep -v '^ *+' conftest.er1 >conftest.err
17102 rm -f conftest.er1
17103 cat conftest.err >&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } &&
17106 { ac_try='test -z "$ac_c_werror_flag"
17107 || test ! -s conftest.err'
17108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17109 (eval $ac_try) 2>&5
17110 ac_status=$?
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); }; } &&
17113 { ac_try='test -s conftest$ac_exeext'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; }; then
17119 eval "$as_ac_var=yes"
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 eval "$as_ac_var=no"
17126 rm -f conftest.err conftest.$ac_objext \
17127 conftest$ac_exeext conftest.$ac_ext
17129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17131 if test `eval echo '${'$as_ac_var'}'` = yes; then
17132 cat >>confdefs.h <<_ACEOF
17133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17134 _ACEOF
17137 done
17139 else
17141 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17142 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17143 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17144 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17150 ac_ext=cc
17151 ac_cpp='$CXXCPP $CPPFLAGS'
17152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17156 cat >conftest.$ac_ext <<_ACEOF
17157 /* confdefs.h. */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 #include <math.h>
17164 main ()
17166 _sincosf(0, 0, 0);
17168 return 0;
17170 _ACEOF
17171 rm -f conftest.$ac_objext
17172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17173 (eval $ac_compile) 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } &&
17180 { ac_try='test -z "$ac_cxx_werror_flag"
17181 || test ! -s conftest.err'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17184 ac_status=$?
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; } &&
17187 { ac_try='test -s conftest.$ac_objext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 glibcxx_cv_func__sincosf_use=yes
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17198 glibcxx_cv_func__sincosf_use=no
17200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17201 ac_ext=c
17202 ac_cpp='$CPP $CPPFLAGS'
17203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17212 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17214 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17216 for ac_func in _sincosf
17218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17219 echo "$as_me:$LINENO: checking for $ac_func" >&5
17220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17221 if eval "test \"\${$as_ac_var+set}\" = set"; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224 if test x$gcc_no_link = xyes; then
17225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17227 { (exit 1); exit 1; }; }
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h. */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17237 #define $ac_func innocuous_$ac_func
17239 /* System header to define __stub macros and hopefully few prototypes,
17240 which can conflict with char $ac_func (); below.
17241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17242 <limits.h> exists even on freestanding compilers. */
17244 #ifdef __STDC__
17245 # include <limits.h>
17246 #else
17247 # include <assert.h>
17248 #endif
17250 #undef $ac_func
17252 /* Override any gcc2 internal prototype to avoid an error. */
17253 #ifdef __cplusplus
17254 extern "C"
17256 #endif
17257 /* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17259 char $ac_func ();
17260 /* The GNU C library defines this for functions which it implements
17261 to always fail with ENOSYS. Some functions are actually named
17262 something starting with __ and the normal name is an alias. */
17263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17264 choke me
17265 #else
17266 char (*f) () = $ac_func;
17267 #endif
17268 #ifdef __cplusplus
17270 #endif
17273 main ()
17275 return f != $ac_func;
17277 return 0;
17279 _ACEOF
17280 rm -f conftest.$ac_objext conftest$ac_exeext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17282 (eval $ac_link) 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try='test -z "$ac_c_werror_flag"
17290 || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest$ac_exeext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 eval "$as_ac_var=yes"
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 eval "$as_ac_var=no"
17309 rm -f conftest.err conftest.$ac_objext \
17310 conftest$ac_exeext conftest.$ac_ext
17312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17314 if test `eval echo '${'$as_ac_var'}'` = yes; then
17315 cat >>confdefs.h <<_ACEOF
17316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17317 _ACEOF
17320 done
17327 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17328 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17329 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17330 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17336 ac_ext=cc
17337 ac_cpp='$CXXCPP $CPPFLAGS'
17338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17342 cat >conftest.$ac_ext <<_ACEOF
17343 /* confdefs.h. */
17344 _ACEOF
17345 cat confdefs.h >>conftest.$ac_ext
17346 cat >>conftest.$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 #include <math.h>
17349 #ifdef HAVE_IEEEFP_H
17350 #include <ieeefp.h>
17351 #endif
17354 main ()
17356 finitef(0);
17358 return 0;
17360 _ACEOF
17361 rm -f conftest.$ac_objext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17363 (eval $ac_compile) 2>conftest.er1
17364 ac_status=$?
17365 grep -v '^ *+' conftest.er1 >conftest.err
17366 rm -f conftest.er1
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try='test -z "$ac_cxx_werror_flag"
17371 || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 glibcxx_cv_func_finitef_use=yes
17384 else
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17388 glibcxx_cv_func_finitef_use=no
17390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17391 ac_ext=c
17392 ac_cpp='$CPP $CPPFLAGS'
17393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17402 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17404 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17406 for ac_func in finitef
17408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17409 echo "$as_me:$LINENO: checking for $ac_func" >&5
17410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17411 if eval "test \"\${$as_ac_var+set}\" = set"; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 if test x$gcc_no_link = xyes; then
17415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17417 { (exit 1); exit 1; }; }
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17427 #define $ac_func innocuous_$ac_func
17429 /* System header to define __stub macros and hopefully few prototypes,
17430 which can conflict with char $ac_func (); below.
17431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17432 <limits.h> exists even on freestanding compilers. */
17434 #ifdef __STDC__
17435 # include <limits.h>
17436 #else
17437 # include <assert.h>
17438 #endif
17440 #undef $ac_func
17442 /* Override any gcc2 internal prototype to avoid an error. */
17443 #ifdef __cplusplus
17444 extern "C"
17446 #endif
17447 /* We use char because int might match the return type of a gcc2
17448 builtin and then its argument prototype would still apply. */
17449 char $ac_func ();
17450 /* The GNU C library defines this for functions which it implements
17451 to always fail with ENOSYS. Some functions are actually named
17452 something starting with __ and the normal name is an alias. */
17453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17454 choke me
17455 #else
17456 char (*f) () = $ac_func;
17457 #endif
17458 #ifdef __cplusplus
17460 #endif
17463 main ()
17465 return f != $ac_func;
17467 return 0;
17469 _ACEOF
17470 rm -f conftest.$ac_objext conftest$ac_exeext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17472 (eval $ac_link) 2>conftest.er1
17473 ac_status=$?
17474 grep -v '^ *+' conftest.er1 >conftest.err
17475 rm -f conftest.er1
17476 cat conftest.err >&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try='test -z "$ac_c_werror_flag"
17480 || test ! -s conftest.err'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; } &&
17486 { ac_try='test -s conftest$ac_exeext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17492 eval "$as_ac_var=yes"
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17497 eval "$as_ac_var=no"
17499 rm -f conftest.err conftest.$ac_objext \
17500 conftest$ac_exeext conftest.$ac_ext
17502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17504 if test `eval echo '${'$as_ac_var'}'` = yes; then
17505 cat >>confdefs.h <<_ACEOF
17506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17507 _ACEOF
17510 done
17512 else
17514 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17515 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17516 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17517 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17518 echo $ECHO_N "(cached) $ECHO_C" >&6
17519 else
17523 ac_ext=cc
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h. */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #include <math.h>
17536 #ifdef HAVE_IEEEFP_H
17537 #include <ieeefp.h>
17538 #endif
17541 main ()
17543 _finitef(0);
17545 return 0;
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17550 (eval $ac_compile) 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } &&
17557 { ac_try='test -z "$ac_cxx_werror_flag"
17558 || test ! -s conftest.err'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; } &&
17564 { ac_try='test -s conftest.$ac_objext'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; }; then
17570 glibcxx_cv_func__finitef_use=yes
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17575 glibcxx_cv_func__finitef_use=no
17577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17578 ac_ext=c
17579 ac_cpp='$CPP $CPPFLAGS'
17580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17589 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17591 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17593 for ac_func in _finitef
17595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17596 echo "$as_me:$LINENO: checking for $ac_func" >&5
17597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17598 if eval "test \"\${$as_ac_var+set}\" = set"; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601 if test x$gcc_no_link = xyes; then
17602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17604 { (exit 1); exit 1; }; }
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h. */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17614 #define $ac_func innocuous_$ac_func
17616 /* System header to define __stub macros and hopefully few prototypes,
17617 which can conflict with char $ac_func (); below.
17618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17619 <limits.h> exists even on freestanding compilers. */
17621 #ifdef __STDC__
17622 # include <limits.h>
17623 #else
17624 # include <assert.h>
17625 #endif
17627 #undef $ac_func
17629 /* Override any gcc2 internal prototype to avoid an error. */
17630 #ifdef __cplusplus
17631 extern "C"
17633 #endif
17634 /* We use char because int might match the return type of a gcc2
17635 builtin and then its argument prototype would still apply. */
17636 char $ac_func ();
17637 /* The GNU C library defines this for functions which it implements
17638 to always fail with ENOSYS. Some functions are actually named
17639 something starting with __ and the normal name is an alias. */
17640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17641 choke me
17642 #else
17643 char (*f) () = $ac_func;
17644 #endif
17645 #ifdef __cplusplus
17647 #endif
17650 main ()
17652 return f != $ac_func;
17654 return 0;
17656 _ACEOF
17657 rm -f conftest.$ac_objext conftest$ac_exeext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17659 (eval $ac_link) 2>conftest.er1
17660 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try='test -z "$ac_c_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17670 ac_status=$?
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try='test -s conftest$ac_exeext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 eval "$as_ac_var=yes"
17680 else
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17684 eval "$as_ac_var=no"
17686 rm -f conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17691 if test `eval echo '${'$as_ac_var'}'` = yes; then
17692 cat >>confdefs.h <<_ACEOF
17693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17694 _ACEOF
17697 done
17704 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17705 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17706 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 else
17712 ac_ext=cc
17713 ac_cpp='$CXXCPP $CPPFLAGS'
17714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 #include <math.h>
17726 main ()
17728 `for x in acosl asinl atanl \
17729 cosl sinl tanl \
17730 coshl sinhl tanhl; do echo "$x (0);"; done`
17732 return 0;
17734 _ACEOF
17735 rm -f conftest.$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17738 ac_status=$?
17739 grep -v '^ *+' conftest.er1 >conftest.err
17740 rm -f conftest.er1
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try='test -z "$ac_cxx_werror_flag"
17745 || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 glibcxx_cv_func_long_double_trig_use=yes
17758 else
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17762 glibcxx_cv_func_long_double_trig_use=no
17764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17765 ac_ext=c
17766 ac_cpp='$CPP $CPPFLAGS'
17767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17774 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17775 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17785 for ac_func in acosl asinl atanl \
17786 cosl sinl tanl \
17787 coshl sinhl tanhl
17789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17790 echo "$as_me:$LINENO: checking for $ac_func" >&5
17791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17792 if eval "test \"\${$as_ac_var+set}\" = set"; then
17793 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 else
17795 if test x$gcc_no_link = xyes; then
17796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17798 { (exit 1); exit 1; }; }
17800 cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h. */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17808 #define $ac_func innocuous_$ac_func
17810 /* System header to define __stub macros and hopefully few prototypes,
17811 which can conflict with char $ac_func (); below.
17812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17813 <limits.h> exists even on freestanding compilers. */
17815 #ifdef __STDC__
17816 # include <limits.h>
17817 #else
17818 # include <assert.h>
17819 #endif
17821 #undef $ac_func
17823 /* Override any gcc2 internal prototype to avoid an error. */
17824 #ifdef __cplusplus
17825 extern "C"
17827 #endif
17828 /* We use char because int might match the return type of a gcc2
17829 builtin and then its argument prototype would still apply. */
17830 char $ac_func ();
17831 /* The GNU C library defines this for functions which it implements
17832 to always fail with ENOSYS. Some functions are actually named
17833 something starting with __ and the normal name is an alias. */
17834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17835 choke me
17836 #else
17837 char (*f) () = $ac_func;
17838 #endif
17839 #ifdef __cplusplus
17841 #endif
17844 main ()
17846 return f != $ac_func;
17848 return 0;
17850 _ACEOF
17851 rm -f conftest.$ac_objext conftest$ac_exeext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17853 (eval $ac_link) 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try='test -z "$ac_c_werror_flag"
17861 || test ! -s conftest.err'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; } &&
17867 { ac_try='test -s conftest$ac_exeext'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; }; then
17873 eval "$as_ac_var=yes"
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17878 eval "$as_ac_var=no"
17880 rm -f conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17885 if test `eval echo '${'$as_ac_var'}'` = yes; then
17886 cat >>confdefs.h <<_ACEOF
17887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17888 _ACEOF
17891 done
17896 echo "$as_me:$LINENO: checking for long double round functions" >&5
17897 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17898 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17899 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 else
17904 ac_ext=cc
17905 ac_cpp='$CXXCPP $CPPFLAGS'
17906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 #include <math.h>
17918 main ()
17920 `for x in ceill floorl; do echo "$x (0);"; done`
17922 return 0;
17924 _ACEOF
17925 rm -f conftest.$ac_objext
17926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 (eval $ac_compile) 2>conftest.er1
17928 ac_status=$?
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
17934 { ac_try='test -z "$ac_cxx_werror_flag"
17935 || test ! -s conftest.err'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 glibcxx_cv_func_long_double_round_use=yes
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17952 glibcxx_cv_func_long_double_round_use=no
17954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17955 ac_ext=c
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17964 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17965 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17968 for ac_func in ceill floorl
17970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17971 echo "$as_me:$LINENO: checking for $ac_func" >&5
17972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17973 if eval "test \"\${$as_ac_var+set}\" = set"; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976 if test x$gcc_no_link = xyes; then
17977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17979 { (exit 1); exit 1; }; }
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17989 #define $ac_func innocuous_$ac_func
17991 /* System header to define __stub macros and hopefully few prototypes,
17992 which can conflict with char $ac_func (); below.
17993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17994 <limits.h> exists even on freestanding compilers. */
17996 #ifdef __STDC__
17997 # include <limits.h>
17998 #else
17999 # include <assert.h>
18000 #endif
18002 #undef $ac_func
18004 /* Override any gcc2 internal prototype to avoid an error. */
18005 #ifdef __cplusplus
18006 extern "C"
18008 #endif
18009 /* We use char because int might match the return type of a gcc2
18010 builtin and then its argument prototype would still apply. */
18011 char $ac_func ();
18012 /* The GNU C library defines this for functions which it implements
18013 to always fail with ENOSYS. Some functions are actually named
18014 something starting with __ and the normal name is an alias. */
18015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18016 choke me
18017 #else
18018 char (*f) () = $ac_func;
18019 #endif
18020 #ifdef __cplusplus
18022 #endif
18025 main ()
18027 return f != $ac_func;
18029 return 0;
18031 _ACEOF
18032 rm -f conftest.$ac_objext conftest$ac_exeext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034 (eval $ac_link) 2>conftest.er1
18035 ac_status=$?
18036 grep -v '^ *+' conftest.er1 >conftest.err
18037 rm -f conftest.er1
18038 cat conftest.err >&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18045 ac_status=$?
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try='test -s conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18051 ac_status=$?
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 eval "$as_ac_var=yes"
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 eval "$as_ac_var=no"
18061 rm -f conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18066 if test `eval echo '${'$as_ac_var'}'` = yes; then
18067 cat >>confdefs.h <<_ACEOF
18068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18069 _ACEOF
18072 done
18078 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18079 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18080 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18081 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 else
18087 ac_ext=cc
18088 ac_cpp='$CXXCPP $CPPFLAGS'
18089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 #include <math.h>
18100 #ifdef HAVE_IEEEFP_H
18101 #include <ieeefp.h>
18102 #endif
18105 main ()
18107 isnanl(0);
18109 return 0;
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18114 (eval $ac_compile) 2>conftest.er1
18115 ac_status=$?
18116 grep -v '^ *+' conftest.er1 >conftest.err
18117 rm -f conftest.er1
18118 cat conftest.err >&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } &&
18121 { ac_try='test -z "$ac_cxx_werror_flag"
18122 || test ! -s conftest.err'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; } &&
18128 { ac_try='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 glibcxx_cv_func_isnanl_use=yes
18135 else
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18139 glibcxx_cv_func_isnanl_use=no
18141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18142 ac_ext=c
18143 ac_cpp='$CPP $CPPFLAGS'
18144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18153 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18155 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18157 for ac_func in isnanl
18159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18160 echo "$as_me:$LINENO: checking for $ac_func" >&5
18161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18162 if eval "test \"\${$as_ac_var+set}\" = set"; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165 if test x$gcc_no_link = xyes; then
18166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.$ac_ext <<_ACEOF
18171 /* confdefs.h. */
18172 _ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18178 #define $ac_func innocuous_$ac_func
18180 /* System header to define __stub macros and hopefully few prototypes,
18181 which can conflict with char $ac_func (); below.
18182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18183 <limits.h> exists even on freestanding compilers. */
18185 #ifdef __STDC__
18186 # include <limits.h>
18187 #else
18188 # include <assert.h>
18189 #endif
18191 #undef $ac_func
18193 /* Override any gcc2 internal prototype to avoid an error. */
18194 #ifdef __cplusplus
18195 extern "C"
18197 #endif
18198 /* We use char because int might match the return type of a gcc2
18199 builtin and then its argument prototype would still apply. */
18200 char $ac_func ();
18201 /* The GNU C library defines this for functions which it implements
18202 to always fail with ENOSYS. Some functions are actually named
18203 something starting with __ and the normal name is an alias. */
18204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18205 choke me
18206 #else
18207 char (*f) () = $ac_func;
18208 #endif
18209 #ifdef __cplusplus
18211 #endif
18214 main ()
18216 return f != $ac_func;
18218 return 0;
18220 _ACEOF
18221 rm -f conftest.$ac_objext conftest$ac_exeext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18223 (eval $ac_link) 2>conftest.er1
18224 ac_status=$?
18225 grep -v '^ *+' conftest.er1 >conftest.err
18226 rm -f conftest.er1
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try='test -z "$ac_c_werror_flag"
18231 || test ! -s conftest.err'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try='test -s conftest$ac_exeext'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18240 ac_status=$?
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 eval "$as_ac_var=yes"
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 eval "$as_ac_var=no"
18250 rm -f conftest.err conftest.$ac_objext \
18251 conftest$ac_exeext conftest.$ac_ext
18253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18255 if test `eval echo '${'$as_ac_var'}'` = yes; then
18256 cat >>confdefs.h <<_ACEOF
18257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18258 _ACEOF
18261 done
18263 else
18265 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18266 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18267 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18268 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18269 echo $ECHO_N "(cached) $ECHO_C" >&6
18270 else
18274 ac_ext=cc
18275 ac_cpp='$CXXCPP $CPPFLAGS'
18276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 #include <math.h>
18287 #ifdef HAVE_IEEEFP_H
18288 #include <ieeefp.h>
18289 #endif
18292 main ()
18294 _isnanl(0);
18296 return 0;
18298 _ACEOF
18299 rm -f conftest.$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try='test -z "$ac_cxx_werror_flag"
18309 || test ! -s conftest.err'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18312 ac_status=$?
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; } &&
18315 { ac_try='test -s conftest.$ac_objext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 glibcxx_cv_func__isnanl_use=yes
18322 else
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18326 glibcxx_cv_func__isnanl_use=no
18328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18329 ac_ext=c
18330 ac_cpp='$CPP $CPPFLAGS'
18331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18340 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18342 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18344 for ac_func in _isnanl
18346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18347 echo "$as_me:$LINENO: checking for $ac_func" >&5
18348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18349 if eval "test \"\${$as_ac_var+set}\" = set"; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352 if test x$gcc_no_link = xyes; then
18353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18355 { (exit 1); exit 1; }; }
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18365 #define $ac_func innocuous_$ac_func
18367 /* System header to define __stub macros and hopefully few prototypes,
18368 which can conflict with char $ac_func (); below.
18369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18370 <limits.h> exists even on freestanding compilers. */
18372 #ifdef __STDC__
18373 # include <limits.h>
18374 #else
18375 # include <assert.h>
18376 #endif
18378 #undef $ac_func
18380 /* Override any gcc2 internal prototype to avoid an error. */
18381 #ifdef __cplusplus
18382 extern "C"
18384 #endif
18385 /* We use char because int might match the return type of a gcc2
18386 builtin and then its argument prototype would still apply. */
18387 char $ac_func ();
18388 /* The GNU C library defines this for functions which it implements
18389 to always fail with ENOSYS. Some functions are actually named
18390 something starting with __ and the normal name is an alias. */
18391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18392 choke me
18393 #else
18394 char (*f) () = $ac_func;
18395 #endif
18396 #ifdef __cplusplus
18398 #endif
18401 main ()
18403 return f != $ac_func;
18405 return 0;
18407 _ACEOF
18408 rm -f conftest.$ac_objext conftest$ac_exeext
18409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18410 (eval $ac_link) 2>conftest.er1
18411 ac_status=$?
18412 grep -v '^ *+' conftest.er1 >conftest.err
18413 rm -f conftest.er1
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try='test -z "$ac_c_werror_flag"
18418 || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try='test -s conftest$ac_exeext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 eval "$as_ac_var=yes"
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 eval "$as_ac_var=no"
18437 rm -f conftest.err conftest.$ac_objext \
18438 conftest$ac_exeext conftest.$ac_ext
18440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18442 if test `eval echo '${'$as_ac_var'}'` = yes; then
18443 cat >>confdefs.h <<_ACEOF
18444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18445 _ACEOF
18448 done
18455 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18456 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18457 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18458 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 else
18464 ac_ext=cc
18465 ac_cpp='$CXXCPP $CPPFLAGS'
18466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <math.h>
18477 #ifdef HAVE_IEEEFP_H
18478 #include <ieeefp.h>
18479 #endif
18482 main ()
18484 isinfl(0);
18486 return 0;
18488 _ACEOF
18489 rm -f conftest.$ac_objext
18490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18491 (eval $ac_compile) 2>conftest.er1
18492 ac_status=$?
18493 grep -v '^ *+' conftest.er1 >conftest.err
18494 rm -f conftest.er1
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } &&
18498 { ac_try='test -z "$ac_cxx_werror_flag"
18499 || test ! -s conftest.err'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; } &&
18505 { ac_try='test -s conftest.$ac_objext'
18506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18507 (eval $ac_try) 2>&5
18508 ac_status=$?
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); }; }; then
18511 glibcxx_cv_func_isinfl_use=yes
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 glibcxx_cv_func_isinfl_use=no
18518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18519 ac_ext=c
18520 ac_cpp='$CPP $CPPFLAGS'
18521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18530 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18532 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18534 for ac_func in isinfl
18536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18537 echo "$as_me:$LINENO: checking for $ac_func" >&5
18538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18539 if eval "test \"\${$as_ac_var+set}\" = set"; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 else
18542 if test x$gcc_no_link = xyes; then
18543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18545 { (exit 1); exit 1; }; }
18547 cat >conftest.$ac_ext <<_ACEOF
18548 /* confdefs.h. */
18549 _ACEOF
18550 cat confdefs.h >>conftest.$ac_ext
18551 cat >>conftest.$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18555 #define $ac_func innocuous_$ac_func
18557 /* System header to define __stub macros and hopefully few prototypes,
18558 which can conflict with char $ac_func (); below.
18559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18560 <limits.h> exists even on freestanding compilers. */
18562 #ifdef __STDC__
18563 # include <limits.h>
18564 #else
18565 # include <assert.h>
18566 #endif
18568 #undef $ac_func
18570 /* Override any gcc2 internal prototype to avoid an error. */
18571 #ifdef __cplusplus
18572 extern "C"
18574 #endif
18575 /* We use char because int might match the return type of a gcc2
18576 builtin and then its argument prototype would still apply. */
18577 char $ac_func ();
18578 /* The GNU C library defines this for functions which it implements
18579 to always fail with ENOSYS. Some functions are actually named
18580 something starting with __ and the normal name is an alias. */
18581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18582 choke me
18583 #else
18584 char (*f) () = $ac_func;
18585 #endif
18586 #ifdef __cplusplus
18588 #endif
18591 main ()
18593 return f != $ac_func;
18595 return 0;
18597 _ACEOF
18598 rm -f conftest.$ac_objext conftest$ac_exeext
18599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18600 (eval $ac_link) 2>conftest.er1
18601 ac_status=$?
18602 grep -v '^ *+' conftest.er1 >conftest.err
18603 rm -f conftest.er1
18604 cat conftest.err >&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try='test -z "$ac_c_werror_flag"
18608 || test ! -s conftest.err'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18611 ac_status=$?
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; } &&
18614 { ac_try='test -s conftest$ac_exeext'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18620 eval "$as_ac_var=yes"
18621 else
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.$ac_ext >&5
18625 eval "$as_ac_var=no"
18627 rm -f conftest.err conftest.$ac_objext \
18628 conftest$ac_exeext conftest.$ac_ext
18630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18632 if test `eval echo '${'$as_ac_var'}'` = yes; then
18633 cat >>confdefs.h <<_ACEOF
18634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18635 _ACEOF
18638 done
18640 else
18642 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18643 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18644 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18645 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18651 ac_ext=cc
18652 ac_cpp='$CXXCPP $CPPFLAGS'
18653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 #include <math.h>
18664 #ifdef HAVE_IEEEFP_H
18665 #include <ieeefp.h>
18666 #endif
18669 main ()
18671 _isinfl(0);
18673 return 0;
18675 _ACEOF
18676 rm -f conftest.$ac_objext
18677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18678 (eval $ac_compile) 2>conftest.er1
18679 ac_status=$?
18680 grep -v '^ *+' conftest.er1 >conftest.err
18681 rm -f conftest.er1
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try='test -z "$ac_cxx_werror_flag"
18686 || test ! -s conftest.err'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; } &&
18692 { ac_try='test -s conftest.$ac_objext'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; }; then
18698 glibcxx_cv_func__isinfl_use=yes
18699 else
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18703 glibcxx_cv_func__isinfl_use=no
18705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18706 ac_ext=c
18707 ac_cpp='$CPP $CPPFLAGS'
18708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18717 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18719 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18721 for ac_func in _isinfl
18723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18724 echo "$as_me:$LINENO: checking for $ac_func" >&5
18725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18726 if eval "test \"\${$as_ac_var+set}\" = set"; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 else
18729 if test x$gcc_no_link = xyes; then
18730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732 { (exit 1); exit 1; }; }
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h. */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18742 #define $ac_func innocuous_$ac_func
18744 /* System header to define __stub macros and hopefully few prototypes,
18745 which can conflict with char $ac_func (); below.
18746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18747 <limits.h> exists even on freestanding compilers. */
18749 #ifdef __STDC__
18750 # include <limits.h>
18751 #else
18752 # include <assert.h>
18753 #endif
18755 #undef $ac_func
18757 /* Override any gcc2 internal prototype to avoid an error. */
18758 #ifdef __cplusplus
18759 extern "C"
18761 #endif
18762 /* We use char because int might match the return type of a gcc2
18763 builtin and then its argument prototype would still apply. */
18764 char $ac_func ();
18765 /* The GNU C library defines this for functions which it implements
18766 to always fail with ENOSYS. Some functions are actually named
18767 something starting with __ and the normal name is an alias. */
18768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18769 choke me
18770 #else
18771 char (*f) () = $ac_func;
18772 #endif
18773 #ifdef __cplusplus
18775 #endif
18778 main ()
18780 return f != $ac_func;
18782 return 0;
18784 _ACEOF
18785 rm -f conftest.$ac_objext conftest$ac_exeext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18787 (eval $ac_link) 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try='test -z "$ac_c_werror_flag"
18795 || test ! -s conftest.err'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; } &&
18801 { ac_try='test -s conftest$ac_exeext'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; }; then
18807 eval "$as_ac_var=yes"
18808 else
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18812 eval "$as_ac_var=no"
18814 rm -f conftest.err conftest.$ac_objext \
18815 conftest$ac_exeext conftest.$ac_ext
18817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18819 if test `eval echo '${'$as_ac_var'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18822 _ACEOF
18825 done
18832 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18833 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18834 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18835 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 else
18841 ac_ext=cc
18842 ac_cpp='$CXXCPP $CPPFLAGS'
18843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18847 cat >conftest.$ac_ext <<_ACEOF
18848 /* confdefs.h. */
18849 _ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <math.h>
18855 main ()
18857 copysignl(0, 0);
18859 return 0;
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18865 ac_status=$?
18866 grep -v '^ *+' conftest.er1 >conftest.err
18867 rm -f conftest.er1
18868 cat conftest.err >&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try='test -z "$ac_cxx_werror_flag"
18872 || test ! -s conftest.err'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18875 ac_status=$?
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; } &&
18878 { ac_try='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18881 ac_status=$?
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 glibcxx_cv_func_copysignl_use=yes
18885 else
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18889 glibcxx_cv_func_copysignl_use=no
18891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18892 ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18903 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18905 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18907 for ac_func in copysignl
18909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18910 echo "$as_me:$LINENO: checking for $ac_func" >&5
18911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18912 if eval "test \"\${$as_ac_var+set}\" = set"; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 else
18915 if test x$gcc_no_link = xyes; then
18916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18918 { (exit 1); exit 1; }; }
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18928 #define $ac_func innocuous_$ac_func
18930 /* System header to define __stub macros and hopefully few prototypes,
18931 which can conflict with char $ac_func (); below.
18932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18933 <limits.h> exists even on freestanding compilers. */
18935 #ifdef __STDC__
18936 # include <limits.h>
18937 #else
18938 # include <assert.h>
18939 #endif
18941 #undef $ac_func
18943 /* Override any gcc2 internal prototype to avoid an error. */
18944 #ifdef __cplusplus
18945 extern "C"
18947 #endif
18948 /* We use char because int might match the return type of a gcc2
18949 builtin and then its argument prototype would still apply. */
18950 char $ac_func ();
18951 /* The GNU C library defines this for functions which it implements
18952 to always fail with ENOSYS. Some functions are actually named
18953 something starting with __ and the normal name is an alias. */
18954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18955 choke me
18956 #else
18957 char (*f) () = $ac_func;
18958 #endif
18959 #ifdef __cplusplus
18961 #endif
18964 main ()
18966 return f != $ac_func;
18968 return 0;
18970 _ACEOF
18971 rm -f conftest.$ac_objext conftest$ac_exeext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18973 (eval $ac_link) 2>conftest.er1
18974 ac_status=$?
18975 grep -v '^ *+' conftest.er1 >conftest.err
18976 rm -f conftest.er1
18977 cat conftest.err >&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18984 ac_status=$?
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try='test -s conftest$ac_exeext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 eval "$as_ac_var=yes"
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18998 eval "$as_ac_var=no"
19000 rm -f conftest.err conftest.$ac_objext \
19001 conftest$ac_exeext conftest.$ac_ext
19003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19005 if test `eval echo '${'$as_ac_var'}'` = yes; then
19006 cat >>confdefs.h <<_ACEOF
19007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19008 _ACEOF
19011 done
19013 else
19015 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19016 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19017 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19018 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 else
19024 ac_ext=cc
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 #include <math.h>
19038 main ()
19040 _copysignl(0, 0);
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19047 (eval $ac_compile) 2>conftest.er1
19048 ac_status=$?
19049 grep -v '^ *+' conftest.er1 >conftest.err
19050 rm -f conftest.er1
19051 cat conftest.err >&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); } &&
19054 { ac_try='test -z "$ac_cxx_werror_flag"
19055 || test ! -s conftest.err'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; } &&
19061 { ac_try='test -s conftest.$ac_objext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 glibcxx_cv_func__copysignl_use=yes
19068 else
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19072 glibcxx_cv_func__copysignl_use=no
19074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19075 ac_ext=c
19076 ac_cpp='$CPP $CPPFLAGS'
19077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19085 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19086 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19088 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19090 for ac_func in _copysignl
19092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19093 echo "$as_me:$LINENO: checking for $ac_func" >&5
19094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19095 if eval "test \"\${$as_ac_var+set}\" = set"; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 else
19098 if test x$gcc_no_link = xyes; then
19099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19101 { (exit 1); exit 1; }; }
19103 cat >conftest.$ac_ext <<_ACEOF
19104 /* confdefs.h. */
19105 _ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19111 #define $ac_func innocuous_$ac_func
19113 /* System header to define __stub macros and hopefully few prototypes,
19114 which can conflict with char $ac_func (); below.
19115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19116 <limits.h> exists even on freestanding compilers. */
19118 #ifdef __STDC__
19119 # include <limits.h>
19120 #else
19121 # include <assert.h>
19122 #endif
19124 #undef $ac_func
19126 /* Override any gcc2 internal prototype to avoid an error. */
19127 #ifdef __cplusplus
19128 extern "C"
19130 #endif
19131 /* We use char because int might match the return type of a gcc2
19132 builtin and then its argument prototype would still apply. */
19133 char $ac_func ();
19134 /* The GNU C library defines this for functions which it implements
19135 to always fail with ENOSYS. Some functions are actually named
19136 something starting with __ and the normal name is an alias. */
19137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19138 choke me
19139 #else
19140 char (*f) () = $ac_func;
19141 #endif
19142 #ifdef __cplusplus
19144 #endif
19147 main ()
19149 return f != $ac_func;
19151 return 0;
19153 _ACEOF
19154 rm -f conftest.$ac_objext conftest$ac_exeext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19156 (eval $ac_link) 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try='test -z "$ac_c_werror_flag"
19164 || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19167 ac_status=$?
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try='test -s conftest$ac_exeext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 eval "$as_ac_var=yes"
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19181 eval "$as_ac_var=no"
19183 rm -f conftest.err conftest.$ac_objext \
19184 conftest$ac_exeext conftest.$ac_ext
19186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19188 if test `eval echo '${'$as_ac_var'}'` = yes; then
19189 cat >>confdefs.h <<_ACEOF
19190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19191 _ACEOF
19194 done
19201 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19202 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19203 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19204 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 else
19210 ac_ext=cc
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19216 cat >conftest.$ac_ext <<_ACEOF
19217 /* confdefs.h. */
19218 _ACEOF
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19222 #include <math.h>
19224 main ()
19226 atan2l(0, 0);
19228 return 0;
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_cxx_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19250 ac_status=$?
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 glibcxx_cv_func_atan2l_use=yes
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 glibcxx_cv_func_atan2l_use=no
19260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19261 ac_ext=c
19262 ac_cpp='$CPP $CPPFLAGS'
19263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19272 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19274 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19276 for ac_func in atan2l
19278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19279 echo "$as_me:$LINENO: checking for $ac_func" >&5
19280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19281 if eval "test \"\${$as_ac_var+set}\" = set"; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 else
19284 if test x$gcc_no_link = xyes; then
19285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19287 { (exit 1); exit 1; }; }
19289 cat >conftest.$ac_ext <<_ACEOF
19290 /* confdefs.h. */
19291 _ACEOF
19292 cat confdefs.h >>conftest.$ac_ext
19293 cat >>conftest.$ac_ext <<_ACEOF
19294 /* end confdefs.h. */
19295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19297 #define $ac_func innocuous_$ac_func
19299 /* System header to define __stub macros and hopefully few prototypes,
19300 which can conflict with char $ac_func (); below.
19301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19302 <limits.h> exists even on freestanding compilers. */
19304 #ifdef __STDC__
19305 # include <limits.h>
19306 #else
19307 # include <assert.h>
19308 #endif
19310 #undef $ac_func
19312 /* Override any gcc2 internal prototype to avoid an error. */
19313 #ifdef __cplusplus
19314 extern "C"
19316 #endif
19317 /* We use char because int might match the return type of a gcc2
19318 builtin and then its argument prototype would still apply. */
19319 char $ac_func ();
19320 /* The GNU C library defines this for functions which it implements
19321 to always fail with ENOSYS. Some functions are actually named
19322 something starting with __ and the normal name is an alias. */
19323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19324 choke me
19325 #else
19326 char (*f) () = $ac_func;
19327 #endif
19328 #ifdef __cplusplus
19330 #endif
19333 main ()
19335 return f != $ac_func;
19337 return 0;
19339 _ACEOF
19340 rm -f conftest.$ac_objext conftest$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 eval "$as_ac_var=yes"
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19367 eval "$as_ac_var=no"
19369 rm -f conftest.err conftest.$ac_objext \
19370 conftest$ac_exeext conftest.$ac_ext
19372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19374 if test `eval echo '${'$as_ac_var'}'` = yes; then
19375 cat >>confdefs.h <<_ACEOF
19376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19377 _ACEOF
19380 done
19382 else
19384 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19385 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19386 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19387 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19393 ac_ext=cc
19394 ac_cpp='$CXXCPP $CPPFLAGS'
19395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 #include <math.h>
19407 main ()
19409 _atan2l(0, 0);
19411 return 0;
19413 _ACEOF
19414 rm -f conftest.$ac_objext
19415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19416 (eval $ac_compile) 2>conftest.er1
19417 ac_status=$?
19418 grep -v '^ *+' conftest.er1 >conftest.err
19419 rm -f conftest.er1
19420 cat conftest.err >&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } &&
19423 { ac_try='test -z "$ac_cxx_werror_flag"
19424 || test ! -s conftest.err'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19427 ac_status=$?
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; } &&
19430 { ac_try='test -s conftest.$ac_objext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19433 ac_status=$?
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 glibcxx_cv_func__atan2l_use=yes
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 glibcxx_cv_func__atan2l_use=no
19443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19444 ac_ext=c
19445 ac_cpp='$CPP $CPPFLAGS'
19446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19455 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19457 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19459 for ac_func in _atan2l
19461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19462 echo "$as_me:$LINENO: checking for $ac_func" >&5
19463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19464 if eval "test \"\${$as_ac_var+set}\" = set"; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 else
19467 if test x$gcc_no_link = xyes; then
19468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19470 { (exit 1); exit 1; }; }
19472 cat >conftest.$ac_ext <<_ACEOF
19473 /* confdefs.h. */
19474 _ACEOF
19475 cat confdefs.h >>conftest.$ac_ext
19476 cat >>conftest.$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19480 #define $ac_func innocuous_$ac_func
19482 /* System header to define __stub macros and hopefully few prototypes,
19483 which can conflict with char $ac_func (); below.
19484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19485 <limits.h> exists even on freestanding compilers. */
19487 #ifdef __STDC__
19488 # include <limits.h>
19489 #else
19490 # include <assert.h>
19491 #endif
19493 #undef $ac_func
19495 /* Override any gcc2 internal prototype to avoid an error. */
19496 #ifdef __cplusplus
19497 extern "C"
19499 #endif
19500 /* We use char because int might match the return type of a gcc2
19501 builtin and then its argument prototype would still apply. */
19502 char $ac_func ();
19503 /* The GNU C library defines this for functions which it implements
19504 to always fail with ENOSYS. Some functions are actually named
19505 something starting with __ and the normal name is an alias. */
19506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19507 choke me
19508 #else
19509 char (*f) () = $ac_func;
19510 #endif
19511 #ifdef __cplusplus
19513 #endif
19516 main ()
19518 return f != $ac_func;
19520 return 0;
19522 _ACEOF
19523 rm -f conftest.$ac_objext conftest$ac_exeext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19525 (eval $ac_link) 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try='test -z "$ac_c_werror_flag"
19533 || test ! -s conftest.err'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; } &&
19539 { ac_try='test -s conftest$ac_exeext'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 eval "$as_ac_var=yes"
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 eval "$as_ac_var=no"
19552 rm -f conftest.err conftest.$ac_objext \
19553 conftest$ac_exeext conftest.$ac_ext
19555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19557 if test `eval echo '${'$as_ac_var'}'` = yes; then
19558 cat >>confdefs.h <<_ACEOF
19559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19560 _ACEOF
19563 done
19570 echo "$as_me:$LINENO: checking for expl declaration" >&5
19571 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19572 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19573 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19579 ac_ext=cc
19580 ac_cpp='$CXXCPP $CPPFLAGS'
19581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #include <math.h>
19592 #ifdef HAVE_IEEEFP_H
19593 #include <ieeefp.h>
19594 #endif
19597 main ()
19599 expl(0);
19601 return 0;
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19606 (eval $ac_compile) 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try='test -z "$ac_cxx_werror_flag"
19614 || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try='test -s conftest.$ac_objext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 glibcxx_cv_func_expl_use=yes
19627 else
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19631 glibcxx_cv_func_expl_use=no
19633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19634 ac_ext=c
19635 ac_cpp='$CPP $CPPFLAGS'
19636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19645 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19647 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19649 for ac_func in expl
19651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19652 echo "$as_me:$LINENO: checking for $ac_func" >&5
19653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19654 if eval "test \"\${$as_ac_var+set}\" = set"; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 else
19657 if test x$gcc_no_link = xyes; then
19658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19660 { (exit 1); exit 1; }; }
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19670 #define $ac_func innocuous_$ac_func
19672 /* System header to define __stub macros and hopefully few prototypes,
19673 which can conflict with char $ac_func (); below.
19674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19675 <limits.h> exists even on freestanding compilers. */
19677 #ifdef __STDC__
19678 # include <limits.h>
19679 #else
19680 # include <assert.h>
19681 #endif
19683 #undef $ac_func
19685 /* Override any gcc2 internal prototype to avoid an error. */
19686 #ifdef __cplusplus
19687 extern "C"
19689 #endif
19690 /* We use char because int might match the return type of a gcc2
19691 builtin and then its argument prototype would still apply. */
19692 char $ac_func ();
19693 /* The GNU C library defines this for functions which it implements
19694 to always fail with ENOSYS. Some functions are actually named
19695 something starting with __ and the normal name is an alias. */
19696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19697 choke me
19698 #else
19699 char (*f) () = $ac_func;
19700 #endif
19701 #ifdef __cplusplus
19703 #endif
19706 main ()
19708 return f != $ac_func;
19710 return 0;
19712 _ACEOF
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } &&
19722 { ac_try='test -z "$ac_c_werror_flag"
19723 || test ! -s conftest.err'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; } &&
19729 { ac_try='test -s conftest$ac_exeext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19732 ac_status=$?
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 eval "$as_ac_var=yes"
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 eval "$as_ac_var=no"
19742 rm -f conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19747 if test `eval echo '${'$as_ac_var'}'` = yes; then
19748 cat >>confdefs.h <<_ACEOF
19749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19750 _ACEOF
19753 done
19755 else
19757 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19758 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19759 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19760 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 else
19766 ac_ext=cc
19767 ac_cpp='$CXXCPP $CPPFLAGS'
19768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <math.h>
19779 #ifdef HAVE_IEEEFP_H
19780 #include <ieeefp.h>
19781 #endif
19784 main ()
19786 _expl(0);
19788 return 0;
19790 _ACEOF
19791 rm -f conftest.$ac_objext
19792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19793 (eval $ac_compile) 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } &&
19800 { ac_try='test -z "$ac_cxx_werror_flag"
19801 || test ! -s conftest.err'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19804 ac_status=$?
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; } &&
19807 { ac_try='test -s conftest.$ac_objext'
19808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19809 (eval $ac_try) 2>&5
19810 ac_status=$?
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; }; then
19813 glibcxx_cv_func__expl_use=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 glibcxx_cv_func__expl_use=no
19820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19821 ac_ext=c
19822 ac_cpp='$CPP $CPPFLAGS'
19823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19832 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19834 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19836 for ac_func in _expl
19838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19839 echo "$as_me:$LINENO: checking for $ac_func" >&5
19840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19841 if eval "test \"\${$as_ac_var+set}\" = set"; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 else
19844 if test x$gcc_no_link = xyes; then
19845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19847 { (exit 1); exit 1; }; }
19849 cat >conftest.$ac_ext <<_ACEOF
19850 /* confdefs.h. */
19851 _ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19857 #define $ac_func innocuous_$ac_func
19859 /* System header to define __stub macros and hopefully few prototypes,
19860 which can conflict with char $ac_func (); below.
19861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19862 <limits.h> exists even on freestanding compilers. */
19864 #ifdef __STDC__
19865 # include <limits.h>
19866 #else
19867 # include <assert.h>
19868 #endif
19870 #undef $ac_func
19872 /* Override any gcc2 internal prototype to avoid an error. */
19873 #ifdef __cplusplus
19874 extern "C"
19876 #endif
19877 /* We use char because int might match the return type of a gcc2
19878 builtin and then its argument prototype would still apply. */
19879 char $ac_func ();
19880 /* The GNU C library defines this for functions which it implements
19881 to always fail with ENOSYS. Some functions are actually named
19882 something starting with __ and the normal name is an alias. */
19883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19884 choke me
19885 #else
19886 char (*f) () = $ac_func;
19887 #endif
19888 #ifdef __cplusplus
19890 #endif
19893 main ()
19895 return f != $ac_func;
19897 return 0;
19899 _ACEOF
19900 rm -f conftest.$ac_objext conftest$ac_exeext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19902 (eval $ac_link) 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try='test -z "$ac_c_werror_flag"
19910 || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19913 ac_status=$?
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest$ac_exeext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 eval "$as_ac_var=yes"
19923 else
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 eval "$as_ac_var=no"
19929 rm -f conftest.err conftest.$ac_objext \
19930 conftest$ac_exeext conftest.$ac_ext
19932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19934 if test `eval echo '${'$as_ac_var'}'` = yes; then
19935 cat >>confdefs.h <<_ACEOF
19936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19937 _ACEOF
19940 done
19947 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19948 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19949 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19950 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 else
19956 ac_ext=cc
19957 ac_cpp='$CXXCPP $CPPFLAGS'
19958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 #include <math.h>
19969 #ifdef HAVE_IEEEFP_H
19970 #include <ieeefp.h>
19971 #endif
19974 main ()
19976 fabsl(0);
19978 return 0;
19980 _ACEOF
19981 rm -f conftest.$ac_objext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19983 (eval $ac_compile) 2>conftest.er1
19984 ac_status=$?
19985 grep -v '^ *+' conftest.er1 >conftest.err
19986 rm -f conftest.er1
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } &&
19990 { ac_try='test -z "$ac_cxx_werror_flag"
19991 || test ! -s conftest.err'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try='test -s conftest.$ac_objext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20000 ac_status=$?
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 glibcxx_cv_func_fabsl_use=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 glibcxx_cv_func_fabsl_use=no
20010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20011 ac_ext=c
20012 ac_cpp='$CPP $CPPFLAGS'
20013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20022 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20024 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20026 for ac_func in fabsl
20028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20029 echo "$as_me:$LINENO: checking for $ac_func" >&5
20030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20031 if eval "test \"\${$as_ac_var+set}\" = set"; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20037 { (exit 1); exit 1; }; }
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20047 #define $ac_func innocuous_$ac_func
20049 /* System header to define __stub macros and hopefully few prototypes,
20050 which can conflict with char $ac_func (); below.
20051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20052 <limits.h> exists even on freestanding compilers. */
20054 #ifdef __STDC__
20055 # include <limits.h>
20056 #else
20057 # include <assert.h>
20058 #endif
20060 #undef $ac_func
20062 /* Override any gcc2 internal prototype to avoid an error. */
20063 #ifdef __cplusplus
20064 extern "C"
20066 #endif
20067 /* We use char because int might match the return type of a gcc2
20068 builtin and then its argument prototype would still apply. */
20069 char $ac_func ();
20070 /* The GNU C library defines this for functions which it implements
20071 to always fail with ENOSYS. Some functions are actually named
20072 something starting with __ and the normal name is an alias. */
20073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20074 choke me
20075 #else
20076 char (*f) () = $ac_func;
20077 #endif
20078 #ifdef __cplusplus
20080 #endif
20083 main ()
20085 return f != $ac_func;
20087 return 0;
20089 _ACEOF
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20092 (eval $ac_link) 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } &&
20099 { ac_try='test -z "$ac_c_werror_flag"
20100 || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest$ac_exeext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 eval "$as_ac_var=yes"
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20117 eval "$as_ac_var=no"
20119 rm -f conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20124 if test `eval echo '${'$as_ac_var'}'` = yes; then
20125 cat >>confdefs.h <<_ACEOF
20126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20127 _ACEOF
20130 done
20132 else
20134 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20135 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20136 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20137 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 else
20143 ac_ext=cc
20144 ac_cpp='$CXXCPP $CPPFLAGS'
20145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20149 cat >conftest.$ac_ext <<_ACEOF
20150 /* confdefs.h. */
20151 _ACEOF
20152 cat confdefs.h >>conftest.$ac_ext
20153 cat >>conftest.$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20155 #include <math.h>
20156 #ifdef HAVE_IEEEFP_H
20157 #include <ieeefp.h>
20158 #endif
20161 main ()
20163 _fabsl(0);
20165 return 0;
20167 _ACEOF
20168 rm -f conftest.$ac_objext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20170 (eval $ac_compile) 2>conftest.er1
20171 ac_status=$?
20172 grep -v '^ *+' conftest.er1 >conftest.err
20173 rm -f conftest.er1
20174 cat conftest.err >&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } &&
20177 { ac_try='test -z "$ac_cxx_werror_flag"
20178 || test ! -s conftest.err'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try='test -s conftest.$ac_objext'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20187 ac_status=$?
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; }; then
20190 glibcxx_cv_func__fabsl_use=yes
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20195 glibcxx_cv_func__fabsl_use=no
20197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20198 ac_ext=c
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20209 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20211 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20213 for ac_func in _fabsl
20215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20216 echo "$as_me:$LINENO: checking for $ac_func" >&5
20217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20218 if eval "test \"\${$as_ac_var+set}\" = set"; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 else
20221 if test x$gcc_no_link = xyes; then
20222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20224 { (exit 1); exit 1; }; }
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20234 #define $ac_func innocuous_$ac_func
20236 /* System header to define __stub macros and hopefully few prototypes,
20237 which can conflict with char $ac_func (); below.
20238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20239 <limits.h> exists even on freestanding compilers. */
20241 #ifdef __STDC__
20242 # include <limits.h>
20243 #else
20244 # include <assert.h>
20245 #endif
20247 #undef $ac_func
20249 /* Override any gcc2 internal prototype to avoid an error. */
20250 #ifdef __cplusplus
20251 extern "C"
20253 #endif
20254 /* We use char because int might match the return type of a gcc2
20255 builtin and then its argument prototype would still apply. */
20256 char $ac_func ();
20257 /* The GNU C library defines this for functions which it implements
20258 to always fail with ENOSYS. Some functions are actually named
20259 something starting with __ and the normal name is an alias. */
20260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20261 choke me
20262 #else
20263 char (*f) () = $ac_func;
20264 #endif
20265 #ifdef __cplusplus
20267 #endif
20270 main ()
20272 return f != $ac_func;
20274 return 0;
20276 _ACEOF
20277 rm -f conftest.$ac_objext conftest$ac_exeext
20278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20279 (eval $ac_link) 2>conftest.er1
20280 ac_status=$?
20281 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } &&
20286 { ac_try='test -z "$ac_c_werror_flag"
20287 || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 eval "$as_ac_var=yes"
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20304 eval "$as_ac_var=no"
20306 rm -f conftest.err conftest.$ac_objext \
20307 conftest$ac_exeext conftest.$ac_ext
20309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20311 if test `eval echo '${'$as_ac_var'}'` = yes; then
20312 cat >>confdefs.h <<_ACEOF
20313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20314 _ACEOF
20317 done
20324 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20325 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20326 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20327 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20328 echo $ECHO_N "(cached) $ECHO_C" >&6
20329 else
20333 ac_ext=cc
20334 ac_cpp='$CXXCPP $CPPFLAGS'
20335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <math.h>
20347 main ()
20349 fmodl(0, 0);
20351 return 0;
20353 _ACEOF
20354 rm -f conftest.$ac_objext
20355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20356 (eval $ac_compile) 2>conftest.er1
20357 ac_status=$?
20358 grep -v '^ *+' conftest.er1 >conftest.err
20359 rm -f conftest.er1
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try='test -z "$ac_cxx_werror_flag"
20364 || test ! -s conftest.err'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; } &&
20370 { ac_try='test -s conftest.$ac_objext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 glibcxx_cv_func_fmodl_use=yes
20377 else
20378 echo "$as_me: failed program was:" >&5
20379 sed 's/^/| /' conftest.$ac_ext >&5
20381 glibcxx_cv_func_fmodl_use=no
20383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20384 ac_ext=c
20385 ac_cpp='$CPP $CPPFLAGS'
20386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20395 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20397 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20399 for ac_func in fmodl
20401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20402 echo "$as_me:$LINENO: checking for $ac_func" >&5
20403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20404 if eval "test \"\${$as_ac_var+set}\" = set"; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 else
20407 if test x$gcc_no_link = xyes; then
20408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20410 { (exit 1); exit 1; }; }
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20420 #define $ac_func innocuous_$ac_func
20422 /* System header to define __stub macros and hopefully few prototypes,
20423 which can conflict with char $ac_func (); below.
20424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20425 <limits.h> exists even on freestanding compilers. */
20427 #ifdef __STDC__
20428 # include <limits.h>
20429 #else
20430 # include <assert.h>
20431 #endif
20433 #undef $ac_func
20435 /* Override any gcc2 internal prototype to avoid an error. */
20436 #ifdef __cplusplus
20437 extern "C"
20439 #endif
20440 /* We use char because int might match the return type of a gcc2
20441 builtin and then its argument prototype would still apply. */
20442 char $ac_func ();
20443 /* The GNU C library defines this for functions which it implements
20444 to always fail with ENOSYS. Some functions are actually named
20445 something starting with __ and the normal name is an alias. */
20446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20447 choke me
20448 #else
20449 char (*f) () = $ac_func;
20450 #endif
20451 #ifdef __cplusplus
20453 #endif
20456 main ()
20458 return f != $ac_func;
20460 return 0;
20462 _ACEOF
20463 rm -f conftest.$ac_objext conftest$ac_exeext
20464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20465 (eval $ac_link) 2>conftest.er1
20466 ac_status=$?
20467 grep -v '^ *+' conftest.er1 >conftest.err
20468 rm -f conftest.er1
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } &&
20472 { ac_try='test -z "$ac_c_werror_flag"
20473 || test ! -s conftest.err'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20476 ac_status=$?
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; } &&
20479 { ac_try='test -s conftest$ac_exeext'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; }; then
20485 eval "$as_ac_var=yes"
20486 else
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.$ac_ext >&5
20490 eval "$as_ac_var=no"
20492 rm -f conftest.err conftest.$ac_objext \
20493 conftest$ac_exeext conftest.$ac_ext
20495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20497 if test `eval echo '${'$as_ac_var'}'` = yes; then
20498 cat >>confdefs.h <<_ACEOF
20499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20500 _ACEOF
20503 done
20505 else
20507 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20508 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20509 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20510 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20511 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 else
20516 ac_ext=cc
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20522 cat >conftest.$ac_ext <<_ACEOF
20523 /* confdefs.h. */
20524 _ACEOF
20525 cat confdefs.h >>conftest.$ac_ext
20526 cat >>conftest.$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 #include <math.h>
20530 main ()
20532 _fmodl(0, 0);
20534 return 0;
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20539 (eval $ac_compile) 2>conftest.er1
20540 ac_status=$?
20541 grep -v '^ *+' conftest.er1 >conftest.err
20542 rm -f conftest.er1
20543 cat conftest.err >&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); } &&
20546 { ac_try='test -z "$ac_cxx_werror_flag"
20547 || test ! -s conftest.err'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; } &&
20553 { ac_try='test -s conftest.$ac_objext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20556 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 glibcxx_cv_func__fmodl_use=yes
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20564 glibcxx_cv_func__fmodl_use=no
20566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20567 ac_ext=c
20568 ac_cpp='$CPP $CPPFLAGS'
20569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20578 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20580 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20582 for ac_func in _fmodl
20584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20585 echo "$as_me:$LINENO: checking for $ac_func" >&5
20586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20587 if eval "test \"\${$as_ac_var+set}\" = set"; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 else
20590 if test x$gcc_no_link = xyes; then
20591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20593 { (exit 1); exit 1; }; }
20595 cat >conftest.$ac_ext <<_ACEOF
20596 /* confdefs.h. */
20597 _ACEOF
20598 cat confdefs.h >>conftest.$ac_ext
20599 cat >>conftest.$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20603 #define $ac_func innocuous_$ac_func
20605 /* System header to define __stub macros and hopefully few prototypes,
20606 which can conflict with char $ac_func (); below.
20607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20608 <limits.h> exists even on freestanding compilers. */
20610 #ifdef __STDC__
20611 # include <limits.h>
20612 #else
20613 # include <assert.h>
20614 #endif
20616 #undef $ac_func
20618 /* Override any gcc2 internal prototype to avoid an error. */
20619 #ifdef __cplusplus
20620 extern "C"
20622 #endif
20623 /* We use char because int might match the return type of a gcc2
20624 builtin and then its argument prototype would still apply. */
20625 char $ac_func ();
20626 /* The GNU C library defines this for functions which it implements
20627 to always fail with ENOSYS. Some functions are actually named
20628 something starting with __ and the normal name is an alias. */
20629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20630 choke me
20631 #else
20632 char (*f) () = $ac_func;
20633 #endif
20634 #ifdef __cplusplus
20636 #endif
20639 main ()
20641 return f != $ac_func;
20643 return 0;
20645 _ACEOF
20646 rm -f conftest.$ac_objext conftest$ac_exeext
20647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20648 (eval $ac_link) 2>conftest.er1
20649 ac_status=$?
20650 grep -v '^ *+' conftest.er1 >conftest.err
20651 rm -f conftest.er1
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } &&
20655 { ac_try='test -z "$ac_c_werror_flag"
20656 || test ! -s conftest.err'
20657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20658 (eval $ac_try) 2>&5
20659 ac_status=$?
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); }; } &&
20662 { ac_try='test -s conftest$ac_exeext'
20663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20664 (eval $ac_try) 2>&5
20665 ac_status=$?
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; }; then
20668 eval "$as_ac_var=yes"
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20673 eval "$as_ac_var=no"
20675 rm -f conftest.err conftest.$ac_objext \
20676 conftest$ac_exeext conftest.$ac_ext
20678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20680 if test `eval echo '${'$as_ac_var'}'` = yes; then
20681 cat >>confdefs.h <<_ACEOF
20682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20683 _ACEOF
20686 done
20693 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20694 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20695 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20696 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 else
20702 ac_ext=cc
20703 ac_cpp='$CXXCPP $CPPFLAGS'
20704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 #include <math.h>
20716 main ()
20718 frexpl(0, 0);
20720 return 0;
20722 _ACEOF
20723 rm -f conftest.$ac_objext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20725 (eval $ac_compile) 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } &&
20732 { ac_try='test -z "$ac_cxx_werror_flag"
20733 || test ! -s conftest.err'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20736 ac_status=$?
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; } &&
20739 { ac_try='test -s conftest.$ac_objext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20745 glibcxx_cv_func_frexpl_use=yes
20746 else
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20750 glibcxx_cv_func_frexpl_use=no
20752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20753 ac_ext=c
20754 ac_cpp='$CPP $CPPFLAGS'
20755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20764 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20766 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20768 for ac_func in frexpl
20770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20771 echo "$as_me:$LINENO: checking for $ac_func" >&5
20772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20773 if eval "test \"\${$as_ac_var+set}\" = set"; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20775 else
20776 if test x$gcc_no_link = xyes; then
20777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20779 { (exit 1); exit 1; }; }
20781 cat >conftest.$ac_ext <<_ACEOF
20782 /* confdefs.h. */
20783 _ACEOF
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20789 #define $ac_func innocuous_$ac_func
20791 /* System header to define __stub macros and hopefully few prototypes,
20792 which can conflict with char $ac_func (); below.
20793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20794 <limits.h> exists even on freestanding compilers. */
20796 #ifdef __STDC__
20797 # include <limits.h>
20798 #else
20799 # include <assert.h>
20800 #endif
20802 #undef $ac_func
20804 /* Override any gcc2 internal prototype to avoid an error. */
20805 #ifdef __cplusplus
20806 extern "C"
20808 #endif
20809 /* We use char because int might match the return type of a gcc2
20810 builtin and then its argument prototype would still apply. */
20811 char $ac_func ();
20812 /* The GNU C library defines this for functions which it implements
20813 to always fail with ENOSYS. Some functions are actually named
20814 something starting with __ and the normal name is an alias. */
20815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20816 choke me
20817 #else
20818 char (*f) () = $ac_func;
20819 #endif
20820 #ifdef __cplusplus
20822 #endif
20825 main ()
20827 return f != $ac_func;
20829 return 0;
20831 _ACEOF
20832 rm -f conftest.$ac_objext conftest$ac_exeext
20833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20834 (eval $ac_link) 2>conftest.er1
20835 ac_status=$?
20836 grep -v '^ *+' conftest.er1 >conftest.err
20837 rm -f conftest.er1
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } &&
20841 { ac_try='test -z "$ac_c_werror_flag"
20842 || test ! -s conftest.err'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20845 ac_status=$?
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try='test -s conftest$ac_exeext'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20851 ac_status=$?
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; }; then
20854 eval "$as_ac_var=yes"
20855 else
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20859 eval "$as_ac_var=no"
20861 rm -f conftest.err conftest.$ac_objext \
20862 conftest$ac_exeext conftest.$ac_ext
20864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20866 if test `eval echo '${'$as_ac_var'}'` = yes; then
20867 cat >>confdefs.h <<_ACEOF
20868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20869 _ACEOF
20872 done
20874 else
20876 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20877 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20878 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20879 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20880 echo $ECHO_N "(cached) $ECHO_C" >&6
20881 else
20885 ac_ext=cc
20886 ac_cpp='$CXXCPP $CPPFLAGS'
20887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 #include <math.h>
20899 main ()
20901 _frexpl(0, 0);
20903 return 0;
20905 _ACEOF
20906 rm -f conftest.$ac_objext
20907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20908 (eval $ac_compile) 2>conftest.er1
20909 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } &&
20915 { ac_try='test -z "$ac_cxx_werror_flag"
20916 || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20919 ac_status=$?
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try='test -s conftest.$ac_objext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 glibcxx_cv_func__frexpl_use=yes
20929 else
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20933 glibcxx_cv_func__frexpl_use=no
20935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20936 ac_ext=c
20937 ac_cpp='$CPP $CPPFLAGS'
20938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20946 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20947 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20949 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20951 for ac_func in _frexpl
20953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20954 echo "$as_me:$LINENO: checking for $ac_func" >&5
20955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20956 if eval "test \"\${$as_ac_var+set}\" = set"; then
20957 echo $ECHO_N "(cached) $ECHO_C" >&6
20958 else
20959 if test x$gcc_no_link = xyes; then
20960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20962 { (exit 1); exit 1; }; }
20964 cat >conftest.$ac_ext <<_ACEOF
20965 /* confdefs.h. */
20966 _ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20972 #define $ac_func innocuous_$ac_func
20974 /* System header to define __stub macros and hopefully few prototypes,
20975 which can conflict with char $ac_func (); below.
20976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20977 <limits.h> exists even on freestanding compilers. */
20979 #ifdef __STDC__
20980 # include <limits.h>
20981 #else
20982 # include <assert.h>
20983 #endif
20985 #undef $ac_func
20987 /* Override any gcc2 internal prototype to avoid an error. */
20988 #ifdef __cplusplus
20989 extern "C"
20991 #endif
20992 /* We use char because int might match the return type of a gcc2
20993 builtin and then its argument prototype would still apply. */
20994 char $ac_func ();
20995 /* The GNU C library defines this for functions which it implements
20996 to always fail with ENOSYS. Some functions are actually named
20997 something starting with __ and the normal name is an alias. */
20998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20999 choke me
21000 #else
21001 char (*f) () = $ac_func;
21002 #endif
21003 #ifdef __cplusplus
21005 #endif
21008 main ()
21010 return f != $ac_func;
21012 return 0;
21014 _ACEOF
21015 rm -f conftest.$ac_objext conftest$ac_exeext
21016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21017 (eval $ac_link) 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try='test -z "$ac_c_werror_flag"
21025 || test ! -s conftest.err'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try='test -s conftest$ac_exeext'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21034 ac_status=$?
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; }; then
21037 eval "$as_ac_var=yes"
21038 else
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21042 eval "$as_ac_var=no"
21044 rm -f conftest.err conftest.$ac_objext \
21045 conftest$ac_exeext conftest.$ac_ext
21047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21049 if test `eval echo '${'$as_ac_var'}'` = yes; then
21050 cat >>confdefs.h <<_ACEOF
21051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21052 _ACEOF
21055 done
21062 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21063 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21064 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21065 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21071 ac_ext=cc
21072 ac_cpp='$CXXCPP $CPPFLAGS'
21073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077 cat >conftest.$ac_ext <<_ACEOF
21078 /* confdefs.h. */
21079 _ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083 #include <math.h>
21085 main ()
21087 hypotl(0, 0);
21089 return 0;
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21094 (eval $ac_compile) 2>conftest.er1
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -z "$ac_cxx_werror_flag"
21102 || test ! -s conftest.err'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; } &&
21108 { ac_try='test -s conftest.$ac_objext'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 glibcxx_cv_func_hypotl_use=yes
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21119 glibcxx_cv_func_hypotl_use=no
21121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21133 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21135 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21137 for ac_func in hypotl
21139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21140 echo "$as_me:$LINENO: checking for $ac_func" >&5
21141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21142 if eval "test \"\${$as_ac_var+set}\" = set"; then
21143 echo $ECHO_N "(cached) $ECHO_C" >&6
21144 else
21145 if test x$gcc_no_link = xyes; then
21146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21148 { (exit 1); exit 1; }; }
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21158 #define $ac_func innocuous_$ac_func
21160 /* System header to define __stub macros and hopefully few prototypes,
21161 which can conflict with char $ac_func (); below.
21162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21163 <limits.h> exists even on freestanding compilers. */
21165 #ifdef __STDC__
21166 # include <limits.h>
21167 #else
21168 # include <assert.h>
21169 #endif
21171 #undef $ac_func
21173 /* Override any gcc2 internal prototype to avoid an error. */
21174 #ifdef __cplusplus
21175 extern "C"
21177 #endif
21178 /* We use char because int might match the return type of a gcc2
21179 builtin and then its argument prototype would still apply. */
21180 char $ac_func ();
21181 /* The GNU C library defines this for functions which it implements
21182 to always fail with ENOSYS. Some functions are actually named
21183 something starting with __ and the normal name is an alias. */
21184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21185 choke me
21186 #else
21187 char (*f) () = $ac_func;
21188 #endif
21189 #ifdef __cplusplus
21191 #endif
21194 main ()
21196 return f != $ac_func;
21198 return 0;
21200 _ACEOF
21201 rm -f conftest.$ac_objext conftest$ac_exeext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21203 (eval $ac_link) 2>conftest.er1
21204 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } &&
21210 { ac_try='test -z "$ac_c_werror_flag"
21211 || test ! -s conftest.err'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest$ac_exeext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 eval "$as_ac_var=yes"
21224 else
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21228 eval "$as_ac_var=no"
21230 rm -f conftest.err conftest.$ac_objext \
21231 conftest$ac_exeext conftest.$ac_ext
21233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21235 if test `eval echo '${'$as_ac_var'}'` = yes; then
21236 cat >>confdefs.h <<_ACEOF
21237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21238 _ACEOF
21241 done
21243 else
21245 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21246 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21247 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21248 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21249 echo $ECHO_N "(cached) $ECHO_C" >&6
21250 else
21254 ac_ext=cc
21255 ac_cpp='$CXXCPP $CPPFLAGS'
21256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21260 cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h. */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 #include <math.h>
21268 main ()
21270 _hypotl(0, 0);
21272 return 0;
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277 (eval $ac_compile) 2>conftest.er1
21278 ac_status=$?
21279 grep -v '^ *+' conftest.er1 >conftest.err
21280 rm -f conftest.er1
21281 cat conftest.err >&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } &&
21284 { ac_try='test -z "$ac_cxx_werror_flag"
21285 || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 glibcxx_cv_func__hypotl_use=yes
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 glibcxx_cv_func__hypotl_use=no
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21316 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21318 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21320 for ac_func in _hypotl
21322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21323 echo "$as_me:$LINENO: checking for $ac_func" >&5
21324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_var+set}\" = set"; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 if test x$gcc_no_link = xyes; then
21329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331 { (exit 1); exit 1; }; }
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21341 #define $ac_func innocuous_$ac_func
21343 /* System header to define __stub macros and hopefully few prototypes,
21344 which can conflict with char $ac_func (); below.
21345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21346 <limits.h> exists even on freestanding compilers. */
21348 #ifdef __STDC__
21349 # include <limits.h>
21350 #else
21351 # include <assert.h>
21352 #endif
21354 #undef $ac_func
21356 /* Override any gcc2 internal prototype to avoid an error. */
21357 #ifdef __cplusplus
21358 extern "C"
21360 #endif
21361 /* We use char because int might match the return type of a gcc2
21362 builtin and then its argument prototype would still apply. */
21363 char $ac_func ();
21364 /* The GNU C library defines this for functions which it implements
21365 to always fail with ENOSYS. Some functions are actually named
21366 something starting with __ and the normal name is an alias. */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21368 choke me
21369 #else
21370 char (*f) () = $ac_func;
21371 #endif
21372 #ifdef __cplusplus
21374 #endif
21377 main ()
21379 return f != $ac_func;
21381 return 0;
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386 (eval $ac_link) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 eval "$as_ac_var=yes"
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21411 eval "$as_ac_var=no"
21413 rm -f conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21418 if test `eval echo '${'$as_ac_var'}'` = yes; then
21419 cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21421 _ACEOF
21424 done
21431 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21432 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21433 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21434 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 else
21440 ac_ext=cc
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 #include <math.h>
21454 main ()
21456 ldexpl(0, 0);
21458 return 0;
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463 (eval $ac_compile) 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } &&
21470 { ac_try='test -z "$ac_cxx_werror_flag"
21471 || test ! -s conftest.err'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21474 ac_status=$?
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; } &&
21477 { ac_try='test -s conftest.$ac_objext'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 glibcxx_cv_func_ldexpl_use=yes
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21488 glibcxx_cv_func_ldexpl_use=no
21490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21491 ac_ext=c
21492 ac_cpp='$CPP $CPPFLAGS'
21493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21502 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21504 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21506 for ac_func in ldexpl
21508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21509 echo "$as_me:$LINENO: checking for $ac_func" >&5
21510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21511 if eval "test \"\${$as_ac_var+set}\" = set"; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 else
21514 if test x$gcc_no_link = xyes; then
21515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21517 { (exit 1); exit 1; }; }
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21527 #define $ac_func innocuous_$ac_func
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func (); below.
21531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21532 <limits.h> exists even on freestanding compilers. */
21534 #ifdef __STDC__
21535 # include <limits.h>
21536 #else
21537 # include <assert.h>
21538 #endif
21540 #undef $ac_func
21542 /* Override any gcc2 internal prototype to avoid an error. */
21543 #ifdef __cplusplus
21544 extern "C"
21546 #endif
21547 /* We use char because int might match the return type of a gcc2
21548 builtin and then its argument prototype would still apply. */
21549 char $ac_func ();
21550 /* The GNU C library defines this for functions which it implements
21551 to always fail with ENOSYS. Some functions are actually named
21552 something starting with __ and the normal name is an alias. */
21553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21554 choke me
21555 #else
21556 char (*f) () = $ac_func;
21557 #endif
21558 #ifdef __cplusplus
21560 #endif
21563 main ()
21565 return f != $ac_func;
21567 return 0;
21569 _ACEOF
21570 rm -f conftest.$ac_objext conftest$ac_exeext
21571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21572 (eval $ac_link) 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } &&
21579 { ac_try='test -z "$ac_c_werror_flag"
21580 || test ! -s conftest.err'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21583 ac_status=$?
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try='test -s conftest$ac_exeext'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; }; then
21592 eval "$as_ac_var=yes"
21593 else
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21597 eval "$as_ac_var=no"
21599 rm -f conftest.err conftest.$ac_objext \
21600 conftest$ac_exeext conftest.$ac_ext
21602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21604 if test `eval echo '${'$as_ac_var'}'` = yes; then
21605 cat >>confdefs.h <<_ACEOF
21606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21607 _ACEOF
21610 done
21612 else
21614 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21615 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21616 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21617 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 else
21623 ac_ext=cc
21624 ac_cpp='$CXXCPP $CPPFLAGS'
21625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 #include <math.h>
21637 main ()
21639 _ldexpl(0, 0);
21641 return 0;
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_cxx_werror_flag"
21654 || test ! -s conftest.err'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest.$ac_objext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 glibcxx_cv_func__ldexpl_use=yes
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 glibcxx_cv_func__ldexpl_use=no
21673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21674 ac_ext=c
21675 ac_cpp='$CPP $CPPFLAGS'
21676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21685 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21687 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21689 for ac_func in _ldexpl
21691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21692 echo "$as_me:$LINENO: checking for $ac_func" >&5
21693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21694 if eval "test \"\${$as_ac_var+set}\" = set"; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21696 else
21697 if test x$gcc_no_link = xyes; then
21698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21700 { (exit 1); exit 1; }; }
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h. */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21710 #define $ac_func innocuous_$ac_func
21712 /* System header to define __stub macros and hopefully few prototypes,
21713 which can conflict with char $ac_func (); below.
21714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21715 <limits.h> exists even on freestanding compilers. */
21717 #ifdef __STDC__
21718 # include <limits.h>
21719 #else
21720 # include <assert.h>
21721 #endif
21723 #undef $ac_func
21725 /* Override any gcc2 internal prototype to avoid an error. */
21726 #ifdef __cplusplus
21727 extern "C"
21729 #endif
21730 /* We use char because int might match the return type of a gcc2
21731 builtin and then its argument prototype would still apply. */
21732 char $ac_func ();
21733 /* The GNU C library defines this for functions which it implements
21734 to always fail with ENOSYS. Some functions are actually named
21735 something starting with __ and the normal name is an alias. */
21736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21737 choke me
21738 #else
21739 char (*f) () = $ac_func;
21740 #endif
21741 #ifdef __cplusplus
21743 #endif
21746 main ()
21748 return f != $ac_func;
21750 return 0;
21752 _ACEOF
21753 rm -f conftest.$ac_objext conftest$ac_exeext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21755 (eval $ac_link) 2>conftest.er1
21756 ac_status=$?
21757 grep -v '^ *+' conftest.er1 >conftest.err
21758 rm -f conftest.er1
21759 cat conftest.err >&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -z "$ac_c_werror_flag"
21763 || test ! -s conftest.err'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21766 ac_status=$?
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try='test -s conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 eval "$as_ac_var=yes"
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 eval "$as_ac_var=no"
21782 rm -f conftest.err conftest.$ac_objext \
21783 conftest$ac_exeext conftest.$ac_ext
21785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21787 if test `eval echo '${'$as_ac_var'}'` = yes; then
21788 cat >>confdefs.h <<_ACEOF
21789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21790 _ACEOF
21793 done
21800 echo "$as_me:$LINENO: checking for logl declaration" >&5
21801 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21802 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21803 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 else
21809 ac_ext=cc
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 #include <math.h>
21822 #ifdef HAVE_IEEEFP_H
21823 #include <ieeefp.h>
21824 #endif
21827 main ()
21829 logl(0);
21831 return 0;
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_cxx_werror_flag"
21844 || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856 glibcxx_cv_func_logl_use=yes
21857 else
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.$ac_ext >&5
21861 glibcxx_cv_func_logl_use=no
21863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21864 ac_ext=c
21865 ac_cpp='$CPP $CPPFLAGS'
21866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21875 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21877 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21879 for ac_func in logl
21881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21882 echo "$as_me:$LINENO: checking for $ac_func" >&5
21883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21884 if eval "test \"\${$as_ac_var+set}\" = set"; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 else
21887 if test x$gcc_no_link = xyes; then
21888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21890 { (exit 1); exit 1; }; }
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21900 #define $ac_func innocuous_$ac_func
21902 /* System header to define __stub macros and hopefully few prototypes,
21903 which can conflict with char $ac_func (); below.
21904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21905 <limits.h> exists even on freestanding compilers. */
21907 #ifdef __STDC__
21908 # include <limits.h>
21909 #else
21910 # include <assert.h>
21911 #endif
21913 #undef $ac_func
21915 /* Override any gcc2 internal prototype to avoid an error. */
21916 #ifdef __cplusplus
21917 extern "C"
21919 #endif
21920 /* We use char because int might match the return type of a gcc2
21921 builtin and then its argument prototype would still apply. */
21922 char $ac_func ();
21923 /* The GNU C library defines this for functions which it implements
21924 to always fail with ENOSYS. Some functions are actually named
21925 something starting with __ and the normal name is an alias. */
21926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21927 choke me
21928 #else
21929 char (*f) () = $ac_func;
21930 #endif
21931 #ifdef __cplusplus
21933 #endif
21936 main ()
21938 return f != $ac_func;
21940 return 0;
21942 _ACEOF
21943 rm -f conftest.$ac_objext conftest$ac_exeext
21944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21945 (eval $ac_link) 2>conftest.er1
21946 ac_status=$?
21947 grep -v '^ *+' conftest.er1 >conftest.err
21948 rm -f conftest.er1
21949 cat conftest.err >&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } &&
21952 { ac_try='test -z "$ac_c_werror_flag"
21953 || test ! -s conftest.err'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; } &&
21959 { ac_try='test -s conftest$ac_exeext'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 eval "$as_ac_var=yes"
21966 else
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.$ac_ext >&5
21970 eval "$as_ac_var=no"
21972 rm -f conftest.err conftest.$ac_objext \
21973 conftest$ac_exeext conftest.$ac_ext
21975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21977 if test `eval echo '${'$as_ac_var'}'` = yes; then
21978 cat >>confdefs.h <<_ACEOF
21979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21980 _ACEOF
21983 done
21985 else
21987 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21988 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21989 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21990 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21991 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 else
21996 ac_ext=cc
21997 ac_cpp='$CXXCPP $CPPFLAGS'
21998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22002 cat >conftest.$ac_ext <<_ACEOF
22003 /* confdefs.h. */
22004 _ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 #include <math.h>
22009 #ifdef HAVE_IEEEFP_H
22010 #include <ieeefp.h>
22011 #endif
22014 main ()
22016 _logl(0);
22018 return 0;
22020 _ACEOF
22021 rm -f conftest.$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023 (eval $ac_compile) 2>conftest.er1
22024 ac_status=$?
22025 grep -v '^ *+' conftest.er1 >conftest.err
22026 rm -f conftest.er1
22027 cat conftest.err >&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -z "$ac_cxx_werror_flag"
22031 || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 glibcxx_cv_func__logl_use=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22048 glibcxx_cv_func__logl_use=no
22050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22051 ac_ext=c
22052 ac_cpp='$CPP $CPPFLAGS'
22053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22062 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22064 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22066 for ac_func in _logl
22068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22069 echo "$as_me:$LINENO: checking for $ac_func" >&5
22070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22071 if eval "test \"\${$as_ac_var+set}\" = set"; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22073 else
22074 if test x$gcc_no_link = xyes; then
22075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22077 { (exit 1); exit 1; }; }
22079 cat >conftest.$ac_ext <<_ACEOF
22080 /* confdefs.h. */
22081 _ACEOF
22082 cat confdefs.h >>conftest.$ac_ext
22083 cat >>conftest.$ac_ext <<_ACEOF
22084 /* end confdefs.h. */
22085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22087 #define $ac_func innocuous_$ac_func
22089 /* System header to define __stub macros and hopefully few prototypes,
22090 which can conflict with char $ac_func (); below.
22091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22092 <limits.h> exists even on freestanding compilers. */
22094 #ifdef __STDC__
22095 # include <limits.h>
22096 #else
22097 # include <assert.h>
22098 #endif
22100 #undef $ac_func
22102 /* Override any gcc2 internal prototype to avoid an error. */
22103 #ifdef __cplusplus
22104 extern "C"
22106 #endif
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109 char $ac_func ();
22110 /* The GNU C library defines this for functions which it implements
22111 to always fail with ENOSYS. Some functions are actually named
22112 something starting with __ and the normal name is an alias. */
22113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22114 choke me
22115 #else
22116 char (*f) () = $ac_func;
22117 #endif
22118 #ifdef __cplusplus
22120 #endif
22123 main ()
22125 return f != $ac_func;
22127 return 0;
22129 _ACEOF
22130 rm -f conftest.$ac_objext conftest$ac_exeext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22132 (eval $ac_link) 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_c_werror_flag"
22140 || test ! -s conftest.err'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; } &&
22146 { ac_try='test -s conftest$ac_exeext'
22147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148 (eval $ac_try) 2>&5
22149 ac_status=$?
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; }; then
22152 eval "$as_ac_var=yes"
22153 else
22154 echo "$as_me: failed program was:" >&5
22155 sed 's/^/| /' conftest.$ac_ext >&5
22157 eval "$as_ac_var=no"
22159 rm -f conftest.err conftest.$ac_objext \
22160 conftest$ac_exeext conftest.$ac_ext
22162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22164 if test `eval echo '${'$as_ac_var'}'` = yes; then
22165 cat >>confdefs.h <<_ACEOF
22166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22167 _ACEOF
22170 done
22177 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22178 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22180 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22181 echo $ECHO_N "(cached) $ECHO_C" >&6
22182 else
22186 ac_ext=cc
22187 ac_cpp='$CXXCPP $CPPFLAGS'
22188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h. */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 #include <math.h>
22199 #ifdef HAVE_IEEEFP_H
22200 #include <ieeefp.h>
22201 #endif
22204 main ()
22206 log10l(0);
22208 return 0;
22210 _ACEOF
22211 rm -f conftest.$ac_objext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22213 (eval $ac_compile) 2>conftest.er1
22214 ac_status=$?
22215 grep -v '^ *+' conftest.er1 >conftest.err
22216 rm -f conftest.er1
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } &&
22220 { ac_try='test -z "$ac_cxx_werror_flag"
22221 || test ! -s conftest.err'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; } &&
22227 { ac_try='test -s conftest.$ac_objext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 glibcxx_cv_func_log10l_use=yes
22234 else
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 glibcxx_cv_func_log10l_use=no
22240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22241 ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22252 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22254 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22256 for ac_func in log10l
22258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22259 echo "$as_me:$LINENO: checking for $ac_func" >&5
22260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22261 if eval "test \"\${$as_ac_var+set}\" = set"; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 if test x$gcc_no_link = xyes; then
22265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22267 { (exit 1); exit 1; }; }
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22277 #define $ac_func innocuous_$ac_func
22279 /* System header to define __stub macros and hopefully few prototypes,
22280 which can conflict with char $ac_func (); below.
22281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22282 <limits.h> exists even on freestanding compilers. */
22284 #ifdef __STDC__
22285 # include <limits.h>
22286 #else
22287 # include <assert.h>
22288 #endif
22290 #undef $ac_func
22292 /* Override any gcc2 internal prototype to avoid an error. */
22293 #ifdef __cplusplus
22294 extern "C"
22296 #endif
22297 /* We use char because int might match the return type of a gcc2
22298 builtin and then its argument prototype would still apply. */
22299 char $ac_func ();
22300 /* The GNU C library defines this for functions which it implements
22301 to always fail with ENOSYS. Some functions are actually named
22302 something starting with __ and the normal name is an alias. */
22303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22304 choke me
22305 #else
22306 char (*f) () = $ac_func;
22307 #endif
22308 #ifdef __cplusplus
22310 #endif
22313 main ()
22315 return f != $ac_func;
22317 return 0;
22319 _ACEOF
22320 rm -f conftest.$ac_objext conftest$ac_exeext
22321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22322 (eval $ac_link) 2>conftest.er1
22323 ac_status=$?
22324 grep -v '^ *+' conftest.er1 >conftest.err
22325 rm -f conftest.er1
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } &&
22329 { ac_try='test -z "$ac_c_werror_flag"
22330 || test ! -s conftest.err'
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22333 ac_status=$?
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; } &&
22336 { ac_try='test -s conftest$ac_exeext'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 eval "$as_ac_var=yes"
22343 else
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22347 eval "$as_ac_var=no"
22349 rm -f conftest.err conftest.$ac_objext \
22350 conftest$ac_exeext conftest.$ac_ext
22352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22354 if test `eval echo '${'$as_ac_var'}'` = yes; then
22355 cat >>confdefs.h <<_ACEOF
22356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22357 _ACEOF
22360 done
22362 else
22364 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22365 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22366 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22367 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22368 echo $ECHO_N "(cached) $ECHO_C" >&6
22369 else
22373 ac_ext=cc
22374 ac_cpp='$CXXCPP $CPPFLAGS'
22375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22379 cat >conftest.$ac_ext <<_ACEOF
22380 /* confdefs.h. */
22381 _ACEOF
22382 cat confdefs.h >>conftest.$ac_ext
22383 cat >>conftest.$ac_ext <<_ACEOF
22384 /* end confdefs.h. */
22385 #include <math.h>
22386 #ifdef HAVE_IEEEFP_H
22387 #include <ieeefp.h>
22388 #endif
22391 main ()
22393 _log10l(0);
22395 return 0;
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22400 (eval $ac_compile) 2>conftest.er1
22401 ac_status=$?
22402 grep -v '^ *+' conftest.er1 >conftest.err
22403 rm -f conftest.er1
22404 cat conftest.err >&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } &&
22407 { ac_try='test -z "$ac_cxx_werror_flag"
22408 || test ! -s conftest.err'
22409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410 (eval $ac_try) 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; } &&
22414 { ac_try='test -s conftest.$ac_objext'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22417 ac_status=$?
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22420 glibcxx_cv_func__log10l_use=yes
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22425 glibcxx_cv_func__log10l_use=no
22427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22428 ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22439 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22441 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22443 for ac_func in _log10l
22445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446 echo "$as_me:$LINENO: checking for $ac_func" >&5
22447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22448 if eval "test \"\${$as_ac_var+set}\" = set"; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 else
22451 if test x$gcc_no_link = xyes; then
22452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22454 { (exit 1); exit 1; }; }
22456 cat >conftest.$ac_ext <<_ACEOF
22457 /* confdefs.h. */
22458 _ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22464 #define $ac_func innocuous_$ac_func
22466 /* System header to define __stub macros and hopefully few prototypes,
22467 which can conflict with char $ac_func (); below.
22468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22469 <limits.h> exists even on freestanding compilers. */
22471 #ifdef __STDC__
22472 # include <limits.h>
22473 #else
22474 # include <assert.h>
22475 #endif
22477 #undef $ac_func
22479 /* Override any gcc2 internal prototype to avoid an error. */
22480 #ifdef __cplusplus
22481 extern "C"
22483 #endif
22484 /* We use char because int might match the return type of a gcc2
22485 builtin and then its argument prototype would still apply. */
22486 char $ac_func ();
22487 /* The GNU C library defines this for functions which it implements
22488 to always fail with ENOSYS. Some functions are actually named
22489 something starting with __ and the normal name is an alias. */
22490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22491 choke me
22492 #else
22493 char (*f) () = $ac_func;
22494 #endif
22495 #ifdef __cplusplus
22497 #endif
22500 main ()
22502 return f != $ac_func;
22504 return 0;
22506 _ACEOF
22507 rm -f conftest.$ac_objext conftest$ac_exeext
22508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22509 (eval $ac_link) 2>conftest.er1
22510 ac_status=$?
22511 grep -v '^ *+' conftest.er1 >conftest.err
22512 rm -f conftest.er1
22513 cat conftest.err >&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try='test -z "$ac_c_werror_flag"
22517 || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest$ac_exeext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22526 ac_status=$?
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 eval "$as_ac_var=yes"
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22534 eval "$as_ac_var=no"
22536 rm -f conftest.err conftest.$ac_objext \
22537 conftest$ac_exeext conftest.$ac_ext
22539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22541 if test `eval echo '${'$as_ac_var'}'` = yes; then
22542 cat >>confdefs.h <<_ACEOF
22543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22544 _ACEOF
22547 done
22554 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22555 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22556 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22557 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22558 echo $ECHO_N "(cached) $ECHO_C" >&6
22559 else
22563 ac_ext=cc
22564 ac_cpp='$CXXCPP $CPPFLAGS'
22565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22569 cat >conftest.$ac_ext <<_ACEOF
22570 /* confdefs.h. */
22571 _ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 #include <math.h>
22577 main ()
22579 modfl(0, 0);
22581 return 0;
22583 _ACEOF
22584 rm -f conftest.$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22587 ac_status=$?
22588 grep -v '^ *+' conftest.er1 >conftest.err
22589 rm -f conftest.er1
22590 cat conftest.err >&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -z "$ac_cxx_werror_flag"
22594 || test ! -s conftest.err'
22595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596 (eval $ac_try) 2>&5
22597 ac_status=$?
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; } &&
22600 { ac_try='test -s conftest.$ac_objext'
22601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22602 (eval $ac_try) 2>&5
22603 ac_status=$?
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; }; then
22606 glibcxx_cv_func_modfl_use=yes
22607 else
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.$ac_ext >&5
22611 glibcxx_cv_func_modfl_use=no
22613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22614 ac_ext=c
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22625 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22627 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22629 for ac_func in modfl
22631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22632 echo "$as_me:$LINENO: checking for $ac_func" >&5
22633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22634 if eval "test \"\${$as_ac_var+set}\" = set"; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 if test x$gcc_no_link = xyes; then
22638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22640 { (exit 1); exit 1; }; }
22642 cat >conftest.$ac_ext <<_ACEOF
22643 /* confdefs.h. */
22644 _ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22650 #define $ac_func innocuous_$ac_func
22652 /* System header to define __stub macros and hopefully few prototypes,
22653 which can conflict with char $ac_func (); below.
22654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22655 <limits.h> exists even on freestanding compilers. */
22657 #ifdef __STDC__
22658 # include <limits.h>
22659 #else
22660 # include <assert.h>
22661 #endif
22663 #undef $ac_func
22665 /* Override any gcc2 internal prototype to avoid an error. */
22666 #ifdef __cplusplus
22667 extern "C"
22669 #endif
22670 /* We use char because int might match the return type of a gcc2
22671 builtin and then its argument prototype would still apply. */
22672 char $ac_func ();
22673 /* The GNU C library defines this for functions which it implements
22674 to always fail with ENOSYS. Some functions are actually named
22675 something starting with __ and the normal name is an alias. */
22676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22677 choke me
22678 #else
22679 char (*f) () = $ac_func;
22680 #endif
22681 #ifdef __cplusplus
22683 #endif
22686 main ()
22688 return f != $ac_func;
22690 return 0;
22692 _ACEOF
22693 rm -f conftest.$ac_objext conftest$ac_exeext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22695 (eval $ac_link) 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try='test -z "$ac_c_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try='test -s conftest$ac_exeext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 eval "$as_ac_var=yes"
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22720 eval "$as_ac_var=no"
22722 rm -f conftest.err conftest.$ac_objext \
22723 conftest$ac_exeext conftest.$ac_ext
22725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22727 if test `eval echo '${'$as_ac_var'}'` = yes; then
22728 cat >>confdefs.h <<_ACEOF
22729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22730 _ACEOF
22733 done
22735 else
22737 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22738 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22739 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22740 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22742 else
22746 ac_ext=cc
22747 ac_cpp='$CXXCPP $CPPFLAGS'
22748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22752 cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h. */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 #include <math.h>
22760 main ()
22762 _modfl(0, 0);
22764 return 0;
22766 _ACEOF
22767 rm -f conftest.$ac_objext
22768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22769 (eval $ac_compile) 2>conftest.er1
22770 ac_status=$?
22771 grep -v '^ *+' conftest.er1 >conftest.err
22772 rm -f conftest.er1
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } &&
22776 { ac_try='test -z "$ac_cxx_werror_flag"
22777 || test ! -s conftest.err'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try='test -s conftest.$ac_objext'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22786 ac_status=$?
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; }; then
22789 glibcxx_cv_func__modfl_use=yes
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22794 glibcxx_cv_func__modfl_use=no
22796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22797 ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22808 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22810 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22812 for ac_func in _modfl
22814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22815 echo "$as_me:$LINENO: checking for $ac_func" >&5
22816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22817 if eval "test \"\${$as_ac_var+set}\" = set"; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 else
22820 if test x$gcc_no_link = xyes; then
22821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22823 { (exit 1); exit 1; }; }
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h. */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22833 #define $ac_func innocuous_$ac_func
22835 /* System header to define __stub macros and hopefully few prototypes,
22836 which can conflict with char $ac_func (); below.
22837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22838 <limits.h> exists even on freestanding compilers. */
22840 #ifdef __STDC__
22841 # include <limits.h>
22842 #else
22843 # include <assert.h>
22844 #endif
22846 #undef $ac_func
22848 /* Override any gcc2 internal prototype to avoid an error. */
22849 #ifdef __cplusplus
22850 extern "C"
22852 #endif
22853 /* We use char because int might match the return type of a gcc2
22854 builtin and then its argument prototype would still apply. */
22855 char $ac_func ();
22856 /* The GNU C library defines this for functions which it implements
22857 to always fail with ENOSYS. Some functions are actually named
22858 something starting with __ and the normal name is an alias. */
22859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22860 choke me
22861 #else
22862 char (*f) () = $ac_func;
22863 #endif
22864 #ifdef __cplusplus
22866 #endif
22869 main ()
22871 return f != $ac_func;
22873 return 0;
22875 _ACEOF
22876 rm -f conftest.$ac_objext conftest$ac_exeext
22877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22878 (eval $ac_link) 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -z "$ac_c_werror_flag"
22886 || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 eval "$as_ac_var=yes"
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22903 eval "$as_ac_var=no"
22905 rm -f conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22910 if test `eval echo '${'$as_ac_var'}'` = yes; then
22911 cat >>confdefs.h <<_ACEOF
22912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22913 _ACEOF
22916 done
22923 echo "$as_me:$LINENO: checking for powl declaration" >&5
22924 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22925 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22926 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22927 echo $ECHO_N "(cached) $ECHO_C" >&6
22928 else
22932 ac_ext=cc
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22938 cat >conftest.$ac_ext <<_ACEOF
22939 /* confdefs.h. */
22940 _ACEOF
22941 cat confdefs.h >>conftest.$ac_ext
22942 cat >>conftest.$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22944 #include <math.h>
22946 main ()
22948 powl(0, 0);
22950 return 0;
22952 _ACEOF
22953 rm -f conftest.$ac_objext
22954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22955 (eval $ac_compile) 2>conftest.er1
22956 ac_status=$?
22957 grep -v '^ *+' conftest.er1 >conftest.err
22958 rm -f conftest.er1
22959 cat conftest.err >&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } &&
22962 { ac_try='test -z "$ac_cxx_werror_flag"
22963 || test ! -s conftest.err'
22964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22965 (eval $ac_try) 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; } &&
22969 { ac_try='test -s conftest.$ac_objext'
22970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22971 (eval $ac_try) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); }; }; then
22975 glibcxx_cv_func_powl_use=yes
22976 else
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.$ac_ext >&5
22980 glibcxx_cv_func_powl_use=no
22982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22983 ac_ext=c
22984 ac_cpp='$CPP $CPPFLAGS'
22985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22994 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22996 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22998 for ac_func in powl
23000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23001 echo "$as_me:$LINENO: checking for $ac_func" >&5
23002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23003 if eval "test \"\${$as_ac_var+set}\" = set"; then
23004 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 else
23006 if test x$gcc_no_link = xyes; then
23007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23009 { (exit 1); exit 1; }; }
23011 cat >conftest.$ac_ext <<_ACEOF
23012 /* confdefs.h. */
23013 _ACEOF
23014 cat confdefs.h >>conftest.$ac_ext
23015 cat >>conftest.$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23019 #define $ac_func innocuous_$ac_func
23021 /* System header to define __stub macros and hopefully few prototypes,
23022 which can conflict with char $ac_func (); below.
23023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23024 <limits.h> exists even on freestanding compilers. */
23026 #ifdef __STDC__
23027 # include <limits.h>
23028 #else
23029 # include <assert.h>
23030 #endif
23032 #undef $ac_func
23034 /* Override any gcc2 internal prototype to avoid an error. */
23035 #ifdef __cplusplus
23036 extern "C"
23038 #endif
23039 /* We use char because int might match the return type of a gcc2
23040 builtin and then its argument prototype would still apply. */
23041 char $ac_func ();
23042 /* The GNU C library defines this for functions which it implements
23043 to always fail with ENOSYS. Some functions are actually named
23044 something starting with __ and the normal name is an alias. */
23045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23046 choke me
23047 #else
23048 char (*f) () = $ac_func;
23049 #endif
23050 #ifdef __cplusplus
23052 #endif
23055 main ()
23057 return f != $ac_func;
23059 return 0;
23061 _ACEOF
23062 rm -f conftest.$ac_objext conftest$ac_exeext
23063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23064 (eval $ac_link) 2>conftest.er1
23065 ac_status=$?
23066 grep -v '^ *+' conftest.er1 >conftest.err
23067 rm -f conftest.er1
23068 cat conftest.err >&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); } &&
23071 { ac_try='test -z "$ac_c_werror_flag"
23072 || test ! -s conftest.err'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try='test -s conftest$ac_exeext'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; }; then
23084 eval "$as_ac_var=yes"
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23089 eval "$as_ac_var=no"
23091 rm -f conftest.err conftest.$ac_objext \
23092 conftest$ac_exeext conftest.$ac_ext
23094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23096 if test `eval echo '${'$as_ac_var'}'` = yes; then
23097 cat >>confdefs.h <<_ACEOF
23098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23099 _ACEOF
23102 done
23104 else
23106 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23107 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23108 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23109 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23110 echo $ECHO_N "(cached) $ECHO_C" >&6
23111 else
23115 ac_ext=cc
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121 cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h. */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127 #include <math.h>
23129 main ()
23131 _powl(0, 0);
23133 return 0;
23135 _ACEOF
23136 rm -f conftest.$ac_objext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23138 (eval $ac_compile) 2>conftest.er1
23139 ac_status=$?
23140 grep -v '^ *+' conftest.er1 >conftest.err
23141 rm -f conftest.er1
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try='test -z "$ac_cxx_werror_flag"
23146 || test ! -s conftest.err'
23147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23148 (eval $ac_try) 2>&5
23149 ac_status=$?
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); }; } &&
23152 { ac_try='test -s conftest.$ac_objext'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; }; then
23158 glibcxx_cv_func__powl_use=yes
23159 else
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.$ac_ext >&5
23163 glibcxx_cv_func__powl_use=no
23165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23166 ac_ext=c
23167 ac_cpp='$CPP $CPPFLAGS'
23168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23177 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23179 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23181 for ac_func in _powl
23183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23184 echo "$as_me:$LINENO: checking for $ac_func" >&5
23185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23186 if eval "test \"\${$as_ac_var+set}\" = set"; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189 if test x$gcc_no_link = xyes; then
23190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23192 { (exit 1); exit 1; }; }
23194 cat >conftest.$ac_ext <<_ACEOF
23195 /* confdefs.h. */
23196 _ACEOF
23197 cat confdefs.h >>conftest.$ac_ext
23198 cat >>conftest.$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23202 #define $ac_func innocuous_$ac_func
23204 /* System header to define __stub macros and hopefully few prototypes,
23205 which can conflict with char $ac_func (); below.
23206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23207 <limits.h> exists even on freestanding compilers. */
23209 #ifdef __STDC__
23210 # include <limits.h>
23211 #else
23212 # include <assert.h>
23213 #endif
23215 #undef $ac_func
23217 /* Override any gcc2 internal prototype to avoid an error. */
23218 #ifdef __cplusplus
23219 extern "C"
23221 #endif
23222 /* We use char because int might match the return type of a gcc2
23223 builtin and then its argument prototype would still apply. */
23224 char $ac_func ();
23225 /* The GNU C library defines this for functions which it implements
23226 to always fail with ENOSYS. Some functions are actually named
23227 something starting with __ and the normal name is an alias. */
23228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23229 choke me
23230 #else
23231 char (*f) () = $ac_func;
23232 #endif
23233 #ifdef __cplusplus
23235 #endif
23238 main ()
23240 return f != $ac_func;
23242 return 0;
23244 _ACEOF
23245 rm -f conftest.$ac_objext conftest$ac_exeext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247 (eval $ac_link) 2>conftest.er1
23248 ac_status=$?
23249 grep -v '^ *+' conftest.er1 >conftest.err
23250 rm -f conftest.er1
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try='test -z "$ac_c_werror_flag"
23255 || test ! -s conftest.err'
23256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257 (eval $ac_try) 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; } &&
23261 { ac_try='test -s conftest$ac_exeext'
23262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263 (eval $ac_try) 2>&5
23264 ac_status=$?
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); }; }; then
23267 eval "$as_ac_var=yes"
23268 else
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23272 eval "$as_ac_var=no"
23274 rm -f conftest.err conftest.$ac_objext \
23275 conftest$ac_exeext conftest.$ac_ext
23277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23279 if test `eval echo '${'$as_ac_var'}'` = yes; then
23280 cat >>confdefs.h <<_ACEOF
23281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23282 _ACEOF
23285 done
23292 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23293 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23294 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23295 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23296 echo $ECHO_N "(cached) $ECHO_C" >&6
23297 else
23301 ac_ext=cc
23302 ac_cpp='$CXXCPP $CPPFLAGS'
23303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23307 cat >conftest.$ac_ext <<_ACEOF
23308 /* confdefs.h. */
23309 _ACEOF
23310 cat confdefs.h >>conftest.$ac_ext
23311 cat >>conftest.$ac_ext <<_ACEOF
23312 /* end confdefs.h. */
23313 #include <math.h>
23314 #ifdef HAVE_IEEEFP_H
23315 #include <ieeefp.h>
23316 #endif
23319 main ()
23321 sqrtl(0);
23323 return 0;
23325 _ACEOF
23326 rm -f conftest.$ac_objext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23328 (eval $ac_compile) 2>conftest.er1
23329 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1
23332 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try='test -z "$ac_cxx_werror_flag"
23336 || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 glibcxx_cv_func_sqrtl_use=yes
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23353 glibcxx_cv_func_sqrtl_use=no
23355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23367 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23369 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23371 for ac_func in sqrtl
23373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23374 echo "$as_me:$LINENO: checking for $ac_func" >&5
23375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23376 if eval "test \"\${$as_ac_var+set}\" = set"; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 else
23379 if test x$gcc_no_link = xyes; then
23380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23382 { (exit 1); exit 1; }; }
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23392 #define $ac_func innocuous_$ac_func
23394 /* System header to define __stub macros and hopefully few prototypes,
23395 which can conflict with char $ac_func (); below.
23396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23397 <limits.h> exists even on freestanding compilers. */
23399 #ifdef __STDC__
23400 # include <limits.h>
23401 #else
23402 # include <assert.h>
23403 #endif
23405 #undef $ac_func
23407 /* Override any gcc2 internal prototype to avoid an error. */
23408 #ifdef __cplusplus
23409 extern "C"
23411 #endif
23412 /* We use char because int might match the return type of a gcc2
23413 builtin and then its argument prototype would still apply. */
23414 char $ac_func ();
23415 /* The GNU C library defines this for functions which it implements
23416 to always fail with ENOSYS. Some functions are actually named
23417 something starting with __ and the normal name is an alias. */
23418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23419 choke me
23420 #else
23421 char (*f) () = $ac_func;
23422 #endif
23423 #ifdef __cplusplus
23425 #endif
23428 main ()
23430 return f != $ac_func;
23432 return 0;
23434 _ACEOF
23435 rm -f conftest.$ac_objext conftest$ac_exeext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23437 (eval $ac_link) 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -z "$ac_c_werror_flag"
23445 || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 eval "$as_ac_var=yes"
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 eval "$as_ac_var=no"
23464 rm -f conftest.err conftest.$ac_objext \
23465 conftest$ac_exeext conftest.$ac_ext
23467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23469 if test `eval echo '${'$as_ac_var'}'` = yes; then
23470 cat >>confdefs.h <<_ACEOF
23471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23472 _ACEOF
23475 done
23477 else
23479 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23480 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23481 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23482 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23488 ac_ext=cc
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494 cat >conftest.$ac_ext <<_ACEOF
23495 /* confdefs.h. */
23496 _ACEOF
23497 cat confdefs.h >>conftest.$ac_ext
23498 cat >>conftest.$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 #include <math.h>
23501 #ifdef HAVE_IEEEFP_H
23502 #include <ieeefp.h>
23503 #endif
23506 main ()
23508 _sqrtl(0);
23510 return 0;
23512 _ACEOF
23513 rm -f conftest.$ac_objext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23515 (eval $ac_compile) 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -z "$ac_cxx_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23526 ac_status=$?
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try='test -s conftest.$ac_objext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 glibcxx_cv_func__sqrtl_use=yes
23536 else
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23540 glibcxx_cv_func__sqrtl_use=no
23542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23554 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23556 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23558 for ac_func in _sqrtl
23560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23561 echo "$as_me:$LINENO: checking for $ac_func" >&5
23562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23563 if eval "test \"\${$as_ac_var+set}\" = set"; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 else
23566 if test x$gcc_no_link = xyes; then
23567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23569 { (exit 1); exit 1; }; }
23571 cat >conftest.$ac_ext <<_ACEOF
23572 /* confdefs.h. */
23573 _ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23579 #define $ac_func innocuous_$ac_func
23581 /* System header to define __stub macros and hopefully few prototypes,
23582 which can conflict with char $ac_func (); below.
23583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23584 <limits.h> exists even on freestanding compilers. */
23586 #ifdef __STDC__
23587 # include <limits.h>
23588 #else
23589 # include <assert.h>
23590 #endif
23592 #undef $ac_func
23594 /* Override any gcc2 internal prototype to avoid an error. */
23595 #ifdef __cplusplus
23596 extern "C"
23598 #endif
23599 /* We use char because int might match the return type of a gcc2
23600 builtin and then its argument prototype would still apply. */
23601 char $ac_func ();
23602 /* The GNU C library defines this for functions which it implements
23603 to always fail with ENOSYS. Some functions are actually named
23604 something starting with __ and the normal name is an alias. */
23605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23606 choke me
23607 #else
23608 char (*f) () = $ac_func;
23609 #endif
23610 #ifdef __cplusplus
23612 #endif
23615 main ()
23617 return f != $ac_func;
23619 return 0;
23621 _ACEOF
23622 rm -f conftest.$ac_objext conftest$ac_exeext
23623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23624 (eval $ac_link) 2>conftest.er1
23625 ac_status=$?
23626 grep -v '^ *+' conftest.er1 >conftest.err
23627 rm -f conftest.er1
23628 cat conftest.err >&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); } &&
23631 { ac_try='test -z "$ac_c_werror_flag"
23632 || test ! -s conftest.err'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; } &&
23638 { ac_try='test -s conftest$ac_exeext'
23639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23640 (eval $ac_try) 2>&5
23641 ac_status=$?
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); }; }; then
23644 eval "$as_ac_var=yes"
23645 else
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23649 eval "$as_ac_var=no"
23651 rm -f conftest.err conftest.$ac_objext \
23652 conftest$ac_exeext conftest.$ac_ext
23654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23656 if test `eval echo '${'$as_ac_var'}'` = yes; then
23657 cat >>confdefs.h <<_ACEOF
23658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23659 _ACEOF
23662 done
23669 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23670 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23671 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23672 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23678 ac_ext=cc
23679 ac_cpp='$CXXCPP $CPPFLAGS'
23680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684 cat >conftest.$ac_ext <<_ACEOF
23685 /* confdefs.h. */
23686 _ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23690 #include <math.h>
23692 main ()
23694 sincosl(0, 0, 0);
23696 return 0;
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23702 ac_status=$?
23703 grep -v '^ *+' conftest.er1 >conftest.err
23704 rm -f conftest.er1
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try='test -z "$ac_cxx_werror_flag"
23709 || test ! -s conftest.err'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; } &&
23715 { ac_try='test -s conftest.$ac_objext'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; }; then
23721 glibcxx_cv_func_sincosl_use=yes
23722 else
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.$ac_ext >&5
23726 glibcxx_cv_func_sincosl_use=no
23728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23729 ac_ext=c
23730 ac_cpp='$CPP $CPPFLAGS'
23731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23740 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23744 for ac_func in sincosl
23746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23747 echo "$as_me:$LINENO: checking for $ac_func" >&5
23748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23749 if eval "test \"\${$as_ac_var+set}\" = set"; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 else
23752 if test x$gcc_no_link = xyes; then
23753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23755 { (exit 1); exit 1; }; }
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23765 #define $ac_func innocuous_$ac_func
23767 /* System header to define __stub macros and hopefully few prototypes,
23768 which can conflict with char $ac_func (); below.
23769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23770 <limits.h> exists even on freestanding compilers. */
23772 #ifdef __STDC__
23773 # include <limits.h>
23774 #else
23775 # include <assert.h>
23776 #endif
23778 #undef $ac_func
23780 /* Override any gcc2 internal prototype to avoid an error. */
23781 #ifdef __cplusplus
23782 extern "C"
23784 #endif
23785 /* We use char because int might match the return type of a gcc2
23786 builtin and then its argument prototype would still apply. */
23787 char $ac_func ();
23788 /* The GNU C library defines this for functions which it implements
23789 to always fail with ENOSYS. Some functions are actually named
23790 something starting with __ and the normal name is an alias. */
23791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23792 choke me
23793 #else
23794 char (*f) () = $ac_func;
23795 #endif
23796 #ifdef __cplusplus
23798 #endif
23801 main ()
23803 return f != $ac_func;
23805 return 0;
23807 _ACEOF
23808 rm -f conftest.$ac_objext conftest$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>conftest.er1
23811 ac_status=$?
23812 grep -v '^ *+' conftest.er1 >conftest.err
23813 rm -f conftest.er1
23814 cat conftest.err >&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); } &&
23817 { ac_try='test -z "$ac_c_werror_flag"
23818 || test ! -s conftest.err'
23819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820 (eval $ac_try) 2>&5
23821 ac_status=$?
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); }; } &&
23824 { ac_try='test -s conftest$ac_exeext'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; }; then
23830 eval "$as_ac_var=yes"
23831 else
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23835 eval "$as_ac_var=no"
23837 rm -f conftest.err conftest.$ac_objext \
23838 conftest$ac_exeext conftest.$ac_ext
23840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23842 if test `eval echo '${'$as_ac_var'}'` = yes; then
23843 cat >>confdefs.h <<_ACEOF
23844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23845 _ACEOF
23848 done
23850 else
23852 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23853 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23854 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23855 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23856 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 else
23861 ac_ext=cc
23862 ac_cpp='$CXXCPP $CPPFLAGS'
23863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867 cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h. */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 #include <math.h>
23875 main ()
23877 _sincosl(0, 0, 0);
23879 return 0;
23881 _ACEOF
23882 rm -f conftest.$ac_objext
23883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23884 (eval $ac_compile) 2>conftest.er1
23885 ac_status=$?
23886 grep -v '^ *+' conftest.er1 >conftest.err
23887 rm -f conftest.er1
23888 cat conftest.err >&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } &&
23891 { ac_try='test -z "$ac_cxx_werror_flag"
23892 || test ! -s conftest.err'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23895 ac_status=$?
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; } &&
23898 { ac_try='test -s conftest.$ac_objext'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23901 ac_status=$?
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; }; then
23904 glibcxx_cv_func__sincosl_use=yes
23905 else
23906 echo "$as_me: failed program was:" >&5
23907 sed 's/^/| /' conftest.$ac_ext >&5
23909 glibcxx_cv_func__sincosl_use=no
23911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23923 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23925 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23927 for ac_func in _sincosl
23929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23930 echo "$as_me:$LINENO: checking for $ac_func" >&5
23931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23932 if eval "test \"\${$as_ac_var+set}\" = set"; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 else
23935 if test x$gcc_no_link = xyes; then
23936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23938 { (exit 1); exit 1; }; }
23940 cat >conftest.$ac_ext <<_ACEOF
23941 /* confdefs.h. */
23942 _ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23948 #define $ac_func innocuous_$ac_func
23950 /* System header to define __stub macros and hopefully few prototypes,
23951 which can conflict with char $ac_func (); below.
23952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23953 <limits.h> exists even on freestanding compilers. */
23955 #ifdef __STDC__
23956 # include <limits.h>
23957 #else
23958 # include <assert.h>
23959 #endif
23961 #undef $ac_func
23963 /* Override any gcc2 internal prototype to avoid an error. */
23964 #ifdef __cplusplus
23965 extern "C"
23967 #endif
23968 /* We use char because int might match the return type of a gcc2
23969 builtin and then its argument prototype would still apply. */
23970 char $ac_func ();
23971 /* The GNU C library defines this for functions which it implements
23972 to always fail with ENOSYS. Some functions are actually named
23973 something starting with __ and the normal name is an alias. */
23974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23975 choke me
23976 #else
23977 char (*f) () = $ac_func;
23978 #endif
23979 #ifdef __cplusplus
23981 #endif
23984 main ()
23986 return f != $ac_func;
23988 return 0;
23990 _ACEOF
23991 rm -f conftest.$ac_objext conftest$ac_exeext
23992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23993 (eval $ac_link) 2>conftest.er1
23994 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try='test -z "$ac_c_werror_flag"
24001 || test ! -s conftest.err'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; } &&
24007 { ac_try='test -s conftest$ac_exeext'
24008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24010 ac_status=$?
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 eval "$as_ac_var=yes"
24014 else
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24018 eval "$as_ac_var=no"
24020 rm -f conftest.err conftest.$ac_objext \
24021 conftest$ac_exeext conftest.$ac_ext
24023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24025 if test `eval echo '${'$as_ac_var'}'` = yes; then
24026 cat >>confdefs.h <<_ACEOF
24027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24028 _ACEOF
24031 done
24038 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24039 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24040 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24041 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24047 ac_ext=cc
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053 cat >conftest.$ac_ext <<_ACEOF
24054 /* confdefs.h. */
24055 _ACEOF
24056 cat confdefs.h >>conftest.$ac_ext
24057 cat >>conftest.$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24059 #include <math.h>
24060 #ifdef HAVE_IEEEFP_H
24061 #include <ieeefp.h>
24062 #endif
24065 main ()
24067 finitel(0);
24069 return 0;
24071 _ACEOF
24072 rm -f conftest.$ac_objext
24073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24074 (eval $ac_compile) 2>conftest.er1
24075 ac_status=$?
24076 grep -v '^ *+' conftest.er1 >conftest.err
24077 rm -f conftest.er1
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try='test -z "$ac_cxx_werror_flag"
24082 || test ! -s conftest.err'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24085 ac_status=$?
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; } &&
24088 { ac_try='test -s conftest.$ac_objext'
24089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24090 (eval $ac_try) 2>&5
24091 ac_status=$?
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); }; }; then
24094 glibcxx_cv_func_finitel_use=yes
24095 else
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24099 glibcxx_cv_func_finitel_use=no
24101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24102 ac_ext=c
24103 ac_cpp='$CPP $CPPFLAGS'
24104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24113 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24115 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24117 for ac_func in finitel
24119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24120 echo "$as_me:$LINENO: checking for $ac_func" >&5
24121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24122 if eval "test \"\${$as_ac_var+set}\" = set"; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 else
24125 if test x$gcc_no_link = xyes; then
24126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24128 { (exit 1); exit 1; }; }
24130 cat >conftest.$ac_ext <<_ACEOF
24131 /* confdefs.h. */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24138 #define $ac_func innocuous_$ac_func
24140 /* System header to define __stub macros and hopefully few prototypes,
24141 which can conflict with char $ac_func (); below.
24142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24143 <limits.h> exists even on freestanding compilers. */
24145 #ifdef __STDC__
24146 # include <limits.h>
24147 #else
24148 # include <assert.h>
24149 #endif
24151 #undef $ac_func
24153 /* Override any gcc2 internal prototype to avoid an error. */
24154 #ifdef __cplusplus
24155 extern "C"
24157 #endif
24158 /* We use char because int might match the return type of a gcc2
24159 builtin and then its argument prototype would still apply. */
24160 char $ac_func ();
24161 /* The GNU C library defines this for functions which it implements
24162 to always fail with ENOSYS. Some functions are actually named
24163 something starting with __ and the normal name is an alias. */
24164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24165 choke me
24166 #else
24167 char (*f) () = $ac_func;
24168 #endif
24169 #ifdef __cplusplus
24171 #endif
24174 main ()
24176 return f != $ac_func;
24178 return 0;
24180 _ACEOF
24181 rm -f conftest.$ac_objext conftest$ac_exeext
24182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24183 (eval $ac_link) 2>conftest.er1
24184 ac_status=$?
24185 grep -v '^ *+' conftest.er1 >conftest.err
24186 rm -f conftest.er1
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } &&
24190 { ac_try='test -z "$ac_c_werror_flag"
24191 || test ! -s conftest.err'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24194 ac_status=$?
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; } &&
24197 { ac_try='test -s conftest$ac_exeext'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24200 ac_status=$?
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; }; then
24203 eval "$as_ac_var=yes"
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24208 eval "$as_ac_var=no"
24210 rm -f conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24215 if test `eval echo '${'$as_ac_var'}'` = yes; then
24216 cat >>confdefs.h <<_ACEOF
24217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24218 _ACEOF
24221 done
24223 else
24225 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24226 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24227 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24228 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 else
24234 ac_ext=cc
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24240 cat >conftest.$ac_ext <<_ACEOF
24241 /* confdefs.h. */
24242 _ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <math.h>
24247 #ifdef HAVE_IEEEFP_H
24248 #include <ieeefp.h>
24249 #endif
24252 main ()
24254 _finitel(0);
24256 return 0;
24258 _ACEOF
24259 rm -f conftest.$ac_objext
24260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24261 (eval $ac_compile) 2>conftest.er1
24262 ac_status=$?
24263 grep -v '^ *+' conftest.er1 >conftest.err
24264 rm -f conftest.er1
24265 cat conftest.err >&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); } &&
24268 { ac_try='test -z "$ac_cxx_werror_flag"
24269 || test ! -s conftest.err'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24272 ac_status=$?
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; } &&
24275 { ac_try='test -s conftest.$ac_objext'
24276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277 (eval $ac_try) 2>&5
24278 ac_status=$?
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; }; then
24281 glibcxx_cv_func__finitel_use=yes
24282 else
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24286 glibcxx_cv_func__finitel_use=no
24288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24289 ac_ext=c
24290 ac_cpp='$CPP $CPPFLAGS'
24291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24300 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24302 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24304 for ac_func in _finitel
24306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24307 echo "$as_me:$LINENO: checking for $ac_func" >&5
24308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24309 if eval "test \"\${$as_ac_var+set}\" = set"; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 else
24312 if test x$gcc_no_link = xyes; then
24313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24315 { (exit 1); exit 1; }; }
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24325 #define $ac_func innocuous_$ac_func
24327 /* System header to define __stub macros and hopefully few prototypes,
24328 which can conflict with char $ac_func (); below.
24329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330 <limits.h> exists even on freestanding compilers. */
24332 #ifdef __STDC__
24333 # include <limits.h>
24334 #else
24335 # include <assert.h>
24336 #endif
24338 #undef $ac_func
24340 /* Override any gcc2 internal prototype to avoid an error. */
24341 #ifdef __cplusplus
24342 extern "C"
24344 #endif
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24347 char $ac_func ();
24348 /* The GNU C library defines this for functions which it implements
24349 to always fail with ENOSYS. Some functions are actually named
24350 something starting with __ and the normal name is an alias. */
24351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24352 choke me
24353 #else
24354 char (*f) () = $ac_func;
24355 #endif
24356 #ifdef __cplusplus
24358 #endif
24361 main ()
24363 return f != $ac_func;
24365 return 0;
24367 _ACEOF
24368 rm -f conftest.$ac_objext conftest$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try='test -z "$ac_c_werror_flag"
24378 || test ! -s conftest.err'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24381 ac_status=$?
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; } &&
24384 { ac_try='test -s conftest$ac_exeext'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24387 ac_status=$?
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; }; then
24390 eval "$as_ac_var=yes"
24391 else
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.$ac_ext >&5
24395 eval "$as_ac_var=no"
24397 rm -f conftest.err conftest.$ac_objext \
24398 conftest$ac_exeext conftest.$ac_ext
24400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24402 if test `eval echo '${'$as_ac_var'}'` = yes; then
24403 cat >>confdefs.h <<_ACEOF
24404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24405 _ACEOF
24408 done
24416 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24417 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24418 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24419 echo $ECHO_N "(cached) $ECHO_C" >&6
24420 else
24424 ac_ext=cc
24425 ac_cpp='$CXXCPP $CPPFLAGS'
24426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24430 cat >conftest.$ac_ext <<_ACEOF
24431 /* confdefs.h. */
24432 _ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h. */
24436 #include <math.h>
24438 main ()
24440 `for x in _acosf _asinf _atanf \
24441 _cosf _sinf _tanf \
24442 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24444 return 0;
24446 _ACEOF
24447 rm -f conftest.$ac_objext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24449 (eval $ac_compile) 2>conftest.er1
24450 ac_status=$?
24451 grep -v '^ *+' conftest.er1 >conftest.err
24452 rm -f conftest.er1
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } &&
24456 { ac_try='test -z "$ac_cxx_werror_flag"
24457 || test ! -s conftest.err'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; } &&
24463 { ac_try='test -s conftest.$ac_objext'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 glibcxx_cv_func__float_trig_use=yes
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24474 glibcxx_cv_func__float_trig_use=no
24476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24477 ac_ext=c
24478 ac_cpp='$CPP $CPPFLAGS'
24479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24486 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24487 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24497 for ac_func in _acosf _asinf _atanf \
24498 _cosf _sinf _tanf \
24499 _coshf _sinhf _tanhf
24501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24502 echo "$as_me:$LINENO: checking for $ac_func" >&5
24503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24504 if eval "test \"\${$as_ac_var+set}\" = set"; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24506 else
24507 if test x$gcc_no_link = xyes; then
24508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24510 { (exit 1); exit 1; }; }
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24520 #define $ac_func innocuous_$ac_func
24522 /* System header to define __stub macros and hopefully few prototypes,
24523 which can conflict with char $ac_func (); below.
24524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24525 <limits.h> exists even on freestanding compilers. */
24527 #ifdef __STDC__
24528 # include <limits.h>
24529 #else
24530 # include <assert.h>
24531 #endif
24533 #undef $ac_func
24535 /* Override any gcc2 internal prototype to avoid an error. */
24536 #ifdef __cplusplus
24537 extern "C"
24539 #endif
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24542 char $ac_func ();
24543 /* The GNU C library defines this for functions which it implements
24544 to always fail with ENOSYS. Some functions are actually named
24545 something starting with __ and the normal name is an alias. */
24546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24547 choke me
24548 #else
24549 char (*f) () = $ac_func;
24550 #endif
24551 #ifdef __cplusplus
24553 #endif
24556 main ()
24558 return f != $ac_func;
24560 return 0;
24562 _ACEOF
24563 rm -f conftest.$ac_objext conftest$ac_exeext
24564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24565 (eval $ac_link) 2>conftest.er1
24566 ac_status=$?
24567 grep -v '^ *+' conftest.er1 >conftest.err
24568 rm -f conftest.er1
24569 cat conftest.err >&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try='test -z "$ac_c_werror_flag"
24573 || test ! -s conftest.err'
24574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24575 (eval $ac_try) 2>&5
24576 ac_status=$?
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); }; } &&
24579 { ac_try='test -s conftest$ac_exeext'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24582 ac_status=$?
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; }; then
24585 eval "$as_ac_var=yes"
24586 else
24587 echo "$as_me: failed program was:" >&5
24588 sed 's/^/| /' conftest.$ac_ext >&5
24590 eval "$as_ac_var=no"
24592 rm -f conftest.err conftest.$ac_objext \
24593 conftest$ac_exeext conftest.$ac_ext
24595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24597 if test `eval echo '${'$as_ac_var'}'` = yes; then
24598 cat >>confdefs.h <<_ACEOF
24599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24600 _ACEOF
24603 done
24608 echo "$as_me:$LINENO: checking for _float round functions" >&5
24609 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24610 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24612 else
24616 ac_ext=cc
24617 ac_cpp='$CXXCPP $CPPFLAGS'
24618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 #include <math.h>
24630 main ()
24632 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24634 return 0;
24636 _ACEOF
24637 rm -f conftest.$ac_objext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24639 (eval $ac_compile) 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -z "$ac_cxx_werror_flag"
24647 || test ! -s conftest.err'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24650 ac_status=$?
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try='test -s conftest.$ac_objext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 glibcxx_cv_func__float_round_use=yes
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24664 glibcxx_cv_func__float_round_use=no
24666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24667 ac_ext=c
24668 ac_cpp='$CPP $CPPFLAGS'
24669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24676 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24677 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24680 for ac_func in _ceilf _floorf
24682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24683 echo "$as_me:$LINENO: checking for $ac_func" >&5
24684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24685 if eval "test \"\${$as_ac_var+set}\" = set"; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24687 else
24688 if test x$gcc_no_link = xyes; then
24689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24691 { (exit 1); exit 1; }; }
24693 cat >conftest.$ac_ext <<_ACEOF
24694 /* confdefs.h. */
24695 _ACEOF
24696 cat confdefs.h >>conftest.$ac_ext
24697 cat >>conftest.$ac_ext <<_ACEOF
24698 /* end confdefs.h. */
24699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24701 #define $ac_func innocuous_$ac_func
24703 /* System header to define __stub macros and hopefully few prototypes,
24704 which can conflict with char $ac_func (); below.
24705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24706 <limits.h> exists even on freestanding compilers. */
24708 #ifdef __STDC__
24709 # include <limits.h>
24710 #else
24711 # include <assert.h>
24712 #endif
24714 #undef $ac_func
24716 /* Override any gcc2 internal prototype to avoid an error. */
24717 #ifdef __cplusplus
24718 extern "C"
24720 #endif
24721 /* We use char because int might match the return type of a gcc2
24722 builtin and then its argument prototype would still apply. */
24723 char $ac_func ();
24724 /* The GNU C library defines this for functions which it implements
24725 to always fail with ENOSYS. Some functions are actually named
24726 something starting with __ and the normal name is an alias. */
24727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24728 choke me
24729 #else
24730 char (*f) () = $ac_func;
24731 #endif
24732 #ifdef __cplusplus
24734 #endif
24737 main ()
24739 return f != $ac_func;
24741 return 0;
24743 _ACEOF
24744 rm -f conftest.$ac_objext conftest$ac_exeext
24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24746 (eval $ac_link) 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } &&
24753 { ac_try='test -z "$ac_c_werror_flag"
24754 || test ! -s conftest.err'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; } &&
24760 { ac_try='test -s conftest$ac_exeext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 eval "$as_ac_var=yes"
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24771 eval "$as_ac_var=no"
24773 rm -f conftest.err conftest.$ac_objext \
24774 conftest$ac_exeext conftest.$ac_ext
24776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24778 if test `eval echo '${'$as_ac_var'}'` = yes; then
24779 cat >>confdefs.h <<_ACEOF
24780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24781 _ACEOF
24784 done
24790 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24791 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24792 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24794 else
24798 ac_ext=cc
24799 ac_cpp='$CXXCPP $CPPFLAGS'
24800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24804 cat >conftest.$ac_ext <<_ACEOF
24805 /* confdefs.h. */
24806 _ACEOF
24807 cat confdefs.h >>conftest.$ac_ext
24808 cat >>conftest.$ac_ext <<_ACEOF
24809 /* end confdefs.h. */
24810 #include <math.h>
24812 main ()
24814 `for x in _acosl _asinl _atanl \
24815 _cosl _sinl _tanl \
24816 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24818 return 0;
24820 _ACEOF
24821 rm -f conftest.$ac_objext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24823 (eval $ac_compile) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_cxx_werror_flag"
24831 || test ! -s conftest.err'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; } &&
24837 { ac_try='test -s conftest.$ac_objext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843 glibcxx_cv_func__long_double_trig_use=yes
24844 else
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24848 glibcxx_cv_func__long_double_trig_use=no
24850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24860 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24861 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24871 for ac_func in _acosl _asinl _atanl \
24872 _cosl _sinl _tanl \
24873 _coshl _sinhl _tanhl
24875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24876 echo "$as_me:$LINENO: checking for $ac_func" >&5
24877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24878 if eval "test \"\${$as_ac_var+set}\" = set"; then
24879 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 else
24881 if test x$gcc_no_link = xyes; then
24882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24884 { (exit 1); exit 1; }; }
24886 cat >conftest.$ac_ext <<_ACEOF
24887 /* confdefs.h. */
24888 _ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24894 #define $ac_func innocuous_$ac_func
24896 /* System header to define __stub macros and hopefully few prototypes,
24897 which can conflict with char $ac_func (); below.
24898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24899 <limits.h> exists even on freestanding compilers. */
24901 #ifdef __STDC__
24902 # include <limits.h>
24903 #else
24904 # include <assert.h>
24905 #endif
24907 #undef $ac_func
24909 /* Override any gcc2 internal prototype to avoid an error. */
24910 #ifdef __cplusplus
24911 extern "C"
24913 #endif
24914 /* We use char because int might match the return type of a gcc2
24915 builtin and then its argument prototype would still apply. */
24916 char $ac_func ();
24917 /* The GNU C library defines this for functions which it implements
24918 to always fail with ENOSYS. Some functions are actually named
24919 something starting with __ and the normal name is an alias. */
24920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24921 choke me
24922 #else
24923 char (*f) () = $ac_func;
24924 #endif
24925 #ifdef __cplusplus
24927 #endif
24930 main ()
24932 return f != $ac_func;
24934 return 0;
24936 _ACEOF
24937 rm -f conftest.$ac_objext conftest$ac_exeext
24938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24939 (eval $ac_link) 2>conftest.er1
24940 ac_status=$?
24941 grep -v '^ *+' conftest.er1 >conftest.err
24942 rm -f conftest.er1
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } &&
24946 { ac_try='test -z "$ac_c_werror_flag"
24947 || test ! -s conftest.err'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24950 ac_status=$?
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; } &&
24953 { ac_try='test -s conftest$ac_exeext'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; }; then
24959 eval "$as_ac_var=yes"
24960 else
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24964 eval "$as_ac_var=no"
24966 rm -f conftest.err conftest.$ac_objext \
24967 conftest$ac_exeext conftest.$ac_ext
24969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24971 if test `eval echo '${'$as_ac_var'}'` = yes; then
24972 cat >>confdefs.h <<_ACEOF
24973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24974 _ACEOF
24977 done
24982 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24983 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24984 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24985 echo $ECHO_N "(cached) $ECHO_C" >&6
24986 else
24990 ac_ext=cc
24991 ac_cpp='$CXXCPP $CPPFLAGS'
24992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24996 cat >conftest.$ac_ext <<_ACEOF
24997 /* confdefs.h. */
24998 _ACEOF
24999 cat confdefs.h >>conftest.$ac_ext
25000 cat >>conftest.$ac_ext <<_ACEOF
25001 /* end confdefs.h. */
25002 #include <math.h>
25004 main ()
25006 `for x in _ceill _floorl; do echo "$x (0);"; done`
25008 return 0;
25010 _ACEOF
25011 rm -f conftest.$ac_objext
25012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25013 (eval $ac_compile) 2>conftest.er1
25014 ac_status=$?
25015 grep -v '^ *+' conftest.er1 >conftest.err
25016 rm -f conftest.er1
25017 cat conftest.err >&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } &&
25020 { ac_try='test -z "$ac_cxx_werror_flag"
25021 || test ! -s conftest.err'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; } &&
25027 { ac_try='test -s conftest.$ac_objext'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25030 ac_status=$?
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; }; then
25033 glibcxx_cv_func__long_double_round_use=yes
25034 else
25035 echo "$as_me: failed program was:" >&5
25036 sed 's/^/| /' conftest.$ac_ext >&5
25038 glibcxx_cv_func__long_double_round_use=no
25040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25050 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25051 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25054 for ac_func in _ceill _floorl
25056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25057 echo "$as_me:$LINENO: checking for $ac_func" >&5
25058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25059 if eval "test \"\${$as_ac_var+set}\" = set"; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 if test x$gcc_no_link = xyes; then
25063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25065 { (exit 1); exit 1; }; }
25067 cat >conftest.$ac_ext <<_ACEOF
25068 /* confdefs.h. */
25069 _ACEOF
25070 cat confdefs.h >>conftest.$ac_ext
25071 cat >>conftest.$ac_ext <<_ACEOF
25072 /* end confdefs.h. */
25073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25075 #define $ac_func innocuous_$ac_func
25077 /* System header to define __stub macros and hopefully few prototypes,
25078 which can conflict with char $ac_func (); below.
25079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25080 <limits.h> exists even on freestanding compilers. */
25082 #ifdef __STDC__
25083 # include <limits.h>
25084 #else
25085 # include <assert.h>
25086 #endif
25088 #undef $ac_func
25090 /* Override any gcc2 internal prototype to avoid an error. */
25091 #ifdef __cplusplus
25092 extern "C"
25094 #endif
25095 /* We use char because int might match the return type of a gcc2
25096 builtin and then its argument prototype would still apply. */
25097 char $ac_func ();
25098 /* The GNU C library defines this for functions which it implements
25099 to always fail with ENOSYS. Some functions are actually named
25100 something starting with __ and the normal name is an alias. */
25101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25102 choke me
25103 #else
25104 char (*f) () = $ac_func;
25105 #endif
25106 #ifdef __cplusplus
25108 #endif
25111 main ()
25113 return f != $ac_func;
25115 return 0;
25117 _ACEOF
25118 rm -f conftest.$ac_objext conftest$ac_exeext
25119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25120 (eval $ac_link) 2>conftest.er1
25121 ac_status=$?
25122 grep -v '^ *+' conftest.er1 >conftest.err
25123 rm -f conftest.er1
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } &&
25127 { ac_try='test -z "$ac_c_werror_flag"
25128 || test ! -s conftest.err'
25129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130 (eval $ac_try) 2>&5
25131 ac_status=$?
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); }; } &&
25134 { ac_try='test -s conftest$ac_exeext'
25135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25136 (eval $ac_try) 2>&5
25137 ac_status=$?
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); }; }; then
25140 eval "$as_ac_var=yes"
25141 else
25142 echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25145 eval "$as_ac_var=no"
25147 rm -f conftest.err conftest.$ac_objext \
25148 conftest$ac_exeext conftest.$ac_ext
25150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25152 if test `eval echo '${'$as_ac_var'}'` = yes; then
25153 cat >>confdefs.h <<_ACEOF
25154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25155 _ACEOF
25158 done
25163 LIBS="$ac_save_LIBS"
25164 CXXFLAGS="$ac_save_CXXFLAGS"
25168 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25169 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25170 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25171 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25173 else
25177 ac_ext=cc
25178 ac_cpp='$CXXCPP $CPPFLAGS'
25179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189 #include <math.h>
25191 main ()
25193 __builtin_abs(0);
25195 return 0;
25197 _ACEOF
25198 rm -f conftest.$ac_objext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25200 (eval $ac_compile) 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try='test -z "$ac_cxx_werror_flag"
25208 || test ! -s conftest.err'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; } &&
25214 { ac_try='test -s conftest.$ac_objext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25217 ac_status=$?
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 glibcxx_cv_func___builtin_abs_use=yes
25221 else
25222 echo "$as_me: failed program was:" >&5
25223 sed 's/^/| /' conftest.$ac_ext >&5
25225 glibcxx_cv_func___builtin_abs_use=no
25227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25228 ac_ext=c
25229 ac_cpp='$CPP $CPPFLAGS'
25230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25239 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25240 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25241 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25242 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25243 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25244 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25248 if test x$gcc_no_link = xyes; then
25249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25251 { (exit 1); exit 1; }; }
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 #include <math.h>
25261 main ()
25263 __builtin_abs(0);
25265 return 0;
25267 _ACEOF
25268 rm -f conftest.$ac_objext conftest$ac_exeext
25269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25270 (eval $ac_link) 2>conftest.er1
25271 ac_status=$?
25272 grep -v '^ *+' conftest.er1 >conftest.err
25273 rm -f conftest.er1
25274 cat conftest.err >&5
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); } &&
25277 { ac_try='test -z "$ac_c_werror_flag"
25278 || test ! -s conftest.err'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25281 ac_status=$?
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; } &&
25284 { ac_try='test -s conftest$ac_exeext'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; }; then
25290 glibcxx_cv_func___builtin_abs_link=yes
25291 else
25292 echo "$as_me: failed program was:" >&5
25293 sed 's/^/| /' conftest.$ac_ext >&5
25295 glibcxx_cv_func___builtin_abs_link=no
25297 rm -f conftest.err conftest.$ac_objext \
25298 conftest$ac_exeext conftest.$ac_ext
25303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25304 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25305 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25306 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25308 cat >>confdefs.h <<_ACEOF
25309 #define ${ac_tr_func} 1
25310 _ACEOF
25316 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25317 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25318 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25319 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 else
25325 ac_ext=cc
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat >conftest.$ac_ext <<_ACEOF
25332 /* confdefs.h. */
25333 _ACEOF
25334 cat confdefs.h >>conftest.$ac_ext
25335 cat >>conftest.$ac_ext <<_ACEOF
25336 /* end confdefs.h. */
25337 #include <math.h>
25339 main ()
25341 __builtin_fabsf(0);
25343 return 0;
25345 _ACEOF
25346 rm -f conftest.$ac_objext
25347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25348 (eval $ac_compile) 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } &&
25355 { ac_try='test -z "$ac_cxx_werror_flag"
25356 || test ! -s conftest.err'
25357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25358 (eval $ac_try) 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; } &&
25362 { ac_try='test -s conftest.$ac_objext'
25363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25364 (eval $ac_try) 2>&5
25365 ac_status=$?
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); }; }; then
25368 glibcxx_cv_func___builtin_fabsf_use=yes
25369 else
25370 echo "$as_me: failed program was:" >&5
25371 sed 's/^/| /' conftest.$ac_ext >&5
25373 glibcxx_cv_func___builtin_fabsf_use=no
25375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25376 ac_ext=c
25377 ac_cpp='$CPP $CPPFLAGS'
25378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25386 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25387 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25388 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25389 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25390 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25391 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25392 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 else
25396 if test x$gcc_no_link = xyes; then
25397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25399 { (exit 1); exit 1; }; }
25401 cat >conftest.$ac_ext <<_ACEOF
25402 /* confdefs.h. */
25403 _ACEOF
25404 cat confdefs.h >>conftest.$ac_ext
25405 cat >>conftest.$ac_ext <<_ACEOF
25406 /* end confdefs.h. */
25407 #include <math.h>
25409 main ()
25411 __builtin_fabsf(0);
25413 return 0;
25415 _ACEOF
25416 rm -f conftest.$ac_objext conftest$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418 (eval $ac_link) 2>conftest.er1
25419 ac_status=$?
25420 grep -v '^ *+' conftest.er1 >conftest.err
25421 rm -f conftest.er1
25422 cat conftest.err >&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try='test -z "$ac_c_werror_flag"
25426 || test ! -s conftest.err'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25429 ac_status=$?
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; } &&
25432 { ac_try='test -s conftest$ac_exeext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25435 ac_status=$?
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 glibcxx_cv_func___builtin_fabsf_link=yes
25439 else
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25443 glibcxx_cv_func___builtin_fabsf_link=no
25445 rm -f conftest.err conftest.$ac_objext \
25446 conftest$ac_exeext conftest.$ac_ext
25451 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25452 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25453 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25454 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25456 cat >>confdefs.h <<_ACEOF
25457 #define ${ac_tr_func} 1
25458 _ACEOF
25464 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25465 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25466 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25467 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25468 echo $ECHO_N "(cached) $ECHO_C" >&6
25469 else
25473 ac_ext=cc
25474 ac_cpp='$CXXCPP $CPPFLAGS'
25475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25479 cat >conftest.$ac_ext <<_ACEOF
25480 /* confdefs.h. */
25481 _ACEOF
25482 cat confdefs.h >>conftest.$ac_ext
25483 cat >>conftest.$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 #include <math.h>
25487 main ()
25489 __builtin_fabs(0);
25491 return 0;
25493 _ACEOF
25494 rm -f conftest.$ac_objext
25495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25496 (eval $ac_compile) 2>conftest.er1
25497 ac_status=$?
25498 grep -v '^ *+' conftest.er1 >conftest.err
25499 rm -f conftest.er1
25500 cat conftest.err >&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); } &&
25503 { ac_try='test -z "$ac_cxx_werror_flag"
25504 || test ! -s conftest.err'
25505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25506 (eval $ac_try) 2>&5
25507 ac_status=$?
25508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509 (exit $ac_status); }; } &&
25510 { ac_try='test -s conftest.$ac_objext'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25513 ac_status=$?
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; }; then
25516 glibcxx_cv_func___builtin_fabs_use=yes
25517 else
25518 echo "$as_me: failed program was:" >&5
25519 sed 's/^/| /' conftest.$ac_ext >&5
25521 glibcxx_cv_func___builtin_fabs_use=no
25523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25524 ac_ext=c
25525 ac_cpp='$CPP $CPPFLAGS'
25526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25534 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25535 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25536 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25537 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25538 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25539 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25540 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25541 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 else
25544 if test x$gcc_no_link = xyes; then
25545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25547 { (exit 1); exit 1; }; }
25549 cat >conftest.$ac_ext <<_ACEOF
25550 /* confdefs.h. */
25551 _ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 #include <math.h>
25557 main ()
25559 __builtin_fabs(0);
25561 return 0;
25563 _ACEOF
25564 rm -f conftest.$ac_objext conftest$ac_exeext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25566 (eval $ac_link) 2>conftest.er1
25567 ac_status=$?
25568 grep -v '^ *+' conftest.er1 >conftest.err
25569 rm -f conftest.er1
25570 cat conftest.err >&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try='test -z "$ac_c_werror_flag"
25574 || test ! -s conftest.err'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25577 ac_status=$?
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; } &&
25580 { ac_try='test -s conftest$ac_exeext'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; }; then
25586 glibcxx_cv_func___builtin_fabs_link=yes
25587 else
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.$ac_ext >&5
25591 glibcxx_cv_func___builtin_fabs_link=no
25593 rm -f conftest.err conftest.$ac_objext \
25594 conftest$ac_exeext conftest.$ac_ext
25599 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25600 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25601 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25602 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25604 cat >>confdefs.h <<_ACEOF
25605 #define ${ac_tr_func} 1
25606 _ACEOF
25612 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25613 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25614 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25615 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25621 ac_ext=cc
25622 ac_cpp='$CXXCPP $CPPFLAGS'
25623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25627 cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 #include <math.h>
25635 main ()
25637 __builtin_fabsl(0);
25639 return 0;
25641 _ACEOF
25642 rm -f conftest.$ac_objext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644 (eval $ac_compile) 2>conftest.er1
25645 ac_status=$?
25646 grep -v '^ *+' conftest.er1 >conftest.err
25647 rm -f conftest.er1
25648 cat conftest.err >&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } &&
25651 { ac_try='test -z "$ac_cxx_werror_flag"
25652 || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try='test -s conftest.$ac_objext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25661 ac_status=$?
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25664 glibcxx_cv_func___builtin_fabsl_use=yes
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25669 glibcxx_cv_func___builtin_fabsl_use=no
25671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25672 ac_ext=c
25673 ac_cpp='$CPP $CPPFLAGS'
25674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25682 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25683 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25684 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25685 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25686 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25687 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25688 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 else
25692 if test x$gcc_no_link = xyes; then
25693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25695 { (exit 1); exit 1; }; }
25697 cat >conftest.$ac_ext <<_ACEOF
25698 /* confdefs.h. */
25699 _ACEOF
25700 cat confdefs.h >>conftest.$ac_ext
25701 cat >>conftest.$ac_ext <<_ACEOF
25702 /* end confdefs.h. */
25703 #include <math.h>
25705 main ()
25707 __builtin_fabsl(0);
25709 return 0;
25711 _ACEOF
25712 rm -f conftest.$ac_objext conftest$ac_exeext
25713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25714 (eval $ac_link) 2>conftest.er1
25715 ac_status=$?
25716 grep -v '^ *+' conftest.er1 >conftest.err
25717 rm -f conftest.er1
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } &&
25721 { ac_try='test -z "$ac_c_werror_flag"
25722 || test ! -s conftest.err'
25723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25724 (eval $ac_try) 2>&5
25725 ac_status=$?
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); }; } &&
25728 { ac_try='test -s conftest$ac_exeext'
25729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25730 (eval $ac_try) 2>&5
25731 ac_status=$?
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); }; }; then
25734 glibcxx_cv_func___builtin_fabsl_link=yes
25735 else
25736 echo "$as_me: failed program was:" >&5
25737 sed 's/^/| /' conftest.$ac_ext >&5
25739 glibcxx_cv_func___builtin_fabsl_link=no
25741 rm -f conftest.err conftest.$ac_objext \
25742 conftest$ac_exeext conftest.$ac_ext
25747 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25748 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25749 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25750 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25752 cat >>confdefs.h <<_ACEOF
25753 #define ${ac_tr_func} 1
25754 _ACEOF
25760 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25761 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25762 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25763 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25765 else
25769 ac_ext=cc
25770 ac_cpp='$CXXCPP $CPPFLAGS'
25771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25775 cat >conftest.$ac_ext <<_ACEOF
25776 /* confdefs.h. */
25777 _ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25781 #include <math.h>
25783 main ()
25785 __builtin_labs(0);
25787 return 0;
25789 _ACEOF
25790 rm -f conftest.$ac_objext
25791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25792 (eval $ac_compile) 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } &&
25799 { ac_try='test -z "$ac_cxx_werror_flag"
25800 || test ! -s conftest.err'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25803 ac_status=$?
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; } &&
25806 { ac_try='test -s conftest.$ac_objext'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25809 ac_status=$?
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25812 glibcxx_cv_func___builtin_labs_use=yes
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25817 glibcxx_cv_func___builtin_labs_use=no
25819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25831 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25832 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25833 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25834 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25835 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25836 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 else
25840 if test x$gcc_no_link = xyes; then
25841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25843 { (exit 1); exit 1; }; }
25845 cat >conftest.$ac_ext <<_ACEOF
25846 /* confdefs.h. */
25847 _ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851 #include <math.h>
25853 main ()
25855 __builtin_labs(0);
25857 return 0;
25859 _ACEOF
25860 rm -f conftest.$ac_objext conftest$ac_exeext
25861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25862 (eval $ac_link) 2>conftest.er1
25863 ac_status=$?
25864 grep -v '^ *+' conftest.er1 >conftest.err
25865 rm -f conftest.er1
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } &&
25869 { ac_try='test -z "$ac_c_werror_flag"
25870 || test ! -s conftest.err'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; } &&
25876 { ac_try='test -s conftest$ac_exeext'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; }; then
25882 glibcxx_cv_func___builtin_labs_link=yes
25883 else
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25887 glibcxx_cv_func___builtin_labs_link=no
25889 rm -f conftest.err conftest.$ac_objext \
25890 conftest$ac_exeext conftest.$ac_ext
25895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25896 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25897 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25898 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25900 cat >>confdefs.h <<_ACEOF
25901 #define ${ac_tr_func} 1
25902 _ACEOF
25909 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25910 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25911 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25912 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25918 ac_ext=cc
25919 ac_cpp='$CXXCPP $CPPFLAGS'
25920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924 cat >conftest.$ac_ext <<_ACEOF
25925 /* confdefs.h. */
25926 _ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <math.h>
25932 main ()
25934 __builtin_sqrtf(0);
25936 return 0;
25938 _ACEOF
25939 rm -f conftest.$ac_objext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25941 (eval $ac_compile) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_cxx_werror_flag"
25949 || test ! -s conftest.err'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 glibcxx_cv_func___builtin_sqrtf_use=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25966 glibcxx_cv_func___builtin_sqrtf_use=no
25968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25969 ac_ext=c
25970 ac_cpp='$CPP $CPPFLAGS'
25971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25981 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25982 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25983 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25984 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25985 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 else
25989 if test x$gcc_no_link = xyes; then
25990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25992 { (exit 1); exit 1; }; }
25994 cat >conftest.$ac_ext <<_ACEOF
25995 /* confdefs.h. */
25996 _ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26000 #include <math.h>
26002 main ()
26004 __builtin_sqrtf(0);
26006 return 0;
26008 _ACEOF
26009 rm -f conftest.$ac_objext conftest$ac_exeext
26010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26011 (eval $ac_link) 2>conftest.er1
26012 ac_status=$?
26013 grep -v '^ *+' conftest.er1 >conftest.err
26014 rm -f conftest.er1
26015 cat conftest.err >&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); } &&
26018 { ac_try='test -z "$ac_c_werror_flag"
26019 || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try='test -s conftest$ac_exeext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26031 glibcxx_cv_func___builtin_sqrtf_link=yes
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26036 glibcxx_cv_func___builtin_sqrtf_link=no
26038 rm -f conftest.err conftest.$ac_objext \
26039 conftest$ac_exeext conftest.$ac_ext
26044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26045 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26046 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26047 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26049 cat >>confdefs.h <<_ACEOF
26050 #define ${ac_tr_func} 1
26051 _ACEOF
26057 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26058 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26059 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26060 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26066 ac_ext=cc
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <math.h>
26080 main ()
26082 __builtin_sqrt(0);
26084 return 0;
26086 _ACEOF
26087 rm -f conftest.$ac_objext
26088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089 (eval $ac_compile) 2>conftest.er1
26090 ac_status=$?
26091 grep -v '^ *+' conftest.er1 >conftest.err
26092 rm -f conftest.er1
26093 cat conftest.err >&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } &&
26096 { ac_try='test -z "$ac_cxx_werror_flag"
26097 || test ! -s conftest.err'
26098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099 (eval $ac_try) 2>&5
26100 ac_status=$?
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); }; } &&
26103 { ac_try='test -s conftest.$ac_objext'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; }; then
26109 glibcxx_cv_func___builtin_sqrt_use=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26114 glibcxx_cv_func___builtin_sqrt_use=no
26116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26127 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26128 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26129 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26130 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26131 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26132 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26133 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 else
26137 if test x$gcc_no_link = xyes; then
26138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26140 { (exit 1); exit 1; }; }
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <math.h>
26150 main ()
26152 __builtin_sqrt(0);
26154 return 0;
26156 _ACEOF
26157 rm -f conftest.$ac_objext conftest$ac_exeext
26158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26159 (eval $ac_link) 2>conftest.er1
26160 ac_status=$?
26161 grep -v '^ *+' conftest.er1 >conftest.err
26162 rm -f conftest.er1
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } &&
26166 { ac_try='test -z "$ac_c_werror_flag"
26167 || test ! -s conftest.err'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; } &&
26173 { ac_try='test -s conftest$ac_exeext'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26179 glibcxx_cv_func___builtin_sqrt_link=yes
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26184 glibcxx_cv_func___builtin_sqrt_link=no
26186 rm -f conftest.err conftest.$ac_objext \
26187 conftest$ac_exeext conftest.$ac_ext
26192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26193 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26194 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26195 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26197 cat >>confdefs.h <<_ACEOF
26198 #define ${ac_tr_func} 1
26199 _ACEOF
26205 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26206 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26207 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26208 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 else
26214 ac_ext=cc
26215 ac_cpp='$CXXCPP $CPPFLAGS'
26216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26220 cat >conftest.$ac_ext <<_ACEOF
26221 /* confdefs.h. */
26222 _ACEOF
26223 cat confdefs.h >>conftest.$ac_ext
26224 cat >>conftest.$ac_ext <<_ACEOF
26225 /* end confdefs.h. */
26226 #include <math.h>
26228 main ()
26230 __builtin_sqrtl(0);
26232 return 0;
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26237 (eval $ac_compile) 2>conftest.er1
26238 ac_status=$?
26239 grep -v '^ *+' conftest.er1 >conftest.err
26240 rm -f conftest.er1
26241 cat conftest.err >&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
26244 { ac_try='test -z "$ac_cxx_werror_flag"
26245 || test ! -s conftest.err'
26246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26247 (eval $ac_try) 2>&5
26248 ac_status=$?
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); }; } &&
26251 { ac_try='test -s conftest.$ac_objext'
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26254 ac_status=$?
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; }; then
26257 glibcxx_cv_func___builtin_sqrtl_use=yes
26258 else
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.$ac_ext >&5
26262 glibcxx_cv_func___builtin_sqrtl_use=no
26264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26276 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26277 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26278 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26279 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26280 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26281 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26282 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 else
26285 if test x$gcc_no_link = xyes; then
26286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26288 { (exit 1); exit 1; }; }
26290 cat >conftest.$ac_ext <<_ACEOF
26291 /* confdefs.h. */
26292 _ACEOF
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26296 #include <math.h>
26298 main ()
26300 __builtin_sqrtl(0);
26302 return 0;
26304 _ACEOF
26305 rm -f conftest.$ac_objext conftest$ac_exeext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26307 (eval $ac_link) 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try='test -z "$ac_c_werror_flag"
26315 || test ! -s conftest.err'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; } &&
26321 { ac_try='test -s conftest$ac_exeext'
26322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26323 (eval $ac_try) 2>&5
26324 ac_status=$?
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); }; }; then
26327 glibcxx_cv_func___builtin_sqrtl_link=yes
26328 else
26329 echo "$as_me: failed program was:" >&5
26330 sed 's/^/| /' conftest.$ac_ext >&5
26332 glibcxx_cv_func___builtin_sqrtl_link=no
26334 rm -f conftest.err conftest.$ac_objext \
26335 conftest$ac_exeext conftest.$ac_ext
26340 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26341 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26342 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26343 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26345 cat >>confdefs.h <<_ACEOF
26346 #define ${ac_tr_func} 1
26347 _ACEOF
26354 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26355 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26356 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26357 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 else
26363 ac_ext=cc
26364 ac_cpp='$CXXCPP $CPPFLAGS'
26365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369 cat >conftest.$ac_ext <<_ACEOF
26370 /* confdefs.h. */
26371 _ACEOF
26372 cat confdefs.h >>conftest.$ac_ext
26373 cat >>conftest.$ac_ext <<_ACEOF
26374 /* end confdefs.h. */
26375 #include <math.h>
26377 main ()
26379 __builtin_sinf(0);
26381 return 0;
26383 _ACEOF
26384 rm -f conftest.$ac_objext
26385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26386 (eval $ac_compile) 2>conftest.er1
26387 ac_status=$?
26388 grep -v '^ *+' conftest.er1 >conftest.err
26389 rm -f conftest.er1
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } &&
26393 { ac_try='test -z "$ac_cxx_werror_flag"
26394 || test ! -s conftest.err'
26395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26396 (eval $ac_try) 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; } &&
26400 { ac_try='test -s conftest.$ac_objext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26403 ac_status=$?
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26406 glibcxx_cv_func___builtin_sinf_use=yes
26407 else
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26411 glibcxx_cv_func___builtin_sinf_use=no
26413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26425 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26426 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26427 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26428 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26429 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26430 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26431 echo $ECHO_N "(cached) $ECHO_C" >&6
26432 else
26434 if test x$gcc_no_link = xyes; then
26435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26437 { (exit 1); exit 1; }; }
26439 cat >conftest.$ac_ext <<_ACEOF
26440 /* confdefs.h. */
26441 _ACEOF
26442 cat confdefs.h >>conftest.$ac_ext
26443 cat >>conftest.$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26445 #include <math.h>
26447 main ()
26449 __builtin_sinf(0);
26451 return 0;
26453 _ACEOF
26454 rm -f conftest.$ac_objext conftest$ac_exeext
26455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26456 (eval $ac_link) 2>conftest.er1
26457 ac_status=$?
26458 grep -v '^ *+' conftest.er1 >conftest.err
26459 rm -f conftest.er1
26460 cat conftest.err >&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } &&
26463 { ac_try='test -z "$ac_c_werror_flag"
26464 || test ! -s conftest.err'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26467 ac_status=$?
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; } &&
26470 { ac_try='test -s conftest$ac_exeext'
26471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472 (eval $ac_try) 2>&5
26473 ac_status=$?
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); }; }; then
26476 glibcxx_cv_func___builtin_sinf_link=yes
26477 else
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.$ac_ext >&5
26481 glibcxx_cv_func___builtin_sinf_link=no
26483 rm -f conftest.err conftest.$ac_objext \
26484 conftest$ac_exeext conftest.$ac_ext
26489 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26490 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26491 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26492 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26494 cat >>confdefs.h <<_ACEOF
26495 #define ${ac_tr_func} 1
26496 _ACEOF
26502 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26503 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26504 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26505 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 else
26511 ac_ext=cc
26512 ac_cpp='$CXXCPP $CPPFLAGS'
26513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26517 cat >conftest.$ac_ext <<_ACEOF
26518 /* confdefs.h. */
26519 _ACEOF
26520 cat confdefs.h >>conftest.$ac_ext
26521 cat >>conftest.$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26523 #include <math.h>
26525 main ()
26527 __builtin_sin(0);
26529 return 0;
26531 _ACEOF
26532 rm -f conftest.$ac_objext
26533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26534 (eval $ac_compile) 2>conftest.er1
26535 ac_status=$?
26536 grep -v '^ *+' conftest.er1 >conftest.err
26537 rm -f conftest.er1
26538 cat conftest.err >&5
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); } &&
26541 { ac_try='test -z "$ac_cxx_werror_flag"
26542 || test ! -s conftest.err'
26543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544 (eval $ac_try) 2>&5
26545 ac_status=$?
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); }; } &&
26548 { ac_try='test -s conftest.$ac_objext'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; }; then
26554 glibcxx_cv_func___builtin_sin_use=yes
26555 else
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.$ac_ext >&5
26559 glibcxx_cv_func___builtin_sin_use=no
26561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26562 ac_ext=c
26563 ac_cpp='$CPP $CPPFLAGS'
26564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26574 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26575 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26576 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26577 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26578 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26579 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 else
26582 if test x$gcc_no_link = xyes; then
26583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26585 { (exit 1); exit 1; }; }
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 #include <math.h>
26595 main ()
26597 __builtin_sin(0);
26599 return 0;
26601 _ACEOF
26602 rm -f conftest.$ac_objext conftest$ac_exeext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26604 (eval $ac_link) 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try='test -z "$ac_c_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 glibcxx_cv_func___builtin_sin_link=yes
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26629 glibcxx_cv_func___builtin_sin_link=no
26631 rm -f conftest.err conftest.$ac_objext \
26632 conftest$ac_exeext conftest.$ac_ext
26637 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26638 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26639 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26640 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26642 cat >>confdefs.h <<_ACEOF
26643 #define ${ac_tr_func} 1
26644 _ACEOF
26650 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26651 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26652 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26653 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 else
26659 ac_ext=cc
26660 ac_cpp='$CXXCPP $CPPFLAGS'
26661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26665 cat >conftest.$ac_ext <<_ACEOF
26666 /* confdefs.h. */
26667 _ACEOF
26668 cat confdefs.h >>conftest.$ac_ext
26669 cat >>conftest.$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671 #include <math.h>
26673 main ()
26675 __builtin_sinl(0);
26677 return 0;
26679 _ACEOF
26680 rm -f conftest.$ac_objext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26682 (eval $ac_compile) 2>conftest.er1
26683 ac_status=$?
26684 grep -v '^ *+' conftest.er1 >conftest.err
26685 rm -f conftest.er1
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try='test -z "$ac_cxx_werror_flag"
26690 || test ! -s conftest.err'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; } &&
26696 { ac_try='test -s conftest.$ac_objext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26699 ac_status=$?
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 glibcxx_cv_func___builtin_sinl_use=yes
26703 else
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26707 glibcxx_cv_func___builtin_sinl_use=no
26709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26710 ac_ext=c
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26720 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26721 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26722 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26723 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26724 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26725 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26726 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26730 if test x$gcc_no_link = xyes; then
26731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26733 { (exit 1); exit 1; }; }
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h. */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <math.h>
26743 main ()
26745 __builtin_sinl(0);
26747 return 0;
26749 _ACEOF
26750 rm -f conftest.$ac_objext conftest$ac_exeext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26752 (eval $ac_link) 2>conftest.er1
26753 ac_status=$?
26754 grep -v '^ *+' conftest.er1 >conftest.err
26755 rm -f conftest.er1
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try='test -z "$ac_c_werror_flag"
26760 || test ! -s conftest.err'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; } &&
26766 { ac_try='test -s conftest$ac_exeext'
26767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768 (eval $ac_try) 2>&5
26769 ac_status=$?
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); }; }; then
26772 glibcxx_cv_func___builtin_sinl_link=yes
26773 else
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26777 glibcxx_cv_func___builtin_sinl_link=no
26779 rm -f conftest.err conftest.$ac_objext \
26780 conftest$ac_exeext conftest.$ac_ext
26785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26786 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26787 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26788 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26790 cat >>confdefs.h <<_ACEOF
26791 #define ${ac_tr_func} 1
26792 _ACEOF
26799 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26800 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26801 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26802 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 else
26808 ac_ext=cc
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 cat >conftest.$ac_ext <<_ACEOF
26815 /* confdefs.h. */
26816 _ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820 #include <math.h>
26822 main ()
26824 __builtin_cosf(0);
26826 return 0;
26828 _ACEOF
26829 rm -f conftest.$ac_objext
26830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26831 (eval $ac_compile) 2>conftest.er1
26832 ac_status=$?
26833 grep -v '^ *+' conftest.er1 >conftest.err
26834 rm -f conftest.er1
26835 cat conftest.err >&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -z "$ac_cxx_werror_flag"
26839 || test ! -s conftest.err'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; } &&
26845 { ac_try='test -s conftest.$ac_objext'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26848 ac_status=$?
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; }; then
26851 glibcxx_cv_func___builtin_cosf_use=yes
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26856 glibcxx_cv_func___builtin_cosf_use=no
26858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26859 ac_ext=c
26860 ac_cpp='$CPP $CPPFLAGS'
26861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26869 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26870 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26871 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26872 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26873 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26874 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26875 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26876 echo $ECHO_N "(cached) $ECHO_C" >&6
26877 else
26879 if test x$gcc_no_link = xyes; then
26880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26882 { (exit 1); exit 1; }; }
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <math.h>
26892 main ()
26894 __builtin_cosf(0);
26896 return 0;
26898 _ACEOF
26899 rm -f conftest.$ac_objext conftest$ac_exeext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26901 (eval $ac_link) 2>conftest.er1
26902 ac_status=$?
26903 grep -v '^ *+' conftest.er1 >conftest.err
26904 rm -f conftest.er1
26905 cat conftest.err >&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -z "$ac_c_werror_flag"
26909 || test ! -s conftest.err'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; } &&
26915 { ac_try='test -s conftest$ac_exeext'
26916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26917 (eval $ac_try) 2>&5
26918 ac_status=$?
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); }; }; then
26921 glibcxx_cv_func___builtin_cosf_link=yes
26922 else
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26926 glibcxx_cv_func___builtin_cosf_link=no
26928 rm -f conftest.err conftest.$ac_objext \
26929 conftest$ac_exeext conftest.$ac_ext
26934 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26935 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26936 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26937 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26939 cat >>confdefs.h <<_ACEOF
26940 #define ${ac_tr_func} 1
26941 _ACEOF
26947 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26948 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26949 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26950 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26952 else
26956 ac_ext=cc
26957 ac_cpp='$CXXCPP $CPPFLAGS'
26958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26962 cat >conftest.$ac_ext <<_ACEOF
26963 /* confdefs.h. */
26964 _ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968 #include <math.h>
26970 main ()
26972 __builtin_cos(0);
26974 return 0;
26976 _ACEOF
26977 rm -f conftest.$ac_objext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26979 (eval $ac_compile) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_cxx_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest.$ac_objext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 glibcxx_cv_func___builtin_cos_use=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27004 glibcxx_cv_func___builtin_cos_use=no
27006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27007 ac_ext=c
27008 ac_cpp='$CPP $CPPFLAGS'
27009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27018 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27019 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27020 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27021 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27022 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27023 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27027 if test x$gcc_no_link = xyes; then
27028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27030 { (exit 1); exit 1; }; }
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <math.h>
27040 main ()
27042 __builtin_cos(0);
27044 return 0;
27046 _ACEOF
27047 rm -f conftest.$ac_objext conftest$ac_exeext
27048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27049 (eval $ac_link) 2>conftest.er1
27050 ac_status=$?
27051 grep -v '^ *+' conftest.er1 >conftest.err
27052 rm -f conftest.er1
27053 cat conftest.err >&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); } &&
27056 { ac_try='test -z "$ac_c_werror_flag"
27057 || test ! -s conftest.err'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27060 ac_status=$?
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; } &&
27063 { ac_try='test -s conftest$ac_exeext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27066 ac_status=$?
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 glibcxx_cv_func___builtin_cos_link=yes
27070 else
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27074 glibcxx_cv_func___builtin_cos_link=no
27076 rm -f conftest.err conftest.$ac_objext \
27077 conftest$ac_exeext conftest.$ac_ext
27082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27083 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27084 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27085 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27087 cat >>confdefs.h <<_ACEOF
27088 #define ${ac_tr_func} 1
27089 _ACEOF
27095 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27096 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27097 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27098 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27099 echo $ECHO_N "(cached) $ECHO_C" >&6
27100 else
27104 ac_ext=cc
27105 ac_cpp='$CXXCPP $CPPFLAGS'
27106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27110 cat >conftest.$ac_ext <<_ACEOF
27111 /* confdefs.h. */
27112 _ACEOF
27113 cat confdefs.h >>conftest.$ac_ext
27114 cat >>conftest.$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27116 #include <math.h>
27118 main ()
27120 __builtin_cosl(0);
27122 return 0;
27124 _ACEOF
27125 rm -f conftest.$ac_objext
27126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27127 (eval $ac_compile) 2>conftest.er1
27128 ac_status=$?
27129 grep -v '^ *+' conftest.er1 >conftest.err
27130 rm -f conftest.er1
27131 cat conftest.err >&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); } &&
27134 { ac_try='test -z "$ac_cxx_werror_flag"
27135 || test ! -s conftest.err'
27136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137 (eval $ac_try) 2>&5
27138 ac_status=$?
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); }; } &&
27141 { ac_try='test -s conftest.$ac_objext'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27144 ac_status=$?
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; }; then
27147 glibcxx_cv_func___builtin_cosl_use=yes
27148 else
27149 echo "$as_me: failed program was:" >&5
27150 sed 's/^/| /' conftest.$ac_ext >&5
27152 glibcxx_cv_func___builtin_cosl_use=no
27154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27155 ac_ext=c
27156 ac_cpp='$CPP $CPPFLAGS'
27157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27166 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27167 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27168 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27169 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27170 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27171 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 else
27175 if test x$gcc_no_link = xyes; then
27176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27178 { (exit 1); exit 1; }; }
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 #include <math.h>
27188 main ()
27190 __builtin_cosl(0);
27192 return 0;
27194 _ACEOF
27195 rm -f conftest.$ac_objext conftest$ac_exeext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27197 (eval $ac_link) 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } &&
27204 { ac_try='test -z "$ac_c_werror_flag"
27205 || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 glibcxx_cv_func___builtin_cosl_link=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 glibcxx_cv_func___builtin_cosl_link=no
27224 rm -f conftest.err conftest.$ac_objext \
27225 conftest$ac_exeext conftest.$ac_ext
27230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27231 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27232 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27233 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27235 cat >>confdefs.h <<_ACEOF
27236 #define ${ac_tr_func} 1
27237 _ACEOF
27245 echo "$as_me:$LINENO: checking for main in -lm" >&5
27246 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27247 if test "${ac_cv_lib_m_main+set}" = set; then
27248 echo $ECHO_N "(cached) $ECHO_C" >&6
27249 else
27250 ac_check_lib_save_LIBS=$LIBS
27251 LIBS="-lm $LIBS"
27252 if test x$gcc_no_link = xyes; then
27253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27255 { (exit 1); exit 1; }; }
27257 cat >conftest.$ac_ext <<_ACEOF
27258 /* confdefs.h. */
27259 _ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27266 main ()
27268 main ();
27270 return 0;
27272 _ACEOF
27273 rm -f conftest.$ac_objext conftest$ac_exeext
27274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27275 (eval $ac_link) 2>conftest.er1
27276 ac_status=$?
27277 grep -v '^ *+' conftest.er1 >conftest.err
27278 rm -f conftest.er1
27279 cat conftest.err >&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); } &&
27282 { ac_try='test -z "$ac_c_werror_flag"
27283 || test ! -s conftest.err'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27286 ac_status=$?
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; } &&
27289 { ac_try='test -s conftest$ac_exeext'
27290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27291 (eval $ac_try) 2>&5
27292 ac_status=$?
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); }; }; then
27295 ac_cv_lib_m_main=yes
27296 else
27297 echo "$as_me: failed program was:" >&5
27298 sed 's/^/| /' conftest.$ac_ext >&5
27300 ac_cv_lib_m_main=no
27302 rm -f conftest.err conftest.$ac_objext \
27303 conftest$ac_exeext conftest.$ac_ext
27304 LIBS=$ac_check_lib_save_LIBS
27306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27307 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27308 if test $ac_cv_lib_m_main = yes; then
27309 cat >>confdefs.h <<_ACEOF
27310 #define HAVE_LIBM 1
27311 _ACEOF
27313 LIBS="-lm $LIBS"
27318 for ac_func in copysignf
27320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27321 echo "$as_me:$LINENO: checking for $ac_func" >&5
27322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27323 if eval "test \"\${$as_ac_var+set}\" = set"; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 else
27326 if test x$gcc_no_link = xyes; then
27327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27329 { (exit 1); exit 1; }; }
27331 cat >conftest.$ac_ext <<_ACEOF
27332 /* confdefs.h. */
27333 _ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27339 #define $ac_func innocuous_$ac_func
27341 /* System header to define __stub macros and hopefully few prototypes,
27342 which can conflict with char $ac_func (); below.
27343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27344 <limits.h> exists even on freestanding compilers. */
27346 #ifdef __STDC__
27347 # include <limits.h>
27348 #else
27349 # include <assert.h>
27350 #endif
27352 #undef $ac_func
27354 /* Override any gcc2 internal prototype to avoid an error. */
27355 #ifdef __cplusplus
27356 extern "C"
27358 #endif
27359 /* We use char because int might match the return type of a gcc2
27360 builtin and then its argument prototype would still apply. */
27361 char $ac_func ();
27362 /* The GNU C library defines this for functions which it implements
27363 to always fail with ENOSYS. Some functions are actually named
27364 something starting with __ and the normal name is an alias. */
27365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27366 choke me
27367 #else
27368 char (*f) () = $ac_func;
27369 #endif
27370 #ifdef __cplusplus
27372 #endif
27375 main ()
27377 return f != $ac_func;
27379 return 0;
27381 _ACEOF
27382 rm -f conftest.$ac_objext conftest$ac_exeext
27383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27384 (eval $ac_link) 2>conftest.er1
27385 ac_status=$?
27386 grep -v '^ *+' conftest.er1 >conftest.err
27387 rm -f conftest.er1
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } &&
27391 { ac_try='test -z "$ac_c_werror_flag"
27392 || test ! -s conftest.err'
27393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27394 (eval $ac_try) 2>&5
27395 ac_status=$?
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); }; } &&
27398 { ac_try='test -s conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 eval "$as_ac_var=yes"
27405 else
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27409 eval "$as_ac_var=no"
27411 rm -f conftest.err conftest.$ac_objext \
27412 conftest$ac_exeext conftest.$ac_ext
27414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27416 if test `eval echo '${'$as_ac_var'}'` = yes; then
27417 cat >>confdefs.h <<_ACEOF
27418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27419 _ACEOF
27421 else
27422 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27424 done
27428 for ac_func in __signbit
27430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27431 echo "$as_me:$LINENO: checking for $ac_func" >&5
27432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27433 if eval "test \"\${$as_ac_var+set}\" = set"; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 else
27436 if test x$gcc_no_link = xyes; then
27437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27439 { (exit 1); exit 1; }; }
27441 cat >conftest.$ac_ext <<_ACEOF
27442 /* confdefs.h. */
27443 _ACEOF
27444 cat confdefs.h >>conftest.$ac_ext
27445 cat >>conftest.$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27449 #define $ac_func innocuous_$ac_func
27451 /* System header to define __stub macros and hopefully few prototypes,
27452 which can conflict with char $ac_func (); below.
27453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27454 <limits.h> exists even on freestanding compilers. */
27456 #ifdef __STDC__
27457 # include <limits.h>
27458 #else
27459 # include <assert.h>
27460 #endif
27462 #undef $ac_func
27464 /* Override any gcc2 internal prototype to avoid an error. */
27465 #ifdef __cplusplus
27466 extern "C"
27468 #endif
27469 /* We use char because int might match the return type of a gcc2
27470 builtin and then its argument prototype would still apply. */
27471 char $ac_func ();
27472 /* The GNU C library defines this for functions which it implements
27473 to always fail with ENOSYS. Some functions are actually named
27474 something starting with __ and the normal name is an alias. */
27475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27476 choke me
27477 #else
27478 char (*f) () = $ac_func;
27479 #endif
27480 #ifdef __cplusplus
27482 #endif
27485 main ()
27487 return f != $ac_func;
27489 return 0;
27491 _ACEOF
27492 rm -f conftest.$ac_objext conftest$ac_exeext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27494 (eval $ac_link) 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try='test -z "$ac_c_werror_flag"
27502 || test ! -s conftest.err'
27503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27504 (eval $ac_try) 2>&5
27505 ac_status=$?
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; } &&
27508 { ac_try='test -s conftest$ac_exeext'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27511 ac_status=$?
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; }; then
27514 eval "$as_ac_var=yes"
27515 else
27516 echo "$as_me: failed program was:" >&5
27517 sed 's/^/| /' conftest.$ac_ext >&5
27519 eval "$as_ac_var=no"
27521 rm -f conftest.err conftest.$ac_objext \
27522 conftest$ac_exeext conftest.$ac_ext
27524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27526 if test `eval echo '${'$as_ac_var'}'` = yes; then
27527 cat >>confdefs.h <<_ACEOF
27528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27529 _ACEOF
27531 else
27532 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27534 done
27538 for ac_func in __signbitf
27540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27541 echo "$as_me:$LINENO: checking for $ac_func" >&5
27542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27543 if eval "test \"\${$as_ac_var+set}\" = set"; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 else
27546 if test x$gcc_no_link = xyes; then
27547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27549 { (exit 1); exit 1; }; }
27551 cat >conftest.$ac_ext <<_ACEOF
27552 /* confdefs.h. */
27553 _ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27559 #define $ac_func innocuous_$ac_func
27561 /* System header to define __stub macros and hopefully few prototypes,
27562 which can conflict with char $ac_func (); below.
27563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27564 <limits.h> exists even on freestanding compilers. */
27566 #ifdef __STDC__
27567 # include <limits.h>
27568 #else
27569 # include <assert.h>
27570 #endif
27572 #undef $ac_func
27574 /* Override any gcc2 internal prototype to avoid an error. */
27575 #ifdef __cplusplus
27576 extern "C"
27578 #endif
27579 /* We use char because int might match the return type of a gcc2
27580 builtin and then its argument prototype would still apply. */
27581 char $ac_func ();
27582 /* The GNU C library defines this for functions which it implements
27583 to always fail with ENOSYS. Some functions are actually named
27584 something starting with __ and the normal name is an alias. */
27585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27586 choke me
27587 #else
27588 char (*f) () = $ac_func;
27589 #endif
27590 #ifdef __cplusplus
27592 #endif
27595 main ()
27597 return f != $ac_func;
27599 return 0;
27601 _ACEOF
27602 rm -f conftest.$ac_objext conftest$ac_exeext
27603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27604 (eval $ac_link) 2>conftest.er1
27605 ac_status=$?
27606 grep -v '^ *+' conftest.er1 >conftest.err
27607 rm -f conftest.er1
27608 cat conftest.err >&5
27609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27610 (exit $ac_status); } &&
27611 { ac_try='test -z "$ac_c_werror_flag"
27612 || test ! -s conftest.err'
27613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27614 (eval $ac_try) 2>&5
27615 ac_status=$?
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); }; } &&
27618 { ac_try='test -s conftest$ac_exeext'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27621 ac_status=$?
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; }; then
27624 eval "$as_ac_var=yes"
27625 else
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.$ac_ext >&5
27629 eval "$as_ac_var=no"
27631 rm -f conftest.err conftest.$ac_objext \
27632 conftest$ac_exeext conftest.$ac_ext
27634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27636 if test `eval echo '${'$as_ac_var'}'` = yes; then
27637 cat >>confdefs.h <<_ACEOF
27638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27639 _ACEOF
27641 else
27642 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27644 done
27647 if test x$ac_cv_func_copysignl = x"yes"; then
27649 for ac_func in __signbitl
27651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27652 echo "$as_me:$LINENO: checking for $ac_func" >&5
27653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27654 if eval "test \"\${$as_ac_var+set}\" = set"; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 else
27657 if test x$gcc_no_link = xyes; then
27658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27660 { (exit 1); exit 1; }; }
27662 cat >conftest.$ac_ext <<_ACEOF
27663 /* confdefs.h. */
27664 _ACEOF
27665 cat confdefs.h >>conftest.$ac_ext
27666 cat >>conftest.$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27670 #define $ac_func innocuous_$ac_func
27672 /* System header to define __stub macros and hopefully few prototypes,
27673 which can conflict with char $ac_func (); below.
27674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27675 <limits.h> exists even on freestanding compilers. */
27677 #ifdef __STDC__
27678 # include <limits.h>
27679 #else
27680 # include <assert.h>
27681 #endif
27683 #undef $ac_func
27685 /* Override any gcc2 internal prototype to avoid an error. */
27686 #ifdef __cplusplus
27687 extern "C"
27689 #endif
27690 /* We use char because int might match the return type of a gcc2
27691 builtin and then its argument prototype would still apply. */
27692 char $ac_func ();
27693 /* The GNU C library defines this for functions which it implements
27694 to always fail with ENOSYS. Some functions are actually named
27695 something starting with __ and the normal name is an alias. */
27696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27697 choke me
27698 #else
27699 char (*f) () = $ac_func;
27700 #endif
27701 #ifdef __cplusplus
27703 #endif
27706 main ()
27708 return f != $ac_func;
27710 return 0;
27712 _ACEOF
27713 rm -f conftest.$ac_objext conftest$ac_exeext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27715 (eval $ac_link) 2>conftest.er1
27716 ac_status=$?
27717 grep -v '^ *+' conftest.er1 >conftest.err
27718 rm -f conftest.er1
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -z "$ac_c_werror_flag"
27723 || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try='test -s conftest$ac_exeext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 eval "$as_ac_var=yes"
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27740 eval "$as_ac_var=no"
27742 rm -f conftest.err conftest.$ac_objext \
27743 conftest$ac_exeext conftest.$ac_ext
27745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27747 if test `eval echo '${'$as_ac_var'}'` = yes; then
27748 cat >>confdefs.h <<_ACEOF
27749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27750 _ACEOF
27752 else
27753 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27755 done
27759 # Used in libmath/Makefile.am.
27760 if test -n "$LIBMATHOBJS"; then
27761 need_libmath=yes
27766 # Test wchar.h for mbstate_t, which is needed for char_traits and
27767 # others even if wchar_t support is not on.
27768 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27769 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27770 cat >conftest.$ac_ext <<_ACEOF
27771 /* confdefs.h. */
27772 _ACEOF
27773 cat confdefs.h >>conftest.$ac_ext
27774 cat >>conftest.$ac_ext <<_ACEOF
27775 /* end confdefs.h. */
27776 #include <wchar.h>
27778 main ()
27780 mbstate_t teststate;
27782 return 0;
27784 _ACEOF
27785 rm -f conftest.$ac_objext
27786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27787 (eval $ac_compile) 2>conftest.er1
27788 ac_status=$?
27789 grep -v '^ *+' conftest.er1 >conftest.err
27790 rm -f conftest.er1
27791 cat conftest.err >&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } &&
27794 { ac_try='test -z "$ac_c_werror_flag"
27795 || test ! -s conftest.err'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; } &&
27801 { ac_try='test -s conftest.$ac_objext'
27802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27803 (eval $ac_try) 2>&5
27804 ac_status=$?
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); }; }; then
27807 have_mbstate_t=yes
27808 else
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27812 have_mbstate_t=no
27814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27815 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27816 echo "${ECHO_T}$have_mbstate_t" >&6
27817 if test x"$have_mbstate_t" = xyes; then
27818 cat >>confdefs.h <<\_ACEOF
27819 #define HAVE_MBSTATE_T 1
27820 _ACEOF
27824 # Sanity check for existence of ISO C99 headers for extended encoding.
27826 for ac_header in wchar.h
27828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27830 echo "$as_me:$LINENO: checking for $ac_header" >&5
27831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27837 else
27838 # Is the header compilable?
27839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27841 cat >conftest.$ac_ext <<_ACEOF
27842 /* confdefs.h. */
27843 _ACEOF
27844 cat confdefs.h >>conftest.$ac_ext
27845 cat >>conftest.$ac_ext <<_ACEOF
27846 /* end confdefs.h. */
27847 $ac_includes_default
27848 #include <$ac_header>
27849 _ACEOF
27850 rm -f conftest.$ac_objext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27852 (eval $ac_compile) 2>conftest.er1
27853 ac_status=$?
27854 grep -v '^ *+' conftest.er1 >conftest.err
27855 rm -f conftest.er1
27856 cat conftest.err >&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try='test -z "$ac_c_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try='test -s conftest.$ac_objext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 ac_header_compiler=yes
27873 else
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27877 ac_header_compiler=no
27879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27881 echo "${ECHO_T}$ac_header_compiler" >&6
27883 # Is the header present?
27884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27886 cat >conftest.$ac_ext <<_ACEOF
27887 /* confdefs.h. */
27888 _ACEOF
27889 cat confdefs.h >>conftest.$ac_ext
27890 cat >>conftest.$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27892 #include <$ac_header>
27893 _ACEOF
27894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27896 ac_status=$?
27897 grep -v '^ *+' conftest.er1 >conftest.err
27898 rm -f conftest.er1
27899 cat conftest.err >&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } >/dev/null; then
27902 if test -s conftest.err; then
27903 ac_cpp_err=$ac_c_preproc_warn_flag
27904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27905 else
27906 ac_cpp_err=
27908 else
27909 ac_cpp_err=yes
27911 if test -z "$ac_cpp_err"; then
27912 ac_header_preproc=yes
27913 else
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27917 ac_header_preproc=no
27919 rm -f conftest.err conftest.$ac_ext
27920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27921 echo "${ECHO_T}$ac_header_preproc" >&6
27923 # So? What about this header?
27924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27925 yes:no: )
27926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27930 ac_header_preproc=yes
27932 no:yes:* )
27933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27946 cat <<\_ASBOX
27947 ## ----------------------------------------- ##
27948 ## Report this to the package-unused lists. ##
27949 ## ----------------------------------------- ##
27950 _ASBOX
27952 sed "s/^/$as_me: WARNING: /" >&2
27954 esac
27955 echo "$as_me:$LINENO: checking for $ac_header" >&5
27956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27958 echo $ECHO_N "(cached) $ECHO_C" >&6
27959 else
27960 eval "$as_ac_Header=\$ac_header_preproc"
27962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27967 cat >>confdefs.h <<_ACEOF
27968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27969 _ACEOF
27970 ac_has_wchar_h=yes
27971 else
27972 ac_has_wchar_h=no
27975 done
27978 for ac_header in wctype.h
27980 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27982 echo "$as_me:$LINENO: checking for $ac_header" >&5
27983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27989 else
27990 # Is the header compilable?
27991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27993 cat >conftest.$ac_ext <<_ACEOF
27994 /* confdefs.h. */
27995 _ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 $ac_includes_default
28000 #include <$ac_header>
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28004 (eval $ac_compile) 2>conftest.er1
28005 ac_status=$?
28006 grep -v '^ *+' conftest.er1 >conftest.err
28007 rm -f conftest.er1
28008 cat conftest.err >&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); } &&
28011 { ac_try='test -z "$ac_c_werror_flag"
28012 || test ! -s conftest.err'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; } &&
28018 { ac_try='test -s conftest.$ac_objext'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28021 ac_status=$?
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; }; then
28024 ac_header_compiler=yes
28025 else
28026 echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.$ac_ext >&5
28029 ac_header_compiler=no
28031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28033 echo "${ECHO_T}$ac_header_compiler" >&6
28035 # Is the header present?
28036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28038 cat >conftest.$ac_ext <<_ACEOF
28039 /* confdefs.h. */
28040 _ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044 #include <$ac_header>
28045 _ACEOF
28046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28048 ac_status=$?
28049 grep -v '^ *+' conftest.er1 >conftest.err
28050 rm -f conftest.er1
28051 cat conftest.err >&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); } >/dev/null; then
28054 if test -s conftest.err; then
28055 ac_cpp_err=$ac_c_preproc_warn_flag
28056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28057 else
28058 ac_cpp_err=
28060 else
28061 ac_cpp_err=yes
28063 if test -z "$ac_cpp_err"; then
28064 ac_header_preproc=yes
28065 else
28066 echo "$as_me: failed program was:" >&5
28067 sed 's/^/| /' conftest.$ac_ext >&5
28069 ac_header_preproc=no
28071 rm -f conftest.err conftest.$ac_ext
28072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28073 echo "${ECHO_T}$ac_header_preproc" >&6
28075 # So? What about this header?
28076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28077 yes:no: )
28078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28082 ac_header_preproc=yes
28084 no:yes:* )
28085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28098 cat <<\_ASBOX
28099 ## ----------------------------------------- ##
28100 ## Report this to the package-unused lists. ##
28101 ## ----------------------------------------- ##
28102 _ASBOX
28104 sed "s/^/$as_me: WARNING: /" >&2
28106 esac
28107 echo "$as_me:$LINENO: checking for $ac_header" >&5
28108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112 eval "$as_ac_Header=\$ac_header_preproc"
28114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28119 cat >>confdefs.h <<_ACEOF
28120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28121 _ACEOF
28122 ac_has_wctype_h=yes
28123 else
28124 ac_has_wctype_h=no
28127 done
28130 # Only continue checking if the ISO C99 headers exist and support is on.
28131 if test x"$ac_has_wchar_h" = xyes &&
28132 test x"$ac_has_wctype_h" = xyes &&
28133 test x"$enable_c_mbchar" != xno; then
28135 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28136 # numeric_limits can instantiate type_traits<wchar_t>
28137 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28138 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28139 cat >conftest.$ac_ext <<_ACEOF
28140 /* confdefs.h. */
28141 _ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28145 #include <wchar.h>
28147 main ()
28149 int i = WCHAR_MIN; int j = WCHAR_MAX;
28151 return 0;
28153 _ACEOF
28154 rm -f conftest.$ac_objext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28156 (eval $ac_compile) 2>conftest.er1
28157 ac_status=$?
28158 grep -v '^ *+' conftest.er1 >conftest.err
28159 rm -f conftest.er1
28160 cat conftest.err >&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } &&
28163 { ac_try='test -z "$ac_c_werror_flag"
28164 || test ! -s conftest.err'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28167 ac_status=$?
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; } &&
28170 { ac_try='test -s conftest.$ac_objext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 has_wchar_minmax=yes
28177 else
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.$ac_ext >&5
28181 has_wchar_minmax=no
28183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28184 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28185 echo "${ECHO_T}$has_wchar_minmax" >&6
28187 # Test wchar.h for WEOF, which is what we use to determine whether
28188 # to specialize for char_traits<wchar_t> or not.
28189 echo "$as_me:$LINENO: checking for WEOF" >&5
28190 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28191 cat >conftest.$ac_ext <<_ACEOF
28192 /* confdefs.h. */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28198 #include <wchar.h>
28199 #include <stddef.h>
28201 main ()
28203 wint_t i = WEOF;
28205 return 0;
28207 _ACEOF
28208 rm -f conftest.$ac_objext
28209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28210 (eval $ac_compile) 2>conftest.er1
28211 ac_status=$?
28212 grep -v '^ *+' conftest.er1 >conftest.err
28213 rm -f conftest.er1
28214 cat conftest.err >&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); } &&
28217 { ac_try='test -z "$ac_c_werror_flag"
28218 || test ! -s conftest.err'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28221 ac_status=$?
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; } &&
28224 { ac_try='test -s conftest.$ac_objext'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28227 ac_status=$?
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; }; then
28230 has_weof=yes
28231 else
28232 echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.$ac_ext >&5
28235 has_weof=no
28237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28238 echo "$as_me:$LINENO: result: $has_weof" >&5
28239 echo "${ECHO_T}$has_weof" >&6
28241 # Tests for wide character functions used in char_traits<wchar_t>.
28242 ac_wfuncs=yes
28249 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28252 echo "$as_me:$LINENO: checking for $ac_func" >&5
28253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28254 if eval "test \"\${$as_ac_var+set}\" = set"; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257 if test x$gcc_no_link = xyes; then
28258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28260 { (exit 1); exit 1; }; }
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28270 #define $ac_func innocuous_$ac_func
28272 /* System header to define __stub macros and hopefully few prototypes,
28273 which can conflict with char $ac_func (); below.
28274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28275 <limits.h> exists even on freestanding compilers. */
28277 #ifdef __STDC__
28278 # include <limits.h>
28279 #else
28280 # include <assert.h>
28281 #endif
28283 #undef $ac_func
28285 /* Override any gcc2 internal prototype to avoid an error. */
28286 #ifdef __cplusplus
28287 extern "C"
28289 #endif
28290 /* We use char because int might match the return type of a gcc2
28291 builtin and then its argument prototype would still apply. */
28292 char $ac_func ();
28293 /* The GNU C library defines this for functions which it implements
28294 to always fail with ENOSYS. Some functions are actually named
28295 something starting with __ and the normal name is an alias. */
28296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28297 choke me
28298 #else
28299 char (*f) () = $ac_func;
28300 #endif
28301 #ifdef __cplusplus
28303 #endif
28306 main ()
28308 return f != $ac_func;
28310 return 0;
28312 _ACEOF
28313 rm -f conftest.$ac_objext conftest$ac_exeext
28314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28315 (eval $ac_link) 2>conftest.er1
28316 ac_status=$?
28317 grep -v '^ *+' conftest.er1 >conftest.err
28318 rm -f conftest.er1
28319 cat conftest.err >&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); } &&
28322 { ac_try='test -z "$ac_c_werror_flag"
28323 || test ! -s conftest.err'
28324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28325 (eval $ac_try) 2>&5
28326 ac_status=$?
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); }; } &&
28329 { ac_try='test -s conftest$ac_exeext'
28330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28331 (eval $ac_try) 2>&5
28332 ac_status=$?
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); }; }; then
28335 eval "$as_ac_var=yes"
28336 else
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28340 eval "$as_ac_var=no"
28342 rm -f conftest.err conftest.$ac_objext \
28343 conftest$ac_exeext conftest.$ac_ext
28345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28347 if test `eval echo '${'$as_ac_var'}'` = yes; then
28348 cat >>confdefs.h <<_ACEOF
28349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28350 _ACEOF
28352 else
28353 ac_wfuncs=no
28355 done
28358 # Checks for names injected into std:: by the c_std headers.
28405 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28406 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28407 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28408 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28409 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28410 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28413 echo "$as_me:$LINENO: checking for $ac_func" >&5
28414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28415 if eval "test \"\${$as_ac_var+set}\" = set"; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28417 else
28418 if test x$gcc_no_link = xyes; then
28419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28421 { (exit 1); exit 1; }; }
28423 cat >conftest.$ac_ext <<_ACEOF
28424 /* confdefs.h. */
28425 _ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28431 #define $ac_func innocuous_$ac_func
28433 /* System header to define __stub macros and hopefully few prototypes,
28434 which can conflict with char $ac_func (); below.
28435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28436 <limits.h> exists even on freestanding compilers. */
28438 #ifdef __STDC__
28439 # include <limits.h>
28440 #else
28441 # include <assert.h>
28442 #endif
28444 #undef $ac_func
28446 /* Override any gcc2 internal prototype to avoid an error. */
28447 #ifdef __cplusplus
28448 extern "C"
28450 #endif
28451 /* We use char because int might match the return type of a gcc2
28452 builtin and then its argument prototype would still apply. */
28453 char $ac_func ();
28454 /* The GNU C library defines this for functions which it implements
28455 to always fail with ENOSYS. Some functions are actually named
28456 something starting with __ and the normal name is an alias. */
28457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28458 choke me
28459 #else
28460 char (*f) () = $ac_func;
28461 #endif
28462 #ifdef __cplusplus
28464 #endif
28467 main ()
28469 return f != $ac_func;
28471 return 0;
28473 _ACEOF
28474 rm -f conftest.$ac_objext conftest$ac_exeext
28475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28476 (eval $ac_link) 2>conftest.er1
28477 ac_status=$?
28478 grep -v '^ *+' conftest.er1 >conftest.err
28479 rm -f conftest.er1
28480 cat conftest.err >&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); } &&
28483 { ac_try='test -z "$ac_c_werror_flag"
28484 || test ! -s conftest.err'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28487 ac_status=$?
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; } &&
28490 { ac_try='test -s conftest$ac_exeext'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; }; then
28496 eval "$as_ac_var=yes"
28497 else
28498 echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.$ac_ext >&5
28501 eval "$as_ac_var=no"
28503 rm -f conftest.err conftest.$ac_objext \
28504 conftest$ac_exeext conftest.$ac_ext
28506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28508 if test `eval echo '${'$as_ac_var'}'` = yes; then
28509 cat >>confdefs.h <<_ACEOF
28510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28511 _ACEOF
28513 else
28514 ac_wfuncs=no
28516 done
28519 # Checks for wide character functions that are not required
28520 # for basic wchar_t support. Don't disable support if they are missing.
28521 # Injection of these is wrapped with guard macros.
28527 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28530 echo "$as_me:$LINENO: checking for $ac_func" >&5
28531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28532 if eval "test \"\${$as_ac_var+set}\" = set"; then
28533 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 else
28535 if test x$gcc_no_link = xyes; then
28536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28538 { (exit 1); exit 1; }; }
28540 cat >conftest.$ac_ext <<_ACEOF
28541 /* confdefs.h. */
28542 _ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h. */
28546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28548 #define $ac_func innocuous_$ac_func
28550 /* System header to define __stub macros and hopefully few prototypes,
28551 which can conflict with char $ac_func (); below.
28552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28553 <limits.h> exists even on freestanding compilers. */
28555 #ifdef __STDC__
28556 # include <limits.h>
28557 #else
28558 # include <assert.h>
28559 #endif
28561 #undef $ac_func
28563 /* Override any gcc2 internal prototype to avoid an error. */
28564 #ifdef __cplusplus
28565 extern "C"
28567 #endif
28568 /* We use char because int might match the return type of a gcc2
28569 builtin and then its argument prototype would still apply. */
28570 char $ac_func ();
28571 /* The GNU C library defines this for functions which it implements
28572 to always fail with ENOSYS. Some functions are actually named
28573 something starting with __ and the normal name is an alias. */
28574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28575 choke me
28576 #else
28577 char (*f) () = $ac_func;
28578 #endif
28579 #ifdef __cplusplus
28581 #endif
28584 main ()
28586 return f != $ac_func;
28588 return 0;
28590 _ACEOF
28591 rm -f conftest.$ac_objext conftest$ac_exeext
28592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28593 (eval $ac_link) 2>conftest.er1
28594 ac_status=$?
28595 grep -v '^ *+' conftest.er1 >conftest.err
28596 rm -f conftest.er1
28597 cat conftest.err >&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); } &&
28600 { ac_try='test -z "$ac_c_werror_flag"
28601 || test ! -s conftest.err'
28602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603 (eval $ac_try) 2>&5
28604 ac_status=$?
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); }; } &&
28607 { ac_try='test -s conftest$ac_exeext'
28608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28609 (eval $ac_try) 2>&5
28610 ac_status=$?
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); }; }; then
28613 eval "$as_ac_var=yes"
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28618 eval "$as_ac_var=no"
28620 rm -f conftest.err conftest.$ac_objext \
28621 conftest$ac_exeext conftest.$ac_ext
28623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28625 if test `eval echo '${'$as_ac_var'}'` = yes; then
28626 cat >>confdefs.h <<_ACEOF
28627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28628 _ACEOF
28631 done
28634 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28635 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28636 if test x"$has_weof" = xyes &&
28637 test x"$has_wchar_minmax" = xyes &&
28638 test x"$ac_wfuncs" = xyes;
28639 then
28640 ac_isoC99_wchar_t=yes
28641 else
28642 ac_isoC99_wchar_t=no
28644 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28645 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28647 # Use iconv for wchar_t to char conversions. As such, check for
28648 # X/Open Portability Guide, version 2 features (XPG2).
28649 if test "${ac_cv_header_iconv_h+set}" = set; then
28650 echo "$as_me:$LINENO: checking for iconv.h" >&5
28651 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28652 if test "${ac_cv_header_iconv_h+set}" = set; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28655 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28656 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28657 else
28658 # Is the header compilable?
28659 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28660 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28661 cat >conftest.$ac_ext <<_ACEOF
28662 /* confdefs.h. */
28663 _ACEOF
28664 cat confdefs.h >>conftest.$ac_ext
28665 cat >>conftest.$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28667 $ac_includes_default
28668 #include <iconv.h>
28669 _ACEOF
28670 rm -f conftest.$ac_objext
28671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28672 (eval $ac_compile) 2>conftest.er1
28673 ac_status=$?
28674 grep -v '^ *+' conftest.er1 >conftest.err
28675 rm -f conftest.er1
28676 cat conftest.err >&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try='test -z "$ac_c_werror_flag"
28680 || test ! -s conftest.err'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; } &&
28686 { ac_try='test -s conftest.$ac_objext'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28689 ac_status=$?
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; }; then
28692 ac_header_compiler=yes
28693 else
28694 echo "$as_me: failed program was:" >&5
28695 sed 's/^/| /' conftest.$ac_ext >&5
28697 ac_header_compiler=no
28699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28701 echo "${ECHO_T}$ac_header_compiler" >&6
28703 # Is the header present?
28704 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28705 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28706 cat >conftest.$ac_ext <<_ACEOF
28707 /* confdefs.h. */
28708 _ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h. */
28712 #include <iconv.h>
28713 _ACEOF
28714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28716 ac_status=$?
28717 grep -v '^ *+' conftest.er1 >conftest.err
28718 rm -f conftest.er1
28719 cat conftest.err >&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } >/dev/null; then
28722 if test -s conftest.err; then
28723 ac_cpp_err=$ac_c_preproc_warn_flag
28724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28725 else
28726 ac_cpp_err=
28728 else
28729 ac_cpp_err=yes
28731 if test -z "$ac_cpp_err"; then
28732 ac_header_preproc=yes
28733 else
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28737 ac_header_preproc=no
28739 rm -f conftest.err conftest.$ac_ext
28740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28741 echo "${ECHO_T}$ac_header_preproc" >&6
28743 # So? What about this header?
28744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28745 yes:no: )
28746 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28747 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28748 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28749 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28750 ac_header_preproc=yes
28752 no:yes:* )
28753 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28754 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28756 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28758 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28759 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28760 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28761 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28762 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28763 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28764 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28766 cat <<\_ASBOX
28767 ## ----------------------------------------- ##
28768 ## Report this to the package-unused lists. ##
28769 ## ----------------------------------------- ##
28770 _ASBOX
28772 sed "s/^/$as_me: WARNING: /" >&2
28774 esac
28775 echo "$as_me:$LINENO: checking for iconv.h" >&5
28776 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28777 if test "${ac_cv_header_iconv_h+set}" = set; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 else
28780 ac_cv_header_iconv_h=$ac_header_preproc
28782 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28783 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28786 if test $ac_cv_header_iconv_h = yes; then
28787 ac_has_iconv_h=yes
28788 else
28789 ac_has_iconv_h=no
28793 if test "${ac_cv_header_langinfo_h+set}" = set; then
28794 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28795 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28796 if test "${ac_cv_header_langinfo_h+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28800 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28801 else
28802 # Is the header compilable?
28803 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28804 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28805 cat >conftest.$ac_ext <<_ACEOF
28806 /* confdefs.h. */
28807 _ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28811 $ac_includes_default
28812 #include <langinfo.h>
28813 _ACEOF
28814 rm -f conftest.$ac_objext
28815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28816 (eval $ac_compile) 2>conftest.er1
28817 ac_status=$?
28818 grep -v '^ *+' conftest.er1 >conftest.err
28819 rm -f conftest.er1
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try='test -z "$ac_c_werror_flag"
28824 || test ! -s conftest.err'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28827 ac_status=$?
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; } &&
28830 { ac_try='test -s conftest.$ac_objext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28833 ac_status=$?
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 ac_header_compiler=yes
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28841 ac_header_compiler=no
28843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28845 echo "${ECHO_T}$ac_header_compiler" >&6
28847 # Is the header present?
28848 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28849 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28850 cat >conftest.$ac_ext <<_ACEOF
28851 /* confdefs.h. */
28852 _ACEOF
28853 cat confdefs.h >>conftest.$ac_ext
28854 cat >>conftest.$ac_ext <<_ACEOF
28855 /* end confdefs.h. */
28856 #include <langinfo.h>
28857 _ACEOF
28858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28860 ac_status=$?
28861 grep -v '^ *+' conftest.er1 >conftest.err
28862 rm -f conftest.er1
28863 cat conftest.err >&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); } >/dev/null; then
28866 if test -s conftest.err; then
28867 ac_cpp_err=$ac_c_preproc_warn_flag
28868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28869 else
28870 ac_cpp_err=
28872 else
28873 ac_cpp_err=yes
28875 if test -z "$ac_cpp_err"; then
28876 ac_header_preproc=yes
28877 else
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.$ac_ext >&5
28881 ac_header_preproc=no
28883 rm -f conftest.err conftest.$ac_ext
28884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28885 echo "${ECHO_T}$ac_header_preproc" >&6
28887 # So? What about this header?
28888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28889 yes:no: )
28890 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28891 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28892 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28893 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28894 ac_header_preproc=yes
28896 no:yes:* )
28897 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28898 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28899 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28900 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28901 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28902 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28903 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28904 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28905 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28906 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28907 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28908 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28910 cat <<\_ASBOX
28911 ## ----------------------------------------- ##
28912 ## Report this to the package-unused lists. ##
28913 ## ----------------------------------------- ##
28914 _ASBOX
28916 sed "s/^/$as_me: WARNING: /" >&2
28918 esac
28919 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28920 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28921 if test "${ac_cv_header_langinfo_h+set}" = set; then
28922 echo $ECHO_N "(cached) $ECHO_C" >&6
28923 else
28924 ac_cv_header_langinfo_h=$ac_header_preproc
28926 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28927 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28930 if test $ac_cv_header_langinfo_h = yes; then
28931 ac_has_langinfo_h=yes
28932 else
28933 ac_has_langinfo_h=no
28938 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28939 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28940 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28941 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944 ac_check_lib_save_LIBS=$LIBS
28945 LIBS="-liconv $LIBS"
28946 if test x$gcc_no_link = xyes; then
28947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28949 { (exit 1); exit 1; }; }
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28958 /* Override any gcc2 internal prototype to avoid an error. */
28959 #ifdef __cplusplus
28960 extern "C"
28961 #endif
28962 /* We use char because int might match the return type of a gcc2
28963 builtin and then its argument prototype would still apply. */
28964 char iconv ();
28966 main ()
28968 iconv ();
28970 return 0;
28972 _ACEOF
28973 rm -f conftest.$ac_objext conftest$ac_exeext
28974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28975 (eval $ac_link) 2>conftest.er1
28976 ac_status=$?
28977 grep -v '^ *+' conftest.er1 >conftest.err
28978 rm -f conftest.er1
28979 cat conftest.err >&5
28980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28981 (exit $ac_status); } &&
28982 { ac_try='test -z "$ac_c_werror_flag"
28983 || test ! -s conftest.err'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28986 ac_status=$?
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; } &&
28989 { ac_try='test -s conftest$ac_exeext'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; }; then
28995 ac_cv_lib_iconv_iconv=yes
28996 else
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.$ac_ext >&5
29000 ac_cv_lib_iconv_iconv=no
29002 rm -f conftest.err conftest.$ac_objext \
29003 conftest$ac_exeext conftest.$ac_ext
29004 LIBS=$ac_check_lib_save_LIBS
29006 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29007 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29008 if test $ac_cv_lib_iconv_iconv = yes; then
29009 LIBICONV="-liconv"
29012 ac_save_LIBS="$LIBS"
29013 LIBS="$LIBS $LIBICONV"
29020 for ac_func in iconv_open iconv_close iconv nl_langinfo
29022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 else
29028 if test x$gcc_no_link = xyes; then
29029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29031 { (exit 1); exit 1; }; }
29033 cat >conftest.$ac_ext <<_ACEOF
29034 /* confdefs.h. */
29035 _ACEOF
29036 cat confdefs.h >>conftest.$ac_ext
29037 cat >>conftest.$ac_ext <<_ACEOF
29038 /* end confdefs.h. */
29039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29041 #define $ac_func innocuous_$ac_func
29043 /* System header to define __stub macros and hopefully few prototypes,
29044 which can conflict with char $ac_func (); below.
29045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29046 <limits.h> exists even on freestanding compilers. */
29048 #ifdef __STDC__
29049 # include <limits.h>
29050 #else
29051 # include <assert.h>
29052 #endif
29054 #undef $ac_func
29056 /* Override any gcc2 internal prototype to avoid an error. */
29057 #ifdef __cplusplus
29058 extern "C"
29060 #endif
29061 /* We use char because int might match the return type of a gcc2
29062 builtin and then its argument prototype would still apply. */
29063 char $ac_func ();
29064 /* The GNU C library defines this for functions which it implements
29065 to always fail with ENOSYS. Some functions are actually named
29066 something starting with __ and the normal name is an alias. */
29067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29068 choke me
29069 #else
29070 char (*f) () = $ac_func;
29071 #endif
29072 #ifdef __cplusplus
29074 #endif
29077 main ()
29079 return f != $ac_func;
29081 return 0;
29083 _ACEOF
29084 rm -f conftest.$ac_objext conftest$ac_exeext
29085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29086 (eval $ac_link) 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } &&
29093 { ac_try='test -z "$ac_c_werror_flag"
29094 || test ! -s conftest.err'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; } &&
29100 { ac_try='test -s conftest$ac_exeext'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 eval "$as_ac_var=yes"
29107 else
29108 echo "$as_me: failed program was:" >&5
29109 sed 's/^/| /' conftest.$ac_ext >&5
29111 eval "$as_ac_var=no"
29113 rm -f conftest.err conftest.$ac_objext \
29114 conftest$ac_exeext conftest.$ac_ext
29116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29118 if test `eval echo '${'$as_ac_var'}'` = yes; then
29119 cat >>confdefs.h <<_ACEOF
29120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29121 _ACEOF
29122 ac_XPG2funcs=yes
29123 else
29124 ac_XPG2funcs=no
29126 done
29129 LIBS="$ac_save_LIBS"
29131 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29132 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29133 if test x"$ac_has_iconv_h" = xyes &&
29134 test x"$ac_has_langinfo_h" = xyes &&
29135 test x"$ac_XPG2funcs" = xyes;
29136 then
29137 ac_XPG2_wchar_t=yes
29138 else
29139 ac_XPG2_wchar_t=no
29141 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29142 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29144 # At the moment, only enable wchar_t specializations if all the
29145 # above support is present.
29146 if test x"$ac_isoC99_wchar_t" = xyes &&
29147 test x"$ac_XPG2_wchar_t" = xyes;
29148 then
29149 cat >>confdefs.h <<\_ACEOF
29150 #define _GLIBCXX_USE_WCHAR_T 1
29151 _ACEOF
29153 enable_wchar_t=yes
29156 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29157 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29158 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29159 echo "${ECHO_T}$enable_wchar_t" >&6
29162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29163 ac_save_CXXFLAGS="$CXXFLAGS"
29164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29167 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29168 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29169 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29170 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 else
29176 ac_ext=cc
29177 ac_cpp='$CXXCPP $CPPFLAGS'
29178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29182 cat >conftest.$ac_ext <<_ACEOF
29183 /* confdefs.h. */
29184 _ACEOF
29185 cat confdefs.h >>conftest.$ac_ext
29186 cat >>conftest.$ac_ext <<_ACEOF
29187 /* end confdefs.h. */
29188 #include <stdlib.h>
29190 main ()
29192 strtold(0, 0);
29194 return 0;
29196 _ACEOF
29197 rm -f conftest.$ac_objext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29199 (eval $ac_compile) 2>conftest.er1
29200 ac_status=$?
29201 grep -v '^ *+' conftest.er1 >conftest.err
29202 rm -f conftest.er1
29203 cat conftest.err >&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); } &&
29206 { ac_try='test -z "$ac_cxx_werror_flag"
29207 || test ! -s conftest.err'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29210 ac_status=$?
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; } &&
29213 { ac_try='test -s conftest.$ac_objext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29216 ac_status=$?
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 glibcxx_cv_func_strtold_use=yes
29220 else
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.$ac_ext >&5
29224 glibcxx_cv_func_strtold_use=no
29226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29227 ac_ext=c
29228 ac_cpp='$CPP $CPPFLAGS'
29229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29238 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29239 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29241 for ac_func in strtold
29243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29244 echo "$as_me:$LINENO: checking for $ac_func" >&5
29245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29246 if eval "test \"\${$as_ac_var+set}\" = set"; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 else
29249 if test x$gcc_no_link = xyes; then
29250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29252 { (exit 1); exit 1; }; }
29254 cat >conftest.$ac_ext <<_ACEOF
29255 /* confdefs.h. */
29256 _ACEOF
29257 cat confdefs.h >>conftest.$ac_ext
29258 cat >>conftest.$ac_ext <<_ACEOF
29259 /* end confdefs.h. */
29260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29262 #define $ac_func innocuous_$ac_func
29264 /* System header to define __stub macros and hopefully few prototypes,
29265 which can conflict with char $ac_func (); below.
29266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29267 <limits.h> exists even on freestanding compilers. */
29269 #ifdef __STDC__
29270 # include <limits.h>
29271 #else
29272 # include <assert.h>
29273 #endif
29275 #undef $ac_func
29277 /* Override any gcc2 internal prototype to avoid an error. */
29278 #ifdef __cplusplus
29279 extern "C"
29281 #endif
29282 /* We use char because int might match the return type of a gcc2
29283 builtin and then its argument prototype would still apply. */
29284 char $ac_func ();
29285 /* The GNU C library defines this for functions which it implements
29286 to always fail with ENOSYS. Some functions are actually named
29287 something starting with __ and the normal name is an alias. */
29288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29289 choke me
29290 #else
29291 char (*f) () = $ac_func;
29292 #endif
29293 #ifdef __cplusplus
29295 #endif
29298 main ()
29300 return f != $ac_func;
29302 return 0;
29304 _ACEOF
29305 rm -f conftest.$ac_objext conftest$ac_exeext
29306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29307 (eval $ac_link) 2>conftest.er1
29308 ac_status=$?
29309 grep -v '^ *+' conftest.er1 >conftest.err
29310 rm -f conftest.er1
29311 cat conftest.err >&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); } &&
29314 { ac_try='test -z "$ac_c_werror_flag"
29315 || test ! -s conftest.err'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29318 ac_status=$?
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; } &&
29321 { ac_try='test -s conftest$ac_exeext'
29322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29323 (eval $ac_try) 2>&5
29324 ac_status=$?
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); }; }; then
29327 eval "$as_ac_var=yes"
29328 else
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29332 eval "$as_ac_var=no"
29334 rm -f conftest.err conftest.$ac_objext \
29335 conftest$ac_exeext conftest.$ac_ext
29337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29339 if test `eval echo '${'$as_ac_var'}'` = yes; then
29340 cat >>confdefs.h <<_ACEOF
29341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29342 _ACEOF
29345 done
29350 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29351 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29352 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29353 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29359 ac_ext=cc
29360 ac_cpp='$CXXCPP $CPPFLAGS'
29361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29365 cat >conftest.$ac_ext <<_ACEOF
29366 /* confdefs.h. */
29367 _ACEOF
29368 cat confdefs.h >>conftest.$ac_ext
29369 cat >>conftest.$ac_ext <<_ACEOF
29370 /* end confdefs.h. */
29371 #include <stdlib.h>
29373 main ()
29375 strtof(0, 0);
29377 return 0;
29379 _ACEOF
29380 rm -f conftest.$ac_objext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29382 (eval $ac_compile) 2>conftest.er1
29383 ac_status=$?
29384 grep -v '^ *+' conftest.er1 >conftest.err
29385 rm -f conftest.er1
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try='test -z "$ac_cxx_werror_flag"
29390 || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29393 ac_status=$?
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try='test -s conftest.$ac_objext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29399 ac_status=$?
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 glibcxx_cv_func_strtof_use=yes
29403 else
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29407 glibcxx_cv_func_strtof_use=no
29409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29410 ac_ext=c
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29421 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29422 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29424 for ac_func in strtof
29426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29427 echo "$as_me:$LINENO: checking for $ac_func" >&5
29428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29429 if eval "test \"\${$as_ac_var+set}\" = set"; then
29430 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 else
29432 if test x$gcc_no_link = xyes; then
29433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29435 { (exit 1); exit 1; }; }
29437 cat >conftest.$ac_ext <<_ACEOF
29438 /* confdefs.h. */
29439 _ACEOF
29440 cat confdefs.h >>conftest.$ac_ext
29441 cat >>conftest.$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29445 #define $ac_func innocuous_$ac_func
29447 /* System header to define __stub macros and hopefully few prototypes,
29448 which can conflict with char $ac_func (); below.
29449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29450 <limits.h> exists even on freestanding compilers. */
29452 #ifdef __STDC__
29453 # include <limits.h>
29454 #else
29455 # include <assert.h>
29456 #endif
29458 #undef $ac_func
29460 /* Override any gcc2 internal prototype to avoid an error. */
29461 #ifdef __cplusplus
29462 extern "C"
29464 #endif
29465 /* We use char because int might match the return type of a gcc2
29466 builtin and then its argument prototype would still apply. */
29467 char $ac_func ();
29468 /* The GNU C library defines this for functions which it implements
29469 to always fail with ENOSYS. Some functions are actually named
29470 something starting with __ and the normal name is an alias. */
29471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29472 choke me
29473 #else
29474 char (*f) () = $ac_func;
29475 #endif
29476 #ifdef __cplusplus
29478 #endif
29481 main ()
29483 return f != $ac_func;
29485 return 0;
29487 _ACEOF
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29490 (eval $ac_link) 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try='test -z "$ac_c_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 eval "$as_ac_var=yes"
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29515 eval "$as_ac_var=no"
29517 rm -f conftest.err conftest.$ac_objext \
29518 conftest$ac_exeext conftest.$ac_ext
29520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29522 if test `eval echo '${'$as_ac_var'}'` = yes; then
29523 cat >>confdefs.h <<_ACEOF
29524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29525 _ACEOF
29528 done
29533 CXXFLAGS="$ac_save_CXXFLAGS"
29536 # For showmanyc_helper().
29539 for ac_header in sys/ioctl.h sys/filio.h
29541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29543 echo "$as_me:$LINENO: checking for $ac_header" >&5
29544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29550 else
29551 # Is the header compilable?
29552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29554 cat >conftest.$ac_ext <<_ACEOF
29555 /* confdefs.h. */
29556 _ACEOF
29557 cat confdefs.h >>conftest.$ac_ext
29558 cat >>conftest.$ac_ext <<_ACEOF
29559 /* end confdefs.h. */
29560 $ac_includes_default
29561 #include <$ac_header>
29562 _ACEOF
29563 rm -f conftest.$ac_objext
29564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29565 (eval $ac_compile) 2>conftest.er1
29566 ac_status=$?
29567 grep -v '^ *+' conftest.er1 >conftest.err
29568 rm -f conftest.er1
29569 cat conftest.err >&5
29570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571 (exit $ac_status); } &&
29572 { ac_try='test -z "$ac_c_werror_flag"
29573 || test ! -s conftest.err'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; } &&
29579 { ac_try='test -s conftest.$ac_objext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585 ac_header_compiler=yes
29586 else
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.$ac_ext >&5
29590 ac_header_compiler=no
29592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29594 echo "${ECHO_T}$ac_header_compiler" >&6
29596 # Is the header present?
29597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605 #include <$ac_header>
29606 _ACEOF
29607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29609 ac_status=$?
29610 grep -v '^ *+' conftest.er1 >conftest.err
29611 rm -f conftest.er1
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); } >/dev/null; then
29615 if test -s conftest.err; then
29616 ac_cpp_err=$ac_c_preproc_warn_flag
29617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29618 else
29619 ac_cpp_err=
29621 else
29622 ac_cpp_err=yes
29624 if test -z "$ac_cpp_err"; then
29625 ac_header_preproc=yes
29626 else
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.$ac_ext >&5
29630 ac_header_preproc=no
29632 rm -f conftest.err conftest.$ac_ext
29633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29634 echo "${ECHO_T}$ac_header_preproc" >&6
29636 # So? What about this header?
29637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29638 yes:no: )
29639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29643 ac_header_preproc=yes
29645 no:yes:* )
29646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29659 cat <<\_ASBOX
29660 ## ----------------------------------------- ##
29661 ## Report this to the package-unused lists. ##
29662 ## ----------------------------------------- ##
29663 _ASBOX
29665 sed "s/^/$as_me: WARNING: /" >&2
29667 esac
29668 echo "$as_me:$LINENO: checking for $ac_header" >&5
29669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 else
29673 eval "$as_ac_Header=\$ac_header_preproc"
29675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29680 cat >>confdefs.h <<_ACEOF
29681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29682 _ACEOF
29686 done
29689 if test "${glibcxx_cv_POLL+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 else
29693 if test x$gcc_no_link = xyes; then
29694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29696 { (exit 1); exit 1; }; }
29698 cat >conftest.$ac_ext <<_ACEOF
29699 /* confdefs.h. */
29700 _ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h. */
29704 #include <poll.h>
29706 main ()
29708 struct pollfd pfd[1];
29709 pfd[0].events = POLLIN;
29710 poll(pfd, 1, 0);
29712 return 0;
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717 (eval $ac_link) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_c_werror_flag"
29725 || test ! -s conftest.err'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; } &&
29731 { ac_try='test -s conftest$ac_exeext'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; }; then
29737 glibcxx_cv_POLL=yes
29738 else
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29742 glibcxx_cv_POLL=no
29744 rm -f conftest.err conftest.$ac_objext \
29745 conftest$ac_exeext conftest.$ac_ext
29749 if test $glibcxx_cv_POLL = yes; then
29750 cat >>confdefs.h <<\_ACEOF
29751 #define HAVE_POLL 1
29752 _ACEOF
29757 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29761 if test x$gcc_no_link = xyes; then
29762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29764 { (exit 1); exit 1; }; }
29766 cat >conftest.$ac_ext <<_ACEOF
29767 /* confdefs.h. */
29768 _ACEOF
29769 cat confdefs.h >>conftest.$ac_ext
29770 cat >>conftest.$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29772 #include <sys/stat.h>
29774 main ()
29776 struct stat buffer;
29777 fstat(0, &buffer);
29778 S_ISREG(buffer.st_mode);
29780 return 0;
29782 _ACEOF
29783 rm -f conftest.$ac_objext conftest$ac_exeext
29784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29785 (eval $ac_link) 2>conftest.er1
29786 ac_status=$?
29787 grep -v '^ *+' conftest.er1 >conftest.err
29788 rm -f conftest.er1
29789 cat conftest.err >&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); } &&
29792 { ac_try='test -z "$ac_c_werror_flag"
29793 || test ! -s conftest.err'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29796 ac_status=$?
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; } &&
29799 { ac_try='test -s conftest$ac_exeext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 glibcxx_cv_S_ISREG=yes
29806 else
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.$ac_ext >&5
29810 glibcxx_cv_S_ISREG=no
29812 rm -f conftest.err conftest.$ac_objext \
29813 conftest$ac_exeext conftest.$ac_ext
29817 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29819 else
29821 if test x$gcc_no_link = xyes; then
29822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29824 { (exit 1); exit 1; }; }
29826 cat >conftest.$ac_ext <<_ACEOF
29827 /* confdefs.h. */
29828 _ACEOF
29829 cat confdefs.h >>conftest.$ac_ext
29830 cat >>conftest.$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29832 #include <sys/stat.h>
29834 main ()
29836 struct stat buffer;
29837 fstat(0, &buffer);
29838 S_IFREG & buffer.st_mode;
29840 return 0;
29842 _ACEOF
29843 rm -f conftest.$ac_objext conftest$ac_exeext
29844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29845 (eval $ac_link) 2>conftest.er1
29846 ac_status=$?
29847 grep -v '^ *+' conftest.er1 >conftest.err
29848 rm -f conftest.er1
29849 cat conftest.err >&5
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); } &&
29852 { ac_try='test -z "$ac_c_werror_flag"
29853 || test ! -s conftest.err'
29854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29855 (eval $ac_try) 2>&5
29856 ac_status=$?
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); }; } &&
29859 { ac_try='test -s conftest$ac_exeext'
29860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861 (eval $ac_try) 2>&5
29862 ac_status=$?
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); }; }; then
29865 glibcxx_cv_S_IFREG=yes
29866 else
29867 echo "$as_me: failed program was:" >&5
29868 sed 's/^/| /' conftest.$ac_ext >&5
29870 glibcxx_cv_S_IFREG=no
29872 rm -f conftest.err conftest.$ac_objext \
29873 conftest$ac_exeext conftest.$ac_ext
29877 if test $glibcxx_cv_S_ISREG = yes; then
29878 cat >>confdefs.h <<\_ACEOF
29879 #define HAVE_S_ISREG 1
29880 _ACEOF
29882 elif test $glibcxx_cv_S_IFREG = yes; then
29883 cat >>confdefs.h <<\_ACEOF
29884 #define HAVE_S_IFREG 1
29885 _ACEOF
29890 # For xsputn_2().
29892 for ac_header in sys/uio.h
29894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29896 echo "$as_me:$LINENO: checking for $ac_header" >&5
29897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29903 else
29904 # Is the header compilable?
29905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29907 cat >conftest.$ac_ext <<_ACEOF
29908 /* confdefs.h. */
29909 _ACEOF
29910 cat confdefs.h >>conftest.$ac_ext
29911 cat >>conftest.$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29913 $ac_includes_default
29914 #include <$ac_header>
29915 _ACEOF
29916 rm -f conftest.$ac_objext
29917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29918 (eval $ac_compile) 2>conftest.er1
29919 ac_status=$?
29920 grep -v '^ *+' conftest.er1 >conftest.err
29921 rm -f conftest.er1
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } &&
29925 { ac_try='test -z "$ac_c_werror_flag"
29926 || test ! -s conftest.err'
29927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928 (eval $ac_try) 2>&5
29929 ac_status=$?
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; } &&
29932 { ac_try='test -s conftest.$ac_objext'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; }; then
29938 ac_header_compiler=yes
29939 else
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29943 ac_header_compiler=no
29945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29947 echo "${ECHO_T}$ac_header_compiler" >&6
29949 # Is the header present?
29950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29952 cat >conftest.$ac_ext <<_ACEOF
29953 /* confdefs.h. */
29954 _ACEOF
29955 cat confdefs.h >>conftest.$ac_ext
29956 cat >>conftest.$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29958 #include <$ac_header>
29959 _ACEOF
29960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29962 ac_status=$?
29963 grep -v '^ *+' conftest.er1 >conftest.err
29964 rm -f conftest.er1
29965 cat conftest.err >&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } >/dev/null; then
29968 if test -s conftest.err; then
29969 ac_cpp_err=$ac_c_preproc_warn_flag
29970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29971 else
29972 ac_cpp_err=
29974 else
29975 ac_cpp_err=yes
29977 if test -z "$ac_cpp_err"; then
29978 ac_header_preproc=yes
29979 else
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29983 ac_header_preproc=no
29985 rm -f conftest.err conftest.$ac_ext
29986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29987 echo "${ECHO_T}$ac_header_preproc" >&6
29989 # So? What about this header?
29990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29991 yes:no: )
29992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29996 ac_header_preproc=yes
29998 no:yes:* )
29999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30012 cat <<\_ASBOX
30013 ## ----------------------------------------- ##
30014 ## Report this to the package-unused lists. ##
30015 ## ----------------------------------------- ##
30016 _ASBOX
30018 sed "s/^/$as_me: WARNING: /" >&2
30020 esac
30021 echo "$as_me:$LINENO: checking for $ac_header" >&5
30022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30025 else
30026 eval "$as_ac_Header=\$ac_header_preproc"
30028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30033 cat >>confdefs.h <<_ACEOF
30034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30035 _ACEOF
30039 done
30042 if test "${glibcxx_cv_WRITEV+set}" = set; then
30043 echo $ECHO_N "(cached) $ECHO_C" >&6
30044 else
30046 if test x$gcc_no_link = xyes; then
30047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30049 { (exit 1); exit 1; }; }
30051 cat >conftest.$ac_ext <<_ACEOF
30052 /* confdefs.h. */
30053 _ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 #include <sys/uio.h>
30059 main ()
30061 struct iovec iov[2];
30062 writev(0, iov, 0);
30064 return 0;
30066 _ACEOF
30067 rm -f conftest.$ac_objext conftest$ac_exeext
30068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30069 (eval $ac_link) 2>conftest.er1
30070 ac_status=$?
30071 grep -v '^ *+' conftest.er1 >conftest.err
30072 rm -f conftest.er1
30073 cat conftest.err >&5
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); } &&
30076 { ac_try='test -z "$ac_c_werror_flag"
30077 || test ! -s conftest.err'
30078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30079 (eval $ac_try) 2>&5
30080 ac_status=$?
30081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082 (exit $ac_status); }; } &&
30083 { ac_try='test -s conftest$ac_exeext'
30084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30085 (eval $ac_try) 2>&5
30086 ac_status=$?
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); }; }; then
30089 glibcxx_cv_WRITEV=yes
30090 else
30091 echo "$as_me: failed program was:" >&5
30092 sed 's/^/| /' conftest.$ac_ext >&5
30094 glibcxx_cv_WRITEV=no
30096 rm -f conftest.err conftest.$ac_objext \
30097 conftest$ac_exeext conftest.$ac_ext
30101 if test $glibcxx_cv_WRITEV = yes; then
30102 cat >>confdefs.h <<\_ACEOF
30103 #define HAVE_WRITEV 1
30104 _ACEOF
30109 # For the __streamoff_base_type typedef.
30111 if test "${glibcxx_cv_INT64_T+set}" = set; then
30112 echo $ECHO_N "(cached) $ECHO_C" >&6
30113 else
30115 cat >conftest.$ac_ext <<_ACEOF
30116 /* confdefs.h. */
30117 _ACEOF
30118 cat confdefs.h >>conftest.$ac_ext
30119 cat >>conftest.$ac_ext <<_ACEOF
30120 /* end confdefs.h. */
30121 #include <stdint.h>
30123 main ()
30125 int64_t var;
30127 return 0;
30129 _ACEOF
30130 rm -f conftest.$ac_objext
30131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30132 (eval $ac_compile) 2>conftest.er1
30133 ac_status=$?
30134 grep -v '^ *+' conftest.er1 >conftest.err
30135 rm -f conftest.er1
30136 cat conftest.err >&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); } &&
30139 { ac_try='test -z "$ac_c_werror_flag"
30140 || test ! -s conftest.err'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30143 ac_status=$?
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; } &&
30146 { ac_try='test -s conftest.$ac_objext'
30147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30148 (eval $ac_try) 2>&5
30149 ac_status=$?
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; }; then
30152 glibcxx_cv_INT64_T=yes
30153 else
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.$ac_ext >&5
30157 glibcxx_cv_INT64_T=no
30159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30163 if test $glibcxx_cv_INT64_T = yes; then
30164 cat >>confdefs.h <<\_ACEOF
30165 #define HAVE_INT64_T 1
30166 _ACEOF
30171 # For LFS support.
30175 ac_ext=cc
30176 ac_cpp='$CXXCPP $CPPFLAGS'
30177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181 ac_save_CXXFLAGS="$CXXFLAGS"
30182 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30183 if test "${glibcxx_cv_LFS+set}" = set; then
30184 echo $ECHO_N "(cached) $ECHO_C" >&6
30185 else
30187 if test x$gcc_no_link = xyes; then
30188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30190 { (exit 1); exit 1; }; }
30192 cat >conftest.$ac_ext <<_ACEOF
30193 /* confdefs.h. */
30194 _ACEOF
30195 cat confdefs.h >>conftest.$ac_ext
30196 cat >>conftest.$ac_ext <<_ACEOF
30197 /* end confdefs.h. */
30198 #include <unistd.h>
30199 #include <stdio.h>
30200 #include <sys/stat.h>
30203 main ()
30205 FILE* fp;
30206 fopen64("t", "w");
30207 fseeko64(fp, 0, SEEK_CUR);
30208 ftello64(fp);
30209 lseek64(1, 0, SEEK_CUR);
30210 struct stat64 buf;
30211 fstat64(1, &buf);
30213 return 0;
30215 _ACEOF
30216 rm -f conftest.$ac_objext conftest$ac_exeext
30217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30218 (eval $ac_link) 2>conftest.er1
30219 ac_status=$?
30220 grep -v '^ *+' conftest.er1 >conftest.err
30221 rm -f conftest.er1
30222 cat conftest.err >&5
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); } &&
30225 { ac_try='test -z "$ac_cxx_werror_flag"
30226 || test ! -s conftest.err'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; } &&
30232 { ac_try='test -s conftest$ac_exeext'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; }; then
30238 glibcxx_cv_LFS=yes
30239 else
30240 echo "$as_me: failed program was:" >&5
30241 sed 's/^/| /' conftest.$ac_ext >&5
30243 glibcxx_cv_LFS=no
30245 rm -f conftest.err conftest.$ac_objext \
30246 conftest$ac_exeext conftest.$ac_ext
30250 if test $glibcxx_cv_LFS = yes; then
30251 cat >>confdefs.h <<\_ACEOF
30252 #define _GLIBCXX_USE_LFS 1
30253 _ACEOF
30256 CXXFLAGS="$ac_save_CXXFLAGS"
30257 ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266 if test "${ac_cv_header_locale_h+set}" = set; then
30267 echo "$as_me:$LINENO: checking for locale.h" >&5
30268 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30269 if test "${ac_cv_header_locale_h+set}" = set; then
30270 echo $ECHO_N "(cached) $ECHO_C" >&6
30272 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30273 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30274 else
30275 # Is the header compilable?
30276 echo "$as_me:$LINENO: checking locale.h usability" >&5
30277 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30278 cat >conftest.$ac_ext <<_ACEOF
30279 /* confdefs.h. */
30280 _ACEOF
30281 cat confdefs.h >>conftest.$ac_ext
30282 cat >>conftest.$ac_ext <<_ACEOF
30283 /* end confdefs.h. */
30284 $ac_includes_default
30285 #include <locale.h>
30286 _ACEOF
30287 rm -f conftest.$ac_objext
30288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30289 (eval $ac_compile) 2>conftest.er1
30290 ac_status=$?
30291 grep -v '^ *+' conftest.er1 >conftest.err
30292 rm -f conftest.er1
30293 cat conftest.err >&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); } &&
30296 { ac_try='test -z "$ac_c_werror_flag"
30297 || test ! -s conftest.err'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; } &&
30303 { ac_try='test -s conftest.$ac_objext'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; }; then
30309 ac_header_compiler=yes
30310 else
30311 echo "$as_me: failed program was:" >&5
30312 sed 's/^/| /' conftest.$ac_ext >&5
30314 ac_header_compiler=no
30316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30318 echo "${ECHO_T}$ac_header_compiler" >&6
30320 # Is the header present?
30321 echo "$as_me:$LINENO: checking locale.h presence" >&5
30322 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30323 cat >conftest.$ac_ext <<_ACEOF
30324 /* confdefs.h. */
30325 _ACEOF
30326 cat confdefs.h >>conftest.$ac_ext
30327 cat >>conftest.$ac_ext <<_ACEOF
30328 /* end confdefs.h. */
30329 #include <locale.h>
30330 _ACEOF
30331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30333 ac_status=$?
30334 grep -v '^ *+' conftest.er1 >conftest.err
30335 rm -f conftest.er1
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } >/dev/null; then
30339 if test -s conftest.err; then
30340 ac_cpp_err=$ac_c_preproc_warn_flag
30341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30342 else
30343 ac_cpp_err=
30345 else
30346 ac_cpp_err=yes
30348 if test -z "$ac_cpp_err"; then
30349 ac_header_preproc=yes
30350 else
30351 echo "$as_me: failed program was:" >&5
30352 sed 's/^/| /' conftest.$ac_ext >&5
30354 ac_header_preproc=no
30356 rm -f conftest.err conftest.$ac_ext
30357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30358 echo "${ECHO_T}$ac_header_preproc" >&6
30360 # So? What about this header?
30361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30362 yes:no: )
30363 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30364 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30365 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30366 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30367 ac_header_preproc=yes
30369 no:yes:* )
30370 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30371 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30372 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30373 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30374 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30375 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30376 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30377 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30378 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30379 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30380 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30381 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30383 cat <<\_ASBOX
30384 ## ----------------------------------------- ##
30385 ## Report this to the package-unused lists. ##
30386 ## ----------------------------------------- ##
30387 _ASBOX
30389 sed "s/^/$as_me: WARNING: /" >&2
30391 esac
30392 echo "$as_me:$LINENO: checking for locale.h" >&5
30393 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30394 if test "${ac_cv_header_locale_h+set}" = set; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 else
30397 ac_cv_header_locale_h=$ac_header_preproc
30399 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30400 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30403 if test $ac_cv_header_locale_h = yes; then
30405 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30406 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30407 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30408 echo $ECHO_N "(cached) $ECHO_C" >&6
30409 else
30410 if test x$gcc_no_link = xyes; then
30411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30413 { (exit 1); exit 1; }; }
30415 cat >conftest.$ac_ext <<_ACEOF
30416 /* confdefs.h. */
30417 _ACEOF
30418 cat confdefs.h >>conftest.$ac_ext
30419 cat >>conftest.$ac_ext <<_ACEOF
30420 /* end confdefs.h. */
30421 #include <locale.h>
30423 main ()
30425 return LC_MESSAGES
30427 return 0;
30429 _ACEOF
30430 rm -f conftest.$ac_objext conftest$ac_exeext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30432 (eval $ac_link) 2>conftest.er1
30433 ac_status=$?
30434 grep -v '^ *+' conftest.er1 >conftest.err
30435 rm -f conftest.er1
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try='test -z "$ac_c_werror_flag"
30440 || test ! -s conftest.err'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; } &&
30446 { ac_try='test -s conftest$ac_exeext'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; }; then
30452 ac_cv_val_LC_MESSAGES=yes
30453 else
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.$ac_ext >&5
30457 ac_cv_val_LC_MESSAGES=no
30459 rm -f conftest.err conftest.$ac_objext \
30460 conftest$ac_exeext conftest.$ac_ext
30462 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30463 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30464 if test $ac_cv_val_LC_MESSAGES = yes; then
30465 cat >>confdefs.h <<\_ACEOF
30466 #define HAVE_LC_MESSAGES 1
30467 _ACEOF
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482 #include <setjmp.h>
30484 main ()
30486 sigjmp_buf env;
30487 while (! sigsetjmp (env, 1))
30488 siglongjmp (env, 1);
30491 return 0;
30493 _ACEOF
30494 rm -f conftest.$ac_objext
30495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30496 (eval $ac_compile) 2>conftest.er1
30497 ac_status=$?
30498 grep -v '^ *+' conftest.er1 >conftest.err
30499 rm -f conftest.er1
30500 cat conftest.err >&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); } &&
30503 { ac_try='test -z "$ac_c_werror_flag"
30504 || test ! -s conftest.err'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30507 ac_status=$?
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; } &&
30510 { ac_try='test -s conftest.$ac_objext'
30511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30512 (eval $ac_try) 2>&5
30513 ac_status=$?
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); }; }; then
30517 cat >>confdefs.h <<\_ACEOF
30518 #define HAVE_SIGSETJMP 1
30519 _ACEOF
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30528 if test x$gcc_no_link = xyes; then
30529 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30530 ac_cv_func_mmap_fixed_mapped=no
30533 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30536 for ac_header in stdlib.h unistd.h
30538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30540 echo "$as_me:$LINENO: checking for $ac_header" >&5
30541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30547 else
30548 # Is the header compilable?
30549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30551 cat >conftest.$ac_ext <<_ACEOF
30552 /* confdefs.h. */
30553 _ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30557 $ac_includes_default
30558 #include <$ac_header>
30559 _ACEOF
30560 rm -f conftest.$ac_objext
30561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 (eval $ac_compile) 2>conftest.er1
30563 ac_status=$?
30564 grep -v '^ *+' conftest.er1 >conftest.err
30565 rm -f conftest.er1
30566 cat conftest.err >&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); } &&
30569 { ac_try='test -z "$ac_c_werror_flag"
30570 || test ! -s conftest.err'
30571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30572 (eval $ac_try) 2>&5
30573 ac_status=$?
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; } &&
30576 { ac_try='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30582 ac_header_compiler=yes
30583 else
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30587 ac_header_compiler=no
30589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30591 echo "${ECHO_T}$ac_header_compiler" >&6
30593 # Is the header present?
30594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30596 cat >conftest.$ac_ext <<_ACEOF
30597 /* confdefs.h. */
30598 _ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602 #include <$ac_header>
30603 _ACEOF
30604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30606 ac_status=$?
30607 grep -v '^ *+' conftest.er1 >conftest.err
30608 rm -f conftest.er1
30609 cat conftest.err >&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } >/dev/null; then
30612 if test -s conftest.err; then
30613 ac_cpp_err=$ac_c_preproc_warn_flag
30614 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30615 else
30616 ac_cpp_err=
30618 else
30619 ac_cpp_err=yes
30621 if test -z "$ac_cpp_err"; then
30622 ac_header_preproc=yes
30623 else
30624 echo "$as_me: failed program was:" >&5
30625 sed 's/^/| /' conftest.$ac_ext >&5
30627 ac_header_preproc=no
30629 rm -f conftest.err conftest.$ac_ext
30630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30631 echo "${ECHO_T}$ac_header_preproc" >&6
30633 # So? What about this header?
30634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30635 yes:no: )
30636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30640 ac_header_preproc=yes
30642 no:yes:* )
30643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30656 cat <<\_ASBOX
30657 ## ----------------------------------------- ##
30658 ## Report this to the package-unused lists. ##
30659 ## ----------------------------------------- ##
30660 _ASBOX
30662 sed "s/^/$as_me: WARNING: /" >&2
30664 esac
30665 echo "$as_me:$LINENO: checking for $ac_header" >&5
30666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30668 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 else
30670 eval "$as_ac_Header=\$ac_header_preproc"
30672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30677 cat >>confdefs.h <<_ACEOF
30678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30679 _ACEOF
30683 done
30686 for ac_func in getpagesize
30688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30689 echo "$as_me:$LINENO: checking for $ac_func" >&5
30690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30691 if eval "test \"\${$as_ac_var+set}\" = set"; then
30692 echo $ECHO_N "(cached) $ECHO_C" >&6
30693 else
30694 if test x$gcc_no_link = xyes; then
30695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30697 { (exit 1); exit 1; }; }
30699 cat >conftest.$ac_ext <<_ACEOF
30700 /* confdefs.h. */
30701 _ACEOF
30702 cat confdefs.h >>conftest.$ac_ext
30703 cat >>conftest.$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30707 #define $ac_func innocuous_$ac_func
30709 /* System header to define __stub macros and hopefully few prototypes,
30710 which can conflict with char $ac_func (); below.
30711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30712 <limits.h> exists even on freestanding compilers. */
30714 #ifdef __STDC__
30715 # include <limits.h>
30716 #else
30717 # include <assert.h>
30718 #endif
30720 #undef $ac_func
30722 /* Override any gcc2 internal prototype to avoid an error. */
30723 #ifdef __cplusplus
30724 extern "C"
30726 #endif
30727 /* We use char because int might match the return type of a gcc2
30728 builtin and then its argument prototype would still apply. */
30729 char $ac_func ();
30730 /* The GNU C library defines this for functions which it implements
30731 to always fail with ENOSYS. Some functions are actually named
30732 something starting with __ and the normal name is an alias. */
30733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30734 choke me
30735 #else
30736 char (*f) () = $ac_func;
30737 #endif
30738 #ifdef __cplusplus
30740 #endif
30743 main ()
30745 return f != $ac_func;
30747 return 0;
30749 _ACEOF
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 eval "$as_ac_var=yes"
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30777 eval "$as_ac_var=no"
30779 rm -f conftest.err conftest.$ac_objext \
30780 conftest$ac_exeext conftest.$ac_ext
30782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30784 if test `eval echo '${'$as_ac_var'}'` = yes; then
30785 cat >>confdefs.h <<_ACEOF
30786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30787 _ACEOF
30790 done
30792 echo "$as_me:$LINENO: checking for working mmap" >&5
30793 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30794 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 else
30797 if test "$cross_compiling" = yes; then
30798 ac_cv_func_mmap_fixed_mapped=no
30799 else
30800 cat >conftest.$ac_ext <<_ACEOF
30801 /* confdefs.h. */
30802 _ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806 $ac_includes_default
30807 /* malloc might have been renamed as rpl_malloc. */
30808 #undef malloc
30810 /* Thanks to Mike Haertel and Jim Avera for this test.
30811 Here is a matrix of mmap possibilities:
30812 mmap private not fixed
30813 mmap private fixed at somewhere currently unmapped
30814 mmap private fixed at somewhere already mapped
30815 mmap shared not fixed
30816 mmap shared fixed at somewhere currently unmapped
30817 mmap shared fixed at somewhere already mapped
30818 For private mappings, we should verify that changes cannot be read()
30819 back from the file, nor mmap's back from the file at a different
30820 address. (There have been systems where private was not correctly
30821 implemented like the infamous i386 svr4.0, and systems where the
30822 VM page cache was not coherent with the file system buffer cache
30823 like early versions of FreeBSD and possibly contemporary NetBSD.)
30824 For shared mappings, we should conversely verify that changes get
30825 propagated back to all the places they're supposed to be.
30827 Grep wants private fixed already mapped.
30828 The main things grep needs to know about mmap are:
30829 * does it exist and is it safe to write into the mmap'd area
30830 * how to use it (BSD variants) */
30832 #include <fcntl.h>
30833 #include <sys/mman.h>
30835 #if !STDC_HEADERS && !HAVE_STDLIB_H
30836 char *malloc ();
30837 #endif
30839 /* This mess was copied from the GNU getpagesize.h. */
30840 #if !HAVE_GETPAGESIZE
30841 /* Assume that all systems that can run configure have sys/param.h. */
30842 # if !HAVE_SYS_PARAM_H
30843 # define HAVE_SYS_PARAM_H 1
30844 # endif
30846 # ifdef _SC_PAGESIZE
30847 # define getpagesize() sysconf(_SC_PAGESIZE)
30848 # else /* no _SC_PAGESIZE */
30849 # if HAVE_SYS_PARAM_H
30850 # include <sys/param.h>
30851 # ifdef EXEC_PAGESIZE
30852 # define getpagesize() EXEC_PAGESIZE
30853 # else /* no EXEC_PAGESIZE */
30854 # ifdef NBPG
30855 # define getpagesize() NBPG * CLSIZE
30856 # ifndef CLSIZE
30857 # define CLSIZE 1
30858 # endif /* no CLSIZE */
30859 # else /* no NBPG */
30860 # ifdef NBPC
30861 # define getpagesize() NBPC
30862 # else /* no NBPC */
30863 # ifdef PAGESIZE
30864 # define getpagesize() PAGESIZE
30865 # endif /* PAGESIZE */
30866 # endif /* no NBPC */
30867 # endif /* no NBPG */
30868 # endif /* no EXEC_PAGESIZE */
30869 # else /* no HAVE_SYS_PARAM_H */
30870 # define getpagesize() 8192 /* punt totally */
30871 # endif /* no HAVE_SYS_PARAM_H */
30872 # endif /* no _SC_PAGESIZE */
30874 #endif /* no HAVE_GETPAGESIZE */
30877 main ()
30879 char *data, *data2, *data3;
30880 int i, pagesize;
30881 int fd;
30883 pagesize = getpagesize ();
30885 /* First, make a file with some known garbage in it. */
30886 data = (char *) malloc (pagesize);
30887 if (!data)
30888 exit (1);
30889 for (i = 0; i < pagesize; ++i)
30890 *(data + i) = rand ();
30891 umask (0);
30892 fd = creat ("conftest.mmap", 0600);
30893 if (fd < 0)
30894 exit (1);
30895 if (write (fd, data, pagesize) != pagesize)
30896 exit (1);
30897 close (fd);
30899 /* Next, try to mmap the file at a fixed address which already has
30900 something else allocated at it. If we can, also make sure that
30901 we see the same garbage. */
30902 fd = open ("conftest.mmap", O_RDWR);
30903 if (fd < 0)
30904 exit (1);
30905 data2 = (char *) malloc (2 * pagesize);
30906 if (!data2)
30907 exit (1);
30908 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30909 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30910 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30911 exit (1);
30912 for (i = 0; i < pagesize; ++i)
30913 if (*(data + i) != *(data2 + i))
30914 exit (1);
30916 /* Finally, make sure that changes to the mapped area do not
30917 percolate back to the file as seen by read(). (This is a bug on
30918 some variants of i386 svr4.0.) */
30919 for (i = 0; i < pagesize; ++i)
30920 *(data2 + i) = *(data2 + i) + 1;
30921 data3 = (char *) malloc (pagesize);
30922 if (!data3)
30923 exit (1);
30924 if (read (fd, data3, pagesize) != pagesize)
30925 exit (1);
30926 for (i = 0; i < pagesize; ++i)
30927 if (*(data + i) != *(data3 + i))
30928 exit (1);
30929 close (fd);
30930 exit (0);
30932 _ACEOF
30933 rm -f conftest$ac_exeext
30934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30935 (eval $ac_link) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30941 ac_status=$?
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; }; then
30944 ac_cv_func_mmap_fixed_mapped=yes
30945 else
30946 echo "$as_me: program exited with status $ac_status" >&5
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30950 ( exit $ac_status )
30951 ac_cv_func_mmap_fixed_mapped=no
30953 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30956 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30957 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30958 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30960 cat >>confdefs.h <<\_ACEOF
30961 #define HAVE_MMAP 1
30962 _ACEOF
30965 rm -f conftest.mmap
30969 else
30971 # This lets us hard-code the functionality we know we'll have in the cross
30972 # target environment. "Let" is a sugar-coated word placed on an especially
30973 # dull and tedious hack, actually.
30975 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30976 # that involve linking, can't be used:
30977 # "cannot open sim-crt0.o"
30978 # "cannot open crt0.o"
30979 # etc. All this is because there currently exists no unified, consistent
30980 # way for top level CC information to be passed down to target directories:
30981 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30982 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30983 # crosses can be removed.
30985 # If Canadian cross, then don't pick up tools from the build directory.
30986 # Used only in GLIBCXX_EXPORT_INCLUDES.
30987 if test -n "$with_cross_host" &&
30988 test x"$build_alias" != x"$with_cross_host" &&
30989 test x"$build" != x"$target";
30990 then
30991 CANADIAN=yes
30992 else
30993 CANADIAN=no
30996 # Construct crosses by hand, eliminating bits that need ld...
30997 # GLIBCXX_CHECK_COMPILER_FEATURES
30998 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30999 # GLIBCXX_CHECK_MATH_SUPPORT
31001 # First, test for "known" system libraries. We may be using newlib even
31002 # on a hosted environment.
31003 if test "x${with_newlib}" = "xyes"; then
31004 os_include_dir="os/newlib"
31005 cat >>confdefs.h <<\_ACEOF
31006 #define HAVE_HYPOT 1
31007 _ACEOF
31010 # GLIBCXX_CHECK_STDLIB_SUPPORT
31011 cat >>confdefs.h <<\_ACEOF
31012 #define HAVE_STRTOF 1
31013 _ACEOF
31015 # AC_FUNC_MMAP
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_MMAP 1
31018 _ACEOF
31021 cat >>confdefs.h <<\_ACEOF
31022 #define HAVE_ACOSF 1
31023 _ACEOF
31025 cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_ASINF 1
31027 _ACEOF
31029 cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_ATAN2F 1
31031 _ACEOF
31033 cat >>confdefs.h <<\_ACEOF
31034 #define HAVE_ATANF 1
31035 _ACEOF
31037 cat >>confdefs.h <<\_ACEOF
31038 #define HAVE_CEILF 1
31039 _ACEOF
31041 cat >>confdefs.h <<\_ACEOF
31042 #define HAVE_COPYSIGN 1
31043 _ACEOF
31045 cat >>confdefs.h <<\_ACEOF
31046 #define HAVE_COPYSIGNF 1
31047 _ACEOF
31049 cat >>confdefs.h <<\_ACEOF
31050 #define HAVE_COSF 1
31051 _ACEOF
31053 cat >>confdefs.h <<\_ACEOF
31054 #define HAVE_COSHF 1
31055 _ACEOF
31057 cat >>confdefs.h <<\_ACEOF
31058 #define HAVE_EXPF 1
31059 _ACEOF
31061 cat >>confdefs.h <<\_ACEOF
31062 #define HAVE_FABSF 1
31063 _ACEOF
31065 cat >>confdefs.h <<\_ACEOF
31066 #define HAVE_FLOORF 1
31067 _ACEOF
31069 cat >>confdefs.h <<\_ACEOF
31070 #define HAVE_FMODF 1
31071 _ACEOF
31073 cat >>confdefs.h <<\_ACEOF
31074 #define HAVE_FREXPF 1
31075 _ACEOF
31077 cat >>confdefs.h <<\_ACEOF
31078 #define HAVE_LDEXPF 1
31079 _ACEOF
31081 cat >>confdefs.h <<\_ACEOF
31082 #define HAVE_LOG10F 1
31083 _ACEOF
31085 cat >>confdefs.h <<\_ACEOF
31086 #define HAVE_LOGF 1
31087 _ACEOF
31089 cat >>confdefs.h <<\_ACEOF
31090 #define HAVE_MODFF 1
31091 _ACEOF
31093 cat >>confdefs.h <<\_ACEOF
31094 #define HAVE_POWF 1
31095 _ACEOF
31097 cat >>confdefs.h <<\_ACEOF
31098 #define HAVE_SINF 1
31099 _ACEOF
31101 cat >>confdefs.h <<\_ACEOF
31102 #define HAVE_SINHF 1
31103 _ACEOF
31105 cat >>confdefs.h <<\_ACEOF
31106 #define HAVE_SQRTF 1
31107 _ACEOF
31109 cat >>confdefs.h <<\_ACEOF
31110 #define HAVE_TANF 1
31111 _ACEOF
31113 cat >>confdefs.h <<\_ACEOF
31114 #define HAVE_TANHF 1
31115 _ACEOF
31118 cat >>confdefs.h <<\_ACEOF
31119 #define HAVE_S_ISREG 1
31120 _ACEOF
31122 cat >>confdefs.h <<\_ACEOF
31123 #define HAVE_S_IFREG 1
31124 _ACEOF
31126 else
31128 # Base decisions on target environment.
31129 case "${host}" in
31130 arm*-*-symbianelf*)
31131 # This is a freestanding configuration; there is nothing to do here.
31134 *-darwin*)
31135 # Darwin versions vary, but the linker should work in a cross environment,
31136 # so we just check for all the features here.
31137 # Check for available headers.
31151 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31152 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31153 sys/types.h
31155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31157 echo "$as_me:$LINENO: checking for $ac_header" >&5
31158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31164 else
31165 # Is the header compilable?
31166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31168 cat >conftest.$ac_ext <<_ACEOF
31169 /* confdefs.h. */
31170 _ACEOF
31171 cat confdefs.h >>conftest.$ac_ext
31172 cat >>conftest.$ac_ext <<_ACEOF
31173 /* end confdefs.h. */
31174 $ac_includes_default
31175 #include <$ac_header>
31176 _ACEOF
31177 rm -f conftest.$ac_objext
31178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31179 (eval $ac_compile) 2>conftest.er1
31180 ac_status=$?
31181 grep -v '^ *+' conftest.er1 >conftest.err
31182 rm -f conftest.er1
31183 cat conftest.err >&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try='test -z "$ac_c_werror_flag"
31187 || test ! -s conftest.err'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31190 ac_status=$?
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; } &&
31193 { ac_try='test -s conftest.$ac_objext'
31194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31195 (eval $ac_try) 2>&5
31196 ac_status=$?
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; }; then
31199 ac_header_compiler=yes
31200 else
31201 echo "$as_me: failed program was:" >&5
31202 sed 's/^/| /' conftest.$ac_ext >&5
31204 ac_header_compiler=no
31206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31208 echo "${ECHO_T}$ac_header_compiler" >&6
31210 # Is the header present?
31211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31213 cat >conftest.$ac_ext <<_ACEOF
31214 /* confdefs.h. */
31215 _ACEOF
31216 cat confdefs.h >>conftest.$ac_ext
31217 cat >>conftest.$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31219 #include <$ac_header>
31220 _ACEOF
31221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31223 ac_status=$?
31224 grep -v '^ *+' conftest.er1 >conftest.err
31225 rm -f conftest.er1
31226 cat conftest.err >&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } >/dev/null; then
31229 if test -s conftest.err; then
31230 ac_cpp_err=$ac_c_preproc_warn_flag
31231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31232 else
31233 ac_cpp_err=
31235 else
31236 ac_cpp_err=yes
31238 if test -z "$ac_cpp_err"; then
31239 ac_header_preproc=yes
31240 else
31241 echo "$as_me: failed program was:" >&5
31242 sed 's/^/| /' conftest.$ac_ext >&5
31244 ac_header_preproc=no
31246 rm -f conftest.err conftest.$ac_ext
31247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31248 echo "${ECHO_T}$ac_header_preproc" >&6
31250 # So? What about this header?
31251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31252 yes:no: )
31253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31257 ac_header_preproc=yes
31259 no:yes:* )
31260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31273 cat <<\_ASBOX
31274 ## ----------------------------------------- ##
31275 ## Report this to the package-unused lists. ##
31276 ## ----------------------------------------- ##
31277 _ASBOX
31279 sed "s/^/$as_me: WARNING: /" >&2
31281 esac
31282 echo "$as_me:$LINENO: checking for $ac_header" >&5
31283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31285 echo $ECHO_N "(cached) $ECHO_C" >&6
31286 else
31287 eval "$as_ac_Header=\$ac_header_preproc"
31289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31294 cat >>confdefs.h <<_ACEOF
31295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31296 _ACEOF
31300 done
31304 # All these tests are for C++; save the language and the compiler flags.
31305 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31306 # found in GLIBCXX_CONFIGURE.
31309 ac_ext=cc
31310 ac_cpp='$CXXCPP $CPPFLAGS'
31311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31315 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31316 ac_save_CXXFLAGS="$CXXFLAGS"
31318 # Check for maintainer-mode bits.
31319 if test x"$USE_MAINTAINER_MODE" = xno; then
31320 WERROR=''
31321 else
31322 WERROR='-Werror'
31325 # Check for -ffunction-sections -fdata-sections
31326 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31327 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31328 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h. */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31337 main ()
31339 int foo;
31341 return 0;
31343 _ACEOF
31344 rm -f conftest.$ac_objext
31345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31346 (eval $ac_compile) 2>conftest.er1
31347 ac_status=$?
31348 grep -v '^ *+' conftest.er1 >conftest.err
31349 rm -f conftest.er1
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } &&
31353 { ac_try='test -z "$ac_cxx_werror_flag"
31354 || test ! -s conftest.err'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31357 ac_status=$?
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; } &&
31360 { ac_try='test -s conftest.$ac_objext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31366 ac_fdsections=yes
31367 else
31368 echo "$as_me: failed program was:" >&5
31369 sed 's/^/| /' conftest.$ac_ext >&5
31371 ac_fdsections=no
31373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31374 if test "$ac_test_CXXFLAGS" = set; then
31375 CXXFLAGS="$ac_save_CXXFLAGS"
31376 else
31377 # this is the suspicious part
31378 CXXFLAGS=''
31380 if test x"$ac_fdsections" = x"yes"; then
31381 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31383 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31384 echo "${ECHO_T}$ac_fdsections" >&6
31386 ac_ext=c
31387 ac_cpp='$CPP $CPPFLAGS'
31388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31395 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31398 ac_save_CXXFLAGS="$CXXFLAGS"
31399 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31401 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31402 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31403 if test "${ac_cv_lib_m_sin+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406 ac_check_lib_save_LIBS=$LIBS
31407 LIBS="-lm $LIBS"
31408 if test x$gcc_no_link = xyes; then
31409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31411 { (exit 1); exit 1; }; }
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h. */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31420 /* Override any gcc2 internal prototype to avoid an error. */
31421 #ifdef __cplusplus
31422 extern "C"
31423 #endif
31424 /* We use char because int might match the return type of a gcc2
31425 builtin and then its argument prototype would still apply. */
31426 char sin ();
31428 main ()
31430 sin ();
31432 return 0;
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437 (eval $ac_link) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest$ac_exeext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 ac_cv_lib_m_sin=yes
31458 else
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31462 ac_cv_lib_m_sin=no
31464 rm -f conftest.err conftest.$ac_objext \
31465 conftest$ac_exeext conftest.$ac_ext
31466 LIBS=$ac_check_lib_save_LIBS
31468 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31469 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31470 if test $ac_cv_lib_m_sin = yes; then
31471 libm="-lm"
31474 ac_save_LIBS="$LIBS"
31475 LIBS="$LIBS $libm"
31479 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31480 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31481 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31482 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31483 echo $ECHO_N "(cached) $ECHO_C" >&6
31484 else
31488 ac_ext=cc
31489 ac_cpp='$CXXCPP $CPPFLAGS'
31490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494 cat >conftest.$ac_ext <<_ACEOF
31495 /* confdefs.h. */
31496 _ACEOF
31497 cat confdefs.h >>conftest.$ac_ext
31498 cat >>conftest.$ac_ext <<_ACEOF
31499 /* end confdefs.h. */
31500 #include <math.h>
31501 #ifdef HAVE_IEEEFP_H
31502 #include <ieeefp.h>
31503 #endif
31506 main ()
31508 isinf(0);
31510 return 0;
31512 _ACEOF
31513 rm -f conftest.$ac_objext
31514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31515 (eval $ac_compile) 2>conftest.er1
31516 ac_status=$?
31517 grep -v '^ *+' conftest.er1 >conftest.err
31518 rm -f conftest.er1
31519 cat conftest.err >&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); } &&
31522 { ac_try='test -z "$ac_cxx_werror_flag"
31523 || test ! -s conftest.err'
31524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31525 (eval $ac_try) 2>&5
31526 ac_status=$?
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; } &&
31529 { ac_try='test -s conftest.$ac_objext'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; }; then
31535 glibcxx_cv_func_isinf_use=yes
31536 else
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.$ac_ext >&5
31540 glibcxx_cv_func_isinf_use=no
31542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31543 ac_ext=c
31544 ac_cpp='$CPP $CPPFLAGS'
31545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31554 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31556 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31558 for ac_func in isinf
31560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31561 echo "$as_me:$LINENO: checking for $ac_func" >&5
31562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31563 if eval "test \"\${$as_ac_var+set}\" = set"; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 else
31566 if test x$gcc_no_link = xyes; then
31567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31569 { (exit 1); exit 1; }; }
31571 cat >conftest.$ac_ext <<_ACEOF
31572 /* confdefs.h. */
31573 _ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31579 #define $ac_func innocuous_$ac_func
31581 /* System header to define __stub macros and hopefully few prototypes,
31582 which can conflict with char $ac_func (); below.
31583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31584 <limits.h> exists even on freestanding compilers. */
31586 #ifdef __STDC__
31587 # include <limits.h>
31588 #else
31589 # include <assert.h>
31590 #endif
31592 #undef $ac_func
31594 /* Override any gcc2 internal prototype to avoid an error. */
31595 #ifdef __cplusplus
31596 extern "C"
31598 #endif
31599 /* We use char because int might match the return type of a gcc2
31600 builtin and then its argument prototype would still apply. */
31601 char $ac_func ();
31602 /* The GNU C library defines this for functions which it implements
31603 to always fail with ENOSYS. Some functions are actually named
31604 something starting with __ and the normal name is an alias. */
31605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31606 choke me
31607 #else
31608 char (*f) () = $ac_func;
31609 #endif
31610 #ifdef __cplusplus
31612 #endif
31615 main ()
31617 return f != $ac_func;
31619 return 0;
31621 _ACEOF
31622 rm -f conftest.$ac_objext conftest$ac_exeext
31623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31624 (eval $ac_link) 2>conftest.er1
31625 ac_status=$?
31626 grep -v '^ *+' conftest.er1 >conftest.err
31627 rm -f conftest.er1
31628 cat conftest.err >&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } &&
31631 { ac_try='test -z "$ac_c_werror_flag"
31632 || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31635 ac_status=$?
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try='test -s conftest$ac_exeext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 eval "$as_ac_var=yes"
31645 else
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.$ac_ext >&5
31649 eval "$as_ac_var=no"
31651 rm -f conftest.err conftest.$ac_objext \
31652 conftest$ac_exeext conftest.$ac_ext
31654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31656 if test `eval echo '${'$as_ac_var'}'` = yes; then
31657 cat >>confdefs.h <<_ACEOF
31658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31659 _ACEOF
31662 done
31664 else
31666 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31667 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31668 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31669 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31675 ac_ext=cc
31676 ac_cpp='$CXXCPP $CPPFLAGS'
31677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31681 cat >conftest.$ac_ext <<_ACEOF
31682 /* confdefs.h. */
31683 _ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 #include <math.h>
31688 #ifdef HAVE_IEEEFP_H
31689 #include <ieeefp.h>
31690 #endif
31693 main ()
31695 _isinf(0);
31697 return 0;
31699 _ACEOF
31700 rm -f conftest.$ac_objext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31702 (eval $ac_compile) 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try='test -z "$ac_cxx_werror_flag"
31710 || test ! -s conftest.err'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31713 ac_status=$?
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; } &&
31716 { ac_try='test -s conftest.$ac_objext'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; }; then
31722 glibcxx_cv_func__isinf_use=yes
31723 else
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.$ac_ext >&5
31727 glibcxx_cv_func__isinf_use=no
31729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31730 ac_ext=c
31731 ac_cpp='$CPP $CPPFLAGS'
31732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31741 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31743 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31745 for ac_func in _isinf
31747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31748 echo "$as_me:$LINENO: checking for $ac_func" >&5
31749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31750 if eval "test \"\${$as_ac_var+set}\" = set"; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31752 else
31753 if test x$gcc_no_link = xyes; then
31754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31756 { (exit 1); exit 1; }; }
31758 cat >conftest.$ac_ext <<_ACEOF
31759 /* confdefs.h. */
31760 _ACEOF
31761 cat confdefs.h >>conftest.$ac_ext
31762 cat >>conftest.$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31766 #define $ac_func innocuous_$ac_func
31768 /* System header to define __stub macros and hopefully few prototypes,
31769 which can conflict with char $ac_func (); below.
31770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31771 <limits.h> exists even on freestanding compilers. */
31773 #ifdef __STDC__
31774 # include <limits.h>
31775 #else
31776 # include <assert.h>
31777 #endif
31779 #undef $ac_func
31781 /* Override any gcc2 internal prototype to avoid an error. */
31782 #ifdef __cplusplus
31783 extern "C"
31785 #endif
31786 /* We use char because int might match the return type of a gcc2
31787 builtin and then its argument prototype would still apply. */
31788 char $ac_func ();
31789 /* The GNU C library defines this for functions which it implements
31790 to always fail with ENOSYS. Some functions are actually named
31791 something starting with __ and the normal name is an alias. */
31792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31793 choke me
31794 #else
31795 char (*f) () = $ac_func;
31796 #endif
31797 #ifdef __cplusplus
31799 #endif
31802 main ()
31804 return f != $ac_func;
31806 return 0;
31808 _ACEOF
31809 rm -f conftest.$ac_objext conftest$ac_exeext
31810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31811 (eval $ac_link) 2>conftest.er1
31812 ac_status=$?
31813 grep -v '^ *+' conftest.er1 >conftest.err
31814 rm -f conftest.er1
31815 cat conftest.err >&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); } &&
31818 { ac_try='test -z "$ac_c_werror_flag"
31819 || test ! -s conftest.err'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31822 ac_status=$?
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; } &&
31825 { ac_try='test -s conftest$ac_exeext'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31828 ac_status=$?
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; }; then
31831 eval "$as_ac_var=yes"
31832 else
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.$ac_ext >&5
31836 eval "$as_ac_var=no"
31838 rm -f conftest.err conftest.$ac_objext \
31839 conftest$ac_exeext conftest.$ac_ext
31841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31843 if test `eval echo '${'$as_ac_var'}'` = yes; then
31844 cat >>confdefs.h <<_ACEOF
31845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31846 _ACEOF
31849 done
31856 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31857 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31858 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31859 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31860 echo $ECHO_N "(cached) $ECHO_C" >&6
31861 else
31865 ac_ext=cc
31866 ac_cpp='$CXXCPP $CPPFLAGS'
31867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31871 cat >conftest.$ac_ext <<_ACEOF
31872 /* confdefs.h. */
31873 _ACEOF
31874 cat confdefs.h >>conftest.$ac_ext
31875 cat >>conftest.$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31877 #include <math.h>
31878 #ifdef HAVE_IEEEFP_H
31879 #include <ieeefp.h>
31880 #endif
31883 main ()
31885 isnan(0);
31887 return 0;
31889 _ACEOF
31890 rm -f conftest.$ac_objext
31891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31892 (eval $ac_compile) 2>conftest.er1
31893 ac_status=$?
31894 grep -v '^ *+' conftest.er1 >conftest.err
31895 rm -f conftest.er1
31896 cat conftest.err >&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } &&
31899 { ac_try='test -z "$ac_cxx_werror_flag"
31900 || test ! -s conftest.err'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31903 ac_status=$?
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; } &&
31906 { ac_try='test -s conftest.$ac_objext'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31909 ac_status=$?
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; }; then
31912 glibcxx_cv_func_isnan_use=yes
31913 else
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31917 glibcxx_cv_func_isnan_use=no
31919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31920 ac_ext=c
31921 ac_cpp='$CPP $CPPFLAGS'
31922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31931 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31933 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31935 for ac_func in isnan
31937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31938 echo "$as_me:$LINENO: checking for $ac_func" >&5
31939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31940 if eval "test \"\${$as_ac_var+set}\" = set"; then
31941 echo $ECHO_N "(cached) $ECHO_C" >&6
31942 else
31943 if test x$gcc_no_link = xyes; then
31944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31946 { (exit 1); exit 1; }; }
31948 cat >conftest.$ac_ext <<_ACEOF
31949 /* confdefs.h. */
31950 _ACEOF
31951 cat confdefs.h >>conftest.$ac_ext
31952 cat >>conftest.$ac_ext <<_ACEOF
31953 /* end confdefs.h. */
31954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31956 #define $ac_func innocuous_$ac_func
31958 /* System header to define __stub macros and hopefully few prototypes,
31959 which can conflict with char $ac_func (); below.
31960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31961 <limits.h> exists even on freestanding compilers. */
31963 #ifdef __STDC__
31964 # include <limits.h>
31965 #else
31966 # include <assert.h>
31967 #endif
31969 #undef $ac_func
31971 /* Override any gcc2 internal prototype to avoid an error. */
31972 #ifdef __cplusplus
31973 extern "C"
31975 #endif
31976 /* We use char because int might match the return type of a gcc2
31977 builtin and then its argument prototype would still apply. */
31978 char $ac_func ();
31979 /* The GNU C library defines this for functions which it implements
31980 to always fail with ENOSYS. Some functions are actually named
31981 something starting with __ and the normal name is an alias. */
31982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31983 choke me
31984 #else
31985 char (*f) () = $ac_func;
31986 #endif
31987 #ifdef __cplusplus
31989 #endif
31992 main ()
31994 return f != $ac_func;
31996 return 0;
31998 _ACEOF
31999 rm -f conftest.$ac_objext conftest$ac_exeext
32000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32001 (eval $ac_link) 2>conftest.er1
32002 ac_status=$?
32003 grep -v '^ *+' conftest.er1 >conftest.err
32004 rm -f conftest.er1
32005 cat conftest.err >&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } &&
32008 { ac_try='test -z "$ac_c_werror_flag"
32009 || test ! -s conftest.err'
32010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011 (eval $ac_try) 2>&5
32012 ac_status=$?
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); }; } &&
32015 { ac_try='test -s conftest$ac_exeext'
32016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32017 (eval $ac_try) 2>&5
32018 ac_status=$?
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); }; }; then
32021 eval "$as_ac_var=yes"
32022 else
32023 echo "$as_me: failed program was:" >&5
32024 sed 's/^/| /' conftest.$ac_ext >&5
32026 eval "$as_ac_var=no"
32028 rm -f conftest.err conftest.$ac_objext \
32029 conftest$ac_exeext conftest.$ac_ext
32031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32033 if test `eval echo '${'$as_ac_var'}'` = yes; then
32034 cat >>confdefs.h <<_ACEOF
32035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32036 _ACEOF
32039 done
32041 else
32043 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32044 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32045 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32046 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32047 echo $ECHO_N "(cached) $ECHO_C" >&6
32048 else
32052 ac_ext=cc
32053 ac_cpp='$CXXCPP $CPPFLAGS'
32054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32058 cat >conftest.$ac_ext <<_ACEOF
32059 /* confdefs.h. */
32060 _ACEOF
32061 cat confdefs.h >>conftest.$ac_ext
32062 cat >>conftest.$ac_ext <<_ACEOF
32063 /* end confdefs.h. */
32064 #include <math.h>
32065 #ifdef HAVE_IEEEFP_H
32066 #include <ieeefp.h>
32067 #endif
32070 main ()
32072 _isnan(0);
32074 return 0;
32076 _ACEOF
32077 rm -f conftest.$ac_objext
32078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32079 (eval $ac_compile) 2>conftest.er1
32080 ac_status=$?
32081 grep -v '^ *+' conftest.er1 >conftest.err
32082 rm -f conftest.er1
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } &&
32086 { ac_try='test -z "$ac_cxx_werror_flag"
32087 || test ! -s conftest.err'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32090 ac_status=$?
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; } &&
32093 { ac_try='test -s conftest.$ac_objext'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32096 ac_status=$?
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32099 glibcxx_cv_func__isnan_use=yes
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32104 glibcxx_cv_func__isnan_use=no
32106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32118 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32120 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32122 for ac_func in _isnan
32124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32125 echo "$as_me:$LINENO: checking for $ac_func" >&5
32126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32127 if eval "test \"\${$as_ac_var+set}\" = set"; then
32128 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 else
32130 if test x$gcc_no_link = xyes; then
32131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32133 { (exit 1); exit 1; }; }
32135 cat >conftest.$ac_ext <<_ACEOF
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32143 #define $ac_func innocuous_$ac_func
32145 /* System header to define __stub macros and hopefully few prototypes,
32146 which can conflict with char $ac_func (); below.
32147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32148 <limits.h> exists even on freestanding compilers. */
32150 #ifdef __STDC__
32151 # include <limits.h>
32152 #else
32153 # include <assert.h>
32154 #endif
32156 #undef $ac_func
32158 /* Override any gcc2 internal prototype to avoid an error. */
32159 #ifdef __cplusplus
32160 extern "C"
32162 #endif
32163 /* We use char because int might match the return type of a gcc2
32164 builtin and then its argument prototype would still apply. */
32165 char $ac_func ();
32166 /* The GNU C library defines this for functions which it implements
32167 to always fail with ENOSYS. Some functions are actually named
32168 something starting with __ and the normal name is an alias. */
32169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32170 choke me
32171 #else
32172 char (*f) () = $ac_func;
32173 #endif
32174 #ifdef __cplusplus
32176 #endif
32179 main ()
32181 return f != $ac_func;
32183 return 0;
32185 _ACEOF
32186 rm -f conftest.$ac_objext conftest$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>conftest.er1
32189 ac_status=$?
32190 grep -v '^ *+' conftest.er1 >conftest.err
32191 rm -f conftest.er1
32192 cat conftest.err >&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } &&
32195 { ac_try='test -z "$ac_c_werror_flag"
32196 || test ! -s conftest.err'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32199 ac_status=$?
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; } &&
32202 { ac_try='test -s conftest$ac_exeext'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; }; then
32208 eval "$as_ac_var=yes"
32209 else
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.$ac_ext >&5
32213 eval "$as_ac_var=no"
32215 rm -f conftest.err conftest.$ac_objext \
32216 conftest$ac_exeext conftest.$ac_ext
32218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32220 if test `eval echo '${'$as_ac_var'}'` = yes; then
32221 cat >>confdefs.h <<_ACEOF
32222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32223 _ACEOF
32226 done
32233 echo "$as_me:$LINENO: checking for finite declaration" >&5
32234 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32235 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32236 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 else
32242 ac_ext=cc
32243 ac_cpp='$CXXCPP $CPPFLAGS'
32244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32248 cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h. */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 #include <math.h>
32255 #ifdef HAVE_IEEEFP_H
32256 #include <ieeefp.h>
32257 #endif
32260 main ()
32262 finite(0);
32264 return 0;
32266 _ACEOF
32267 rm -f conftest.$ac_objext
32268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32269 (eval $ac_compile) 2>conftest.er1
32270 ac_status=$?
32271 grep -v '^ *+' conftest.er1 >conftest.err
32272 rm -f conftest.er1
32273 cat conftest.err >&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } &&
32276 { ac_try='test -z "$ac_cxx_werror_flag"
32277 || test ! -s conftest.err'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; } &&
32283 { ac_try='test -s conftest.$ac_objext'
32284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32285 (eval $ac_try) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; }; then
32289 glibcxx_cv_func_finite_use=yes
32290 else
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32294 glibcxx_cv_func_finite_use=no
32296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32297 ac_ext=c
32298 ac_cpp='$CPP $CPPFLAGS'
32299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32308 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32310 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32312 for ac_func in finite
32314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32315 echo "$as_me:$LINENO: checking for $ac_func" >&5
32316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32317 if eval "test \"\${$as_ac_var+set}\" = set"; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320 if test x$gcc_no_link = xyes; then
32321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32323 { (exit 1); exit 1; }; }
32325 cat >conftest.$ac_ext <<_ACEOF
32326 /* confdefs.h. */
32327 _ACEOF
32328 cat confdefs.h >>conftest.$ac_ext
32329 cat >>conftest.$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
32331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32333 #define $ac_func innocuous_$ac_func
32335 /* System header to define __stub macros and hopefully few prototypes,
32336 which can conflict with char $ac_func (); below.
32337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32338 <limits.h> exists even on freestanding compilers. */
32340 #ifdef __STDC__
32341 # include <limits.h>
32342 #else
32343 # include <assert.h>
32344 #endif
32346 #undef $ac_func
32348 /* Override any gcc2 internal prototype to avoid an error. */
32349 #ifdef __cplusplus
32350 extern "C"
32352 #endif
32353 /* We use char because int might match the return type of a gcc2
32354 builtin and then its argument prototype would still apply. */
32355 char $ac_func ();
32356 /* The GNU C library defines this for functions which it implements
32357 to always fail with ENOSYS. Some functions are actually named
32358 something starting with __ and the normal name is an alias. */
32359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32360 choke me
32361 #else
32362 char (*f) () = $ac_func;
32363 #endif
32364 #ifdef __cplusplus
32366 #endif
32369 main ()
32371 return f != $ac_func;
32373 return 0;
32375 _ACEOF
32376 rm -f conftest.$ac_objext conftest$ac_exeext
32377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32378 (eval $ac_link) 2>conftest.er1
32379 ac_status=$?
32380 grep -v '^ *+' conftest.er1 >conftest.err
32381 rm -f conftest.er1
32382 cat conftest.err >&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); } &&
32385 { ac_try='test -z "$ac_c_werror_flag"
32386 || test ! -s conftest.err'
32387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32388 (eval $ac_try) 2>&5
32389 ac_status=$?
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); }; } &&
32392 { ac_try='test -s conftest$ac_exeext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 eval "$as_ac_var=yes"
32399 else
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 eval "$as_ac_var=no"
32405 rm -f conftest.err conftest.$ac_objext \
32406 conftest$ac_exeext conftest.$ac_ext
32408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32410 if test `eval echo '${'$as_ac_var'}'` = yes; then
32411 cat >>confdefs.h <<_ACEOF
32412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32413 _ACEOF
32416 done
32418 else
32420 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32421 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32422 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32423 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 else
32429 ac_ext=cc
32430 ac_cpp='$CXXCPP $CPPFLAGS'
32431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32435 cat >conftest.$ac_ext <<_ACEOF
32436 /* confdefs.h. */
32437 _ACEOF
32438 cat confdefs.h >>conftest.$ac_ext
32439 cat >>conftest.$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441 #include <math.h>
32442 #ifdef HAVE_IEEEFP_H
32443 #include <ieeefp.h>
32444 #endif
32447 main ()
32449 _finite(0);
32451 return 0;
32453 _ACEOF
32454 rm -f conftest.$ac_objext
32455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32456 (eval $ac_compile) 2>conftest.er1
32457 ac_status=$?
32458 grep -v '^ *+' conftest.er1 >conftest.err
32459 rm -f conftest.er1
32460 cat conftest.err >&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try='test -z "$ac_cxx_werror_flag"
32464 || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try='test -s conftest.$ac_objext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 glibcxx_cv_func__finite_use=yes
32477 else
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.$ac_ext >&5
32481 glibcxx_cv_func__finite_use=no
32483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32484 ac_ext=c
32485 ac_cpp='$CPP $CPPFLAGS'
32486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32495 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32497 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32499 for ac_func in _finite
32501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32502 echo "$as_me:$LINENO: checking for $ac_func" >&5
32503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32504 if eval "test \"\${$as_ac_var+set}\" = set"; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 else
32507 if test x$gcc_no_link = xyes; then
32508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32510 { (exit 1); exit 1; }; }
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h. */
32514 _ACEOF
32515 cat confdefs.h >>conftest.$ac_ext
32516 cat >>conftest.$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32520 #define $ac_func innocuous_$ac_func
32522 /* System header to define __stub macros and hopefully few prototypes,
32523 which can conflict with char $ac_func (); below.
32524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32525 <limits.h> exists even on freestanding compilers. */
32527 #ifdef __STDC__
32528 # include <limits.h>
32529 #else
32530 # include <assert.h>
32531 #endif
32533 #undef $ac_func
32535 /* Override any gcc2 internal prototype to avoid an error. */
32536 #ifdef __cplusplus
32537 extern "C"
32539 #endif
32540 /* We use char because int might match the return type of a gcc2
32541 builtin and then its argument prototype would still apply. */
32542 char $ac_func ();
32543 /* The GNU C library defines this for functions which it implements
32544 to always fail with ENOSYS. Some functions are actually named
32545 something starting with __ and the normal name is an alias. */
32546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32547 choke me
32548 #else
32549 char (*f) () = $ac_func;
32550 #endif
32551 #ifdef __cplusplus
32553 #endif
32556 main ()
32558 return f != $ac_func;
32560 return 0;
32562 _ACEOF
32563 rm -f conftest.$ac_objext conftest$ac_exeext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 (eval $ac_link) 2>conftest.er1
32566 ac_status=$?
32567 grep -v '^ *+' conftest.er1 >conftest.err
32568 rm -f conftest.er1
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try='test -s conftest$ac_exeext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 eval "$as_ac_var=yes"
32586 else
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32590 eval "$as_ac_var=no"
32592 rm -f conftest.err conftest.$ac_objext \
32593 conftest$ac_exeext conftest.$ac_ext
32595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32597 if test `eval echo '${'$as_ac_var'}'` = yes; then
32598 cat >>confdefs.h <<_ACEOF
32599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32600 _ACEOF
32603 done
32610 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32611 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32612 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32613 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32614 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 else
32619 ac_ext=cc
32620 ac_cpp='$CXXCPP $CPPFLAGS'
32621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32625 cat >conftest.$ac_ext <<_ACEOF
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631 #include <math.h>
32633 main ()
32635 copysign(0, 0);
32637 return 0;
32639 _ACEOF
32640 rm -f conftest.$ac_objext
32641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32642 (eval $ac_compile) 2>conftest.er1
32643 ac_status=$?
32644 grep -v '^ *+' conftest.er1 >conftest.err
32645 rm -f conftest.er1
32646 cat conftest.err >&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } &&
32649 { ac_try='test -z "$ac_cxx_werror_flag"
32650 || test ! -s conftest.err'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; } &&
32656 { ac_try='test -s conftest.$ac_objext'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; }; then
32662 glibcxx_cv_func_copysign_use=yes
32663 else
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32667 glibcxx_cv_func_copysign_use=no
32669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32670 ac_ext=c
32671 ac_cpp='$CPP $CPPFLAGS'
32672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32681 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32683 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32685 for ac_func in copysign
32687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32688 echo "$as_me:$LINENO: checking for $ac_func" >&5
32689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32690 if eval "test \"\${$as_ac_var+set}\" = set"; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 else
32693 if test x$gcc_no_link = xyes; then
32694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32696 { (exit 1); exit 1; }; }
32698 cat >conftest.$ac_ext <<_ACEOF
32699 /* confdefs.h. */
32700 _ACEOF
32701 cat confdefs.h >>conftest.$ac_ext
32702 cat >>conftest.$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32706 #define $ac_func innocuous_$ac_func
32708 /* System header to define __stub macros and hopefully few prototypes,
32709 which can conflict with char $ac_func (); below.
32710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32711 <limits.h> exists even on freestanding compilers. */
32713 #ifdef __STDC__
32714 # include <limits.h>
32715 #else
32716 # include <assert.h>
32717 #endif
32719 #undef $ac_func
32721 /* Override any gcc2 internal prototype to avoid an error. */
32722 #ifdef __cplusplus
32723 extern "C"
32725 #endif
32726 /* We use char because int might match the return type of a gcc2
32727 builtin and then its argument prototype would still apply. */
32728 char $ac_func ();
32729 /* The GNU C library defines this for functions which it implements
32730 to always fail with ENOSYS. Some functions are actually named
32731 something starting with __ and the normal name is an alias. */
32732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32733 choke me
32734 #else
32735 char (*f) () = $ac_func;
32736 #endif
32737 #ifdef __cplusplus
32739 #endif
32742 main ()
32744 return f != $ac_func;
32746 return 0;
32748 _ACEOF
32749 rm -f conftest.$ac_objext conftest$ac_exeext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751 (eval $ac_link) 2>conftest.er1
32752 ac_status=$?
32753 grep -v '^ *+' conftest.er1 >conftest.err
32754 rm -f conftest.er1
32755 cat conftest.err >&5
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); } &&
32758 { ac_try='test -z "$ac_c_werror_flag"
32759 || test ! -s conftest.err'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32762 ac_status=$?
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; } &&
32765 { ac_try='test -s conftest$ac_exeext'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; }; then
32771 eval "$as_ac_var=yes"
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32776 eval "$as_ac_var=no"
32778 rm -f conftest.err conftest.$ac_objext \
32779 conftest$ac_exeext conftest.$ac_ext
32781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32783 if test `eval echo '${'$as_ac_var'}'` = yes; then
32784 cat >>confdefs.h <<_ACEOF
32785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32786 _ACEOF
32789 done
32791 else
32793 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32794 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32795 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32796 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32797 echo $ECHO_N "(cached) $ECHO_C" >&6
32798 else
32802 ac_ext=cc
32803 ac_cpp='$CXXCPP $CPPFLAGS'
32804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814 #include <math.h>
32816 main ()
32818 _copysign(0, 0);
32820 return 0;
32822 _ACEOF
32823 rm -f conftest.$ac_objext
32824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32825 (eval $ac_compile) 2>conftest.er1
32826 ac_status=$?
32827 grep -v '^ *+' conftest.er1 >conftest.err
32828 rm -f conftest.er1
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } &&
32832 { ac_try='test -z "$ac_cxx_werror_flag"
32833 || test ! -s conftest.err'
32834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32835 (eval $ac_try) 2>&5
32836 ac_status=$?
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; } &&
32839 { ac_try='test -s conftest.$ac_objext'
32840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841 (eval $ac_try) 2>&5
32842 ac_status=$?
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); }; }; then
32845 glibcxx_cv_func__copysign_use=yes
32846 else
32847 echo "$as_me: failed program was:" >&5
32848 sed 's/^/| /' conftest.$ac_ext >&5
32850 glibcxx_cv_func__copysign_use=no
32852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32864 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32866 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32868 for ac_func in _copysign
32870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32871 echo "$as_me:$LINENO: checking for $ac_func" >&5
32872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32873 if eval "test \"\${$as_ac_var+set}\" = set"; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 else
32876 if test x$gcc_no_link = xyes; then
32877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32879 { (exit 1); exit 1; }; }
32881 cat >conftest.$ac_ext <<_ACEOF
32882 /* confdefs.h. */
32883 _ACEOF
32884 cat confdefs.h >>conftest.$ac_ext
32885 cat >>conftest.$ac_ext <<_ACEOF
32886 /* end confdefs.h. */
32887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32889 #define $ac_func innocuous_$ac_func
32891 /* System header to define __stub macros and hopefully few prototypes,
32892 which can conflict with char $ac_func (); below.
32893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32894 <limits.h> exists even on freestanding compilers. */
32896 #ifdef __STDC__
32897 # include <limits.h>
32898 #else
32899 # include <assert.h>
32900 #endif
32902 #undef $ac_func
32904 /* Override any gcc2 internal prototype to avoid an error. */
32905 #ifdef __cplusplus
32906 extern "C"
32908 #endif
32909 /* We use char because int might match the return type of a gcc2
32910 builtin and then its argument prototype would still apply. */
32911 char $ac_func ();
32912 /* The GNU C library defines this for functions which it implements
32913 to always fail with ENOSYS. Some functions are actually named
32914 something starting with __ and the normal name is an alias. */
32915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32916 choke me
32917 #else
32918 char (*f) () = $ac_func;
32919 #endif
32920 #ifdef __cplusplus
32922 #endif
32925 main ()
32927 return f != $ac_func;
32929 return 0;
32931 _ACEOF
32932 rm -f conftest.$ac_objext conftest$ac_exeext
32933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32934 (eval $ac_link) 2>conftest.er1
32935 ac_status=$?
32936 grep -v '^ *+' conftest.er1 >conftest.err
32937 rm -f conftest.er1
32938 cat conftest.err >&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try='test -z "$ac_c_werror_flag"
32942 || test ! -s conftest.err'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32945 ac_status=$?
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; } &&
32948 { ac_try='test -s conftest$ac_exeext'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32951 ac_status=$?
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; }; then
32954 eval "$as_ac_var=yes"
32955 else
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32959 eval "$as_ac_var=no"
32961 rm -f conftest.err conftest.$ac_objext \
32962 conftest$ac_exeext conftest.$ac_ext
32964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32966 if test `eval echo '${'$as_ac_var'}'` = yes; then
32967 cat >>confdefs.h <<_ACEOF
32968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32969 _ACEOF
32972 done
32979 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32980 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32981 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32982 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 else
32988 ac_ext=cc
32989 ac_cpp='$CXXCPP $CPPFLAGS'
32990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32994 cat >conftest.$ac_ext <<_ACEOF
32995 /* confdefs.h. */
32996 _ACEOF
32997 cat confdefs.h >>conftest.$ac_ext
32998 cat >>conftest.$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33000 #include <math.h>
33002 main ()
33004 sincos(0, 0, 0);
33006 return 0;
33008 _ACEOF
33009 rm -f conftest.$ac_objext
33010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33011 (eval $ac_compile) 2>conftest.er1
33012 ac_status=$?
33013 grep -v '^ *+' conftest.er1 >conftest.err
33014 rm -f conftest.er1
33015 cat conftest.err >&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } &&
33018 { ac_try='test -z "$ac_cxx_werror_flag"
33019 || test ! -s conftest.err'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33022 ac_status=$?
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; } &&
33025 { ac_try='test -s conftest.$ac_objext'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33028 ac_status=$?
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; }; then
33031 glibcxx_cv_func_sincos_use=yes
33032 else
33033 echo "$as_me: failed program was:" >&5
33034 sed 's/^/| /' conftest.$ac_ext >&5
33036 glibcxx_cv_func_sincos_use=no
33038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33039 ac_ext=c
33040 ac_cpp='$CPP $CPPFLAGS'
33041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33050 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33052 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33054 for ac_func in sincos
33056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33057 echo "$as_me:$LINENO: checking for $ac_func" >&5
33058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33059 if eval "test \"\${$as_ac_var+set}\" = set"; then
33060 echo $ECHO_N "(cached) $ECHO_C" >&6
33061 else
33062 if test x$gcc_no_link = xyes; then
33063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33065 { (exit 1); exit 1; }; }
33067 cat >conftest.$ac_ext <<_ACEOF
33068 /* confdefs.h. */
33069 _ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33075 #define $ac_func innocuous_$ac_func
33077 /* System header to define __stub macros and hopefully few prototypes,
33078 which can conflict with char $ac_func (); below.
33079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33080 <limits.h> exists even on freestanding compilers. */
33082 #ifdef __STDC__
33083 # include <limits.h>
33084 #else
33085 # include <assert.h>
33086 #endif
33088 #undef $ac_func
33090 /* Override any gcc2 internal prototype to avoid an error. */
33091 #ifdef __cplusplus
33092 extern "C"
33094 #endif
33095 /* We use char because int might match the return type of a gcc2
33096 builtin and then its argument prototype would still apply. */
33097 char $ac_func ();
33098 /* The GNU C library defines this for functions which it implements
33099 to always fail with ENOSYS. Some functions are actually named
33100 something starting with __ and the normal name is an alias. */
33101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33102 choke me
33103 #else
33104 char (*f) () = $ac_func;
33105 #endif
33106 #ifdef __cplusplus
33108 #endif
33111 main ()
33113 return f != $ac_func;
33115 return 0;
33117 _ACEOF
33118 rm -f conftest.$ac_objext conftest$ac_exeext
33119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33120 (eval $ac_link) 2>conftest.er1
33121 ac_status=$?
33122 grep -v '^ *+' conftest.er1 >conftest.err
33123 rm -f conftest.er1
33124 cat conftest.err >&5
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); } &&
33127 { ac_try='test -z "$ac_c_werror_flag"
33128 || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try='test -s conftest$ac_exeext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140 eval "$as_ac_var=yes"
33141 else
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.$ac_ext >&5
33145 eval "$as_ac_var=no"
33147 rm -f conftest.err conftest.$ac_objext \
33148 conftest$ac_exeext conftest.$ac_ext
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33155 _ACEOF
33158 done
33160 else
33162 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33163 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33164 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33165 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33171 ac_ext=cc
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183 #include <math.h>
33185 main ()
33187 _sincos(0, 0, 0);
33189 return 0;
33191 _ACEOF
33192 rm -f conftest.$ac_objext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33194 (eval $ac_compile) 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try='test -z "$ac_cxx_werror_flag"
33202 || test ! -s conftest.err'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; } &&
33208 { ac_try='test -s conftest.$ac_objext'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; }; then
33214 glibcxx_cv_func__sincos_use=yes
33215 else
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33219 glibcxx_cv_func__sincos_use=no
33221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33222 ac_ext=c
33223 ac_cpp='$CPP $CPPFLAGS'
33224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33233 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33235 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33237 for ac_func in _sincos
33239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33240 echo "$as_me:$LINENO: checking for $ac_func" >&5
33241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33242 if eval "test \"\${$as_ac_var+set}\" = set"; then
33243 echo $ECHO_N "(cached) $ECHO_C" >&6
33244 else
33245 if test x$gcc_no_link = xyes; then
33246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33248 { (exit 1); exit 1; }; }
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h. */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33258 #define $ac_func innocuous_$ac_func
33260 /* System header to define __stub macros and hopefully few prototypes,
33261 which can conflict with char $ac_func (); below.
33262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33263 <limits.h> exists even on freestanding compilers. */
33265 #ifdef __STDC__
33266 # include <limits.h>
33267 #else
33268 # include <assert.h>
33269 #endif
33271 #undef $ac_func
33273 /* Override any gcc2 internal prototype to avoid an error. */
33274 #ifdef __cplusplus
33275 extern "C"
33277 #endif
33278 /* We use char because int might match the return type of a gcc2
33279 builtin and then its argument prototype would still apply. */
33280 char $ac_func ();
33281 /* The GNU C library defines this for functions which it implements
33282 to always fail with ENOSYS. Some functions are actually named
33283 something starting with __ and the normal name is an alias. */
33284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33285 choke me
33286 #else
33287 char (*f) () = $ac_func;
33288 #endif
33289 #ifdef __cplusplus
33291 #endif
33294 main ()
33296 return f != $ac_func;
33298 return 0;
33300 _ACEOF
33301 rm -f conftest.$ac_objext conftest$ac_exeext
33302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33303 (eval $ac_link) 2>conftest.er1
33304 ac_status=$?
33305 grep -v '^ *+' conftest.er1 >conftest.err
33306 rm -f conftest.er1
33307 cat conftest.err >&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } &&
33310 { ac_try='test -z "$ac_c_werror_flag"
33311 || test ! -s conftest.err'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; } &&
33317 { ac_try='test -s conftest$ac_exeext'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33320 ac_status=$?
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; }; then
33323 eval "$as_ac_var=yes"
33324 else
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33328 eval "$as_ac_var=no"
33330 rm -f conftest.err conftest.$ac_objext \
33331 conftest$ac_exeext conftest.$ac_ext
33333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33335 if test `eval echo '${'$as_ac_var'}'` = yes; then
33336 cat >>confdefs.h <<_ACEOF
33337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33338 _ACEOF
33341 done
33348 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33349 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33350 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33351 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33357 ac_ext=cc
33358 ac_cpp='$CXXCPP $CPPFLAGS'
33359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363 cat >conftest.$ac_ext <<_ACEOF
33364 /* confdefs.h. */
33365 _ACEOF
33366 cat confdefs.h >>conftest.$ac_ext
33367 cat >>conftest.$ac_ext <<_ACEOF
33368 /* end confdefs.h. */
33369 #include <math.h>
33370 #ifdef HAVE_IEEEFP_H
33371 #include <ieeefp.h>
33372 #endif
33375 main ()
33377 fpclass(0);
33379 return 0;
33381 _ACEOF
33382 rm -f conftest.$ac_objext
33383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33384 (eval $ac_compile) 2>conftest.er1
33385 ac_status=$?
33386 grep -v '^ *+' conftest.er1 >conftest.err
33387 rm -f conftest.er1
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } &&
33391 { ac_try='test -z "$ac_cxx_werror_flag"
33392 || test ! -s conftest.err'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33395 ac_status=$?
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } &&
33398 { ac_try='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 glibcxx_cv_func_fpclass_use=yes
33405 else
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33409 glibcxx_cv_func_fpclass_use=no
33411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33412 ac_ext=c
33413 ac_cpp='$CPP $CPPFLAGS'
33414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33423 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33425 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33427 for ac_func in fpclass
33429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33430 echo "$as_me:$LINENO: checking for $ac_func" >&5
33431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33432 if eval "test \"\${$as_ac_var+set}\" = set"; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33435 if test x$gcc_no_link = xyes; then
33436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33438 { (exit 1); exit 1; }; }
33440 cat >conftest.$ac_ext <<_ACEOF
33441 /* confdefs.h. */
33442 _ACEOF
33443 cat confdefs.h >>conftest.$ac_ext
33444 cat >>conftest.$ac_ext <<_ACEOF
33445 /* end confdefs.h. */
33446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33448 #define $ac_func innocuous_$ac_func
33450 /* System header to define __stub macros and hopefully few prototypes,
33451 which can conflict with char $ac_func (); below.
33452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33453 <limits.h> exists even on freestanding compilers. */
33455 #ifdef __STDC__
33456 # include <limits.h>
33457 #else
33458 # include <assert.h>
33459 #endif
33461 #undef $ac_func
33463 /* Override any gcc2 internal prototype to avoid an error. */
33464 #ifdef __cplusplus
33465 extern "C"
33467 #endif
33468 /* We use char because int might match the return type of a gcc2
33469 builtin and then its argument prototype would still apply. */
33470 char $ac_func ();
33471 /* The GNU C library defines this for functions which it implements
33472 to always fail with ENOSYS. Some functions are actually named
33473 something starting with __ and the normal name is an alias. */
33474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33475 choke me
33476 #else
33477 char (*f) () = $ac_func;
33478 #endif
33479 #ifdef __cplusplus
33481 #endif
33484 main ()
33486 return f != $ac_func;
33488 return 0;
33490 _ACEOF
33491 rm -f conftest.$ac_objext conftest$ac_exeext
33492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33493 (eval $ac_link) 2>conftest.er1
33494 ac_status=$?
33495 grep -v '^ *+' conftest.er1 >conftest.err
33496 rm -f conftest.er1
33497 cat conftest.err >&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); } &&
33500 { ac_try='test -z "$ac_c_werror_flag"
33501 || test ! -s conftest.err'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; } &&
33507 { ac_try='test -s conftest$ac_exeext'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33510 ac_status=$?
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; }; then
33513 eval "$as_ac_var=yes"
33514 else
33515 echo "$as_me: failed program was:" >&5
33516 sed 's/^/| /' conftest.$ac_ext >&5
33518 eval "$as_ac_var=no"
33520 rm -f conftest.err conftest.$ac_objext \
33521 conftest$ac_exeext conftest.$ac_ext
33523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33525 if test `eval echo '${'$as_ac_var'}'` = yes; then
33526 cat >>confdefs.h <<_ACEOF
33527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33528 _ACEOF
33531 done
33533 else
33535 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33536 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33537 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33538 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33540 else
33544 ac_ext=cc
33545 ac_cpp='$CXXCPP $CPPFLAGS'
33546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33550 cat >conftest.$ac_ext <<_ACEOF
33551 /* confdefs.h. */
33552 _ACEOF
33553 cat confdefs.h >>conftest.$ac_ext
33554 cat >>conftest.$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 #include <math.h>
33557 #ifdef HAVE_IEEEFP_H
33558 #include <ieeefp.h>
33559 #endif
33562 main ()
33564 _fpclass(0);
33566 return 0;
33568 _ACEOF
33569 rm -f conftest.$ac_objext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33571 (eval $ac_compile) 2>conftest.er1
33572 ac_status=$?
33573 grep -v '^ *+' conftest.er1 >conftest.err
33574 rm -f conftest.er1
33575 cat conftest.err >&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try='test -z "$ac_cxx_werror_flag"
33579 || test ! -s conftest.err'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; } &&
33585 { ac_try='test -s conftest.$ac_objext'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33588 ac_status=$?
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; }; then
33591 glibcxx_cv_func__fpclass_use=yes
33592 else
33593 echo "$as_me: failed program was:" >&5
33594 sed 's/^/| /' conftest.$ac_ext >&5
33596 glibcxx_cv_func__fpclass_use=no
33598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33599 ac_ext=c
33600 ac_cpp='$CPP $CPPFLAGS'
33601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33610 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33614 for ac_func in _fpclass
33616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33617 echo "$as_me:$LINENO: checking for $ac_func" >&5
33618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33619 if eval "test \"\${$as_ac_var+set}\" = set"; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 else
33622 if test x$gcc_no_link = xyes; then
33623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33625 { (exit 1); exit 1; }; }
33627 cat >conftest.$ac_ext <<_ACEOF
33628 /* confdefs.h. */
33629 _ACEOF
33630 cat confdefs.h >>conftest.$ac_ext
33631 cat >>conftest.$ac_ext <<_ACEOF
33632 /* end confdefs.h. */
33633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33635 #define $ac_func innocuous_$ac_func
33637 /* System header to define __stub macros and hopefully few prototypes,
33638 which can conflict with char $ac_func (); below.
33639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33640 <limits.h> exists even on freestanding compilers. */
33642 #ifdef __STDC__
33643 # include <limits.h>
33644 #else
33645 # include <assert.h>
33646 #endif
33648 #undef $ac_func
33650 /* Override any gcc2 internal prototype to avoid an error. */
33651 #ifdef __cplusplus
33652 extern "C"
33654 #endif
33655 /* We use char because int might match the return type of a gcc2
33656 builtin and then its argument prototype would still apply. */
33657 char $ac_func ();
33658 /* The GNU C library defines this for functions which it implements
33659 to always fail with ENOSYS. Some functions are actually named
33660 something starting with __ and the normal name is an alias. */
33661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33662 choke me
33663 #else
33664 char (*f) () = $ac_func;
33665 #endif
33666 #ifdef __cplusplus
33668 #endif
33671 main ()
33673 return f != $ac_func;
33675 return 0;
33677 _ACEOF
33678 rm -f conftest.$ac_objext conftest$ac_exeext
33679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33680 (eval $ac_link) 2>conftest.er1
33681 ac_status=$?
33682 grep -v '^ *+' conftest.er1 >conftest.err
33683 rm -f conftest.er1
33684 cat conftest.err >&5
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); } &&
33687 { ac_try='test -z "$ac_c_werror_flag"
33688 || test ! -s conftest.err'
33689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690 (eval $ac_try) 2>&5
33691 ac_status=$?
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); }; } &&
33694 { ac_try='test -s conftest$ac_exeext'
33695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33696 (eval $ac_try) 2>&5
33697 ac_status=$?
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); }; }; then
33700 eval "$as_ac_var=yes"
33701 else
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.$ac_ext >&5
33705 eval "$as_ac_var=no"
33707 rm -f conftest.err conftest.$ac_objext \
33708 conftest$ac_exeext conftest.$ac_ext
33710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33712 if test `eval echo '${'$as_ac_var'}'` = yes; then
33713 cat >>confdefs.h <<_ACEOF
33714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33715 _ACEOF
33718 done
33725 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33726 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33727 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33728 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33729 echo $ECHO_N "(cached) $ECHO_C" >&6
33730 else
33734 ac_ext=cc
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 #include <math.h>
33747 #ifdef HAVE_IEEEFP_H
33748 #include <ieeefp.h>
33749 #endif
33752 main ()
33754 qfpclass(0);
33756 return 0;
33758 _ACEOF
33759 rm -f conftest.$ac_objext
33760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33761 (eval $ac_compile) 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } &&
33768 { ac_try='test -z "$ac_cxx_werror_flag"
33769 || test ! -s conftest.err'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33772 ac_status=$?
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; } &&
33775 { ac_try='test -s conftest.$ac_objext'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; }; then
33781 glibcxx_cv_func_qfpclass_use=yes
33782 else
33783 echo "$as_me: failed program was:" >&5
33784 sed 's/^/| /' conftest.$ac_ext >&5
33786 glibcxx_cv_func_qfpclass_use=no
33788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33789 ac_ext=c
33790 ac_cpp='$CPP $CPPFLAGS'
33791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33800 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33802 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33804 for ac_func in qfpclass
33806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33807 echo "$as_me:$LINENO: checking for $ac_func" >&5
33808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33809 if eval "test \"\${$as_ac_var+set}\" = set"; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812 if test x$gcc_no_link = xyes; then
33813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33815 { (exit 1); exit 1; }; }
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33825 #define $ac_func innocuous_$ac_func
33827 /* System header to define __stub macros and hopefully few prototypes,
33828 which can conflict with char $ac_func (); below.
33829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33830 <limits.h> exists even on freestanding compilers. */
33832 #ifdef __STDC__
33833 # include <limits.h>
33834 #else
33835 # include <assert.h>
33836 #endif
33838 #undef $ac_func
33840 /* Override any gcc2 internal prototype to avoid an error. */
33841 #ifdef __cplusplus
33842 extern "C"
33844 #endif
33845 /* We use char because int might match the return type of a gcc2
33846 builtin and then its argument prototype would still apply. */
33847 char $ac_func ();
33848 /* The GNU C library defines this for functions which it implements
33849 to always fail with ENOSYS. Some functions are actually named
33850 something starting with __ and the normal name is an alias. */
33851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33852 choke me
33853 #else
33854 char (*f) () = $ac_func;
33855 #endif
33856 #ifdef __cplusplus
33858 #endif
33861 main ()
33863 return f != $ac_func;
33865 return 0;
33867 _ACEOF
33868 rm -f conftest.$ac_objext conftest$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest$ac_exeext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 eval "$as_ac_var=yes"
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 eval "$as_ac_var=no"
33897 rm -f conftest.err conftest.$ac_objext \
33898 conftest$ac_exeext conftest.$ac_ext
33900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33902 if test `eval echo '${'$as_ac_var'}'` = yes; then
33903 cat >>confdefs.h <<_ACEOF
33904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33905 _ACEOF
33908 done
33910 else
33912 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33913 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33914 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33915 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33921 ac_ext=cc
33922 ac_cpp='$CXXCPP $CPPFLAGS'
33923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33927 cat >conftest.$ac_ext <<_ACEOF
33928 /* confdefs.h. */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933 #include <math.h>
33934 #ifdef HAVE_IEEEFP_H
33935 #include <ieeefp.h>
33936 #endif
33939 main ()
33941 _qfpclass(0);
33943 return 0;
33945 _ACEOF
33946 rm -f conftest.$ac_objext
33947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33948 (eval $ac_compile) 2>conftest.er1
33949 ac_status=$?
33950 grep -v '^ *+' conftest.er1 >conftest.err
33951 rm -f conftest.er1
33952 cat conftest.err >&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try='test -z "$ac_cxx_werror_flag"
33956 || test ! -s conftest.err'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; } &&
33962 { ac_try='test -s conftest.$ac_objext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 glibcxx_cv_func__qfpclass_use=yes
33969 else
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.$ac_ext >&5
33973 glibcxx_cv_func__qfpclass_use=no
33975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33976 ac_ext=c
33977 ac_cpp='$CPP $CPPFLAGS'
33978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33987 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33989 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33991 for ac_func in _qfpclass
33993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33994 echo "$as_me:$LINENO: checking for $ac_func" >&5
33995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33996 if eval "test \"\${$as_ac_var+set}\" = set"; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 else
33999 if test x$gcc_no_link = xyes; then
34000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34002 { (exit 1); exit 1; }; }
34004 cat >conftest.$ac_ext <<_ACEOF
34005 /* confdefs.h. */
34006 _ACEOF
34007 cat confdefs.h >>conftest.$ac_ext
34008 cat >>conftest.$ac_ext <<_ACEOF
34009 /* end confdefs.h. */
34010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34012 #define $ac_func innocuous_$ac_func
34014 /* System header to define __stub macros and hopefully few prototypes,
34015 which can conflict with char $ac_func (); below.
34016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34017 <limits.h> exists even on freestanding compilers. */
34019 #ifdef __STDC__
34020 # include <limits.h>
34021 #else
34022 # include <assert.h>
34023 #endif
34025 #undef $ac_func
34027 /* Override any gcc2 internal prototype to avoid an error. */
34028 #ifdef __cplusplus
34029 extern "C"
34031 #endif
34032 /* We use char because int might match the return type of a gcc2
34033 builtin and then its argument prototype would still apply. */
34034 char $ac_func ();
34035 /* The GNU C library defines this for functions which it implements
34036 to always fail with ENOSYS. Some functions are actually named
34037 something starting with __ and the normal name is an alias. */
34038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34039 choke me
34040 #else
34041 char (*f) () = $ac_func;
34042 #endif
34043 #ifdef __cplusplus
34045 #endif
34048 main ()
34050 return f != $ac_func;
34052 return 0;
34054 _ACEOF
34055 rm -f conftest.$ac_objext conftest$ac_exeext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34057 (eval $ac_link) 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try='test -z "$ac_c_werror_flag"
34065 || test ! -s conftest.err'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; } &&
34071 { ac_try='test -s conftest$ac_exeext'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; }; then
34077 eval "$as_ac_var=yes"
34078 else
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34082 eval "$as_ac_var=no"
34084 rm -f conftest.err conftest.$ac_objext \
34085 conftest$ac_exeext conftest.$ac_ext
34087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34089 if test `eval echo '${'$as_ac_var'}'` = yes; then
34090 cat >>confdefs.h <<_ACEOF
34091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34092 _ACEOF
34095 done
34102 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34103 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34104 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34105 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34111 ac_ext=cc
34112 ac_cpp='$CXXCPP $CPPFLAGS'
34113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34117 cat >conftest.$ac_ext <<_ACEOF
34118 /* confdefs.h. */
34119 _ACEOF
34120 cat confdefs.h >>conftest.$ac_ext
34121 cat >>conftest.$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34123 #include <math.h>
34125 main ()
34127 hypot(0, 0);
34129 return 0;
34131 _ACEOF
34132 rm -f conftest.$ac_objext
34133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34134 (eval $ac_compile) 2>conftest.er1
34135 ac_status=$?
34136 grep -v '^ *+' conftest.er1 >conftest.err
34137 rm -f conftest.er1
34138 cat conftest.err >&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); } &&
34141 { ac_try='test -z "$ac_cxx_werror_flag"
34142 || test ! -s conftest.err'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; } &&
34148 { ac_try='test -s conftest.$ac_objext'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34151 ac_status=$?
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; }; then
34154 glibcxx_cv_func_hypot_use=yes
34155 else
34156 echo "$as_me: failed program was:" >&5
34157 sed 's/^/| /' conftest.$ac_ext >&5
34159 glibcxx_cv_func_hypot_use=no
34161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34162 ac_ext=c
34163 ac_cpp='$CPP $CPPFLAGS'
34164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34173 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34175 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34177 for ac_func in hypot
34179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34180 echo "$as_me:$LINENO: checking for $ac_func" >&5
34181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34182 if eval "test \"\${$as_ac_var+set}\" = set"; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185 if test x$gcc_no_link = xyes; then
34186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34188 { (exit 1); exit 1; }; }
34190 cat >conftest.$ac_ext <<_ACEOF
34191 /* confdefs.h. */
34192 _ACEOF
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34198 #define $ac_func innocuous_$ac_func
34200 /* System header to define __stub macros and hopefully few prototypes,
34201 which can conflict with char $ac_func (); below.
34202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34203 <limits.h> exists even on freestanding compilers. */
34205 #ifdef __STDC__
34206 # include <limits.h>
34207 #else
34208 # include <assert.h>
34209 #endif
34211 #undef $ac_func
34213 /* Override any gcc2 internal prototype to avoid an error. */
34214 #ifdef __cplusplus
34215 extern "C"
34217 #endif
34218 /* We use char because int might match the return type of a gcc2
34219 builtin and then its argument prototype would still apply. */
34220 char $ac_func ();
34221 /* The GNU C library defines this for functions which it implements
34222 to always fail with ENOSYS. Some functions are actually named
34223 something starting with __ and the normal name is an alias. */
34224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34225 choke me
34226 #else
34227 char (*f) () = $ac_func;
34228 #endif
34229 #ifdef __cplusplus
34231 #endif
34234 main ()
34236 return f != $ac_func;
34238 return 0;
34240 _ACEOF
34241 rm -f conftest.$ac_objext conftest$ac_exeext
34242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34243 (eval $ac_link) 2>conftest.er1
34244 ac_status=$?
34245 grep -v '^ *+' conftest.er1 >conftest.err
34246 rm -f conftest.er1
34247 cat conftest.err >&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } &&
34250 { ac_try='test -z "$ac_c_werror_flag"
34251 || test ! -s conftest.err'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34254 ac_status=$?
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; } &&
34257 { ac_try='test -s conftest$ac_exeext'
34258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259 (eval $ac_try) 2>&5
34260 ac_status=$?
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); }; }; then
34263 eval "$as_ac_var=yes"
34264 else
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34268 eval "$as_ac_var=no"
34270 rm -f conftest.err conftest.$ac_objext \
34271 conftest$ac_exeext conftest.$ac_ext
34273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34275 if test `eval echo '${'$as_ac_var'}'` = yes; then
34276 cat >>confdefs.h <<_ACEOF
34277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34278 _ACEOF
34281 done
34283 else
34285 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34286 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34287 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34288 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34289 echo $ECHO_N "(cached) $ECHO_C" >&6
34290 else
34294 ac_ext=cc
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34300 cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h. */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34306 #include <math.h>
34308 main ()
34310 _hypot(0, 0);
34312 return 0;
34314 _ACEOF
34315 rm -f conftest.$ac_objext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34317 (eval $ac_compile) 2>conftest.er1
34318 ac_status=$?
34319 grep -v '^ *+' conftest.er1 >conftest.err
34320 rm -f conftest.er1
34321 cat conftest.err >&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); } &&
34324 { ac_try='test -z "$ac_cxx_werror_flag"
34325 || test ! -s conftest.err'
34326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327 (eval $ac_try) 2>&5
34328 ac_status=$?
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); }; } &&
34331 { ac_try='test -s conftest.$ac_objext'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34334 ac_status=$?
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; }; then
34337 glibcxx_cv_func__hypot_use=yes
34338 else
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34342 glibcxx_cv_func__hypot_use=no
34344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34345 ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34356 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34358 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34360 for ac_func in _hypot
34362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34363 echo "$as_me:$LINENO: checking for $ac_func" >&5
34364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34365 if eval "test \"\${$as_ac_var+set}\" = set"; then
34366 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 else
34368 if test x$gcc_no_link = xyes; then
34369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34371 { (exit 1); exit 1; }; }
34373 cat >conftest.$ac_ext <<_ACEOF
34374 /* confdefs.h. */
34375 _ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34381 #define $ac_func innocuous_$ac_func
34383 /* System header to define __stub macros and hopefully few prototypes,
34384 which can conflict with char $ac_func (); below.
34385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34386 <limits.h> exists even on freestanding compilers. */
34388 #ifdef __STDC__
34389 # include <limits.h>
34390 #else
34391 # include <assert.h>
34392 #endif
34394 #undef $ac_func
34396 /* Override any gcc2 internal prototype to avoid an error. */
34397 #ifdef __cplusplus
34398 extern "C"
34400 #endif
34401 /* We use char because int might match the return type of a gcc2
34402 builtin and then its argument prototype would still apply. */
34403 char $ac_func ();
34404 /* The GNU C library defines this for functions which it implements
34405 to always fail with ENOSYS. Some functions are actually named
34406 something starting with __ and the normal name is an alias. */
34407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34408 choke me
34409 #else
34410 char (*f) () = $ac_func;
34411 #endif
34412 #ifdef __cplusplus
34414 #endif
34417 main ()
34419 return f != $ac_func;
34421 return 0;
34423 _ACEOF
34424 rm -f conftest.$ac_objext conftest$ac_exeext
34425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34426 (eval $ac_link) 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } &&
34433 { ac_try='test -z "$ac_c_werror_flag"
34434 || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34437 ac_status=$?
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try='test -s conftest$ac_exeext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34443 ac_status=$?
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 eval "$as_ac_var=yes"
34447 else
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34451 eval "$as_ac_var=no"
34453 rm -f conftest.err conftest.$ac_objext \
34454 conftest$ac_exeext conftest.$ac_ext
34456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34458 if test `eval echo '${'$as_ac_var'}'` = yes; then
34459 cat >>confdefs.h <<_ACEOF
34460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34461 _ACEOF
34464 done
34471 echo "$as_me:$LINENO: checking for float trig functions" >&5
34472 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34473 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34474 echo $ECHO_N "(cached) $ECHO_C" >&6
34475 else
34479 ac_ext=cc
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h. */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 #include <math.h>
34493 main ()
34495 `for x in acosf asinf atanf \
34496 cosf sinf tanf \
34497 coshf sinhf tanhf; do echo "$x (0);"; done`
34499 return 0;
34501 _ACEOF
34502 rm -f conftest.$ac_objext
34503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34504 (eval $ac_compile) 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } &&
34511 { ac_try='test -z "$ac_cxx_werror_flag"
34512 || test ! -s conftest.err'
34513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34514 (eval $ac_try) 2>&5
34515 ac_status=$?
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); }; } &&
34518 { ac_try='test -s conftest.$ac_objext'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34521 ac_status=$?
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; }; then
34524 glibcxx_cv_func_float_trig_use=yes
34525 else
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34529 glibcxx_cv_func_float_trig_use=no
34531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34532 ac_ext=c
34533 ac_cpp='$CPP $CPPFLAGS'
34534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34541 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34542 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34552 for ac_func in acosf asinf atanf \
34553 cosf sinf tanf \
34554 coshf sinhf tanhf
34556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34557 echo "$as_me:$LINENO: checking for $ac_func" >&5
34558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34559 if eval "test \"\${$as_ac_var+set}\" = set"; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 else
34562 if test x$gcc_no_link = xyes; then
34563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34565 { (exit 1); exit 1; }; }
34567 cat >conftest.$ac_ext <<_ACEOF
34568 /* confdefs.h. */
34569 _ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34575 #define $ac_func innocuous_$ac_func
34577 /* System header to define __stub macros and hopefully few prototypes,
34578 which can conflict with char $ac_func (); below.
34579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34580 <limits.h> exists even on freestanding compilers. */
34582 #ifdef __STDC__
34583 # include <limits.h>
34584 #else
34585 # include <assert.h>
34586 #endif
34588 #undef $ac_func
34590 /* Override any gcc2 internal prototype to avoid an error. */
34591 #ifdef __cplusplus
34592 extern "C"
34594 #endif
34595 /* We use char because int might match the return type of a gcc2
34596 builtin and then its argument prototype would still apply. */
34597 char $ac_func ();
34598 /* The GNU C library defines this for functions which it implements
34599 to always fail with ENOSYS. Some functions are actually named
34600 something starting with __ and the normal name is an alias. */
34601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34602 choke me
34603 #else
34604 char (*f) () = $ac_func;
34605 #endif
34606 #ifdef __cplusplus
34608 #endif
34611 main ()
34613 return f != $ac_func;
34615 return 0;
34617 _ACEOF
34618 rm -f conftest.$ac_objext conftest$ac_exeext
34619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34620 (eval $ac_link) 2>conftest.er1
34621 ac_status=$?
34622 grep -v '^ *+' conftest.er1 >conftest.err
34623 rm -f conftest.er1
34624 cat conftest.err >&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); } &&
34627 { ac_try='test -z "$ac_c_werror_flag"
34628 || test ! -s conftest.err'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34631 ac_status=$?
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; } &&
34634 { ac_try='test -s conftest$ac_exeext'
34635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636 (eval $ac_try) 2>&5
34637 ac_status=$?
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); }; }; then
34640 eval "$as_ac_var=yes"
34641 else
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.$ac_ext >&5
34645 eval "$as_ac_var=no"
34647 rm -f conftest.err conftest.$ac_objext \
34648 conftest$ac_exeext conftest.$ac_ext
34650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34652 if test `eval echo '${'$as_ac_var'}'` = yes; then
34653 cat >>confdefs.h <<_ACEOF
34654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34655 _ACEOF
34658 done
34663 echo "$as_me:$LINENO: checking for float round functions" >&5
34664 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34665 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 else
34671 ac_ext=cc
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34677 cat >conftest.$ac_ext <<_ACEOF
34678 /* confdefs.h. */
34679 _ACEOF
34680 cat confdefs.h >>conftest.$ac_ext
34681 cat >>conftest.$ac_ext <<_ACEOF
34682 /* end confdefs.h. */
34683 #include <math.h>
34685 main ()
34687 `for x in ceilf floorf; do echo "$x (0);"; done`
34689 return 0;
34691 _ACEOF
34692 rm -f conftest.$ac_objext
34693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34694 (eval $ac_compile) 2>conftest.er1
34695 ac_status=$?
34696 grep -v '^ *+' conftest.er1 >conftest.err
34697 rm -f conftest.er1
34698 cat conftest.err >&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); } &&
34701 { ac_try='test -z "$ac_cxx_werror_flag"
34702 || test ! -s conftest.err'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34705 ac_status=$?
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; } &&
34708 { ac_try='test -s conftest.$ac_objext'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; }; then
34714 glibcxx_cv_func_float_round_use=yes
34715 else
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34719 glibcxx_cv_func_float_round_use=no
34721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34722 ac_ext=c
34723 ac_cpp='$CPP $CPPFLAGS'
34724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34731 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34732 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34735 for ac_func in ceilf floorf
34737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34738 echo "$as_me:$LINENO: checking for $ac_func" >&5
34739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34740 if eval "test \"\${$as_ac_var+set}\" = set"; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 else
34743 if test x$gcc_no_link = xyes; then
34744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34746 { (exit 1); exit 1; }; }
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34756 #define $ac_func innocuous_$ac_func
34758 /* System header to define __stub macros and hopefully few prototypes,
34759 which can conflict with char $ac_func (); below.
34760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34761 <limits.h> exists even on freestanding compilers. */
34763 #ifdef __STDC__
34764 # include <limits.h>
34765 #else
34766 # include <assert.h>
34767 #endif
34769 #undef $ac_func
34771 /* Override any gcc2 internal prototype to avoid an error. */
34772 #ifdef __cplusplus
34773 extern "C"
34775 #endif
34776 /* We use char because int might match the return type of a gcc2
34777 builtin and then its argument prototype would still apply. */
34778 char $ac_func ();
34779 /* The GNU C library defines this for functions which it implements
34780 to always fail with ENOSYS. Some functions are actually named
34781 something starting with __ and the normal name is an alias. */
34782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34783 choke me
34784 #else
34785 char (*f) () = $ac_func;
34786 #endif
34787 #ifdef __cplusplus
34789 #endif
34792 main ()
34794 return f != $ac_func;
34796 return 0;
34798 _ACEOF
34799 rm -f conftest.$ac_objext conftest$ac_exeext
34800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34801 (eval $ac_link) 2>conftest.er1
34802 ac_status=$?
34803 grep -v '^ *+' conftest.er1 >conftest.err
34804 rm -f conftest.er1
34805 cat conftest.err >&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); } &&
34808 { ac_try='test -z "$ac_c_werror_flag"
34809 || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try='test -s conftest$ac_exeext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 eval "$as_ac_var=yes"
34822 else
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.$ac_ext >&5
34826 eval "$as_ac_var=no"
34828 rm -f conftest.err conftest.$ac_objext \
34829 conftest$ac_exeext conftest.$ac_ext
34831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34833 if test `eval echo '${'$as_ac_var'}'` = yes; then
34834 cat >>confdefs.h <<_ACEOF
34835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34836 _ACEOF
34839 done
34845 echo "$as_me:$LINENO: checking for expf declaration" >&5
34846 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34847 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34848 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34849 echo $ECHO_N "(cached) $ECHO_C" >&6
34850 else
34854 ac_ext=cc
34855 ac_cpp='$CXXCPP $CPPFLAGS'
34856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34860 cat >conftest.$ac_ext <<_ACEOF
34861 /* confdefs.h. */
34862 _ACEOF
34863 cat confdefs.h >>conftest.$ac_ext
34864 cat >>conftest.$ac_ext <<_ACEOF
34865 /* end confdefs.h. */
34866 #include <math.h>
34867 #ifdef HAVE_IEEEFP_H
34868 #include <ieeefp.h>
34869 #endif
34872 main ()
34874 expf(0);
34876 return 0;
34878 _ACEOF
34879 rm -f conftest.$ac_objext
34880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34881 (eval $ac_compile) 2>conftest.er1
34882 ac_status=$?
34883 grep -v '^ *+' conftest.er1 >conftest.err
34884 rm -f conftest.er1
34885 cat conftest.err >&5
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); } &&
34888 { ac_try='test -z "$ac_cxx_werror_flag"
34889 || test ! -s conftest.err'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34892 ac_status=$?
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; } &&
34895 { ac_try='test -s conftest.$ac_objext'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34898 ac_status=$?
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; }; then
34901 glibcxx_cv_func_expf_use=yes
34902 else
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.$ac_ext >&5
34906 glibcxx_cv_func_expf_use=no
34908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34909 ac_ext=c
34910 ac_cpp='$CPP $CPPFLAGS'
34911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34920 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34924 for ac_func in expf
34926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34927 echo "$as_me:$LINENO: checking for $ac_func" >&5
34928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34929 if eval "test \"\${$as_ac_var+set}\" = set"; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34931 else
34932 if test x$gcc_no_link = xyes; then
34933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34935 { (exit 1); exit 1; }; }
34937 cat >conftest.$ac_ext <<_ACEOF
34938 /* confdefs.h. */
34939 _ACEOF
34940 cat confdefs.h >>conftest.$ac_ext
34941 cat >>conftest.$ac_ext <<_ACEOF
34942 /* end confdefs.h. */
34943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34945 #define $ac_func innocuous_$ac_func
34947 /* System header to define __stub macros and hopefully few prototypes,
34948 which can conflict with char $ac_func (); below.
34949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34950 <limits.h> exists even on freestanding compilers. */
34952 #ifdef __STDC__
34953 # include <limits.h>
34954 #else
34955 # include <assert.h>
34956 #endif
34958 #undef $ac_func
34960 /* Override any gcc2 internal prototype to avoid an error. */
34961 #ifdef __cplusplus
34962 extern "C"
34964 #endif
34965 /* We use char because int might match the return type of a gcc2
34966 builtin and then its argument prototype would still apply. */
34967 char $ac_func ();
34968 /* The GNU C library defines this for functions which it implements
34969 to always fail with ENOSYS. Some functions are actually named
34970 something starting with __ and the normal name is an alias. */
34971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34972 choke me
34973 #else
34974 char (*f) () = $ac_func;
34975 #endif
34976 #ifdef __cplusplus
34978 #endif
34981 main ()
34983 return f != $ac_func;
34985 return 0;
34987 _ACEOF
34988 rm -f conftest.$ac_objext conftest$ac_exeext
34989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34990 (eval $ac_link) 2>conftest.er1
34991 ac_status=$?
34992 grep -v '^ *+' conftest.er1 >conftest.err
34993 rm -f conftest.er1
34994 cat conftest.err >&5
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); } &&
34997 { ac_try='test -z "$ac_c_werror_flag"
34998 || test ! -s conftest.err'
34999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000 (eval $ac_try) 2>&5
35001 ac_status=$?
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); }; } &&
35004 { ac_try='test -s conftest$ac_exeext'
35005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35006 (eval $ac_try) 2>&5
35007 ac_status=$?
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); }; }; then
35010 eval "$as_ac_var=yes"
35011 else
35012 echo "$as_me: failed program was:" >&5
35013 sed 's/^/| /' conftest.$ac_ext >&5
35015 eval "$as_ac_var=no"
35017 rm -f conftest.err conftest.$ac_objext \
35018 conftest$ac_exeext conftest.$ac_ext
35020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35022 if test `eval echo '${'$as_ac_var'}'` = yes; then
35023 cat >>confdefs.h <<_ACEOF
35024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35025 _ACEOF
35028 done
35030 else
35032 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35033 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35034 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35035 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35036 echo $ECHO_N "(cached) $ECHO_C" >&6
35037 else
35041 ac_ext=cc
35042 ac_cpp='$CXXCPP $CPPFLAGS'
35043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35047 cat >conftest.$ac_ext <<_ACEOF
35048 /* confdefs.h. */
35049 _ACEOF
35050 cat confdefs.h >>conftest.$ac_ext
35051 cat >>conftest.$ac_ext <<_ACEOF
35052 /* end confdefs.h. */
35053 #include <math.h>
35054 #ifdef HAVE_IEEEFP_H
35055 #include <ieeefp.h>
35056 #endif
35059 main ()
35061 _expf(0);
35063 return 0;
35065 _ACEOF
35066 rm -f conftest.$ac_objext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35068 (eval $ac_compile) 2>conftest.er1
35069 ac_status=$?
35070 grep -v '^ *+' conftest.er1 >conftest.err
35071 rm -f conftest.er1
35072 cat conftest.err >&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } &&
35075 { ac_try='test -z "$ac_cxx_werror_flag"
35076 || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try='test -s conftest.$ac_objext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35085 ac_status=$?
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35088 glibcxx_cv_func__expf_use=yes
35089 else
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.$ac_ext >&5
35093 glibcxx_cv_func__expf_use=no
35095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35096 ac_ext=c
35097 ac_cpp='$CPP $CPPFLAGS'
35098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35107 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35109 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35111 for ac_func in _expf
35113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35114 echo "$as_me:$LINENO: checking for $ac_func" >&5
35115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35116 if eval "test \"\${$as_ac_var+set}\" = set"; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35118 else
35119 if test x$gcc_no_link = xyes; then
35120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35122 { (exit 1); exit 1; }; }
35124 cat >conftest.$ac_ext <<_ACEOF
35125 /* confdefs.h. */
35126 _ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35132 #define $ac_func innocuous_$ac_func
35134 /* System header to define __stub macros and hopefully few prototypes,
35135 which can conflict with char $ac_func (); below.
35136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35137 <limits.h> exists even on freestanding compilers. */
35139 #ifdef __STDC__
35140 # include <limits.h>
35141 #else
35142 # include <assert.h>
35143 #endif
35145 #undef $ac_func
35147 /* Override any gcc2 internal prototype to avoid an error. */
35148 #ifdef __cplusplus
35149 extern "C"
35151 #endif
35152 /* We use char because int might match the return type of a gcc2
35153 builtin and then its argument prototype would still apply. */
35154 char $ac_func ();
35155 /* The GNU C library defines this for functions which it implements
35156 to always fail with ENOSYS. Some functions are actually named
35157 something starting with __ and the normal name is an alias. */
35158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35159 choke me
35160 #else
35161 char (*f) () = $ac_func;
35162 #endif
35163 #ifdef __cplusplus
35165 #endif
35168 main ()
35170 return f != $ac_func;
35172 return 0;
35174 _ACEOF
35175 rm -f conftest.$ac_objext conftest$ac_exeext
35176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35177 (eval $ac_link) 2>conftest.er1
35178 ac_status=$?
35179 grep -v '^ *+' conftest.er1 >conftest.err
35180 rm -f conftest.er1
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } &&
35184 { ac_try='test -z "$ac_c_werror_flag"
35185 || test ! -s conftest.err'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35188 ac_status=$?
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; } &&
35191 { ac_try='test -s conftest$ac_exeext'
35192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35193 (eval $ac_try) 2>&5
35194 ac_status=$?
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); }; }; then
35197 eval "$as_ac_var=yes"
35198 else
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.$ac_ext >&5
35202 eval "$as_ac_var=no"
35204 rm -f conftest.err conftest.$ac_objext \
35205 conftest$ac_exeext conftest.$ac_ext
35207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35209 if test `eval echo '${'$as_ac_var'}'` = yes; then
35210 cat >>confdefs.h <<_ACEOF
35211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35212 _ACEOF
35215 done
35222 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35223 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35224 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35225 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35226 echo $ECHO_N "(cached) $ECHO_C" >&6
35227 else
35231 ac_ext=cc
35232 ac_cpp='$CXXCPP $CPPFLAGS'
35233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h. */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 #include <math.h>
35244 #ifdef HAVE_IEEEFP_H
35245 #include <ieeefp.h>
35246 #endif
35249 main ()
35251 isnanf(0);
35253 return 0;
35255 _ACEOF
35256 rm -f conftest.$ac_objext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35258 (eval $ac_compile) 2>conftest.er1
35259 ac_status=$?
35260 grep -v '^ *+' conftest.er1 >conftest.err
35261 rm -f conftest.er1
35262 cat conftest.err >&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } &&
35265 { ac_try='test -z "$ac_cxx_werror_flag"
35266 || test ! -s conftest.err'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; } &&
35272 { ac_try='test -s conftest.$ac_objext'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; }; then
35278 glibcxx_cv_func_isnanf_use=yes
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35283 glibcxx_cv_func_isnanf_use=no
35285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35286 ac_ext=c
35287 ac_cpp='$CPP $CPPFLAGS'
35288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35297 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35299 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35301 for ac_func in isnanf
35303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35304 echo "$as_me:$LINENO: checking for $ac_func" >&5
35305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35306 if eval "test \"\${$as_ac_var+set}\" = set"; then
35307 echo $ECHO_N "(cached) $ECHO_C" >&6
35308 else
35309 if test x$gcc_no_link = xyes; then
35310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35312 { (exit 1); exit 1; }; }
35314 cat >conftest.$ac_ext <<_ACEOF
35315 /* confdefs.h. */
35316 _ACEOF
35317 cat confdefs.h >>conftest.$ac_ext
35318 cat >>conftest.$ac_ext <<_ACEOF
35319 /* end confdefs.h. */
35320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35322 #define $ac_func innocuous_$ac_func
35324 /* System header to define __stub macros and hopefully few prototypes,
35325 which can conflict with char $ac_func (); below.
35326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35327 <limits.h> exists even on freestanding compilers. */
35329 #ifdef __STDC__
35330 # include <limits.h>
35331 #else
35332 # include <assert.h>
35333 #endif
35335 #undef $ac_func
35337 /* Override any gcc2 internal prototype to avoid an error. */
35338 #ifdef __cplusplus
35339 extern "C"
35341 #endif
35342 /* We use char because int might match the return type of a gcc2
35343 builtin and then its argument prototype would still apply. */
35344 char $ac_func ();
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35349 choke me
35350 #else
35351 char (*f) () = $ac_func;
35352 #endif
35353 #ifdef __cplusplus
35355 #endif
35358 main ()
35360 return f != $ac_func;
35362 return 0;
35364 _ACEOF
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35367 (eval $ac_link) 2>conftest.er1
35368 ac_status=$?
35369 grep -v '^ *+' conftest.er1 >conftest.err
35370 rm -f conftest.er1
35371 cat conftest.err >&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } &&
35374 { ac_try='test -z "$ac_c_werror_flag"
35375 || test ! -s conftest.err'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35378 ac_status=$?
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; } &&
35381 { ac_try='test -s conftest$ac_exeext'
35382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35383 (eval $ac_try) 2>&5
35384 ac_status=$?
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); }; }; then
35387 eval "$as_ac_var=yes"
35388 else
35389 echo "$as_me: failed program was:" >&5
35390 sed 's/^/| /' conftest.$ac_ext >&5
35392 eval "$as_ac_var=no"
35394 rm -f conftest.err conftest.$ac_objext \
35395 conftest$ac_exeext conftest.$ac_ext
35397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35399 if test `eval echo '${'$as_ac_var'}'` = yes; then
35400 cat >>confdefs.h <<_ACEOF
35401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 _ACEOF
35405 done
35407 else
35409 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35410 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35411 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35412 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35413 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 else
35418 ac_ext=cc
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424 cat >conftest.$ac_ext <<_ACEOF
35425 /* confdefs.h. */
35426 _ACEOF
35427 cat confdefs.h >>conftest.$ac_ext
35428 cat >>conftest.$ac_ext <<_ACEOF
35429 /* end confdefs.h. */
35430 #include <math.h>
35431 #ifdef HAVE_IEEEFP_H
35432 #include <ieeefp.h>
35433 #endif
35436 main ()
35438 _isnanf(0);
35440 return 0;
35442 _ACEOF
35443 rm -f conftest.$ac_objext
35444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35445 (eval $ac_compile) 2>conftest.er1
35446 ac_status=$?
35447 grep -v '^ *+' conftest.er1 >conftest.err
35448 rm -f conftest.er1
35449 cat conftest.err >&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } &&
35452 { ac_try='test -z "$ac_cxx_werror_flag"
35453 || test ! -s conftest.err'
35454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35455 (eval $ac_try) 2>&5
35456 ac_status=$?
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); }; } &&
35459 { ac_try='test -s conftest.$ac_objext'
35460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35461 (eval $ac_try) 2>&5
35462 ac_status=$?
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); }; }; then
35465 glibcxx_cv_func__isnanf_use=yes
35466 else
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.$ac_ext >&5
35470 glibcxx_cv_func__isnanf_use=no
35472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35473 ac_ext=c
35474 ac_cpp='$CPP $CPPFLAGS'
35475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35484 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35486 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35488 for ac_func in _isnanf
35490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35491 echo "$as_me:$LINENO: checking for $ac_func" >&5
35492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35493 if eval "test \"\${$as_ac_var+set}\" = set"; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 else
35496 if test x$gcc_no_link = xyes; then
35497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35499 { (exit 1); exit 1; }; }
35501 cat >conftest.$ac_ext <<_ACEOF
35502 /* confdefs.h. */
35503 _ACEOF
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35509 #define $ac_func innocuous_$ac_func
35511 /* System header to define __stub macros and hopefully few prototypes,
35512 which can conflict with char $ac_func (); below.
35513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35514 <limits.h> exists even on freestanding compilers. */
35516 #ifdef __STDC__
35517 # include <limits.h>
35518 #else
35519 # include <assert.h>
35520 #endif
35522 #undef $ac_func
35524 /* Override any gcc2 internal prototype to avoid an error. */
35525 #ifdef __cplusplus
35526 extern "C"
35528 #endif
35529 /* We use char because int might match the return type of a gcc2
35530 builtin and then its argument prototype would still apply. */
35531 char $ac_func ();
35532 /* The GNU C library defines this for functions which it implements
35533 to always fail with ENOSYS. Some functions are actually named
35534 something starting with __ and the normal name is an alias. */
35535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35536 choke me
35537 #else
35538 char (*f) () = $ac_func;
35539 #endif
35540 #ifdef __cplusplus
35542 #endif
35545 main ()
35547 return f != $ac_func;
35549 return 0;
35551 _ACEOF
35552 rm -f conftest.$ac_objext conftest$ac_exeext
35553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35554 (eval $ac_link) 2>conftest.er1
35555 ac_status=$?
35556 grep -v '^ *+' conftest.er1 >conftest.err
35557 rm -f conftest.er1
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } &&
35561 { ac_try='test -z "$ac_c_werror_flag"
35562 || test ! -s conftest.err'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35565 ac_status=$?
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; } &&
35568 { ac_try='test -s conftest$ac_exeext'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35571 ac_status=$?
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; }; then
35574 eval "$as_ac_var=yes"
35575 else
35576 echo "$as_me: failed program was:" >&5
35577 sed 's/^/| /' conftest.$ac_ext >&5
35579 eval "$as_ac_var=no"
35581 rm -f conftest.err conftest.$ac_objext \
35582 conftest$ac_exeext conftest.$ac_ext
35584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35586 if test `eval echo '${'$as_ac_var'}'` = yes; then
35587 cat >>confdefs.h <<_ACEOF
35588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35589 _ACEOF
35592 done
35599 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35600 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35601 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35602 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35603 echo $ECHO_N "(cached) $ECHO_C" >&6
35604 else
35608 ac_ext=cc
35609 ac_cpp='$CXXCPP $CPPFLAGS'
35610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35614 cat >conftest.$ac_ext <<_ACEOF
35615 /* confdefs.h. */
35616 _ACEOF
35617 cat confdefs.h >>conftest.$ac_ext
35618 cat >>conftest.$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35620 #include <math.h>
35621 #ifdef HAVE_IEEEFP_H
35622 #include <ieeefp.h>
35623 #endif
35626 main ()
35628 isinff(0);
35630 return 0;
35632 _ACEOF
35633 rm -f conftest.$ac_objext
35634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35635 (eval $ac_compile) 2>conftest.er1
35636 ac_status=$?
35637 grep -v '^ *+' conftest.er1 >conftest.err
35638 rm -f conftest.er1
35639 cat conftest.err >&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } &&
35642 { ac_try='test -z "$ac_cxx_werror_flag"
35643 || test ! -s conftest.err'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; } &&
35649 { ac_try='test -s conftest.$ac_objext'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 glibcxx_cv_func_isinff_use=yes
35656 else
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35660 glibcxx_cv_func_isinff_use=no
35662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35663 ac_ext=c
35664 ac_cpp='$CPP $CPPFLAGS'
35665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35674 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35676 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35678 for ac_func in isinff
35680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35681 echo "$as_me:$LINENO: checking for $ac_func" >&5
35682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35683 if eval "test \"\${$as_ac_var+set}\" = set"; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 else
35686 if test x$gcc_no_link = xyes; then
35687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35689 { (exit 1); exit 1; }; }
35691 cat >conftest.$ac_ext <<_ACEOF
35692 /* confdefs.h. */
35693 _ACEOF
35694 cat confdefs.h >>conftest.$ac_ext
35695 cat >>conftest.$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35699 #define $ac_func innocuous_$ac_func
35701 /* System header to define __stub macros and hopefully few prototypes,
35702 which can conflict with char $ac_func (); below.
35703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35704 <limits.h> exists even on freestanding compilers. */
35706 #ifdef __STDC__
35707 # include <limits.h>
35708 #else
35709 # include <assert.h>
35710 #endif
35712 #undef $ac_func
35714 /* Override any gcc2 internal prototype to avoid an error. */
35715 #ifdef __cplusplus
35716 extern "C"
35718 #endif
35719 /* We use char because int might match the return type of a gcc2
35720 builtin and then its argument prototype would still apply. */
35721 char $ac_func ();
35722 /* The GNU C library defines this for functions which it implements
35723 to always fail with ENOSYS. Some functions are actually named
35724 something starting with __ and the normal name is an alias. */
35725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35726 choke me
35727 #else
35728 char (*f) () = $ac_func;
35729 #endif
35730 #ifdef __cplusplus
35732 #endif
35735 main ()
35737 return f != $ac_func;
35739 return 0;
35741 _ACEOF
35742 rm -f conftest.$ac_objext conftest$ac_exeext
35743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35744 (eval $ac_link) 2>conftest.er1
35745 ac_status=$?
35746 grep -v '^ *+' conftest.er1 >conftest.err
35747 rm -f conftest.er1
35748 cat conftest.err >&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); } &&
35751 { ac_try='test -z "$ac_c_werror_flag"
35752 || test ! -s conftest.err'
35753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754 (eval $ac_try) 2>&5
35755 ac_status=$?
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); }; } &&
35758 { ac_try='test -s conftest$ac_exeext'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35761 ac_status=$?
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; }; then
35764 eval "$as_ac_var=yes"
35765 else
35766 echo "$as_me: failed program was:" >&5
35767 sed 's/^/| /' conftest.$ac_ext >&5
35769 eval "$as_ac_var=no"
35771 rm -f conftest.err conftest.$ac_objext \
35772 conftest$ac_exeext conftest.$ac_ext
35774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35776 if test `eval echo '${'$as_ac_var'}'` = yes; then
35777 cat >>confdefs.h <<_ACEOF
35778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35779 _ACEOF
35782 done
35784 else
35786 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35787 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35788 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35789 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35795 ac_ext=cc
35796 ac_cpp='$CXXCPP $CPPFLAGS'
35797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35801 cat >conftest.$ac_ext <<_ACEOF
35802 /* confdefs.h. */
35803 _ACEOF
35804 cat confdefs.h >>conftest.$ac_ext
35805 cat >>conftest.$ac_ext <<_ACEOF
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35813 main ()
35815 _isinff(0);
35817 return 0;
35819 _ACEOF
35820 rm -f conftest.$ac_objext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35822 (eval $ac_compile) 2>conftest.er1
35823 ac_status=$?
35824 grep -v '^ *+' conftest.er1 >conftest.err
35825 rm -f conftest.er1
35826 cat conftest.err >&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try='test -z "$ac_cxx_werror_flag"
35830 || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try='test -s conftest.$ac_objext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 glibcxx_cv_func__isinff_use=yes
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35847 glibcxx_cv_func__isinff_use=no
35849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35850 ac_ext=c
35851 ac_cpp='$CPP $CPPFLAGS'
35852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35861 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35863 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35865 for ac_func in _isinff
35867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35868 echo "$as_me:$LINENO: checking for $ac_func" >&5
35869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35870 if eval "test \"\${$as_ac_var+set}\" = set"; then
35871 echo $ECHO_N "(cached) $ECHO_C" >&6
35872 else
35873 if test x$gcc_no_link = xyes; then
35874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35876 { (exit 1); exit 1; }; }
35878 cat >conftest.$ac_ext <<_ACEOF
35879 /* confdefs.h. */
35880 _ACEOF
35881 cat confdefs.h >>conftest.$ac_ext
35882 cat >>conftest.$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35886 #define $ac_func innocuous_$ac_func
35888 /* System header to define __stub macros and hopefully few prototypes,
35889 which can conflict with char $ac_func (); below.
35890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35891 <limits.h> exists even on freestanding compilers. */
35893 #ifdef __STDC__
35894 # include <limits.h>
35895 #else
35896 # include <assert.h>
35897 #endif
35899 #undef $ac_func
35901 /* Override any gcc2 internal prototype to avoid an error. */
35902 #ifdef __cplusplus
35903 extern "C"
35905 #endif
35906 /* We use char because int might match the return type of a gcc2
35907 builtin and then its argument prototype would still apply. */
35908 char $ac_func ();
35909 /* The GNU C library defines this for functions which it implements
35910 to always fail with ENOSYS. Some functions are actually named
35911 something starting with __ and the normal name is an alias. */
35912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35913 choke me
35914 #else
35915 char (*f) () = $ac_func;
35916 #endif
35917 #ifdef __cplusplus
35919 #endif
35922 main ()
35924 return f != $ac_func;
35926 return 0;
35928 _ACEOF
35929 rm -f conftest.$ac_objext conftest$ac_exeext
35930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35931 (eval $ac_link) 2>conftest.er1
35932 ac_status=$?
35933 grep -v '^ *+' conftest.er1 >conftest.err
35934 rm -f conftest.er1
35935 cat conftest.err >&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } &&
35938 { ac_try='test -z "$ac_c_werror_flag"
35939 || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35942 ac_status=$?
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 eval "$as_ac_var=yes"
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35956 eval "$as_ac_var=no"
35958 rm -f conftest.err conftest.$ac_objext \
35959 conftest$ac_exeext conftest.$ac_ext
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35963 if test `eval echo '${'$as_ac_var'}'` = yes; then
35964 cat >>confdefs.h <<_ACEOF
35965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35966 _ACEOF
35969 done
35976 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35977 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35978 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35979 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 else
35985 ac_ext=cc
35986 ac_cpp='$CXXCPP $CPPFLAGS'
35987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35991 cat >conftest.$ac_ext <<_ACEOF
35992 /* confdefs.h. */
35993 _ACEOF
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997 #include <math.h>
35999 main ()
36001 atan2f(0, 0);
36003 return 0;
36005 _ACEOF
36006 rm -f conftest.$ac_objext
36007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36008 (eval $ac_compile) 2>conftest.er1
36009 ac_status=$?
36010 grep -v '^ *+' conftest.er1 >conftest.err
36011 rm -f conftest.er1
36012 cat conftest.err >&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } &&
36015 { ac_try='test -z "$ac_cxx_werror_flag"
36016 || test ! -s conftest.err'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36019 ac_status=$?
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; } &&
36022 { ac_try='test -s conftest.$ac_objext'
36023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36024 (eval $ac_try) 2>&5
36025 ac_status=$?
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); }; }; then
36028 glibcxx_cv_func_atan2f_use=yes
36029 else
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.$ac_ext >&5
36033 glibcxx_cv_func_atan2f_use=no
36035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36036 ac_ext=c
36037 ac_cpp='$CPP $CPPFLAGS'
36038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36047 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36049 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36051 for ac_func in atan2f
36053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36054 echo "$as_me:$LINENO: checking for $ac_func" >&5
36055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36056 if eval "test \"\${$as_ac_var+set}\" = set"; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 else
36059 if test x$gcc_no_link = xyes; then
36060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36062 { (exit 1); exit 1; }; }
36064 cat >conftest.$ac_ext <<_ACEOF
36065 /* confdefs.h. */
36066 _ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36072 #define $ac_func innocuous_$ac_func
36074 /* System header to define __stub macros and hopefully few prototypes,
36075 which can conflict with char $ac_func (); below.
36076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36077 <limits.h> exists even on freestanding compilers. */
36079 #ifdef __STDC__
36080 # include <limits.h>
36081 #else
36082 # include <assert.h>
36083 #endif
36085 #undef $ac_func
36087 /* Override any gcc2 internal prototype to avoid an error. */
36088 #ifdef __cplusplus
36089 extern "C"
36091 #endif
36092 /* We use char because int might match the return type of a gcc2
36093 builtin and then its argument prototype would still apply. */
36094 char $ac_func ();
36095 /* The GNU C library defines this for functions which it implements
36096 to always fail with ENOSYS. Some functions are actually named
36097 something starting with __ and the normal name is an alias. */
36098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36099 choke me
36100 #else
36101 char (*f) () = $ac_func;
36102 #endif
36103 #ifdef __cplusplus
36105 #endif
36108 main ()
36110 return f != $ac_func;
36112 return 0;
36114 _ACEOF
36115 rm -f conftest.$ac_objext conftest$ac_exeext
36116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36117 (eval $ac_link) 2>conftest.er1
36118 ac_status=$?
36119 grep -v '^ *+' conftest.er1 >conftest.err
36120 rm -f conftest.er1
36121 cat conftest.err >&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); } &&
36124 { ac_try='test -z "$ac_c_werror_flag"
36125 || test ! -s conftest.err'
36126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36127 (eval $ac_try) 2>&5
36128 ac_status=$?
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); }; } &&
36131 { ac_try='test -s conftest$ac_exeext'
36132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36133 (eval $ac_try) 2>&5
36134 ac_status=$?
36135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136 (exit $ac_status); }; }; then
36137 eval "$as_ac_var=yes"
36138 else
36139 echo "$as_me: failed program was:" >&5
36140 sed 's/^/| /' conftest.$ac_ext >&5
36142 eval "$as_ac_var=no"
36144 rm -f conftest.err conftest.$ac_objext \
36145 conftest$ac_exeext conftest.$ac_ext
36147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36149 if test `eval echo '${'$as_ac_var'}'` = yes; then
36150 cat >>confdefs.h <<_ACEOF
36151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36152 _ACEOF
36155 done
36157 else
36159 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36160 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36161 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36162 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 else
36168 ac_ext=cc
36169 ac_cpp='$CXXCPP $CPPFLAGS'
36170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36174 cat >conftest.$ac_ext <<_ACEOF
36175 /* confdefs.h. */
36176 _ACEOF
36177 cat confdefs.h >>conftest.$ac_ext
36178 cat >>conftest.$ac_ext <<_ACEOF
36179 /* end confdefs.h. */
36180 #include <math.h>
36182 main ()
36184 _atan2f(0, 0);
36186 return 0;
36188 _ACEOF
36189 rm -f conftest.$ac_objext
36190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36191 (eval $ac_compile) 2>conftest.er1
36192 ac_status=$?
36193 grep -v '^ *+' conftest.er1 >conftest.err
36194 rm -f conftest.er1
36195 cat conftest.err >&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } &&
36198 { ac_try='test -z "$ac_cxx_werror_flag"
36199 || test ! -s conftest.err'
36200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36201 (eval $ac_try) 2>&5
36202 ac_status=$?
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); }; } &&
36205 { ac_try='test -s conftest.$ac_objext'
36206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36207 (eval $ac_try) 2>&5
36208 ac_status=$?
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); }; }; then
36211 glibcxx_cv_func__atan2f_use=yes
36212 else
36213 echo "$as_me: failed program was:" >&5
36214 sed 's/^/| /' conftest.$ac_ext >&5
36216 glibcxx_cv_func__atan2f_use=no
36218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36219 ac_ext=c
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36230 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36234 for ac_func in _atan2f
36236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36237 echo "$as_me:$LINENO: checking for $ac_func" >&5
36238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36239 if eval "test \"\${$as_ac_var+set}\" = set"; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 else
36242 if test x$gcc_no_link = xyes; then
36243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36245 { (exit 1); exit 1; }; }
36247 cat >conftest.$ac_ext <<_ACEOF
36248 /* confdefs.h. */
36249 _ACEOF
36250 cat confdefs.h >>conftest.$ac_ext
36251 cat >>conftest.$ac_ext <<_ACEOF
36252 /* end confdefs.h. */
36253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36255 #define $ac_func innocuous_$ac_func
36257 /* System header to define __stub macros and hopefully few prototypes,
36258 which can conflict with char $ac_func (); below.
36259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36260 <limits.h> exists even on freestanding compilers. */
36262 #ifdef __STDC__
36263 # include <limits.h>
36264 #else
36265 # include <assert.h>
36266 #endif
36268 #undef $ac_func
36270 /* Override any gcc2 internal prototype to avoid an error. */
36271 #ifdef __cplusplus
36272 extern "C"
36274 #endif
36275 /* We use char because int might match the return type of a gcc2
36276 builtin and then its argument prototype would still apply. */
36277 char $ac_func ();
36278 /* The GNU C library defines this for functions which it implements
36279 to always fail with ENOSYS. Some functions are actually named
36280 something starting with __ and the normal name is an alias. */
36281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36282 choke me
36283 #else
36284 char (*f) () = $ac_func;
36285 #endif
36286 #ifdef __cplusplus
36288 #endif
36291 main ()
36293 return f != $ac_func;
36295 return 0;
36297 _ACEOF
36298 rm -f conftest.$ac_objext conftest$ac_exeext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36300 (eval $ac_link) 2>conftest.er1
36301 ac_status=$?
36302 grep -v '^ *+' conftest.er1 >conftest.err
36303 rm -f conftest.er1
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try='test -z "$ac_c_werror_flag"
36308 || test ! -s conftest.err'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36311 ac_status=$?
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; } &&
36314 { ac_try='test -s conftest$ac_exeext'
36315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316 (eval $ac_try) 2>&5
36317 ac_status=$?
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); }; }; then
36320 eval "$as_ac_var=yes"
36321 else
36322 echo "$as_me: failed program was:" >&5
36323 sed 's/^/| /' conftest.$ac_ext >&5
36325 eval "$as_ac_var=no"
36327 rm -f conftest.err conftest.$ac_objext \
36328 conftest$ac_exeext conftest.$ac_ext
36330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36332 if test `eval echo '${'$as_ac_var'}'` = yes; then
36333 cat >>confdefs.h <<_ACEOF
36334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36338 done
36345 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36346 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36347 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36348 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36350 else
36354 ac_ext=cc
36355 ac_cpp='$CXXCPP $CPPFLAGS'
36356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36360 cat >conftest.$ac_ext <<_ACEOF
36361 /* confdefs.h. */
36362 _ACEOF
36363 cat confdefs.h >>conftest.$ac_ext
36364 cat >>conftest.$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36366 #include <math.h>
36367 #ifdef HAVE_IEEEFP_H
36368 #include <ieeefp.h>
36369 #endif
36372 main ()
36374 fabsf(0);
36376 return 0;
36378 _ACEOF
36379 rm -f conftest.$ac_objext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36381 (eval $ac_compile) 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } &&
36388 { ac_try='test -z "$ac_cxx_werror_flag"
36389 || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try='test -s conftest.$ac_objext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36398 ac_status=$?
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36401 glibcxx_cv_func_fabsf_use=yes
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36406 glibcxx_cv_func_fabsf_use=no
36408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36409 ac_ext=c
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36420 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36422 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36424 for ac_func in fabsf
36426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36427 echo "$as_me:$LINENO: checking for $ac_func" >&5
36428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36429 if eval "test \"\${$as_ac_var+set}\" = set"; then
36430 echo $ECHO_N "(cached) $ECHO_C" >&6
36431 else
36432 if test x$gcc_no_link = xyes; then
36433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36435 { (exit 1); exit 1; }; }
36437 cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h. */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36445 #define $ac_func innocuous_$ac_func
36447 /* System header to define __stub macros and hopefully few prototypes,
36448 which can conflict with char $ac_func (); below.
36449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36450 <limits.h> exists even on freestanding compilers. */
36452 #ifdef __STDC__
36453 # include <limits.h>
36454 #else
36455 # include <assert.h>
36456 #endif
36458 #undef $ac_func
36460 /* Override any gcc2 internal prototype to avoid an error. */
36461 #ifdef __cplusplus
36462 extern "C"
36464 #endif
36465 /* We use char because int might match the return type of a gcc2
36466 builtin and then its argument prototype would still apply. */
36467 char $ac_func ();
36468 /* The GNU C library defines this for functions which it implements
36469 to always fail with ENOSYS. Some functions are actually named
36470 something starting with __ and the normal name is an alias. */
36471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36472 choke me
36473 #else
36474 char (*f) () = $ac_func;
36475 #endif
36476 #ifdef __cplusplus
36478 #endif
36481 main ()
36483 return f != $ac_func;
36485 return 0;
36487 _ACEOF
36488 rm -f conftest.$ac_objext conftest$ac_exeext
36489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36490 (eval $ac_link) 2>conftest.er1
36491 ac_status=$?
36492 grep -v '^ *+' conftest.er1 >conftest.err
36493 rm -f conftest.er1
36494 cat conftest.err >&5
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); } &&
36497 { ac_try='test -z "$ac_c_werror_flag"
36498 || test ! -s conftest.err'
36499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36500 (eval $ac_try) 2>&5
36501 ac_status=$?
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); }; } &&
36504 { ac_try='test -s conftest$ac_exeext'
36505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36506 (eval $ac_try) 2>&5
36507 ac_status=$?
36508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36509 (exit $ac_status); }; }; then
36510 eval "$as_ac_var=yes"
36511 else
36512 echo "$as_me: failed program was:" >&5
36513 sed 's/^/| /' conftest.$ac_ext >&5
36515 eval "$as_ac_var=no"
36517 rm -f conftest.err conftest.$ac_objext \
36518 conftest$ac_exeext conftest.$ac_ext
36520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36522 if test `eval echo '${'$as_ac_var'}'` = yes; then
36523 cat >>confdefs.h <<_ACEOF
36524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36525 _ACEOF
36528 done
36530 else
36532 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36533 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36534 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36535 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36536 echo $ECHO_N "(cached) $ECHO_C" >&6
36537 else
36541 ac_ext=cc
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36547 cat >conftest.$ac_ext <<_ACEOF
36548 /* confdefs.h. */
36549 _ACEOF
36550 cat confdefs.h >>conftest.$ac_ext
36551 cat >>conftest.$ac_ext <<_ACEOF
36552 /* end confdefs.h. */
36553 #include <math.h>
36554 #ifdef HAVE_IEEEFP_H
36555 #include <ieeefp.h>
36556 #endif
36559 main ()
36561 _fabsf(0);
36563 return 0;
36565 _ACEOF
36566 rm -f conftest.$ac_objext
36567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36568 (eval $ac_compile) 2>conftest.er1
36569 ac_status=$?
36570 grep -v '^ *+' conftest.er1 >conftest.err
36571 rm -f conftest.er1
36572 cat conftest.err >&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); } &&
36575 { ac_try='test -z "$ac_cxx_werror_flag"
36576 || test ! -s conftest.err'
36577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36578 (eval $ac_try) 2>&5
36579 ac_status=$?
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); }; } &&
36582 { ac_try='test -s conftest.$ac_objext'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; }; then
36588 glibcxx_cv_func__fabsf_use=yes
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36593 glibcxx_cv_func__fabsf_use=no
36595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36596 ac_ext=c
36597 ac_cpp='$CPP $CPPFLAGS'
36598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36607 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36609 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36611 for ac_func in _fabsf
36613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36614 echo "$as_me:$LINENO: checking for $ac_func" >&5
36615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36616 if eval "test \"\${$as_ac_var+set}\" = set"; then
36617 echo $ECHO_N "(cached) $ECHO_C" >&6
36618 else
36619 if test x$gcc_no_link = xyes; then
36620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36622 { (exit 1); exit 1; }; }
36624 cat >conftest.$ac_ext <<_ACEOF
36625 /* confdefs.h. */
36626 _ACEOF
36627 cat confdefs.h >>conftest.$ac_ext
36628 cat >>conftest.$ac_ext <<_ACEOF
36629 /* end confdefs.h. */
36630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36632 #define $ac_func innocuous_$ac_func
36634 /* System header to define __stub macros and hopefully few prototypes,
36635 which can conflict with char $ac_func (); below.
36636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36637 <limits.h> exists even on freestanding compilers. */
36639 #ifdef __STDC__
36640 # include <limits.h>
36641 #else
36642 # include <assert.h>
36643 #endif
36645 #undef $ac_func
36647 /* Override any gcc2 internal prototype to avoid an error. */
36648 #ifdef __cplusplus
36649 extern "C"
36651 #endif
36652 /* We use char because int might match the return type of a gcc2
36653 builtin and then its argument prototype would still apply. */
36654 char $ac_func ();
36655 /* The GNU C library defines this for functions which it implements
36656 to always fail with ENOSYS. Some functions are actually named
36657 something starting with __ and the normal name is an alias. */
36658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36659 choke me
36660 #else
36661 char (*f) () = $ac_func;
36662 #endif
36663 #ifdef __cplusplus
36665 #endif
36668 main ()
36670 return f != $ac_func;
36672 return 0;
36674 _ACEOF
36675 rm -f conftest.$ac_objext conftest$ac_exeext
36676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36677 (eval $ac_link) 2>conftest.er1
36678 ac_status=$?
36679 grep -v '^ *+' conftest.er1 >conftest.err
36680 rm -f conftest.er1
36681 cat conftest.err >&5
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); } &&
36684 { ac_try='test -z "$ac_c_werror_flag"
36685 || test ! -s conftest.err'
36686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36687 (eval $ac_try) 2>&5
36688 ac_status=$?
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); }; } &&
36691 { ac_try='test -s conftest$ac_exeext'
36692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36693 (eval $ac_try) 2>&5
36694 ac_status=$?
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); }; }; then
36697 eval "$as_ac_var=yes"
36698 else
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 eval "$as_ac_var=no"
36704 rm -f conftest.err conftest.$ac_objext \
36705 conftest$ac_exeext conftest.$ac_ext
36707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36709 if test `eval echo '${'$as_ac_var'}'` = yes; then
36710 cat >>confdefs.h <<_ACEOF
36711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36712 _ACEOF
36715 done
36722 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36723 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36724 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36725 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 else
36731 ac_ext=cc
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat >conftest.$ac_ext <<_ACEOF
36738 /* confdefs.h. */
36739 _ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 #include <math.h>
36745 main ()
36747 fmodf(0, 0);
36749 return 0;
36751 _ACEOF
36752 rm -f conftest.$ac_objext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36754 (eval $ac_compile) 2>conftest.er1
36755 ac_status=$?
36756 grep -v '^ *+' conftest.er1 >conftest.err
36757 rm -f conftest.er1
36758 cat conftest.err >&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try='test -z "$ac_cxx_werror_flag"
36762 || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try='test -s conftest.$ac_objext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 glibcxx_cv_func_fmodf_use=yes
36775 else
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36779 glibcxx_cv_func_fmodf_use=no
36781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36782 ac_ext=c
36783 ac_cpp='$CPP $CPPFLAGS'
36784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36793 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36795 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36797 for ac_func in fmodf
36799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36800 echo "$as_me:$LINENO: checking for $ac_func" >&5
36801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36802 if eval "test \"\${$as_ac_var+set}\" = set"; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805 if test x$gcc_no_link = xyes; then
36806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36808 { (exit 1); exit 1; }; }
36810 cat >conftest.$ac_ext <<_ACEOF
36811 /* confdefs.h. */
36812 _ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36818 #define $ac_func innocuous_$ac_func
36820 /* System header to define __stub macros and hopefully few prototypes,
36821 which can conflict with char $ac_func (); below.
36822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36823 <limits.h> exists even on freestanding compilers. */
36825 #ifdef __STDC__
36826 # include <limits.h>
36827 #else
36828 # include <assert.h>
36829 #endif
36831 #undef $ac_func
36833 /* Override any gcc2 internal prototype to avoid an error. */
36834 #ifdef __cplusplus
36835 extern "C"
36837 #endif
36838 /* We use char because int might match the return type of a gcc2
36839 builtin and then its argument prototype would still apply. */
36840 char $ac_func ();
36841 /* The GNU C library defines this for functions which it implements
36842 to always fail with ENOSYS. Some functions are actually named
36843 something starting with __ and the normal name is an alias. */
36844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36845 choke me
36846 #else
36847 char (*f) () = $ac_func;
36848 #endif
36849 #ifdef __cplusplus
36851 #endif
36854 main ()
36856 return f != $ac_func;
36858 return 0;
36860 _ACEOF
36861 rm -f conftest.$ac_objext conftest$ac_exeext
36862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36863 (eval $ac_link) 2>conftest.er1
36864 ac_status=$?
36865 grep -v '^ *+' conftest.er1 >conftest.err
36866 rm -f conftest.er1
36867 cat conftest.err >&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } &&
36870 { ac_try='test -z "$ac_c_werror_flag"
36871 || test ! -s conftest.err'
36872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36873 (eval $ac_try) 2>&5
36874 ac_status=$?
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); }; } &&
36877 { ac_try='test -s conftest$ac_exeext'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; }; then
36883 eval "$as_ac_var=yes"
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36888 eval "$as_ac_var=no"
36890 rm -f conftest.err conftest.$ac_objext \
36891 conftest$ac_exeext conftest.$ac_ext
36893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36895 if test `eval echo '${'$as_ac_var'}'` = yes; then
36896 cat >>confdefs.h <<_ACEOF
36897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36898 _ACEOF
36901 done
36903 else
36905 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36906 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36907 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36908 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 else
36914 ac_ext=cc
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36920 cat >conftest.$ac_ext <<_ACEOF
36921 /* confdefs.h. */
36922 _ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 #include <math.h>
36928 main ()
36930 _fmodf(0, 0);
36932 return 0;
36934 _ACEOF
36935 rm -f conftest.$ac_objext
36936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36937 (eval $ac_compile) 2>conftest.er1
36938 ac_status=$?
36939 grep -v '^ *+' conftest.er1 >conftest.err
36940 rm -f conftest.er1
36941 cat conftest.err >&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); } &&
36944 { ac_try='test -z "$ac_cxx_werror_flag"
36945 || test ! -s conftest.err'
36946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36947 (eval $ac_try) 2>&5
36948 ac_status=$?
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); }; } &&
36951 { ac_try='test -s conftest.$ac_objext'
36952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953 (eval $ac_try) 2>&5
36954 ac_status=$?
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); }; }; then
36957 glibcxx_cv_func__fmodf_use=yes
36958 else
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.$ac_ext >&5
36962 glibcxx_cv_func__fmodf_use=no
36964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36965 ac_ext=c
36966 ac_cpp='$CPP $CPPFLAGS'
36967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36976 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36978 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36980 for ac_func in _fmodf
36982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36983 echo "$as_me:$LINENO: checking for $ac_func" >&5
36984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36985 if eval "test \"\${$as_ac_var+set}\" = set"; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988 if test x$gcc_no_link = xyes; then
36989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36991 { (exit 1); exit 1; }; }
36993 cat >conftest.$ac_ext <<_ACEOF
36994 /* confdefs.h. */
36995 _ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
36999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37001 #define $ac_func innocuous_$ac_func
37003 /* System header to define __stub macros and hopefully few prototypes,
37004 which can conflict with char $ac_func (); below.
37005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37006 <limits.h> exists even on freestanding compilers. */
37008 #ifdef __STDC__
37009 # include <limits.h>
37010 #else
37011 # include <assert.h>
37012 #endif
37014 #undef $ac_func
37016 /* Override any gcc2 internal prototype to avoid an error. */
37017 #ifdef __cplusplus
37018 extern "C"
37020 #endif
37021 /* We use char because int might match the return type of a gcc2
37022 builtin and then its argument prototype would still apply. */
37023 char $ac_func ();
37024 /* The GNU C library defines this for functions which it implements
37025 to always fail with ENOSYS. Some functions are actually named
37026 something starting with __ and the normal name is an alias. */
37027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37028 choke me
37029 #else
37030 char (*f) () = $ac_func;
37031 #endif
37032 #ifdef __cplusplus
37034 #endif
37037 main ()
37039 return f != $ac_func;
37041 return 0;
37043 _ACEOF
37044 rm -f conftest.$ac_objext conftest$ac_exeext
37045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37046 (eval $ac_link) 2>conftest.er1
37047 ac_status=$?
37048 grep -v '^ *+' conftest.er1 >conftest.err
37049 rm -f conftest.er1
37050 cat conftest.err >&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } &&
37053 { ac_try='test -z "$ac_c_werror_flag"
37054 || test ! -s conftest.err'
37055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37056 (eval $ac_try) 2>&5
37057 ac_status=$?
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); }; } &&
37060 { ac_try='test -s conftest$ac_exeext'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37063 ac_status=$?
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; }; then
37066 eval "$as_ac_var=yes"
37067 else
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.$ac_ext >&5
37071 eval "$as_ac_var=no"
37073 rm -f conftest.err conftest.$ac_objext \
37074 conftest$ac_exeext conftest.$ac_ext
37076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37078 if test `eval echo '${'$as_ac_var'}'` = yes; then
37079 cat >>confdefs.h <<_ACEOF
37080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37081 _ACEOF
37084 done
37091 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37092 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37093 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37094 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37100 ac_ext=cc
37101 ac_cpp='$CXXCPP $CPPFLAGS'
37102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37106 cat >conftest.$ac_ext <<_ACEOF
37107 /* confdefs.h. */
37108 _ACEOF
37109 cat confdefs.h >>conftest.$ac_ext
37110 cat >>conftest.$ac_ext <<_ACEOF
37111 /* end confdefs.h. */
37112 #include <math.h>
37114 main ()
37116 frexpf(0, 0);
37118 return 0;
37120 _ACEOF
37121 rm -f conftest.$ac_objext
37122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37123 (eval $ac_compile) 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try='test -z "$ac_cxx_werror_flag"
37131 || test ! -s conftest.err'
37132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37133 (eval $ac_try) 2>&5
37134 ac_status=$?
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); }; } &&
37137 { ac_try='test -s conftest.$ac_objext'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; }; then
37143 glibcxx_cv_func_frexpf_use=yes
37144 else
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37148 glibcxx_cv_func_frexpf_use=no
37150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37162 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37164 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37166 for ac_func in frexpf
37168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37169 echo "$as_me:$LINENO: checking for $ac_func" >&5
37170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37171 if eval "test \"\${$as_ac_var+set}\" = set"; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174 if test x$gcc_no_link = xyes; then
37175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37177 { (exit 1); exit 1; }; }
37179 cat >conftest.$ac_ext <<_ACEOF
37180 /* confdefs.h. */
37181 _ACEOF
37182 cat confdefs.h >>conftest.$ac_ext
37183 cat >>conftest.$ac_ext <<_ACEOF
37184 /* end confdefs.h. */
37185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37187 #define $ac_func innocuous_$ac_func
37189 /* System header to define __stub macros and hopefully few prototypes,
37190 which can conflict with char $ac_func (); below.
37191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37192 <limits.h> exists even on freestanding compilers. */
37194 #ifdef __STDC__
37195 # include <limits.h>
37196 #else
37197 # include <assert.h>
37198 #endif
37200 #undef $ac_func
37202 /* Override any gcc2 internal prototype to avoid an error. */
37203 #ifdef __cplusplus
37204 extern "C"
37206 #endif
37207 /* We use char because int might match the return type of a gcc2
37208 builtin and then its argument prototype would still apply. */
37209 char $ac_func ();
37210 /* The GNU C library defines this for functions which it implements
37211 to always fail with ENOSYS. Some functions are actually named
37212 something starting with __ and the normal name is an alias. */
37213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37214 choke me
37215 #else
37216 char (*f) () = $ac_func;
37217 #endif
37218 #ifdef __cplusplus
37220 #endif
37223 main ()
37225 return f != $ac_func;
37227 return 0;
37229 _ACEOF
37230 rm -f conftest.$ac_objext conftest$ac_exeext
37231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37232 (eval $ac_link) 2>conftest.er1
37233 ac_status=$?
37234 grep -v '^ *+' conftest.er1 >conftest.err
37235 rm -f conftest.er1
37236 cat conftest.err >&5
37237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37238 (exit $ac_status); } &&
37239 { ac_try='test -z "$ac_c_werror_flag"
37240 || test ! -s conftest.err'
37241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37242 (eval $ac_try) 2>&5
37243 ac_status=$?
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); }; } &&
37246 { ac_try='test -s conftest$ac_exeext'
37247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37248 (eval $ac_try) 2>&5
37249 ac_status=$?
37250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37251 (exit $ac_status); }; }; then
37252 eval "$as_ac_var=yes"
37253 else
37254 echo "$as_me: failed program was:" >&5
37255 sed 's/^/| /' conftest.$ac_ext >&5
37257 eval "$as_ac_var=no"
37259 rm -f conftest.err conftest.$ac_objext \
37260 conftest$ac_exeext conftest.$ac_ext
37262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37264 if test `eval echo '${'$as_ac_var'}'` = yes; then
37265 cat >>confdefs.h <<_ACEOF
37266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37267 _ACEOF
37270 done
37272 else
37274 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37275 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37276 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37277 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37278 echo $ECHO_N "(cached) $ECHO_C" >&6
37279 else
37283 ac_ext=cc
37284 ac_cpp='$CXXCPP $CPPFLAGS'
37285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37289 cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h. */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295 #include <math.h>
37297 main ()
37299 _frexpf(0, 0);
37301 return 0;
37303 _ACEOF
37304 rm -f conftest.$ac_objext
37305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37306 (eval $ac_compile) 2>conftest.er1
37307 ac_status=$?
37308 grep -v '^ *+' conftest.er1 >conftest.err
37309 rm -f conftest.er1
37310 cat conftest.err >&5
37311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37312 (exit $ac_status); } &&
37313 { ac_try='test -z "$ac_cxx_werror_flag"
37314 || test ! -s conftest.err'
37315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316 (eval $ac_try) 2>&5
37317 ac_status=$?
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); }; } &&
37320 { ac_try='test -s conftest.$ac_objext'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37323 ac_status=$?
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; }; then
37326 glibcxx_cv_func__frexpf_use=yes
37327 else
37328 echo "$as_me: failed program was:" >&5
37329 sed 's/^/| /' conftest.$ac_ext >&5
37331 glibcxx_cv_func__frexpf_use=no
37333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37334 ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37345 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37347 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37349 for ac_func in _frexpf
37351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37352 echo "$as_me:$LINENO: checking for $ac_func" >&5
37353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37354 if eval "test \"\${$as_ac_var+set}\" = set"; then
37355 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 else
37357 if test x$gcc_no_link = xyes; then
37358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37360 { (exit 1); exit 1; }; }
37362 cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h. */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37370 #define $ac_func innocuous_$ac_func
37372 /* System header to define __stub macros and hopefully few prototypes,
37373 which can conflict with char $ac_func (); below.
37374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37375 <limits.h> exists even on freestanding compilers. */
37377 #ifdef __STDC__
37378 # include <limits.h>
37379 #else
37380 # include <assert.h>
37381 #endif
37383 #undef $ac_func
37385 /* Override any gcc2 internal prototype to avoid an error. */
37386 #ifdef __cplusplus
37387 extern "C"
37389 #endif
37390 /* We use char because int might match the return type of a gcc2
37391 builtin and then its argument prototype would still apply. */
37392 char $ac_func ();
37393 /* The GNU C library defines this for functions which it implements
37394 to always fail with ENOSYS. Some functions are actually named
37395 something starting with __ and the normal name is an alias. */
37396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37397 choke me
37398 #else
37399 char (*f) () = $ac_func;
37400 #endif
37401 #ifdef __cplusplus
37403 #endif
37406 main ()
37408 return f != $ac_func;
37410 return 0;
37412 _ACEOF
37413 rm -f conftest.$ac_objext conftest$ac_exeext
37414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37415 (eval $ac_link) 2>conftest.er1
37416 ac_status=$?
37417 grep -v '^ *+' conftest.er1 >conftest.err
37418 rm -f conftest.er1
37419 cat conftest.err >&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); } &&
37422 { ac_try='test -z "$ac_c_werror_flag"
37423 || test ! -s conftest.err'
37424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425 (eval $ac_try) 2>&5
37426 ac_status=$?
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); }; } &&
37429 { ac_try='test -s conftest$ac_exeext'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37432 ac_status=$?
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; }; then
37435 eval "$as_ac_var=yes"
37436 else
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37440 eval "$as_ac_var=no"
37442 rm -f conftest.err conftest.$ac_objext \
37443 conftest$ac_exeext conftest.$ac_ext
37445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37447 if test `eval echo '${'$as_ac_var'}'` = yes; then
37448 cat >>confdefs.h <<_ACEOF
37449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37450 _ACEOF
37453 done
37460 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37461 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37462 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37463 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37464 echo $ECHO_N "(cached) $ECHO_C" >&6
37465 else
37469 ac_ext=cc
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475 cat >conftest.$ac_ext <<_ACEOF
37476 /* confdefs.h. */
37477 _ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37481 #include <math.h>
37483 main ()
37485 hypotf(0, 0);
37487 return 0;
37489 _ACEOF
37490 rm -f conftest.$ac_objext
37491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37492 (eval $ac_compile) 2>conftest.er1
37493 ac_status=$?
37494 grep -v '^ *+' conftest.er1 >conftest.err
37495 rm -f conftest.er1
37496 cat conftest.err >&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } &&
37499 { ac_try='test -z "$ac_cxx_werror_flag"
37500 || test ! -s conftest.err'
37501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37502 (eval $ac_try) 2>&5
37503 ac_status=$?
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); }; } &&
37506 { ac_try='test -s conftest.$ac_objext'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37509 ac_status=$?
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; }; then
37512 glibcxx_cv_func_hypotf_use=yes
37513 else
37514 echo "$as_me: failed program was:" >&5
37515 sed 's/^/| /' conftest.$ac_ext >&5
37517 glibcxx_cv_func_hypotf_use=no
37519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37520 ac_ext=c
37521 ac_cpp='$CPP $CPPFLAGS'
37522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37531 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37533 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37535 for ac_func in hypotf
37537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 echo "$as_me:$LINENO: checking for $ac_func" >&5
37539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37540 if eval "test \"\${$as_ac_var+set}\" = set"; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543 if test x$gcc_no_link = xyes; then
37544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37546 { (exit 1); exit 1; }; }
37548 cat >conftest.$ac_ext <<_ACEOF
37549 /* confdefs.h. */
37550 _ACEOF
37551 cat confdefs.h >>conftest.$ac_ext
37552 cat >>conftest.$ac_ext <<_ACEOF
37553 /* end confdefs.h. */
37554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37556 #define $ac_func innocuous_$ac_func
37558 /* System header to define __stub macros and hopefully few prototypes,
37559 which can conflict with char $ac_func (); below.
37560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37561 <limits.h> exists even on freestanding compilers. */
37563 #ifdef __STDC__
37564 # include <limits.h>
37565 #else
37566 # include <assert.h>
37567 #endif
37569 #undef $ac_func
37571 /* Override any gcc2 internal prototype to avoid an error. */
37572 #ifdef __cplusplus
37573 extern "C"
37575 #endif
37576 /* We use char because int might match the return type of a gcc2
37577 builtin and then its argument prototype would still apply. */
37578 char $ac_func ();
37579 /* The GNU C library defines this for functions which it implements
37580 to always fail with ENOSYS. Some functions are actually named
37581 something starting with __ and the normal name is an alias. */
37582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37583 choke me
37584 #else
37585 char (*f) () = $ac_func;
37586 #endif
37587 #ifdef __cplusplus
37589 #endif
37592 main ()
37594 return f != $ac_func;
37596 return 0;
37598 _ACEOF
37599 rm -f conftest.$ac_objext conftest$ac_exeext
37600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37601 (eval $ac_link) 2>conftest.er1
37602 ac_status=$?
37603 grep -v '^ *+' conftest.er1 >conftest.err
37604 rm -f conftest.er1
37605 cat conftest.err >&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); } &&
37608 { ac_try='test -z "$ac_c_werror_flag"
37609 || test ! -s conftest.err'
37610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611 (eval $ac_try) 2>&5
37612 ac_status=$?
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); }; } &&
37615 { ac_try='test -s conftest$ac_exeext'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37618 ac_status=$?
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; }; then
37621 eval "$as_ac_var=yes"
37622 else
37623 echo "$as_me: failed program was:" >&5
37624 sed 's/^/| /' conftest.$ac_ext >&5
37626 eval "$as_ac_var=no"
37628 rm -f conftest.err conftest.$ac_objext \
37629 conftest$ac_exeext conftest.$ac_ext
37631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37633 if test `eval echo '${'$as_ac_var'}'` = yes; then
37634 cat >>confdefs.h <<_ACEOF
37635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37636 _ACEOF
37639 done
37641 else
37643 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37644 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37645 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37646 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37647 echo $ECHO_N "(cached) $ECHO_C" >&6
37648 else
37652 ac_ext=cc
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37658 cat >conftest.$ac_ext <<_ACEOF
37659 /* confdefs.h. */
37660 _ACEOF
37661 cat confdefs.h >>conftest.$ac_ext
37662 cat >>conftest.$ac_ext <<_ACEOF
37663 /* end confdefs.h. */
37664 #include <math.h>
37666 main ()
37668 _hypotf(0, 0);
37670 return 0;
37672 _ACEOF
37673 rm -f conftest.$ac_objext
37674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37675 (eval $ac_compile) 2>conftest.er1
37676 ac_status=$?
37677 grep -v '^ *+' conftest.er1 >conftest.err
37678 rm -f conftest.er1
37679 cat conftest.err >&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } &&
37682 { ac_try='test -z "$ac_cxx_werror_flag"
37683 || test ! -s conftest.err'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; } &&
37689 { ac_try='test -s conftest.$ac_objext'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37692 ac_status=$?
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; }; then
37695 glibcxx_cv_func__hypotf_use=yes
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37700 glibcxx_cv_func__hypotf_use=no
37702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37703 ac_ext=c
37704 ac_cpp='$CPP $CPPFLAGS'
37705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37714 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37716 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37718 for ac_func in _hypotf
37720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37721 echo "$as_me:$LINENO: checking for $ac_func" >&5
37722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37723 if eval "test \"\${$as_ac_var+set}\" = set"; then
37724 echo $ECHO_N "(cached) $ECHO_C" >&6
37725 else
37726 if test x$gcc_no_link = xyes; then
37727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37729 { (exit 1); exit 1; }; }
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37739 #define $ac_func innocuous_$ac_func
37741 /* System header to define __stub macros and hopefully few prototypes,
37742 which can conflict with char $ac_func (); below.
37743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37744 <limits.h> exists even on freestanding compilers. */
37746 #ifdef __STDC__
37747 # include <limits.h>
37748 #else
37749 # include <assert.h>
37750 #endif
37752 #undef $ac_func
37754 /* Override any gcc2 internal prototype to avoid an error. */
37755 #ifdef __cplusplus
37756 extern "C"
37758 #endif
37759 /* We use char because int might match the return type of a gcc2
37760 builtin and then its argument prototype would still apply. */
37761 char $ac_func ();
37762 /* The GNU C library defines this for functions which it implements
37763 to always fail with ENOSYS. Some functions are actually named
37764 something starting with __ and the normal name is an alias. */
37765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37766 choke me
37767 #else
37768 char (*f) () = $ac_func;
37769 #endif
37770 #ifdef __cplusplus
37772 #endif
37775 main ()
37777 return f != $ac_func;
37779 return 0;
37781 _ACEOF
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37784 (eval $ac_link) 2>conftest.er1
37785 ac_status=$?
37786 grep -v '^ *+' conftest.er1 >conftest.err
37787 rm -f conftest.er1
37788 cat conftest.err >&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); } &&
37791 { ac_try='test -z "$ac_c_werror_flag"
37792 || test ! -s conftest.err'
37793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37794 (eval $ac_try) 2>&5
37795 ac_status=$?
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); }; } &&
37798 { ac_try='test -s conftest$ac_exeext'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37801 ac_status=$?
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; }; then
37804 eval "$as_ac_var=yes"
37805 else
37806 echo "$as_me: failed program was:" >&5
37807 sed 's/^/| /' conftest.$ac_ext >&5
37809 eval "$as_ac_var=no"
37811 rm -f conftest.err conftest.$ac_objext \
37812 conftest$ac_exeext conftest.$ac_ext
37814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37816 if test `eval echo '${'$as_ac_var'}'` = yes; then
37817 cat >>confdefs.h <<_ACEOF
37818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37819 _ACEOF
37822 done
37829 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37830 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37831 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37832 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37833 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 else
37838 ac_ext=cc
37839 ac_cpp='$CXXCPP $CPPFLAGS'
37840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37844 cat >conftest.$ac_ext <<_ACEOF
37845 /* confdefs.h. */
37846 _ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37850 #include <math.h>
37852 main ()
37854 ldexpf(0, 0);
37856 return 0;
37858 _ACEOF
37859 rm -f conftest.$ac_objext
37860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37861 (eval $ac_compile) 2>conftest.er1
37862 ac_status=$?
37863 grep -v '^ *+' conftest.er1 >conftest.err
37864 rm -f conftest.er1
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } &&
37868 { ac_try='test -z "$ac_cxx_werror_flag"
37869 || test ! -s conftest.err'
37870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37871 (eval $ac_try) 2>&5
37872 ac_status=$?
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); }; } &&
37875 { ac_try='test -s conftest.$ac_objext'
37876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37877 (eval $ac_try) 2>&5
37878 ac_status=$?
37879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37880 (exit $ac_status); }; }; then
37881 glibcxx_cv_func_ldexpf_use=yes
37882 else
37883 echo "$as_me: failed program was:" >&5
37884 sed 's/^/| /' conftest.$ac_ext >&5
37886 glibcxx_cv_func_ldexpf_use=no
37888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37889 ac_ext=c
37890 ac_cpp='$CPP $CPPFLAGS'
37891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37900 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37902 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37904 for ac_func in ldexpf
37906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37907 echo "$as_me:$LINENO: checking for $ac_func" >&5
37908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37909 if eval "test \"\${$as_ac_var+set}\" = set"; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 else
37912 if test x$gcc_no_link = xyes; then
37913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37915 { (exit 1); exit 1; }; }
37917 cat >conftest.$ac_ext <<_ACEOF
37918 /* confdefs.h. */
37919 _ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37925 #define $ac_func innocuous_$ac_func
37927 /* System header to define __stub macros and hopefully few prototypes,
37928 which can conflict with char $ac_func (); below.
37929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37930 <limits.h> exists even on freestanding compilers. */
37932 #ifdef __STDC__
37933 # include <limits.h>
37934 #else
37935 # include <assert.h>
37936 #endif
37938 #undef $ac_func
37940 /* Override any gcc2 internal prototype to avoid an error. */
37941 #ifdef __cplusplus
37942 extern "C"
37944 #endif
37945 /* We use char because int might match the return type of a gcc2
37946 builtin and then its argument prototype would still apply. */
37947 char $ac_func ();
37948 /* The GNU C library defines this for functions which it implements
37949 to always fail with ENOSYS. Some functions are actually named
37950 something starting with __ and the normal name is an alias. */
37951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37952 choke me
37953 #else
37954 char (*f) () = $ac_func;
37955 #endif
37956 #ifdef __cplusplus
37958 #endif
37961 main ()
37963 return f != $ac_func;
37965 return 0;
37967 _ACEOF
37968 rm -f conftest.$ac_objext conftest$ac_exeext
37969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37970 (eval $ac_link) 2>conftest.er1
37971 ac_status=$?
37972 grep -v '^ *+' conftest.er1 >conftest.err
37973 rm -f conftest.er1
37974 cat conftest.err >&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); } &&
37977 { ac_try='test -z "$ac_c_werror_flag"
37978 || test ! -s conftest.err'
37979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37980 (eval $ac_try) 2>&5
37981 ac_status=$?
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); }; } &&
37984 { ac_try='test -s conftest$ac_exeext'
37985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37986 (eval $ac_try) 2>&5
37987 ac_status=$?
37988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37989 (exit $ac_status); }; }; then
37990 eval "$as_ac_var=yes"
37991 else
37992 echo "$as_me: failed program was:" >&5
37993 sed 's/^/| /' conftest.$ac_ext >&5
37995 eval "$as_ac_var=no"
37997 rm -f conftest.err conftest.$ac_objext \
37998 conftest$ac_exeext conftest.$ac_ext
38000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38002 if test `eval echo '${'$as_ac_var'}'` = yes; then
38003 cat >>confdefs.h <<_ACEOF
38004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38005 _ACEOF
38008 done
38010 else
38012 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38013 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38014 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38015 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38016 echo $ECHO_N "(cached) $ECHO_C" >&6
38017 else
38021 ac_ext=cc
38022 ac_cpp='$CXXCPP $CPPFLAGS'
38023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027 cat >conftest.$ac_ext <<_ACEOF
38028 /* confdefs.h. */
38029 _ACEOF
38030 cat confdefs.h >>conftest.$ac_ext
38031 cat >>conftest.$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38033 #include <math.h>
38035 main ()
38037 _ldexpf(0, 0);
38039 return 0;
38041 _ACEOF
38042 rm -f conftest.$ac_objext
38043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38044 (eval $ac_compile) 2>conftest.er1
38045 ac_status=$?
38046 grep -v '^ *+' conftest.er1 >conftest.err
38047 rm -f conftest.er1
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } &&
38051 { ac_try='test -z "$ac_cxx_werror_flag"
38052 || test ! -s conftest.err'
38053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38054 (eval $ac_try) 2>&5
38055 ac_status=$?
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; } &&
38058 { ac_try='test -s conftest.$ac_objext'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38061 ac_status=$?
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; }; then
38064 glibcxx_cv_func__ldexpf_use=yes
38065 else
38066 echo "$as_me: failed program was:" >&5
38067 sed 's/^/| /' conftest.$ac_ext >&5
38069 glibcxx_cv_func__ldexpf_use=no
38071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38072 ac_ext=c
38073 ac_cpp='$CPP $CPPFLAGS'
38074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38083 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38085 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38087 for ac_func in _ldexpf
38089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38090 echo "$as_me:$LINENO: checking for $ac_func" >&5
38091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38092 if eval "test \"\${$as_ac_var+set}\" = set"; then
38093 echo $ECHO_N "(cached) $ECHO_C" >&6
38094 else
38095 if test x$gcc_no_link = xyes; then
38096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38098 { (exit 1); exit 1; }; }
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h. */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38108 #define $ac_func innocuous_$ac_func
38110 /* System header to define __stub macros and hopefully few prototypes,
38111 which can conflict with char $ac_func (); below.
38112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38113 <limits.h> exists even on freestanding compilers. */
38115 #ifdef __STDC__
38116 # include <limits.h>
38117 #else
38118 # include <assert.h>
38119 #endif
38121 #undef $ac_func
38123 /* Override any gcc2 internal prototype to avoid an error. */
38124 #ifdef __cplusplus
38125 extern "C"
38127 #endif
38128 /* We use char because int might match the return type of a gcc2
38129 builtin and then its argument prototype would still apply. */
38130 char $ac_func ();
38131 /* The GNU C library defines this for functions which it implements
38132 to always fail with ENOSYS. Some functions are actually named
38133 something starting with __ and the normal name is an alias. */
38134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38135 choke me
38136 #else
38137 char (*f) () = $ac_func;
38138 #endif
38139 #ifdef __cplusplus
38141 #endif
38144 main ()
38146 return f != $ac_func;
38148 return 0;
38150 _ACEOF
38151 rm -f conftest.$ac_objext conftest$ac_exeext
38152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38153 (eval $ac_link) 2>conftest.er1
38154 ac_status=$?
38155 grep -v '^ *+' conftest.er1 >conftest.err
38156 rm -f conftest.er1
38157 cat conftest.err >&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); } &&
38160 { ac_try='test -z "$ac_c_werror_flag"
38161 || test ! -s conftest.err'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38164 ac_status=$?
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; } &&
38167 { ac_try='test -s conftest$ac_exeext'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38170 ac_status=$?
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; }; then
38173 eval "$as_ac_var=yes"
38174 else
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.$ac_ext >&5
38178 eval "$as_ac_var=no"
38180 rm -f conftest.err conftest.$ac_objext \
38181 conftest$ac_exeext conftest.$ac_ext
38183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38185 if test `eval echo '${'$as_ac_var'}'` = yes; then
38186 cat >>confdefs.h <<_ACEOF
38187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38188 _ACEOF
38191 done
38198 echo "$as_me:$LINENO: checking for logf declaration" >&5
38199 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38200 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38201 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 else
38207 ac_ext=cc
38208 ac_cpp='$CXXCPP $CPPFLAGS'
38209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38213 cat >conftest.$ac_ext <<_ACEOF
38214 /* confdefs.h. */
38215 _ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219 #include <math.h>
38220 #ifdef HAVE_IEEEFP_H
38221 #include <ieeefp.h>
38222 #endif
38225 main ()
38227 logf(0);
38229 return 0;
38231 _ACEOF
38232 rm -f conftest.$ac_objext
38233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38234 (eval $ac_compile) 2>conftest.er1
38235 ac_status=$?
38236 grep -v '^ *+' conftest.er1 >conftest.err
38237 rm -f conftest.er1
38238 cat conftest.err >&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } &&
38241 { ac_try='test -z "$ac_cxx_werror_flag"
38242 || test ! -s conftest.err'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38245 ac_status=$?
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; } &&
38248 { ac_try='test -s conftest.$ac_objext'
38249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38250 (eval $ac_try) 2>&5
38251 ac_status=$?
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); }; }; then
38254 glibcxx_cv_func_logf_use=yes
38255 else
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.$ac_ext >&5
38259 glibcxx_cv_func_logf_use=no
38261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38262 ac_ext=c
38263 ac_cpp='$CPP $CPPFLAGS'
38264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38273 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38275 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38277 for ac_func in logf
38279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38280 echo "$as_me:$LINENO: checking for $ac_func" >&5
38281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38282 if eval "test \"\${$as_ac_var+set}\" = set"; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 else
38285 if test x$gcc_no_link = xyes; then
38286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38288 { (exit 1); exit 1; }; }
38290 cat >conftest.$ac_ext <<_ACEOF
38291 /* confdefs.h. */
38292 _ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38298 #define $ac_func innocuous_$ac_func
38300 /* System header to define __stub macros and hopefully few prototypes,
38301 which can conflict with char $ac_func (); below.
38302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38303 <limits.h> exists even on freestanding compilers. */
38305 #ifdef __STDC__
38306 # include <limits.h>
38307 #else
38308 # include <assert.h>
38309 #endif
38311 #undef $ac_func
38313 /* Override any gcc2 internal prototype to avoid an error. */
38314 #ifdef __cplusplus
38315 extern "C"
38317 #endif
38318 /* We use char because int might match the return type of a gcc2
38319 builtin and then its argument prototype would still apply. */
38320 char $ac_func ();
38321 /* The GNU C library defines this for functions which it implements
38322 to always fail with ENOSYS. Some functions are actually named
38323 something starting with __ and the normal name is an alias. */
38324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38325 choke me
38326 #else
38327 char (*f) () = $ac_func;
38328 #endif
38329 #ifdef __cplusplus
38331 #endif
38334 main ()
38336 return f != $ac_func;
38338 return 0;
38340 _ACEOF
38341 rm -f conftest.$ac_objext conftest$ac_exeext
38342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38343 (eval $ac_link) 2>conftest.er1
38344 ac_status=$?
38345 grep -v '^ *+' conftest.er1 >conftest.err
38346 rm -f conftest.er1
38347 cat conftest.err >&5
38348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38349 (exit $ac_status); } &&
38350 { ac_try='test -z "$ac_c_werror_flag"
38351 || test ! -s conftest.err'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38354 ac_status=$?
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; } &&
38357 { ac_try='test -s conftest$ac_exeext'
38358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38359 (eval $ac_try) 2>&5
38360 ac_status=$?
38361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362 (exit $ac_status); }; }; then
38363 eval "$as_ac_var=yes"
38364 else
38365 echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.$ac_ext >&5
38368 eval "$as_ac_var=no"
38370 rm -f conftest.err conftest.$ac_objext \
38371 conftest$ac_exeext conftest.$ac_ext
38373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38375 if test `eval echo '${'$as_ac_var'}'` = yes; then
38376 cat >>confdefs.h <<_ACEOF
38377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38378 _ACEOF
38381 done
38383 else
38385 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38386 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38387 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38388 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38389 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 else
38394 ac_ext=cc
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38400 cat >conftest.$ac_ext <<_ACEOF
38401 /* confdefs.h. */
38402 _ACEOF
38403 cat confdefs.h >>conftest.$ac_ext
38404 cat >>conftest.$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38406 #include <math.h>
38407 #ifdef HAVE_IEEEFP_H
38408 #include <ieeefp.h>
38409 #endif
38412 main ()
38414 _logf(0);
38416 return 0;
38418 _ACEOF
38419 rm -f conftest.$ac_objext
38420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38421 (eval $ac_compile) 2>conftest.er1
38422 ac_status=$?
38423 grep -v '^ *+' conftest.er1 >conftest.err
38424 rm -f conftest.er1
38425 cat conftest.err >&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); } &&
38428 { ac_try='test -z "$ac_cxx_werror_flag"
38429 || test ! -s conftest.err'
38430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38431 (eval $ac_try) 2>&5
38432 ac_status=$?
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); }; } &&
38435 { ac_try='test -s conftest.$ac_objext'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38438 ac_status=$?
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; }; then
38441 glibcxx_cv_func__logf_use=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38446 glibcxx_cv_func__logf_use=no
38448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38449 ac_ext=c
38450 ac_cpp='$CPP $CPPFLAGS'
38451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38460 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38462 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38464 for ac_func in _logf
38466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38467 echo "$as_me:$LINENO: checking for $ac_func" >&5
38468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38469 if eval "test \"\${$as_ac_var+set}\" = set"; then
38470 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 else
38472 if test x$gcc_no_link = xyes; then
38473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38475 { (exit 1); exit 1; }; }
38477 cat >conftest.$ac_ext <<_ACEOF
38478 /* confdefs.h. */
38479 _ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38485 #define $ac_func innocuous_$ac_func
38487 /* System header to define __stub macros and hopefully few prototypes,
38488 which can conflict with char $ac_func (); below.
38489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38490 <limits.h> exists even on freestanding compilers. */
38492 #ifdef __STDC__
38493 # include <limits.h>
38494 #else
38495 # include <assert.h>
38496 #endif
38498 #undef $ac_func
38500 /* Override any gcc2 internal prototype to avoid an error. */
38501 #ifdef __cplusplus
38502 extern "C"
38504 #endif
38505 /* We use char because int might match the return type of a gcc2
38506 builtin and then its argument prototype would still apply. */
38507 char $ac_func ();
38508 /* The GNU C library defines this for functions which it implements
38509 to always fail with ENOSYS. Some functions are actually named
38510 something starting with __ and the normal name is an alias. */
38511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38512 choke me
38513 #else
38514 char (*f) () = $ac_func;
38515 #endif
38516 #ifdef __cplusplus
38518 #endif
38521 main ()
38523 return f != $ac_func;
38525 return 0;
38527 _ACEOF
38528 rm -f conftest.$ac_objext conftest$ac_exeext
38529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38530 (eval $ac_link) 2>conftest.er1
38531 ac_status=$?
38532 grep -v '^ *+' conftest.er1 >conftest.err
38533 rm -f conftest.er1
38534 cat conftest.err >&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } &&
38537 { ac_try='test -z "$ac_c_werror_flag"
38538 || test ! -s conftest.err'
38539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38540 (eval $ac_try) 2>&5
38541 ac_status=$?
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); }; } &&
38544 { ac_try='test -s conftest$ac_exeext'
38545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38546 (eval $ac_try) 2>&5
38547 ac_status=$?
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); }; }; then
38550 eval "$as_ac_var=yes"
38551 else
38552 echo "$as_me: failed program was:" >&5
38553 sed 's/^/| /' conftest.$ac_ext >&5
38555 eval "$as_ac_var=no"
38557 rm -f conftest.err conftest.$ac_objext \
38558 conftest$ac_exeext conftest.$ac_ext
38560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38562 if test `eval echo '${'$as_ac_var'}'` = yes; then
38563 cat >>confdefs.h <<_ACEOF
38564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38565 _ACEOF
38568 done
38575 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38576 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38577 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38578 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38584 ac_ext=cc
38585 ac_cpp='$CXXCPP $CPPFLAGS'
38586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 cat >conftest.$ac_ext <<_ACEOF
38591 /* confdefs.h. */
38592 _ACEOF
38593 cat confdefs.h >>conftest.$ac_ext
38594 cat >>conftest.$ac_ext <<_ACEOF
38595 /* end confdefs.h. */
38596 #include <math.h>
38597 #ifdef HAVE_IEEEFP_H
38598 #include <ieeefp.h>
38599 #endif
38602 main ()
38604 log10f(0);
38606 return 0;
38608 _ACEOF
38609 rm -f conftest.$ac_objext
38610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38611 (eval $ac_compile) 2>conftest.er1
38612 ac_status=$?
38613 grep -v '^ *+' conftest.er1 >conftest.err
38614 rm -f conftest.er1
38615 cat conftest.err >&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); } &&
38618 { ac_try='test -z "$ac_cxx_werror_flag"
38619 || test ! -s conftest.err'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; } &&
38625 { ac_try='test -s conftest.$ac_objext'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38628 ac_status=$?
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; }; then
38631 glibcxx_cv_func_log10f_use=yes
38632 else
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.$ac_ext >&5
38636 glibcxx_cv_func_log10f_use=no
38638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38639 ac_ext=c
38640 ac_cpp='$CPP $CPPFLAGS'
38641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38650 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38652 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38654 for ac_func in log10f
38656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38657 echo "$as_me:$LINENO: checking for $ac_func" >&5
38658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38659 if eval "test \"\${$as_ac_var+set}\" = set"; then
38660 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 else
38662 if test x$gcc_no_link = xyes; then
38663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38665 { (exit 1); exit 1; }; }
38667 cat >conftest.$ac_ext <<_ACEOF
38668 /* confdefs.h. */
38669 _ACEOF
38670 cat confdefs.h >>conftest.$ac_ext
38671 cat >>conftest.$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38675 #define $ac_func innocuous_$ac_func
38677 /* System header to define __stub macros and hopefully few prototypes,
38678 which can conflict with char $ac_func (); below.
38679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38680 <limits.h> exists even on freestanding compilers. */
38682 #ifdef __STDC__
38683 # include <limits.h>
38684 #else
38685 # include <assert.h>
38686 #endif
38688 #undef $ac_func
38690 /* Override any gcc2 internal prototype to avoid an error. */
38691 #ifdef __cplusplus
38692 extern "C"
38694 #endif
38695 /* We use char because int might match the return type of a gcc2
38696 builtin and then its argument prototype would still apply. */
38697 char $ac_func ();
38698 /* The GNU C library defines this for functions which it implements
38699 to always fail with ENOSYS. Some functions are actually named
38700 something starting with __ and the normal name is an alias. */
38701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38702 choke me
38703 #else
38704 char (*f) () = $ac_func;
38705 #endif
38706 #ifdef __cplusplus
38708 #endif
38711 main ()
38713 return f != $ac_func;
38715 return 0;
38717 _ACEOF
38718 rm -f conftest.$ac_objext conftest$ac_exeext
38719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38720 (eval $ac_link) 2>conftest.er1
38721 ac_status=$?
38722 grep -v '^ *+' conftest.er1 >conftest.err
38723 rm -f conftest.er1
38724 cat conftest.err >&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); } &&
38727 { ac_try='test -z "$ac_c_werror_flag"
38728 || test ! -s conftest.err'
38729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38730 (eval $ac_try) 2>&5
38731 ac_status=$?
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); }; } &&
38734 { ac_try='test -s conftest$ac_exeext'
38735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38736 (eval $ac_try) 2>&5
38737 ac_status=$?
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); }; }; then
38740 eval "$as_ac_var=yes"
38741 else
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38745 eval "$as_ac_var=no"
38747 rm -f conftest.err conftest.$ac_objext \
38748 conftest$ac_exeext conftest.$ac_ext
38750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38752 if test `eval echo '${'$as_ac_var'}'` = yes; then
38753 cat >>confdefs.h <<_ACEOF
38754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38755 _ACEOF
38758 done
38760 else
38762 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38763 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38764 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38765 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38766 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 else
38771 ac_ext=cc
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777 cat >conftest.$ac_ext <<_ACEOF
38778 /* confdefs.h. */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 #include <math.h>
38784 #ifdef HAVE_IEEEFP_H
38785 #include <ieeefp.h>
38786 #endif
38789 main ()
38791 _log10f(0);
38793 return 0;
38795 _ACEOF
38796 rm -f conftest.$ac_objext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38798 (eval $ac_compile) 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } &&
38805 { ac_try='test -z "$ac_cxx_werror_flag"
38806 || test ! -s conftest.err'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; } &&
38812 { ac_try='test -s conftest.$ac_objext'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38815 ac_status=$?
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; }; then
38818 glibcxx_cv_func__log10f_use=yes
38819 else
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.$ac_ext >&5
38823 glibcxx_cv_func__log10f_use=no
38825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38826 ac_ext=c
38827 ac_cpp='$CPP $CPPFLAGS'
38828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38837 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38839 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38841 for ac_func in _log10f
38843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38844 echo "$as_me:$LINENO: checking for $ac_func" >&5
38845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38846 if eval "test \"\${$as_ac_var+set}\" = set"; then
38847 echo $ECHO_N "(cached) $ECHO_C" >&6
38848 else
38849 if test x$gcc_no_link = xyes; then
38850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38852 { (exit 1); exit 1; }; }
38854 cat >conftest.$ac_ext <<_ACEOF
38855 /* confdefs.h. */
38856 _ACEOF
38857 cat confdefs.h >>conftest.$ac_ext
38858 cat >>conftest.$ac_ext <<_ACEOF
38859 /* end confdefs.h. */
38860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38862 #define $ac_func innocuous_$ac_func
38864 /* System header to define __stub macros and hopefully few prototypes,
38865 which can conflict with char $ac_func (); below.
38866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38867 <limits.h> exists even on freestanding compilers. */
38869 #ifdef __STDC__
38870 # include <limits.h>
38871 #else
38872 # include <assert.h>
38873 #endif
38875 #undef $ac_func
38877 /* Override any gcc2 internal prototype to avoid an error. */
38878 #ifdef __cplusplus
38879 extern "C"
38881 #endif
38882 /* We use char because int might match the return type of a gcc2
38883 builtin and then its argument prototype would still apply. */
38884 char $ac_func ();
38885 /* The GNU C library defines this for functions which it implements
38886 to always fail with ENOSYS. Some functions are actually named
38887 something starting with __ and the normal name is an alias. */
38888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38889 choke me
38890 #else
38891 char (*f) () = $ac_func;
38892 #endif
38893 #ifdef __cplusplus
38895 #endif
38898 main ()
38900 return f != $ac_func;
38902 return 0;
38904 _ACEOF
38905 rm -f conftest.$ac_objext conftest$ac_exeext
38906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38907 (eval $ac_link) 2>conftest.er1
38908 ac_status=$?
38909 grep -v '^ *+' conftest.er1 >conftest.err
38910 rm -f conftest.er1
38911 cat conftest.err >&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } &&
38914 { ac_try='test -z "$ac_c_werror_flag"
38915 || test ! -s conftest.err'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38918 ac_status=$?
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; } &&
38921 { ac_try='test -s conftest$ac_exeext'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38924 ac_status=$?
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; }; then
38927 eval "$as_ac_var=yes"
38928 else
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38932 eval "$as_ac_var=no"
38934 rm -f conftest.err conftest.$ac_objext \
38935 conftest$ac_exeext conftest.$ac_ext
38937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38939 if test `eval echo '${'$as_ac_var'}'` = yes; then
38940 cat >>confdefs.h <<_ACEOF
38941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38942 _ACEOF
38945 done
38952 echo "$as_me:$LINENO: checking for modff declaration" >&5
38953 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38954 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38955 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 else
38961 ac_ext=cc
38962 ac_cpp='$CXXCPP $CPPFLAGS'
38963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38967 cat >conftest.$ac_ext <<_ACEOF
38968 /* confdefs.h. */
38969 _ACEOF
38970 cat confdefs.h >>conftest.$ac_ext
38971 cat >>conftest.$ac_ext <<_ACEOF
38972 /* end confdefs.h. */
38973 #include <math.h>
38975 main ()
38977 modff(0, 0);
38979 return 0;
38981 _ACEOF
38982 rm -f conftest.$ac_objext
38983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38984 (eval $ac_compile) 2>conftest.er1
38985 ac_status=$?
38986 grep -v '^ *+' conftest.er1 >conftest.err
38987 rm -f conftest.er1
38988 cat conftest.err >&5
38989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38990 (exit $ac_status); } &&
38991 { ac_try='test -z "$ac_cxx_werror_flag"
38992 || test ! -s conftest.err'
38993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38994 (eval $ac_try) 2>&5
38995 ac_status=$?
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); }; } &&
38998 { ac_try='test -s conftest.$ac_objext'
38999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39000 (eval $ac_try) 2>&5
39001 ac_status=$?
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); }; }; then
39004 glibcxx_cv_func_modff_use=yes
39005 else
39006 echo "$as_me: failed program was:" >&5
39007 sed 's/^/| /' conftest.$ac_ext >&5
39009 glibcxx_cv_func_modff_use=no
39011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39023 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39025 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39027 for ac_func in modff
39029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39030 echo "$as_me:$LINENO: checking for $ac_func" >&5
39031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39032 if eval "test \"\${$as_ac_var+set}\" = set"; then
39033 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 else
39035 if test x$gcc_no_link = xyes; then
39036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39038 { (exit 1); exit 1; }; }
39040 cat >conftest.$ac_ext <<_ACEOF
39041 /* confdefs.h. */
39042 _ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39048 #define $ac_func innocuous_$ac_func
39050 /* System header to define __stub macros and hopefully few prototypes,
39051 which can conflict with char $ac_func (); below.
39052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39053 <limits.h> exists even on freestanding compilers. */
39055 #ifdef __STDC__
39056 # include <limits.h>
39057 #else
39058 # include <assert.h>
39059 #endif
39061 #undef $ac_func
39063 /* Override any gcc2 internal prototype to avoid an error. */
39064 #ifdef __cplusplus
39065 extern "C"
39067 #endif
39068 /* We use char because int might match the return type of a gcc2
39069 builtin and then its argument prototype would still apply. */
39070 char $ac_func ();
39071 /* The GNU C library defines this for functions which it implements
39072 to always fail with ENOSYS. Some functions are actually named
39073 something starting with __ and the normal name is an alias. */
39074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39075 choke me
39076 #else
39077 char (*f) () = $ac_func;
39078 #endif
39079 #ifdef __cplusplus
39081 #endif
39084 main ()
39086 return f != $ac_func;
39088 return 0;
39090 _ACEOF
39091 rm -f conftest.$ac_objext conftest$ac_exeext
39092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39093 (eval $ac_link) 2>conftest.er1
39094 ac_status=$?
39095 grep -v '^ *+' conftest.er1 >conftest.err
39096 rm -f conftest.er1
39097 cat conftest.err >&5
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); } &&
39100 { ac_try='test -z "$ac_c_werror_flag"
39101 || test ! -s conftest.err'
39102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39103 (eval $ac_try) 2>&5
39104 ac_status=$?
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); }; } &&
39107 { ac_try='test -s conftest$ac_exeext'
39108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39109 (eval $ac_try) 2>&5
39110 ac_status=$?
39111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39112 (exit $ac_status); }; }; then
39113 eval "$as_ac_var=yes"
39114 else
39115 echo "$as_me: failed program was:" >&5
39116 sed 's/^/| /' conftest.$ac_ext >&5
39118 eval "$as_ac_var=no"
39120 rm -f conftest.err conftest.$ac_objext \
39121 conftest$ac_exeext conftest.$ac_ext
39123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39125 if test `eval echo '${'$as_ac_var'}'` = yes; then
39126 cat >>confdefs.h <<_ACEOF
39127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39128 _ACEOF
39131 done
39133 else
39135 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39136 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39137 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39138 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39140 else
39144 ac_ext=cc
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39150 cat >conftest.$ac_ext <<_ACEOF
39151 /* confdefs.h. */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 #include <math.h>
39158 main ()
39160 _modff(0, 0);
39162 return 0;
39164 _ACEOF
39165 rm -f conftest.$ac_objext
39166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39167 (eval $ac_compile) 2>conftest.er1
39168 ac_status=$?
39169 grep -v '^ *+' conftest.er1 >conftest.err
39170 rm -f conftest.er1
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } &&
39174 { ac_try='test -z "$ac_cxx_werror_flag"
39175 || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39178 ac_status=$?
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try='test -s conftest.$ac_objext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39184 ac_status=$?
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 glibcxx_cv_func__modff_use=yes
39188 else
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39192 glibcxx_cv_func__modff_use=no
39194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39195 ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39206 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39208 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39210 for ac_func in _modff
39212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39213 echo "$as_me:$LINENO: checking for $ac_func" >&5
39214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39215 if eval "test \"\${$as_ac_var+set}\" = set"; then
39216 echo $ECHO_N "(cached) $ECHO_C" >&6
39217 else
39218 if test x$gcc_no_link = xyes; then
39219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39221 { (exit 1); exit 1; }; }
39223 cat >conftest.$ac_ext <<_ACEOF
39224 /* confdefs.h. */
39225 _ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39231 #define $ac_func innocuous_$ac_func
39233 /* System header to define __stub macros and hopefully few prototypes,
39234 which can conflict with char $ac_func (); below.
39235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39236 <limits.h> exists even on freestanding compilers. */
39238 #ifdef __STDC__
39239 # include <limits.h>
39240 #else
39241 # include <assert.h>
39242 #endif
39244 #undef $ac_func
39246 /* Override any gcc2 internal prototype to avoid an error. */
39247 #ifdef __cplusplus
39248 extern "C"
39250 #endif
39251 /* We use char because int might match the return type of a gcc2
39252 builtin and then its argument prototype would still apply. */
39253 char $ac_func ();
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39258 choke me
39259 #else
39260 char (*f) () = $ac_func;
39261 #endif
39262 #ifdef __cplusplus
39264 #endif
39267 main ()
39269 return f != $ac_func;
39271 return 0;
39273 _ACEOF
39274 rm -f conftest.$ac_objext conftest$ac_exeext
39275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39276 (eval $ac_link) 2>conftest.er1
39277 ac_status=$?
39278 grep -v '^ *+' conftest.er1 >conftest.err
39279 rm -f conftest.er1
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } &&
39283 { ac_try='test -z "$ac_c_werror_flag"
39284 || test ! -s conftest.err'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39287 ac_status=$?
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; } &&
39290 { ac_try='test -s conftest$ac_exeext'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; }; then
39296 eval "$as_ac_var=yes"
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39301 eval "$as_ac_var=no"
39303 rm -f conftest.err conftest.$ac_objext \
39304 conftest$ac_exeext conftest.$ac_ext
39306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39308 if test `eval echo '${'$as_ac_var'}'` = yes; then
39309 cat >>confdefs.h <<_ACEOF
39310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39311 _ACEOF
39314 done
39321 echo "$as_me:$LINENO: checking for powf declaration" >&5
39322 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39323 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39324 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39330 ac_ext=cc
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 #include <math.h>
39344 main ()
39346 powf(0, 0);
39348 return 0;
39350 _ACEOF
39351 rm -f conftest.$ac_objext
39352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39353 (eval $ac_compile) 2>conftest.er1
39354 ac_status=$?
39355 grep -v '^ *+' conftest.er1 >conftest.err
39356 rm -f conftest.er1
39357 cat conftest.err >&5
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); } &&
39360 { ac_try='test -z "$ac_cxx_werror_flag"
39361 || test ! -s conftest.err'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39364 ac_status=$?
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; } &&
39367 { ac_try='test -s conftest.$ac_objext'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39370 ac_status=$?
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; }; then
39373 glibcxx_cv_func_powf_use=yes
39374 else
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.$ac_ext >&5
39378 glibcxx_cv_func_powf_use=no
39380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39381 ac_ext=c
39382 ac_cpp='$CPP $CPPFLAGS'
39383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39392 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39394 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39396 for ac_func in powf
39398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39399 echo "$as_me:$LINENO: checking for $ac_func" >&5
39400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39401 if eval "test \"\${$as_ac_var+set}\" = set"; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 else
39404 if test x$gcc_no_link = xyes; then
39405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39407 { (exit 1); exit 1; }; }
39409 cat >conftest.$ac_ext <<_ACEOF
39410 /* confdefs.h. */
39411 _ACEOF
39412 cat confdefs.h >>conftest.$ac_ext
39413 cat >>conftest.$ac_ext <<_ACEOF
39414 /* end confdefs.h. */
39415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39417 #define $ac_func innocuous_$ac_func
39419 /* System header to define __stub macros and hopefully few prototypes,
39420 which can conflict with char $ac_func (); below.
39421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39422 <limits.h> exists even on freestanding compilers. */
39424 #ifdef __STDC__
39425 # include <limits.h>
39426 #else
39427 # include <assert.h>
39428 #endif
39430 #undef $ac_func
39432 /* Override any gcc2 internal prototype to avoid an error. */
39433 #ifdef __cplusplus
39434 extern "C"
39436 #endif
39437 /* We use char because int might match the return type of a gcc2
39438 builtin and then its argument prototype would still apply. */
39439 char $ac_func ();
39440 /* The GNU C library defines this for functions which it implements
39441 to always fail with ENOSYS. Some functions are actually named
39442 something starting with __ and the normal name is an alias. */
39443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39444 choke me
39445 #else
39446 char (*f) () = $ac_func;
39447 #endif
39448 #ifdef __cplusplus
39450 #endif
39453 main ()
39455 return f != $ac_func;
39457 return 0;
39459 _ACEOF
39460 rm -f conftest.$ac_objext conftest$ac_exeext
39461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39462 (eval $ac_link) 2>conftest.er1
39463 ac_status=$?
39464 grep -v '^ *+' conftest.er1 >conftest.err
39465 rm -f conftest.er1
39466 cat conftest.err >&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); } &&
39469 { ac_try='test -z "$ac_c_werror_flag"
39470 || test ! -s conftest.err'
39471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39472 (eval $ac_try) 2>&5
39473 ac_status=$?
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); }; } &&
39476 { ac_try='test -s conftest$ac_exeext'
39477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39478 (eval $ac_try) 2>&5
39479 ac_status=$?
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); }; }; then
39482 eval "$as_ac_var=yes"
39483 else
39484 echo "$as_me: failed program was:" >&5
39485 sed 's/^/| /' conftest.$ac_ext >&5
39487 eval "$as_ac_var=no"
39489 rm -f conftest.err conftest.$ac_objext \
39490 conftest$ac_exeext conftest.$ac_ext
39492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39494 if test `eval echo '${'$as_ac_var'}'` = yes; then
39495 cat >>confdefs.h <<_ACEOF
39496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39497 _ACEOF
39500 done
39502 else
39504 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39505 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39506 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39507 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39508 echo $ECHO_N "(cached) $ECHO_C" >&6
39509 else
39513 ac_ext=cc
39514 ac_cpp='$CXXCPP $CPPFLAGS'
39515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39519 cat >conftest.$ac_ext <<_ACEOF
39520 /* confdefs.h. */
39521 _ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 #include <math.h>
39527 main ()
39529 _powf(0, 0);
39531 return 0;
39533 _ACEOF
39534 rm -f conftest.$ac_objext
39535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39536 (eval $ac_compile) 2>conftest.er1
39537 ac_status=$?
39538 grep -v '^ *+' conftest.er1 >conftest.err
39539 rm -f conftest.er1
39540 cat conftest.err >&5
39541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542 (exit $ac_status); } &&
39543 { ac_try='test -z "$ac_cxx_werror_flag"
39544 || test ! -s conftest.err'
39545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39546 (eval $ac_try) 2>&5
39547 ac_status=$?
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); }; } &&
39550 { ac_try='test -s conftest.$ac_objext'
39551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39552 (eval $ac_try) 2>&5
39553 ac_status=$?
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); }; }; then
39556 glibcxx_cv_func__powf_use=yes
39557 else
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39561 glibcxx_cv_func__powf_use=no
39563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39564 ac_ext=c
39565 ac_cpp='$CPP $CPPFLAGS'
39566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39575 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39577 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39579 for ac_func in _powf
39581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39582 echo "$as_me:$LINENO: checking for $ac_func" >&5
39583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39584 if eval "test \"\${$as_ac_var+set}\" = set"; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587 if test x$gcc_no_link = xyes; then
39588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39590 { (exit 1); exit 1; }; }
39592 cat >conftest.$ac_ext <<_ACEOF
39593 /* confdefs.h. */
39594 _ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39600 #define $ac_func innocuous_$ac_func
39602 /* System header to define __stub macros and hopefully few prototypes,
39603 which can conflict with char $ac_func (); below.
39604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39605 <limits.h> exists even on freestanding compilers. */
39607 #ifdef __STDC__
39608 # include <limits.h>
39609 #else
39610 # include <assert.h>
39611 #endif
39613 #undef $ac_func
39615 /* Override any gcc2 internal prototype to avoid an error. */
39616 #ifdef __cplusplus
39617 extern "C"
39619 #endif
39620 /* We use char because int might match the return type of a gcc2
39621 builtin and then its argument prototype would still apply. */
39622 char $ac_func ();
39623 /* The GNU C library defines this for functions which it implements
39624 to always fail with ENOSYS. Some functions are actually named
39625 something starting with __ and the normal name is an alias. */
39626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39627 choke me
39628 #else
39629 char (*f) () = $ac_func;
39630 #endif
39631 #ifdef __cplusplus
39633 #endif
39636 main ()
39638 return f != $ac_func;
39640 return 0;
39642 _ACEOF
39643 rm -f conftest.$ac_objext conftest$ac_exeext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39645 (eval $ac_link) 2>conftest.er1
39646 ac_status=$?
39647 grep -v '^ *+' conftest.er1 >conftest.err
39648 rm -f conftest.er1
39649 cat conftest.err >&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } &&
39652 { ac_try='test -z "$ac_c_werror_flag"
39653 || test ! -s conftest.err'
39654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39655 (eval $ac_try) 2>&5
39656 ac_status=$?
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); }; } &&
39659 { ac_try='test -s conftest$ac_exeext'
39660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39661 (eval $ac_try) 2>&5
39662 ac_status=$?
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); }; }; then
39665 eval "$as_ac_var=yes"
39666 else
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39670 eval "$as_ac_var=no"
39672 rm -f conftest.err conftest.$ac_objext \
39673 conftest$ac_exeext conftest.$ac_ext
39675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39677 if test `eval echo '${'$as_ac_var'}'` = yes; then
39678 cat >>confdefs.h <<_ACEOF
39679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39680 _ACEOF
39683 done
39690 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39691 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39692 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39693 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39694 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 else
39699 ac_ext=cc
39700 ac_cpp='$CXXCPP $CPPFLAGS'
39701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39705 cat >conftest.$ac_ext <<_ACEOF
39706 /* confdefs.h. */
39707 _ACEOF
39708 cat confdefs.h >>conftest.$ac_ext
39709 cat >>conftest.$ac_ext <<_ACEOF
39710 /* end confdefs.h. */
39711 #include <math.h>
39712 #ifdef HAVE_IEEEFP_H
39713 #include <ieeefp.h>
39714 #endif
39717 main ()
39719 sqrtf(0);
39721 return 0;
39723 _ACEOF
39724 rm -f conftest.$ac_objext
39725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39726 (eval $ac_compile) 2>conftest.er1
39727 ac_status=$?
39728 grep -v '^ *+' conftest.er1 >conftest.err
39729 rm -f conftest.er1
39730 cat conftest.err >&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } &&
39733 { ac_try='test -z "$ac_cxx_werror_flag"
39734 || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try='test -s conftest.$ac_objext'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39743 ac_status=$?
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; }; then
39746 glibcxx_cv_func_sqrtf_use=yes
39747 else
39748 echo "$as_me: failed program was:" >&5
39749 sed 's/^/| /' conftest.$ac_ext >&5
39751 glibcxx_cv_func_sqrtf_use=no
39753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39754 ac_ext=c
39755 ac_cpp='$CPP $CPPFLAGS'
39756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39765 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39767 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39769 for ac_func in sqrtf
39771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39772 echo "$as_me:$LINENO: checking for $ac_func" >&5
39773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39774 if eval "test \"\${$as_ac_var+set}\" = set"; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777 if test x$gcc_no_link = xyes; then
39778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39780 { (exit 1); exit 1; }; }
39782 cat >conftest.$ac_ext <<_ACEOF
39783 /* confdefs.h. */
39784 _ACEOF
39785 cat confdefs.h >>conftest.$ac_ext
39786 cat >>conftest.$ac_ext <<_ACEOF
39787 /* end confdefs.h. */
39788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39790 #define $ac_func innocuous_$ac_func
39792 /* System header to define __stub macros and hopefully few prototypes,
39793 which can conflict with char $ac_func (); below.
39794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39795 <limits.h> exists even on freestanding compilers. */
39797 #ifdef __STDC__
39798 # include <limits.h>
39799 #else
39800 # include <assert.h>
39801 #endif
39803 #undef $ac_func
39805 /* Override any gcc2 internal prototype to avoid an error. */
39806 #ifdef __cplusplus
39807 extern "C"
39809 #endif
39810 /* We use char because int might match the return type of a gcc2
39811 builtin and then its argument prototype would still apply. */
39812 char $ac_func ();
39813 /* The GNU C library defines this for functions which it implements
39814 to always fail with ENOSYS. Some functions are actually named
39815 something starting with __ and the normal name is an alias. */
39816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39817 choke me
39818 #else
39819 char (*f) () = $ac_func;
39820 #endif
39821 #ifdef __cplusplus
39823 #endif
39826 main ()
39828 return f != $ac_func;
39830 return 0;
39832 _ACEOF
39833 rm -f conftest.$ac_objext conftest$ac_exeext
39834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39835 (eval $ac_link) 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } &&
39842 { ac_try='test -z "$ac_c_werror_flag"
39843 || test ! -s conftest.err'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try='test -s conftest$ac_exeext'
39850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39851 (eval $ac_try) 2>&5
39852 ac_status=$?
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); }; }; then
39855 eval "$as_ac_var=yes"
39856 else
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39860 eval "$as_ac_var=no"
39862 rm -f conftest.err conftest.$ac_objext \
39863 conftest$ac_exeext conftest.$ac_ext
39865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39867 if test `eval echo '${'$as_ac_var'}'` = yes; then
39868 cat >>confdefs.h <<_ACEOF
39869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39870 _ACEOF
39873 done
39875 else
39877 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39878 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39879 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39880 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39881 echo $ECHO_N "(cached) $ECHO_C" >&6
39882 else
39886 ac_ext=cc
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39892 cat >conftest.$ac_ext <<_ACEOF
39893 /* confdefs.h. */
39894 _ACEOF
39895 cat confdefs.h >>conftest.$ac_ext
39896 cat >>conftest.$ac_ext <<_ACEOF
39897 /* end confdefs.h. */
39898 #include <math.h>
39899 #ifdef HAVE_IEEEFP_H
39900 #include <ieeefp.h>
39901 #endif
39904 main ()
39906 _sqrtf(0);
39908 return 0;
39910 _ACEOF
39911 rm -f conftest.$ac_objext
39912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39913 (eval $ac_compile) 2>conftest.er1
39914 ac_status=$?
39915 grep -v '^ *+' conftest.er1 >conftest.err
39916 rm -f conftest.er1
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } &&
39920 { ac_try='test -z "$ac_cxx_werror_flag"
39921 || test ! -s conftest.err'
39922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39923 (eval $ac_try) 2>&5
39924 ac_status=$?
39925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926 (exit $ac_status); }; } &&
39927 { ac_try='test -s conftest.$ac_objext'
39928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39929 (eval $ac_try) 2>&5
39930 ac_status=$?
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); }; }; then
39933 glibcxx_cv_func__sqrtf_use=yes
39934 else
39935 echo "$as_me: failed program was:" >&5
39936 sed 's/^/| /' conftest.$ac_ext >&5
39938 glibcxx_cv_func__sqrtf_use=no
39940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39941 ac_ext=c
39942 ac_cpp='$CPP $CPPFLAGS'
39943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39952 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39954 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39956 for ac_func in _sqrtf
39958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39959 echo "$as_me:$LINENO: checking for $ac_func" >&5
39960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39961 if eval "test \"\${$as_ac_var+set}\" = set"; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39963 else
39964 if test x$gcc_no_link = xyes; then
39965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39967 { (exit 1); exit 1; }; }
39969 cat >conftest.$ac_ext <<_ACEOF
39970 /* confdefs.h. */
39971 _ACEOF
39972 cat confdefs.h >>conftest.$ac_ext
39973 cat >>conftest.$ac_ext <<_ACEOF
39974 /* end confdefs.h. */
39975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39977 #define $ac_func innocuous_$ac_func
39979 /* System header to define __stub macros and hopefully few prototypes,
39980 which can conflict with char $ac_func (); below.
39981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39982 <limits.h> exists even on freestanding compilers. */
39984 #ifdef __STDC__
39985 # include <limits.h>
39986 #else
39987 # include <assert.h>
39988 #endif
39990 #undef $ac_func
39992 /* Override any gcc2 internal prototype to avoid an error. */
39993 #ifdef __cplusplus
39994 extern "C"
39996 #endif
39997 /* We use char because int might match the return type of a gcc2
39998 builtin and then its argument prototype would still apply. */
39999 char $ac_func ();
40000 /* The GNU C library defines this for functions which it implements
40001 to always fail with ENOSYS. Some functions are actually named
40002 something starting with __ and the normal name is an alias. */
40003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40004 choke me
40005 #else
40006 char (*f) () = $ac_func;
40007 #endif
40008 #ifdef __cplusplus
40010 #endif
40013 main ()
40015 return f != $ac_func;
40017 return 0;
40019 _ACEOF
40020 rm -f conftest.$ac_objext conftest$ac_exeext
40021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40022 (eval $ac_link) 2>conftest.er1
40023 ac_status=$?
40024 grep -v '^ *+' conftest.er1 >conftest.err
40025 rm -f conftest.er1
40026 cat conftest.err >&5
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); } &&
40029 { ac_try='test -z "$ac_c_werror_flag"
40030 || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest$ac_exeext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 eval "$as_ac_var=yes"
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40047 eval "$as_ac_var=no"
40049 rm -f conftest.err conftest.$ac_objext \
40050 conftest$ac_exeext conftest.$ac_ext
40052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40054 if test `eval echo '${'$as_ac_var'}'` = yes; then
40055 cat >>confdefs.h <<_ACEOF
40056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40057 _ACEOF
40060 done
40067 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40068 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40069 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40070 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40076 ac_ext=cc
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat >conftest.$ac_ext <<_ACEOF
40083 /* confdefs.h. */
40084 _ACEOF
40085 cat confdefs.h >>conftest.$ac_ext
40086 cat >>conftest.$ac_ext <<_ACEOF
40087 /* end confdefs.h. */
40088 #include <math.h>
40090 main ()
40092 sincosf(0, 0, 0);
40094 return 0;
40096 _ACEOF
40097 rm -f conftest.$ac_objext
40098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40099 (eval $ac_compile) 2>conftest.er1
40100 ac_status=$?
40101 grep -v '^ *+' conftest.er1 >conftest.err
40102 rm -f conftest.er1
40103 cat conftest.err >&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } &&
40106 { ac_try='test -z "$ac_cxx_werror_flag"
40107 || test ! -s conftest.err'
40108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40109 (eval $ac_try) 2>&5
40110 ac_status=$?
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); }; } &&
40113 { ac_try='test -s conftest.$ac_objext'
40114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40115 (eval $ac_try) 2>&5
40116 ac_status=$?
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); }; }; then
40119 glibcxx_cv_func_sincosf_use=yes
40120 else
40121 echo "$as_me: failed program was:" >&5
40122 sed 's/^/| /' conftest.$ac_ext >&5
40124 glibcxx_cv_func_sincosf_use=no
40126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40127 ac_ext=c
40128 ac_cpp='$CPP $CPPFLAGS'
40129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40138 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40140 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40142 for ac_func in sincosf
40144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40145 echo "$as_me:$LINENO: checking for $ac_func" >&5
40146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40147 if eval "test \"\${$as_ac_var+set}\" = set"; then
40148 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 else
40150 if test x$gcc_no_link = xyes; then
40151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40153 { (exit 1); exit 1; }; }
40155 cat >conftest.$ac_ext <<_ACEOF
40156 /* confdefs.h. */
40157 _ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40163 #define $ac_func innocuous_$ac_func
40165 /* System header to define __stub macros and hopefully few prototypes,
40166 which can conflict with char $ac_func (); below.
40167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40168 <limits.h> exists even on freestanding compilers. */
40170 #ifdef __STDC__
40171 # include <limits.h>
40172 #else
40173 # include <assert.h>
40174 #endif
40176 #undef $ac_func
40178 /* Override any gcc2 internal prototype to avoid an error. */
40179 #ifdef __cplusplus
40180 extern "C"
40182 #endif
40183 /* We use char because int might match the return type of a gcc2
40184 builtin and then its argument prototype would still apply. */
40185 char $ac_func ();
40186 /* The GNU C library defines this for functions which it implements
40187 to always fail with ENOSYS. Some functions are actually named
40188 something starting with __ and the normal name is an alias. */
40189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40190 choke me
40191 #else
40192 char (*f) () = $ac_func;
40193 #endif
40194 #ifdef __cplusplus
40196 #endif
40199 main ()
40201 return f != $ac_func;
40203 return 0;
40205 _ACEOF
40206 rm -f conftest.$ac_objext conftest$ac_exeext
40207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40208 (eval $ac_link) 2>conftest.er1
40209 ac_status=$?
40210 grep -v '^ *+' conftest.er1 >conftest.err
40211 rm -f conftest.er1
40212 cat conftest.err >&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); } &&
40215 { ac_try='test -z "$ac_c_werror_flag"
40216 || test ! -s conftest.err'
40217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40218 (eval $ac_try) 2>&5
40219 ac_status=$?
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); }; } &&
40222 { ac_try='test -s conftest$ac_exeext'
40223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40224 (eval $ac_try) 2>&5
40225 ac_status=$?
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); }; }; then
40228 eval "$as_ac_var=yes"
40229 else
40230 echo "$as_me: failed program was:" >&5
40231 sed 's/^/| /' conftest.$ac_ext >&5
40233 eval "$as_ac_var=no"
40235 rm -f conftest.err conftest.$ac_objext \
40236 conftest$ac_exeext conftest.$ac_ext
40238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40240 if test `eval echo '${'$as_ac_var'}'` = yes; then
40241 cat >>confdefs.h <<_ACEOF
40242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40243 _ACEOF
40246 done
40248 else
40250 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40251 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40252 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40253 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40255 else
40259 ac_ext=cc
40260 ac_cpp='$CXXCPP $CPPFLAGS'
40261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40265 cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 #include <math.h>
40273 main ()
40275 _sincosf(0, 0, 0);
40277 return 0;
40279 _ACEOF
40280 rm -f conftest.$ac_objext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40282 (eval $ac_compile) 2>conftest.er1
40283 ac_status=$?
40284 grep -v '^ *+' conftest.er1 >conftest.err
40285 rm -f conftest.er1
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } &&
40289 { ac_try='test -z "$ac_cxx_werror_flag"
40290 || test ! -s conftest.err'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; } &&
40296 { ac_try='test -s conftest.$ac_objext'
40297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298 (eval $ac_try) 2>&5
40299 ac_status=$?
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); }; }; then
40302 glibcxx_cv_func__sincosf_use=yes
40303 else
40304 echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.$ac_ext >&5
40307 glibcxx_cv_func__sincosf_use=no
40309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40321 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40323 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40325 for ac_func in _sincosf
40327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40328 echo "$as_me:$LINENO: checking for $ac_func" >&5
40329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40330 if eval "test \"\${$as_ac_var+set}\" = set"; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40332 else
40333 if test x$gcc_no_link = xyes; then
40334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40336 { (exit 1); exit 1; }; }
40338 cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h. */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40346 #define $ac_func innocuous_$ac_func
40348 /* System header to define __stub macros and hopefully few prototypes,
40349 which can conflict with char $ac_func (); below.
40350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40351 <limits.h> exists even on freestanding compilers. */
40353 #ifdef __STDC__
40354 # include <limits.h>
40355 #else
40356 # include <assert.h>
40357 #endif
40359 #undef $ac_func
40361 /* Override any gcc2 internal prototype to avoid an error. */
40362 #ifdef __cplusplus
40363 extern "C"
40365 #endif
40366 /* We use char because int might match the return type of a gcc2
40367 builtin and then its argument prototype would still apply. */
40368 char $ac_func ();
40369 /* The GNU C library defines this for functions which it implements
40370 to always fail with ENOSYS. Some functions are actually named
40371 something starting with __ and the normal name is an alias. */
40372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40373 choke me
40374 #else
40375 char (*f) () = $ac_func;
40376 #endif
40377 #ifdef __cplusplus
40379 #endif
40382 main ()
40384 return f != $ac_func;
40386 return 0;
40388 _ACEOF
40389 rm -f conftest.$ac_objext conftest$ac_exeext
40390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40391 (eval $ac_link) 2>conftest.er1
40392 ac_status=$?
40393 grep -v '^ *+' conftest.er1 >conftest.err
40394 rm -f conftest.er1
40395 cat conftest.err >&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } &&
40398 { ac_try='test -z "$ac_c_werror_flag"
40399 || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try='test -s conftest$ac_exeext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 eval "$as_ac_var=yes"
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40416 eval "$as_ac_var=no"
40418 rm -f conftest.err conftest.$ac_objext \
40419 conftest$ac_exeext conftest.$ac_ext
40421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40423 if test `eval echo '${'$as_ac_var'}'` = yes; then
40424 cat >>confdefs.h <<_ACEOF
40425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40426 _ACEOF
40429 done
40436 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40437 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40438 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40439 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40445 ac_ext=cc
40446 ac_cpp='$CXXCPP $CPPFLAGS'
40447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451 cat >conftest.$ac_ext <<_ACEOF
40452 /* confdefs.h. */
40453 _ACEOF
40454 cat confdefs.h >>conftest.$ac_ext
40455 cat >>conftest.$ac_ext <<_ACEOF
40456 /* end confdefs.h. */
40457 #include <math.h>
40458 #ifdef HAVE_IEEEFP_H
40459 #include <ieeefp.h>
40460 #endif
40463 main ()
40465 finitef(0);
40467 return 0;
40469 _ACEOF
40470 rm -f conftest.$ac_objext
40471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40472 (eval $ac_compile) 2>conftest.er1
40473 ac_status=$?
40474 grep -v '^ *+' conftest.er1 >conftest.err
40475 rm -f conftest.er1
40476 cat conftest.err >&5
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); } &&
40479 { ac_try='test -z "$ac_cxx_werror_flag"
40480 || test ! -s conftest.err'
40481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40482 (eval $ac_try) 2>&5
40483 ac_status=$?
40484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485 (exit $ac_status); }; } &&
40486 { ac_try='test -s conftest.$ac_objext'
40487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40488 (eval $ac_try) 2>&5
40489 ac_status=$?
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); }; }; then
40492 glibcxx_cv_func_finitef_use=yes
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40497 glibcxx_cv_func_finitef_use=no
40499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40500 ac_ext=c
40501 ac_cpp='$CPP $CPPFLAGS'
40502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40511 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40513 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40515 for ac_func in finitef
40517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40518 echo "$as_me:$LINENO: checking for $ac_func" >&5
40519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40520 if eval "test \"\${$as_ac_var+set}\" = set"; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 else
40523 if test x$gcc_no_link = xyes; then
40524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40526 { (exit 1); exit 1; }; }
40528 cat >conftest.$ac_ext <<_ACEOF
40529 /* confdefs.h. */
40530 _ACEOF
40531 cat confdefs.h >>conftest.$ac_ext
40532 cat >>conftest.$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40536 #define $ac_func innocuous_$ac_func
40538 /* System header to define __stub macros and hopefully few prototypes,
40539 which can conflict with char $ac_func (); below.
40540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40541 <limits.h> exists even on freestanding compilers. */
40543 #ifdef __STDC__
40544 # include <limits.h>
40545 #else
40546 # include <assert.h>
40547 #endif
40549 #undef $ac_func
40551 /* Override any gcc2 internal prototype to avoid an error. */
40552 #ifdef __cplusplus
40553 extern "C"
40555 #endif
40556 /* We use char because int might match the return type of a gcc2
40557 builtin and then its argument prototype would still apply. */
40558 char $ac_func ();
40559 /* The GNU C library defines this for functions which it implements
40560 to always fail with ENOSYS. Some functions are actually named
40561 something starting with __ and the normal name is an alias. */
40562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40563 choke me
40564 #else
40565 char (*f) () = $ac_func;
40566 #endif
40567 #ifdef __cplusplus
40569 #endif
40572 main ()
40574 return f != $ac_func;
40576 return 0;
40578 _ACEOF
40579 rm -f conftest.$ac_objext conftest$ac_exeext
40580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40581 (eval $ac_link) 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } &&
40588 { ac_try='test -z "$ac_c_werror_flag"
40589 || test ! -s conftest.err'
40590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40591 (eval $ac_try) 2>&5
40592 ac_status=$?
40593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40594 (exit $ac_status); }; } &&
40595 { ac_try='test -s conftest$ac_exeext'
40596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40597 (eval $ac_try) 2>&5
40598 ac_status=$?
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); }; }; then
40601 eval "$as_ac_var=yes"
40602 else
40603 echo "$as_me: failed program was:" >&5
40604 sed 's/^/| /' conftest.$ac_ext >&5
40606 eval "$as_ac_var=no"
40608 rm -f conftest.err conftest.$ac_objext \
40609 conftest$ac_exeext conftest.$ac_ext
40611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40613 if test `eval echo '${'$as_ac_var'}'` = yes; then
40614 cat >>confdefs.h <<_ACEOF
40615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40616 _ACEOF
40619 done
40621 else
40623 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40624 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40625 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40626 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40627 echo $ECHO_N "(cached) $ECHO_C" >&6
40628 else
40632 ac_ext=cc
40633 ac_cpp='$CXXCPP $CPPFLAGS'
40634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40638 cat >conftest.$ac_ext <<_ACEOF
40639 /* confdefs.h. */
40640 _ACEOF
40641 cat confdefs.h >>conftest.$ac_ext
40642 cat >>conftest.$ac_ext <<_ACEOF
40643 /* end confdefs.h. */
40644 #include <math.h>
40645 #ifdef HAVE_IEEEFP_H
40646 #include <ieeefp.h>
40647 #endif
40650 main ()
40652 _finitef(0);
40654 return 0;
40656 _ACEOF
40657 rm -f conftest.$ac_objext
40658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40659 (eval $ac_compile) 2>conftest.er1
40660 ac_status=$?
40661 grep -v '^ *+' conftest.er1 >conftest.err
40662 rm -f conftest.er1
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } &&
40666 { ac_try='test -z "$ac_cxx_werror_flag"
40667 || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try='test -s conftest.$ac_objext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 glibcxx_cv_func__finitef_use=yes
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40684 glibcxx_cv_func__finitef_use=no
40686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40687 ac_ext=c
40688 ac_cpp='$CPP $CPPFLAGS'
40689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40698 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40700 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40702 for ac_func in _finitef
40704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40705 echo "$as_me:$LINENO: checking for $ac_func" >&5
40706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40707 if eval "test \"\${$as_ac_var+set}\" = set"; then
40708 echo $ECHO_N "(cached) $ECHO_C" >&6
40709 else
40710 if test x$gcc_no_link = xyes; then
40711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40713 { (exit 1); exit 1; }; }
40715 cat >conftest.$ac_ext <<_ACEOF
40716 /* confdefs.h. */
40717 _ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40723 #define $ac_func innocuous_$ac_func
40725 /* System header to define __stub macros and hopefully few prototypes,
40726 which can conflict with char $ac_func (); below.
40727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40728 <limits.h> exists even on freestanding compilers. */
40730 #ifdef __STDC__
40731 # include <limits.h>
40732 #else
40733 # include <assert.h>
40734 #endif
40736 #undef $ac_func
40738 /* Override any gcc2 internal prototype to avoid an error. */
40739 #ifdef __cplusplus
40740 extern "C"
40742 #endif
40743 /* We use char because int might match the return type of a gcc2
40744 builtin and then its argument prototype would still apply. */
40745 char $ac_func ();
40746 /* The GNU C library defines this for functions which it implements
40747 to always fail with ENOSYS. Some functions are actually named
40748 something starting with __ and the normal name is an alias. */
40749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40750 choke me
40751 #else
40752 char (*f) () = $ac_func;
40753 #endif
40754 #ifdef __cplusplus
40756 #endif
40759 main ()
40761 return f != $ac_func;
40763 return 0;
40765 _ACEOF
40766 rm -f conftest.$ac_objext conftest$ac_exeext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40768 (eval $ac_link) 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } &&
40775 { ac_try='test -z "$ac_c_werror_flag"
40776 || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40779 ac_status=$?
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest$ac_exeext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 eval "$as_ac_var=yes"
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40793 eval "$as_ac_var=no"
40795 rm -f conftest.err conftest.$ac_objext \
40796 conftest$ac_exeext conftest.$ac_ext
40798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40800 if test `eval echo '${'$as_ac_var'}'` = yes; then
40801 cat >>confdefs.h <<_ACEOF
40802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40803 _ACEOF
40806 done
40813 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40814 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40815 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 else
40821 ac_ext=cc
40822 ac_cpp='$CXXCPP $CPPFLAGS'
40823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40827 cat >conftest.$ac_ext <<_ACEOF
40828 /* confdefs.h. */
40829 _ACEOF
40830 cat confdefs.h >>conftest.$ac_ext
40831 cat >>conftest.$ac_ext <<_ACEOF
40832 /* end confdefs.h. */
40833 #include <math.h>
40835 main ()
40837 `for x in acosl asinl atanl \
40838 cosl sinl tanl \
40839 coshl sinhl tanhl; do echo "$x (0);"; done`
40841 return 0;
40843 _ACEOF
40844 rm -f conftest.$ac_objext
40845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40846 (eval $ac_compile) 2>conftest.er1
40847 ac_status=$?
40848 grep -v '^ *+' conftest.er1 >conftest.err
40849 rm -f conftest.er1
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } &&
40853 { ac_try='test -z "$ac_cxx_werror_flag"
40854 || test ! -s conftest.err'
40855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40856 (eval $ac_try) 2>&5
40857 ac_status=$?
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); }; } &&
40860 { ac_try='test -s conftest.$ac_objext'
40861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40862 (eval $ac_try) 2>&5
40863 ac_status=$?
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); }; }; then
40866 glibcxx_cv_func_long_double_trig_use=yes
40867 else
40868 echo "$as_me: failed program was:" >&5
40869 sed 's/^/| /' conftest.$ac_ext >&5
40871 glibcxx_cv_func_long_double_trig_use=no
40873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40874 ac_ext=c
40875 ac_cpp='$CPP $CPPFLAGS'
40876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40883 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40884 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40894 for ac_func in acosl asinl atanl \
40895 cosl sinl tanl \
40896 coshl sinhl tanhl
40898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40899 echo "$as_me:$LINENO: checking for $ac_func" >&5
40900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40901 if eval "test \"\${$as_ac_var+set}\" = set"; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40903 else
40904 if test x$gcc_no_link = xyes; then
40905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40907 { (exit 1); exit 1; }; }
40909 cat >conftest.$ac_ext <<_ACEOF
40910 /* confdefs.h. */
40911 _ACEOF
40912 cat confdefs.h >>conftest.$ac_ext
40913 cat >>conftest.$ac_ext <<_ACEOF
40914 /* end confdefs.h. */
40915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40917 #define $ac_func innocuous_$ac_func
40919 /* System header to define __stub macros and hopefully few prototypes,
40920 which can conflict with char $ac_func (); below.
40921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40922 <limits.h> exists even on freestanding compilers. */
40924 #ifdef __STDC__
40925 # include <limits.h>
40926 #else
40927 # include <assert.h>
40928 #endif
40930 #undef $ac_func
40932 /* Override any gcc2 internal prototype to avoid an error. */
40933 #ifdef __cplusplus
40934 extern "C"
40936 #endif
40937 /* We use char because int might match the return type of a gcc2
40938 builtin and then its argument prototype would still apply. */
40939 char $ac_func ();
40940 /* The GNU C library defines this for functions which it implements
40941 to always fail with ENOSYS. Some functions are actually named
40942 something starting with __ and the normal name is an alias. */
40943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40944 choke me
40945 #else
40946 char (*f) () = $ac_func;
40947 #endif
40948 #ifdef __cplusplus
40950 #endif
40953 main ()
40955 return f != $ac_func;
40957 return 0;
40959 _ACEOF
40960 rm -f conftest.$ac_objext conftest$ac_exeext
40961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40962 (eval $ac_link) 2>conftest.er1
40963 ac_status=$?
40964 grep -v '^ *+' conftest.er1 >conftest.err
40965 rm -f conftest.er1
40966 cat conftest.err >&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); } &&
40969 { ac_try='test -z "$ac_c_werror_flag"
40970 || test ! -s conftest.err'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40973 ac_status=$?
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; } &&
40976 { ac_try='test -s conftest$ac_exeext'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40979 ac_status=$?
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; }; then
40982 eval "$as_ac_var=yes"
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40987 eval "$as_ac_var=no"
40989 rm -f conftest.err conftest.$ac_objext \
40990 conftest$ac_exeext conftest.$ac_ext
40992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40994 if test `eval echo '${'$as_ac_var'}'` = yes; then
40995 cat >>confdefs.h <<_ACEOF
40996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40997 _ACEOF
41000 done
41005 echo "$as_me:$LINENO: checking for long double round functions" >&5
41006 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41007 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41008 echo $ECHO_N "(cached) $ECHO_C" >&6
41009 else
41013 ac_ext=cc
41014 ac_cpp='$CXXCPP $CPPFLAGS'
41015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41019 cat >conftest.$ac_ext <<_ACEOF
41020 /* confdefs.h. */
41021 _ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 #include <math.h>
41027 main ()
41029 `for x in ceill floorl; do echo "$x (0);"; done`
41031 return 0;
41033 _ACEOF
41034 rm -f conftest.$ac_objext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41036 (eval $ac_compile) 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try='test -z "$ac_cxx_werror_flag"
41044 || test ! -s conftest.err'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; } &&
41050 { ac_try='test -s conftest.$ac_objext'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41053 ac_status=$?
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; }; then
41056 glibcxx_cv_func_long_double_round_use=yes
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41061 glibcxx_cv_func_long_double_round_use=no
41063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41064 ac_ext=c
41065 ac_cpp='$CPP $CPPFLAGS'
41066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41073 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41074 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41077 for ac_func in ceill floorl
41079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41080 echo "$as_me:$LINENO: checking for $ac_func" >&5
41081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41082 if eval "test \"\${$as_ac_var+set}\" = set"; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41085 if test x$gcc_no_link = xyes; then
41086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41088 { (exit 1); exit 1; }; }
41090 cat >conftest.$ac_ext <<_ACEOF
41091 /* confdefs.h. */
41092 _ACEOF
41093 cat confdefs.h >>conftest.$ac_ext
41094 cat >>conftest.$ac_ext <<_ACEOF
41095 /* end confdefs.h. */
41096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41098 #define $ac_func innocuous_$ac_func
41100 /* System header to define __stub macros and hopefully few prototypes,
41101 which can conflict with char $ac_func (); below.
41102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41103 <limits.h> exists even on freestanding compilers. */
41105 #ifdef __STDC__
41106 # include <limits.h>
41107 #else
41108 # include <assert.h>
41109 #endif
41111 #undef $ac_func
41113 /* Override any gcc2 internal prototype to avoid an error. */
41114 #ifdef __cplusplus
41115 extern "C"
41117 #endif
41118 /* We use char because int might match the return type of a gcc2
41119 builtin and then its argument prototype would still apply. */
41120 char $ac_func ();
41121 /* The GNU C library defines this for functions which it implements
41122 to always fail with ENOSYS. Some functions are actually named
41123 something starting with __ and the normal name is an alias. */
41124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41125 choke me
41126 #else
41127 char (*f) () = $ac_func;
41128 #endif
41129 #ifdef __cplusplus
41131 #endif
41134 main ()
41136 return f != $ac_func;
41138 return 0;
41140 _ACEOF
41141 rm -f conftest.$ac_objext conftest$ac_exeext
41142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41143 (eval $ac_link) 2>conftest.er1
41144 ac_status=$?
41145 grep -v '^ *+' conftest.er1 >conftest.err
41146 rm -f conftest.er1
41147 cat conftest.err >&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); } &&
41150 { ac_try='test -z "$ac_c_werror_flag"
41151 || test ! -s conftest.err'
41152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41153 (eval $ac_try) 2>&5
41154 ac_status=$?
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); }; } &&
41157 { ac_try='test -s conftest$ac_exeext'
41158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41159 (eval $ac_try) 2>&5
41160 ac_status=$?
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); }; }; then
41163 eval "$as_ac_var=yes"
41164 else
41165 echo "$as_me: failed program was:" >&5
41166 sed 's/^/| /' conftest.$ac_ext >&5
41168 eval "$as_ac_var=no"
41170 rm -f conftest.err conftest.$ac_objext \
41171 conftest$ac_exeext conftest.$ac_ext
41173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41175 if test `eval echo '${'$as_ac_var'}'` = yes; then
41176 cat >>confdefs.h <<_ACEOF
41177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41178 _ACEOF
41181 done
41187 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41188 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41189 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41190 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41191 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 else
41196 ac_ext=cc
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 #include <math.h>
41209 #ifdef HAVE_IEEEFP_H
41210 #include <ieeefp.h>
41211 #endif
41214 main ()
41216 isnanl(0);
41218 return 0;
41220 _ACEOF
41221 rm -f conftest.$ac_objext
41222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41223 (eval $ac_compile) 2>conftest.er1
41224 ac_status=$?
41225 grep -v '^ *+' conftest.er1 >conftest.err
41226 rm -f conftest.er1
41227 cat conftest.err >&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); } &&
41230 { ac_try='test -z "$ac_cxx_werror_flag"
41231 || test ! -s conftest.err'
41232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41233 (eval $ac_try) 2>&5
41234 ac_status=$?
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); }; } &&
41237 { ac_try='test -s conftest.$ac_objext'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41240 ac_status=$?
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; }; then
41243 glibcxx_cv_func_isnanl_use=yes
41244 else
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41248 glibcxx_cv_func_isnanl_use=no
41250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41251 ac_ext=c
41252 ac_cpp='$CPP $CPPFLAGS'
41253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41262 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41264 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41266 for ac_func in isnanl
41268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41269 echo "$as_me:$LINENO: checking for $ac_func" >&5
41270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41271 if eval "test \"\${$as_ac_var+set}\" = set"; then
41272 echo $ECHO_N "(cached) $ECHO_C" >&6
41273 else
41274 if test x$gcc_no_link = xyes; then
41275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41277 { (exit 1); exit 1; }; }
41279 cat >conftest.$ac_ext <<_ACEOF
41280 /* confdefs.h. */
41281 _ACEOF
41282 cat confdefs.h >>conftest.$ac_ext
41283 cat >>conftest.$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41287 #define $ac_func innocuous_$ac_func
41289 /* System header to define __stub macros and hopefully few prototypes,
41290 which can conflict with char $ac_func (); below.
41291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41292 <limits.h> exists even on freestanding compilers. */
41294 #ifdef __STDC__
41295 # include <limits.h>
41296 #else
41297 # include <assert.h>
41298 #endif
41300 #undef $ac_func
41302 /* Override any gcc2 internal prototype to avoid an error. */
41303 #ifdef __cplusplus
41304 extern "C"
41306 #endif
41307 /* We use char because int might match the return type of a gcc2
41308 builtin and then its argument prototype would still apply. */
41309 char $ac_func ();
41310 /* The GNU C library defines this for functions which it implements
41311 to always fail with ENOSYS. Some functions are actually named
41312 something starting with __ and the normal name is an alias. */
41313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41314 choke me
41315 #else
41316 char (*f) () = $ac_func;
41317 #endif
41318 #ifdef __cplusplus
41320 #endif
41323 main ()
41325 return f != $ac_func;
41327 return 0;
41329 _ACEOF
41330 rm -f conftest.$ac_objext conftest$ac_exeext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41332 (eval $ac_link) 2>conftest.er1
41333 ac_status=$?
41334 grep -v '^ *+' conftest.er1 >conftest.err
41335 rm -f conftest.er1
41336 cat conftest.err >&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); } &&
41339 { ac_try='test -z "$ac_c_werror_flag"
41340 || test ! -s conftest.err'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41343 ac_status=$?
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; } &&
41346 { ac_try='test -s conftest$ac_exeext'
41347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41348 (eval $ac_try) 2>&5
41349 ac_status=$?
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; }; then
41352 eval "$as_ac_var=yes"
41353 else
41354 echo "$as_me: failed program was:" >&5
41355 sed 's/^/| /' conftest.$ac_ext >&5
41357 eval "$as_ac_var=no"
41359 rm -f conftest.err conftest.$ac_objext \
41360 conftest$ac_exeext conftest.$ac_ext
41362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41364 if test `eval echo '${'$as_ac_var'}'` = yes; then
41365 cat >>confdefs.h <<_ACEOF
41366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41367 _ACEOF
41370 done
41372 else
41374 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41375 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41376 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41377 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41379 else
41383 ac_ext=cc
41384 ac_cpp='$CXXCPP $CPPFLAGS'
41385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41389 cat >conftest.$ac_ext <<_ACEOF
41390 /* confdefs.h. */
41391 _ACEOF
41392 cat confdefs.h >>conftest.$ac_ext
41393 cat >>conftest.$ac_ext <<_ACEOF
41394 /* end confdefs.h. */
41395 #include <math.h>
41396 #ifdef HAVE_IEEEFP_H
41397 #include <ieeefp.h>
41398 #endif
41401 main ()
41403 _isnanl(0);
41405 return 0;
41407 _ACEOF
41408 rm -f conftest.$ac_objext
41409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41410 (eval $ac_compile) 2>conftest.er1
41411 ac_status=$?
41412 grep -v '^ *+' conftest.er1 >conftest.err
41413 rm -f conftest.er1
41414 cat conftest.err >&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); } &&
41417 { ac_try='test -z "$ac_cxx_werror_flag"
41418 || test ! -s conftest.err'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; } &&
41424 { ac_try='test -s conftest.$ac_objext'
41425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41426 (eval $ac_try) 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; }; then
41430 glibcxx_cv_func__isnanl_use=yes
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 glibcxx_cv_func__isnanl_use=no
41437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41438 ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41449 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41451 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41453 for ac_func in _isnanl
41455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41456 echo "$as_me:$LINENO: checking for $ac_func" >&5
41457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41458 if eval "test \"\${$as_ac_var+set}\" = set"; then
41459 echo $ECHO_N "(cached) $ECHO_C" >&6
41460 else
41461 if test x$gcc_no_link = xyes; then
41462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41464 { (exit 1); exit 1; }; }
41466 cat >conftest.$ac_ext <<_ACEOF
41467 /* confdefs.h. */
41468 _ACEOF
41469 cat confdefs.h >>conftest.$ac_ext
41470 cat >>conftest.$ac_ext <<_ACEOF
41471 /* end confdefs.h. */
41472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41474 #define $ac_func innocuous_$ac_func
41476 /* System header to define __stub macros and hopefully few prototypes,
41477 which can conflict with char $ac_func (); below.
41478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41479 <limits.h> exists even on freestanding compilers. */
41481 #ifdef __STDC__
41482 # include <limits.h>
41483 #else
41484 # include <assert.h>
41485 #endif
41487 #undef $ac_func
41489 /* Override any gcc2 internal prototype to avoid an error. */
41490 #ifdef __cplusplus
41491 extern "C"
41493 #endif
41494 /* We use char because int might match the return type of a gcc2
41495 builtin and then its argument prototype would still apply. */
41496 char $ac_func ();
41497 /* The GNU C library defines this for functions which it implements
41498 to always fail with ENOSYS. Some functions are actually named
41499 something starting with __ and the normal name is an alias. */
41500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41501 choke me
41502 #else
41503 char (*f) () = $ac_func;
41504 #endif
41505 #ifdef __cplusplus
41507 #endif
41510 main ()
41512 return f != $ac_func;
41514 return 0;
41516 _ACEOF
41517 rm -f conftest.$ac_objext conftest$ac_exeext
41518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41519 (eval $ac_link) 2>conftest.er1
41520 ac_status=$?
41521 grep -v '^ *+' conftest.er1 >conftest.err
41522 rm -f conftest.er1
41523 cat conftest.err >&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); } &&
41526 { ac_try='test -z "$ac_c_werror_flag"
41527 || test ! -s conftest.err'
41528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41529 (eval $ac_try) 2>&5
41530 ac_status=$?
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); }; } &&
41533 { ac_try='test -s conftest$ac_exeext'
41534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41535 (eval $ac_try) 2>&5
41536 ac_status=$?
41537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41538 (exit $ac_status); }; }; then
41539 eval "$as_ac_var=yes"
41540 else
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41544 eval "$as_ac_var=no"
41546 rm -f conftest.err conftest.$ac_objext \
41547 conftest$ac_exeext conftest.$ac_ext
41549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41551 if test `eval echo '${'$as_ac_var'}'` = yes; then
41552 cat >>confdefs.h <<_ACEOF
41553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41554 _ACEOF
41557 done
41564 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41565 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41566 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41567 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41573 ac_ext=cc
41574 ac_cpp='$CXXCPP $CPPFLAGS'
41575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579 cat >conftest.$ac_ext <<_ACEOF
41580 /* confdefs.h. */
41581 _ACEOF
41582 cat confdefs.h >>conftest.$ac_ext
41583 cat >>conftest.$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41585 #include <math.h>
41586 #ifdef HAVE_IEEEFP_H
41587 #include <ieeefp.h>
41588 #endif
41591 main ()
41593 isinfl(0);
41595 return 0;
41597 _ACEOF
41598 rm -f conftest.$ac_objext
41599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41600 (eval $ac_compile) 2>conftest.er1
41601 ac_status=$?
41602 grep -v '^ *+' conftest.er1 >conftest.err
41603 rm -f conftest.er1
41604 cat conftest.err >&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } &&
41607 { ac_try='test -z "$ac_cxx_werror_flag"
41608 || test ! -s conftest.err'
41609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610 (eval $ac_try) 2>&5
41611 ac_status=$?
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); }; } &&
41614 { ac_try='test -s conftest.$ac_objext'
41615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41616 (eval $ac_try) 2>&5
41617 ac_status=$?
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); }; }; then
41620 glibcxx_cv_func_isinfl_use=yes
41621 else
41622 echo "$as_me: failed program was:" >&5
41623 sed 's/^/| /' conftest.$ac_ext >&5
41625 glibcxx_cv_func_isinfl_use=no
41627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41628 ac_ext=c
41629 ac_cpp='$CPP $CPPFLAGS'
41630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41639 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41641 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41643 for ac_func in isinfl
41645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41646 echo "$as_me:$LINENO: checking for $ac_func" >&5
41647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41648 if eval "test \"\${$as_ac_var+set}\" = set"; then
41649 echo $ECHO_N "(cached) $ECHO_C" >&6
41650 else
41651 if test x$gcc_no_link = xyes; then
41652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41654 { (exit 1); exit 1; }; }
41656 cat >conftest.$ac_ext <<_ACEOF
41657 /* confdefs.h. */
41658 _ACEOF
41659 cat confdefs.h >>conftest.$ac_ext
41660 cat >>conftest.$ac_ext <<_ACEOF
41661 /* end confdefs.h. */
41662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41664 #define $ac_func innocuous_$ac_func
41666 /* System header to define __stub macros and hopefully few prototypes,
41667 which can conflict with char $ac_func (); below.
41668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41669 <limits.h> exists even on freestanding compilers. */
41671 #ifdef __STDC__
41672 # include <limits.h>
41673 #else
41674 # include <assert.h>
41675 #endif
41677 #undef $ac_func
41679 /* Override any gcc2 internal prototype to avoid an error. */
41680 #ifdef __cplusplus
41681 extern "C"
41683 #endif
41684 /* We use char because int might match the return type of a gcc2
41685 builtin and then its argument prototype would still apply. */
41686 char $ac_func ();
41687 /* The GNU C library defines this for functions which it implements
41688 to always fail with ENOSYS. Some functions are actually named
41689 something starting with __ and the normal name is an alias. */
41690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41691 choke me
41692 #else
41693 char (*f) () = $ac_func;
41694 #endif
41695 #ifdef __cplusplus
41697 #endif
41700 main ()
41702 return f != $ac_func;
41704 return 0;
41706 _ACEOF
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41709 (eval $ac_link) 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } &&
41716 { ac_try='test -z "$ac_c_werror_flag"
41717 || test ! -s conftest.err'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41720 ac_status=$?
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; } &&
41723 { ac_try='test -s conftest$ac_exeext'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41726 ac_status=$?
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; }; then
41729 eval "$as_ac_var=yes"
41730 else
41731 echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.$ac_ext >&5
41734 eval "$as_ac_var=no"
41736 rm -f conftest.err conftest.$ac_objext \
41737 conftest$ac_exeext conftest.$ac_ext
41739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41741 if test `eval echo '${'$as_ac_var'}'` = yes; then
41742 cat >>confdefs.h <<_ACEOF
41743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41744 _ACEOF
41747 done
41749 else
41751 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41752 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41753 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41754 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41755 echo $ECHO_N "(cached) $ECHO_C" >&6
41756 else
41760 ac_ext=cc
41761 ac_cpp='$CXXCPP $CPPFLAGS'
41762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41766 cat >conftest.$ac_ext <<_ACEOF
41767 /* confdefs.h. */
41768 _ACEOF
41769 cat confdefs.h >>conftest.$ac_ext
41770 cat >>conftest.$ac_ext <<_ACEOF
41771 /* end confdefs.h. */
41772 #include <math.h>
41773 #ifdef HAVE_IEEEFP_H
41774 #include <ieeefp.h>
41775 #endif
41778 main ()
41780 _isinfl(0);
41782 return 0;
41784 _ACEOF
41785 rm -f conftest.$ac_objext
41786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41787 (eval $ac_compile) 2>conftest.er1
41788 ac_status=$?
41789 grep -v '^ *+' conftest.er1 >conftest.err
41790 rm -f conftest.er1
41791 cat conftest.err >&5
41792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41793 (exit $ac_status); } &&
41794 { ac_try='test -z "$ac_cxx_werror_flag"
41795 || test ! -s conftest.err'
41796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41797 (eval $ac_try) 2>&5
41798 ac_status=$?
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); }; } &&
41801 { ac_try='test -s conftest.$ac_objext'
41802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41803 (eval $ac_try) 2>&5
41804 ac_status=$?
41805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41806 (exit $ac_status); }; }; then
41807 glibcxx_cv_func__isinfl_use=yes
41808 else
41809 echo "$as_me: failed program was:" >&5
41810 sed 's/^/| /' conftest.$ac_ext >&5
41812 glibcxx_cv_func__isinfl_use=no
41814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41815 ac_ext=c
41816 ac_cpp='$CPP $CPPFLAGS'
41817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41826 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41828 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41830 for ac_func in _isinfl
41832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41833 echo "$as_me:$LINENO: checking for $ac_func" >&5
41834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41835 if eval "test \"\${$as_ac_var+set}\" = set"; then
41836 echo $ECHO_N "(cached) $ECHO_C" >&6
41837 else
41838 if test x$gcc_no_link = xyes; then
41839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41841 { (exit 1); exit 1; }; }
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41851 #define $ac_func innocuous_$ac_func
41853 /* System header to define __stub macros and hopefully few prototypes,
41854 which can conflict with char $ac_func (); below.
41855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41856 <limits.h> exists even on freestanding compilers. */
41858 #ifdef __STDC__
41859 # include <limits.h>
41860 #else
41861 # include <assert.h>
41862 #endif
41864 #undef $ac_func
41866 /* Override any gcc2 internal prototype to avoid an error. */
41867 #ifdef __cplusplus
41868 extern "C"
41870 #endif
41871 /* We use char because int might match the return type of a gcc2
41872 builtin and then its argument prototype would still apply. */
41873 char $ac_func ();
41874 /* The GNU C library defines this for functions which it implements
41875 to always fail with ENOSYS. Some functions are actually named
41876 something starting with __ and the normal name is an alias. */
41877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41878 choke me
41879 #else
41880 char (*f) () = $ac_func;
41881 #endif
41882 #ifdef __cplusplus
41884 #endif
41887 main ()
41889 return f != $ac_func;
41891 return 0;
41893 _ACEOF
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41896 (eval $ac_link) 2>conftest.er1
41897 ac_status=$?
41898 grep -v '^ *+' conftest.er1 >conftest.err
41899 rm -f conftest.er1
41900 cat conftest.err >&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); } &&
41903 { ac_try='test -z "$ac_c_werror_flag"
41904 || test ! -s conftest.err'
41905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41906 (eval $ac_try) 2>&5
41907 ac_status=$?
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); }; } &&
41910 { ac_try='test -s conftest$ac_exeext'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41913 ac_status=$?
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; }; then
41916 eval "$as_ac_var=yes"
41917 else
41918 echo "$as_me: failed program was:" >&5
41919 sed 's/^/| /' conftest.$ac_ext >&5
41921 eval "$as_ac_var=no"
41923 rm -f conftest.err conftest.$ac_objext \
41924 conftest$ac_exeext conftest.$ac_ext
41926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41928 if test `eval echo '${'$as_ac_var'}'` = yes; then
41929 cat >>confdefs.h <<_ACEOF
41930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41931 _ACEOF
41934 done
41941 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41942 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41943 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41944 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41945 echo $ECHO_N "(cached) $ECHO_C" >&6
41946 else
41950 ac_ext=cc
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956 cat >conftest.$ac_ext <<_ACEOF
41957 /* confdefs.h. */
41958 _ACEOF
41959 cat confdefs.h >>conftest.$ac_ext
41960 cat >>conftest.$ac_ext <<_ACEOF
41961 /* end confdefs.h. */
41962 #include <math.h>
41964 main ()
41966 copysignl(0, 0);
41968 return 0;
41970 _ACEOF
41971 rm -f conftest.$ac_objext
41972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41973 (eval $ac_compile) 2>conftest.er1
41974 ac_status=$?
41975 grep -v '^ *+' conftest.er1 >conftest.err
41976 rm -f conftest.er1
41977 cat conftest.err >&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } &&
41980 { ac_try='test -z "$ac_cxx_werror_flag"
41981 || test ! -s conftest.err'
41982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41983 (eval $ac_try) 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; } &&
41987 { ac_try='test -s conftest.$ac_objext'
41988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41989 (eval $ac_try) 2>&5
41990 ac_status=$?
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); }; }; then
41993 glibcxx_cv_func_copysignl_use=yes
41994 else
41995 echo "$as_me: failed program was:" >&5
41996 sed 's/^/| /' conftest.$ac_ext >&5
41998 glibcxx_cv_func_copysignl_use=no
42000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42001 ac_ext=c
42002 ac_cpp='$CPP $CPPFLAGS'
42003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42012 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42014 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42016 for ac_func in copysignl
42018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42019 echo "$as_me:$LINENO: checking for $ac_func" >&5
42020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42021 if eval "test \"\${$as_ac_var+set}\" = set"; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 else
42024 if test x$gcc_no_link = xyes; then
42025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42027 { (exit 1); exit 1; }; }
42029 cat >conftest.$ac_ext <<_ACEOF
42030 /* confdefs.h. */
42031 _ACEOF
42032 cat confdefs.h >>conftest.$ac_ext
42033 cat >>conftest.$ac_ext <<_ACEOF
42034 /* end confdefs.h. */
42035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42037 #define $ac_func innocuous_$ac_func
42039 /* System header to define __stub macros and hopefully few prototypes,
42040 which can conflict with char $ac_func (); below.
42041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42042 <limits.h> exists even on freestanding compilers. */
42044 #ifdef __STDC__
42045 # include <limits.h>
42046 #else
42047 # include <assert.h>
42048 #endif
42050 #undef $ac_func
42052 /* Override any gcc2 internal prototype to avoid an error. */
42053 #ifdef __cplusplus
42054 extern "C"
42056 #endif
42057 /* We use char because int might match the return type of a gcc2
42058 builtin and then its argument prototype would still apply. */
42059 char $ac_func ();
42060 /* The GNU C library defines this for functions which it implements
42061 to always fail with ENOSYS. Some functions are actually named
42062 something starting with __ and the normal name is an alias. */
42063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42064 choke me
42065 #else
42066 char (*f) () = $ac_func;
42067 #endif
42068 #ifdef __cplusplus
42070 #endif
42073 main ()
42075 return f != $ac_func;
42077 return 0;
42079 _ACEOF
42080 rm -f conftest.$ac_objext conftest$ac_exeext
42081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42082 (eval $ac_link) 2>conftest.er1
42083 ac_status=$?
42084 grep -v '^ *+' conftest.er1 >conftest.err
42085 rm -f conftest.er1
42086 cat conftest.err >&5
42087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088 (exit $ac_status); } &&
42089 { ac_try='test -z "$ac_c_werror_flag"
42090 || test ! -s conftest.err'
42091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42092 (eval $ac_try) 2>&5
42093 ac_status=$?
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); }; } &&
42096 { ac_try='test -s conftest$ac_exeext'
42097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42098 (eval $ac_try) 2>&5
42099 ac_status=$?
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); }; }; then
42102 eval "$as_ac_var=yes"
42103 else
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.$ac_ext >&5
42107 eval "$as_ac_var=no"
42109 rm -f conftest.err conftest.$ac_objext \
42110 conftest$ac_exeext conftest.$ac_ext
42112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42114 if test `eval echo '${'$as_ac_var'}'` = yes; then
42115 cat >>confdefs.h <<_ACEOF
42116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42117 _ACEOF
42120 done
42122 else
42124 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42125 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42126 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42127 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42128 echo $ECHO_N "(cached) $ECHO_C" >&6
42129 else
42133 ac_ext=cc
42134 ac_cpp='$CXXCPP $CPPFLAGS'
42135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42139 cat >conftest.$ac_ext <<_ACEOF
42140 /* confdefs.h. */
42141 _ACEOF
42142 cat confdefs.h >>conftest.$ac_ext
42143 cat >>conftest.$ac_ext <<_ACEOF
42144 /* end confdefs.h. */
42145 #include <math.h>
42147 main ()
42149 _copysignl(0, 0);
42151 return 0;
42153 _ACEOF
42154 rm -f conftest.$ac_objext
42155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42156 (eval $ac_compile) 2>conftest.er1
42157 ac_status=$?
42158 grep -v '^ *+' conftest.er1 >conftest.err
42159 rm -f conftest.er1
42160 cat conftest.err >&5
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); } &&
42163 { ac_try='test -z "$ac_cxx_werror_flag"
42164 || test ! -s conftest.err'
42165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42166 (eval $ac_try) 2>&5
42167 ac_status=$?
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); }; } &&
42170 { ac_try='test -s conftest.$ac_objext'
42171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42172 (eval $ac_try) 2>&5
42173 ac_status=$?
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); }; }; then
42176 glibcxx_cv_func__copysignl_use=yes
42177 else
42178 echo "$as_me: failed program was:" >&5
42179 sed 's/^/| /' conftest.$ac_ext >&5
42181 glibcxx_cv_func__copysignl_use=no
42183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42184 ac_ext=c
42185 ac_cpp='$CPP $CPPFLAGS'
42186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42194 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42195 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42197 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42199 for ac_func in _copysignl
42201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42202 echo "$as_me:$LINENO: checking for $ac_func" >&5
42203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42204 if eval "test \"\${$as_ac_var+set}\" = set"; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207 if test x$gcc_no_link = xyes; then
42208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42210 { (exit 1); exit 1; }; }
42212 cat >conftest.$ac_ext <<_ACEOF
42213 /* confdefs.h. */
42214 _ACEOF
42215 cat confdefs.h >>conftest.$ac_ext
42216 cat >>conftest.$ac_ext <<_ACEOF
42217 /* end confdefs.h. */
42218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42220 #define $ac_func innocuous_$ac_func
42222 /* System header to define __stub macros and hopefully few prototypes,
42223 which can conflict with char $ac_func (); below.
42224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42225 <limits.h> exists even on freestanding compilers. */
42227 #ifdef __STDC__
42228 # include <limits.h>
42229 #else
42230 # include <assert.h>
42231 #endif
42233 #undef $ac_func
42235 /* Override any gcc2 internal prototype to avoid an error. */
42236 #ifdef __cplusplus
42237 extern "C"
42239 #endif
42240 /* We use char because int might match the return type of a gcc2
42241 builtin and then its argument prototype would still apply. */
42242 char $ac_func ();
42243 /* The GNU C library defines this for functions which it implements
42244 to always fail with ENOSYS. Some functions are actually named
42245 something starting with __ and the normal name is an alias. */
42246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42247 choke me
42248 #else
42249 char (*f) () = $ac_func;
42250 #endif
42251 #ifdef __cplusplus
42253 #endif
42256 main ()
42258 return f != $ac_func;
42260 return 0;
42262 _ACEOF
42263 rm -f conftest.$ac_objext conftest$ac_exeext
42264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42265 (eval $ac_link) 2>conftest.er1
42266 ac_status=$?
42267 grep -v '^ *+' conftest.er1 >conftest.err
42268 rm -f conftest.er1
42269 cat conftest.err >&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } &&
42272 { ac_try='test -z "$ac_c_werror_flag"
42273 || test ! -s conftest.err'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42276 ac_status=$?
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; } &&
42279 { ac_try='test -s conftest$ac_exeext'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42282 ac_status=$?
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; }; then
42285 eval "$as_ac_var=yes"
42286 else
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.$ac_ext >&5
42290 eval "$as_ac_var=no"
42292 rm -f conftest.err conftest.$ac_objext \
42293 conftest$ac_exeext conftest.$ac_ext
42295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42297 if test `eval echo '${'$as_ac_var'}'` = yes; then
42298 cat >>confdefs.h <<_ACEOF
42299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42300 _ACEOF
42303 done
42310 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42311 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42312 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42313 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42314 echo $ECHO_N "(cached) $ECHO_C" >&6
42315 else
42319 ac_ext=cc
42320 ac_cpp='$CXXCPP $CPPFLAGS'
42321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42325 cat >conftest.$ac_ext <<_ACEOF
42326 /* confdefs.h. */
42327 _ACEOF
42328 cat confdefs.h >>conftest.$ac_ext
42329 cat >>conftest.$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42331 #include <math.h>
42333 main ()
42335 atan2l(0, 0);
42337 return 0;
42339 _ACEOF
42340 rm -f conftest.$ac_objext
42341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42342 (eval $ac_compile) 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } &&
42349 { ac_try='test -z "$ac_cxx_werror_flag"
42350 || test ! -s conftest.err'
42351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42352 (eval $ac_try) 2>&5
42353 ac_status=$?
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); }; } &&
42356 { ac_try='test -s conftest.$ac_objext'
42357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42358 (eval $ac_try) 2>&5
42359 ac_status=$?
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); }; }; then
42362 glibcxx_cv_func_atan2l_use=yes
42363 else
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42367 glibcxx_cv_func_atan2l_use=no
42369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42370 ac_ext=c
42371 ac_cpp='$CPP $CPPFLAGS'
42372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42381 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42383 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42385 for ac_func in atan2l
42387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42388 echo "$as_me:$LINENO: checking for $ac_func" >&5
42389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42390 if eval "test \"\${$as_ac_var+set}\" = set"; then
42391 echo $ECHO_N "(cached) $ECHO_C" >&6
42392 else
42393 if test x$gcc_no_link = xyes; then
42394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42396 { (exit 1); exit 1; }; }
42398 cat >conftest.$ac_ext <<_ACEOF
42399 /* confdefs.h. */
42400 _ACEOF
42401 cat confdefs.h >>conftest.$ac_ext
42402 cat >>conftest.$ac_ext <<_ACEOF
42403 /* end confdefs.h. */
42404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42406 #define $ac_func innocuous_$ac_func
42408 /* System header to define __stub macros and hopefully few prototypes,
42409 which can conflict with char $ac_func (); below.
42410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42411 <limits.h> exists even on freestanding compilers. */
42413 #ifdef __STDC__
42414 # include <limits.h>
42415 #else
42416 # include <assert.h>
42417 #endif
42419 #undef $ac_func
42421 /* Override any gcc2 internal prototype to avoid an error. */
42422 #ifdef __cplusplus
42423 extern "C"
42425 #endif
42426 /* We use char because int might match the return type of a gcc2
42427 builtin and then its argument prototype would still apply. */
42428 char $ac_func ();
42429 /* The GNU C library defines this for functions which it implements
42430 to always fail with ENOSYS. Some functions are actually named
42431 something starting with __ and the normal name is an alias. */
42432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42433 choke me
42434 #else
42435 char (*f) () = $ac_func;
42436 #endif
42437 #ifdef __cplusplus
42439 #endif
42442 main ()
42444 return f != $ac_func;
42446 return 0;
42448 _ACEOF
42449 rm -f conftest.$ac_objext conftest$ac_exeext
42450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42451 (eval $ac_link) 2>conftest.er1
42452 ac_status=$?
42453 grep -v '^ *+' conftest.er1 >conftest.err
42454 rm -f conftest.er1
42455 cat conftest.err >&5
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); } &&
42458 { ac_try='test -z "$ac_c_werror_flag"
42459 || test ! -s conftest.err'
42460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42461 (eval $ac_try) 2>&5
42462 ac_status=$?
42463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464 (exit $ac_status); }; } &&
42465 { ac_try='test -s conftest$ac_exeext'
42466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42467 (eval $ac_try) 2>&5
42468 ac_status=$?
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); }; }; then
42471 eval "$as_ac_var=yes"
42472 else
42473 echo "$as_me: failed program was:" >&5
42474 sed 's/^/| /' conftest.$ac_ext >&5
42476 eval "$as_ac_var=no"
42478 rm -f conftest.err conftest.$ac_objext \
42479 conftest$ac_exeext conftest.$ac_ext
42481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42483 if test `eval echo '${'$as_ac_var'}'` = yes; then
42484 cat >>confdefs.h <<_ACEOF
42485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42486 _ACEOF
42489 done
42491 else
42493 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42494 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42495 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42496 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42497 echo $ECHO_N "(cached) $ECHO_C" >&6
42498 else
42502 ac_ext=cc
42503 ac_cpp='$CXXCPP $CPPFLAGS'
42504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42508 cat >conftest.$ac_ext <<_ACEOF
42509 /* confdefs.h. */
42510 _ACEOF
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h. */
42514 #include <math.h>
42516 main ()
42518 _atan2l(0, 0);
42520 return 0;
42522 _ACEOF
42523 rm -f conftest.$ac_objext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42525 (eval $ac_compile) 2>conftest.er1
42526 ac_status=$?
42527 grep -v '^ *+' conftest.er1 >conftest.err
42528 rm -f conftest.er1
42529 cat conftest.err >&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); } &&
42532 { ac_try='test -z "$ac_cxx_werror_flag"
42533 || test ! -s conftest.err'
42534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42535 (eval $ac_try) 2>&5
42536 ac_status=$?
42537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538 (exit $ac_status); }; } &&
42539 { ac_try='test -s conftest.$ac_objext'
42540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42541 (eval $ac_try) 2>&5
42542 ac_status=$?
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); }; }; then
42545 glibcxx_cv_func__atan2l_use=yes
42546 else
42547 echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42550 glibcxx_cv_func__atan2l_use=no
42552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_ext=c
42554 ac_cpp='$CPP $CPPFLAGS'
42555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42564 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42566 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42568 for ac_func in _atan2l
42570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42571 echo "$as_me:$LINENO: checking for $ac_func" >&5
42572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42573 if eval "test \"\${$as_ac_var+set}\" = set"; then
42574 echo $ECHO_N "(cached) $ECHO_C" >&6
42575 else
42576 if test x$gcc_no_link = xyes; then
42577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42579 { (exit 1); exit 1; }; }
42581 cat >conftest.$ac_ext <<_ACEOF
42582 /* confdefs.h. */
42583 _ACEOF
42584 cat confdefs.h >>conftest.$ac_ext
42585 cat >>conftest.$ac_ext <<_ACEOF
42586 /* end confdefs.h. */
42587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42589 #define $ac_func innocuous_$ac_func
42591 /* System header to define __stub macros and hopefully few prototypes,
42592 which can conflict with char $ac_func (); below.
42593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42594 <limits.h> exists even on freestanding compilers. */
42596 #ifdef __STDC__
42597 # include <limits.h>
42598 #else
42599 # include <assert.h>
42600 #endif
42602 #undef $ac_func
42604 /* Override any gcc2 internal prototype to avoid an error. */
42605 #ifdef __cplusplus
42606 extern "C"
42608 #endif
42609 /* We use char because int might match the return type of a gcc2
42610 builtin and then its argument prototype would still apply. */
42611 char $ac_func ();
42612 /* The GNU C library defines this for functions which it implements
42613 to always fail with ENOSYS. Some functions are actually named
42614 something starting with __ and the normal name is an alias. */
42615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42616 choke me
42617 #else
42618 char (*f) () = $ac_func;
42619 #endif
42620 #ifdef __cplusplus
42622 #endif
42625 main ()
42627 return f != $ac_func;
42629 return 0;
42631 _ACEOF
42632 rm -f conftest.$ac_objext conftest$ac_exeext
42633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42634 (eval $ac_link) 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } &&
42641 { ac_try='test -z "$ac_c_werror_flag"
42642 || test ! -s conftest.err'
42643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42644 (eval $ac_try) 2>&5
42645 ac_status=$?
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); }; } &&
42648 { ac_try='test -s conftest$ac_exeext'
42649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42650 (eval $ac_try) 2>&5
42651 ac_status=$?
42652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42653 (exit $ac_status); }; }; then
42654 eval "$as_ac_var=yes"
42655 else
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.$ac_ext >&5
42659 eval "$as_ac_var=no"
42661 rm -f conftest.err conftest.$ac_objext \
42662 conftest$ac_exeext conftest.$ac_ext
42664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42666 if test `eval echo '${'$as_ac_var'}'` = yes; then
42667 cat >>confdefs.h <<_ACEOF
42668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42669 _ACEOF
42672 done
42679 echo "$as_me:$LINENO: checking for expl declaration" >&5
42680 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42681 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42682 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42683 echo $ECHO_N "(cached) $ECHO_C" >&6
42684 else
42688 ac_ext=cc
42689 ac_cpp='$CXXCPP $CPPFLAGS'
42690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42694 cat >conftest.$ac_ext <<_ACEOF
42695 /* confdefs.h. */
42696 _ACEOF
42697 cat confdefs.h >>conftest.$ac_ext
42698 cat >>conftest.$ac_ext <<_ACEOF
42699 /* end confdefs.h. */
42700 #include <math.h>
42701 #ifdef HAVE_IEEEFP_H
42702 #include <ieeefp.h>
42703 #endif
42706 main ()
42708 expl(0);
42710 return 0;
42712 _ACEOF
42713 rm -f conftest.$ac_objext
42714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42715 (eval $ac_compile) 2>conftest.er1
42716 ac_status=$?
42717 grep -v '^ *+' conftest.er1 >conftest.err
42718 rm -f conftest.er1
42719 cat conftest.err >&5
42720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42721 (exit $ac_status); } &&
42722 { ac_try='test -z "$ac_cxx_werror_flag"
42723 || test ! -s conftest.err'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42726 ac_status=$?
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; } &&
42729 { ac_try='test -s conftest.$ac_objext'
42730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42731 (eval $ac_try) 2>&5
42732 ac_status=$?
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); }; }; then
42735 glibcxx_cv_func_expl_use=yes
42736 else
42737 echo "$as_me: failed program was:" >&5
42738 sed 's/^/| /' conftest.$ac_ext >&5
42740 glibcxx_cv_func_expl_use=no
42742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42743 ac_ext=c
42744 ac_cpp='$CPP $CPPFLAGS'
42745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42754 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42756 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42758 for ac_func in expl
42760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42761 echo "$as_me:$LINENO: checking for $ac_func" >&5
42762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42763 if eval "test \"\${$as_ac_var+set}\" = set"; then
42764 echo $ECHO_N "(cached) $ECHO_C" >&6
42765 else
42766 if test x$gcc_no_link = xyes; then
42767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42769 { (exit 1); exit 1; }; }
42771 cat >conftest.$ac_ext <<_ACEOF
42772 /* confdefs.h. */
42773 _ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42779 #define $ac_func innocuous_$ac_func
42781 /* System header to define __stub macros and hopefully few prototypes,
42782 which can conflict with char $ac_func (); below.
42783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42784 <limits.h> exists even on freestanding compilers. */
42786 #ifdef __STDC__
42787 # include <limits.h>
42788 #else
42789 # include <assert.h>
42790 #endif
42792 #undef $ac_func
42794 /* Override any gcc2 internal prototype to avoid an error. */
42795 #ifdef __cplusplus
42796 extern "C"
42798 #endif
42799 /* We use char because int might match the return type of a gcc2
42800 builtin and then its argument prototype would still apply. */
42801 char $ac_func ();
42802 /* The GNU C library defines this for functions which it implements
42803 to always fail with ENOSYS. Some functions are actually named
42804 something starting with __ and the normal name is an alias. */
42805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42806 choke me
42807 #else
42808 char (*f) () = $ac_func;
42809 #endif
42810 #ifdef __cplusplus
42812 #endif
42815 main ()
42817 return f != $ac_func;
42819 return 0;
42821 _ACEOF
42822 rm -f conftest.$ac_objext conftest$ac_exeext
42823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42824 (eval $ac_link) 2>conftest.er1
42825 ac_status=$?
42826 grep -v '^ *+' conftest.er1 >conftest.err
42827 rm -f conftest.er1
42828 cat conftest.err >&5
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); } &&
42831 { ac_try='test -z "$ac_c_werror_flag"
42832 || test ! -s conftest.err'
42833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42834 (eval $ac_try) 2>&5
42835 ac_status=$?
42836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837 (exit $ac_status); }; } &&
42838 { ac_try='test -s conftest$ac_exeext'
42839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42840 (eval $ac_try) 2>&5
42841 ac_status=$?
42842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42843 (exit $ac_status); }; }; then
42844 eval "$as_ac_var=yes"
42845 else
42846 echo "$as_me: failed program was:" >&5
42847 sed 's/^/| /' conftest.$ac_ext >&5
42849 eval "$as_ac_var=no"
42851 rm -f conftest.err conftest.$ac_objext \
42852 conftest$ac_exeext conftest.$ac_ext
42854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42856 if test `eval echo '${'$as_ac_var'}'` = yes; then
42857 cat >>confdefs.h <<_ACEOF
42858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42859 _ACEOF
42862 done
42864 else
42866 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42867 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42868 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42869 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42870 echo $ECHO_N "(cached) $ECHO_C" >&6
42871 else
42875 ac_ext=cc
42876 ac_cpp='$CXXCPP $CPPFLAGS'
42877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42881 cat >conftest.$ac_ext <<_ACEOF
42882 /* confdefs.h. */
42883 _ACEOF
42884 cat confdefs.h >>conftest.$ac_ext
42885 cat >>conftest.$ac_ext <<_ACEOF
42886 /* end confdefs.h. */
42887 #include <math.h>
42888 #ifdef HAVE_IEEEFP_H
42889 #include <ieeefp.h>
42890 #endif
42893 main ()
42895 _expl(0);
42897 return 0;
42899 _ACEOF
42900 rm -f conftest.$ac_objext
42901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42902 (eval $ac_compile) 2>conftest.er1
42903 ac_status=$?
42904 grep -v '^ *+' conftest.er1 >conftest.err
42905 rm -f conftest.er1
42906 cat conftest.err >&5
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); } &&
42909 { ac_try='test -z "$ac_cxx_werror_flag"
42910 || test ! -s conftest.err'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42913 ac_status=$?
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; } &&
42916 { ac_try='test -s conftest.$ac_objext'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42919 ac_status=$?
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; }; then
42922 glibcxx_cv_func__expl_use=yes
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42927 glibcxx_cv_func__expl_use=no
42929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42930 ac_ext=c
42931 ac_cpp='$CPP $CPPFLAGS'
42932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42941 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42943 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42945 for ac_func in _expl
42947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42948 echo "$as_me:$LINENO: checking for $ac_func" >&5
42949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42950 if eval "test \"\${$as_ac_var+set}\" = set"; then
42951 echo $ECHO_N "(cached) $ECHO_C" >&6
42952 else
42953 if test x$gcc_no_link = xyes; then
42954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42956 { (exit 1); exit 1; }; }
42958 cat >conftest.$ac_ext <<_ACEOF
42959 /* confdefs.h. */
42960 _ACEOF
42961 cat confdefs.h >>conftest.$ac_ext
42962 cat >>conftest.$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42966 #define $ac_func innocuous_$ac_func
42968 /* System header to define __stub macros and hopefully few prototypes,
42969 which can conflict with char $ac_func (); below.
42970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42971 <limits.h> exists even on freestanding compilers. */
42973 #ifdef __STDC__
42974 # include <limits.h>
42975 #else
42976 # include <assert.h>
42977 #endif
42979 #undef $ac_func
42981 /* Override any gcc2 internal prototype to avoid an error. */
42982 #ifdef __cplusplus
42983 extern "C"
42985 #endif
42986 /* We use char because int might match the return type of a gcc2
42987 builtin and then its argument prototype would still apply. */
42988 char $ac_func ();
42989 /* The GNU C library defines this for functions which it implements
42990 to always fail with ENOSYS. Some functions are actually named
42991 something starting with __ and the normal name is an alias. */
42992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42993 choke me
42994 #else
42995 char (*f) () = $ac_func;
42996 #endif
42997 #ifdef __cplusplus
42999 #endif
43002 main ()
43004 return f != $ac_func;
43006 return 0;
43008 _ACEOF
43009 rm -f conftest.$ac_objext conftest$ac_exeext
43010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43011 (eval $ac_link) 2>conftest.er1
43012 ac_status=$?
43013 grep -v '^ *+' conftest.er1 >conftest.err
43014 rm -f conftest.er1
43015 cat conftest.err >&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } &&
43018 { ac_try='test -z "$ac_c_werror_flag"
43019 || test ! -s conftest.err'
43020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43021 (eval $ac_try) 2>&5
43022 ac_status=$?
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; } &&
43025 { ac_try='test -s conftest$ac_exeext'
43026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43027 (eval $ac_try) 2>&5
43028 ac_status=$?
43029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43030 (exit $ac_status); }; }; then
43031 eval "$as_ac_var=yes"
43032 else
43033 echo "$as_me: failed program was:" >&5
43034 sed 's/^/| /' conftest.$ac_ext >&5
43036 eval "$as_ac_var=no"
43038 rm -f conftest.err conftest.$ac_objext \
43039 conftest$ac_exeext conftest.$ac_ext
43041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43043 if test `eval echo '${'$as_ac_var'}'` = yes; then
43044 cat >>confdefs.h <<_ACEOF
43045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43046 _ACEOF
43049 done
43056 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43057 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43058 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43059 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43060 echo $ECHO_N "(cached) $ECHO_C" >&6
43061 else
43065 ac_ext=cc
43066 ac_cpp='$CXXCPP $CPPFLAGS'
43067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43071 cat >conftest.$ac_ext <<_ACEOF
43072 /* confdefs.h. */
43073 _ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43083 main ()
43085 fabsl(0);
43087 return 0;
43089 _ACEOF
43090 rm -f conftest.$ac_objext
43091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43092 (eval $ac_compile) 2>conftest.er1
43093 ac_status=$?
43094 grep -v '^ *+' conftest.er1 >conftest.err
43095 rm -f conftest.er1
43096 cat conftest.err >&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } &&
43099 { ac_try='test -z "$ac_cxx_werror_flag"
43100 || test ! -s conftest.err'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43103 ac_status=$?
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try='test -s conftest.$ac_objext'
43107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43108 (eval $ac_try) 2>&5
43109 ac_status=$?
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); }; }; then
43112 glibcxx_cv_func_fabsl_use=yes
43113 else
43114 echo "$as_me: failed program was:" >&5
43115 sed 's/^/| /' conftest.$ac_ext >&5
43117 glibcxx_cv_func_fabsl_use=no
43119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43131 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43133 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43135 for ac_func in fabsl
43137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43138 echo "$as_me:$LINENO: checking for $ac_func" >&5
43139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43140 if eval "test \"\${$as_ac_var+set}\" = set"; then
43141 echo $ECHO_N "(cached) $ECHO_C" >&6
43142 else
43143 if test x$gcc_no_link = xyes; then
43144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43146 { (exit 1); exit 1; }; }
43148 cat >conftest.$ac_ext <<_ACEOF
43149 /* confdefs.h. */
43150 _ACEOF
43151 cat confdefs.h >>conftest.$ac_ext
43152 cat >>conftest.$ac_ext <<_ACEOF
43153 /* end confdefs.h. */
43154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43156 #define $ac_func innocuous_$ac_func
43158 /* System header to define __stub macros and hopefully few prototypes,
43159 which can conflict with char $ac_func (); below.
43160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43161 <limits.h> exists even on freestanding compilers. */
43163 #ifdef __STDC__
43164 # include <limits.h>
43165 #else
43166 # include <assert.h>
43167 #endif
43169 #undef $ac_func
43171 /* Override any gcc2 internal prototype to avoid an error. */
43172 #ifdef __cplusplus
43173 extern "C"
43175 #endif
43176 /* We use char because int might match the return type of a gcc2
43177 builtin and then its argument prototype would still apply. */
43178 char $ac_func ();
43179 /* The GNU C library defines this for functions which it implements
43180 to always fail with ENOSYS. Some functions are actually named
43181 something starting with __ and the normal name is an alias. */
43182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43183 choke me
43184 #else
43185 char (*f) () = $ac_func;
43186 #endif
43187 #ifdef __cplusplus
43189 #endif
43192 main ()
43194 return f != $ac_func;
43196 return 0;
43198 _ACEOF
43199 rm -f conftest.$ac_objext conftest$ac_exeext
43200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43201 (eval $ac_link) 2>conftest.er1
43202 ac_status=$?
43203 grep -v '^ *+' conftest.er1 >conftest.err
43204 rm -f conftest.er1
43205 cat conftest.err >&5
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); } &&
43208 { ac_try='test -z "$ac_c_werror_flag"
43209 || test ! -s conftest.err'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; } &&
43215 { ac_try='test -s conftest$ac_exeext'
43216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217 (eval $ac_try) 2>&5
43218 ac_status=$?
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); }; }; then
43221 eval "$as_ac_var=yes"
43222 else
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43226 eval "$as_ac_var=no"
43228 rm -f conftest.err conftest.$ac_objext \
43229 conftest$ac_exeext conftest.$ac_ext
43231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43233 if test `eval echo '${'$as_ac_var'}'` = yes; then
43234 cat >>confdefs.h <<_ACEOF
43235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43236 _ACEOF
43239 done
43241 else
43243 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43244 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43245 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43246 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 else
43252 ac_ext=cc
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 #include <math.h>
43265 #ifdef HAVE_IEEEFP_H
43266 #include <ieeefp.h>
43267 #endif
43270 main ()
43272 _fabsl(0);
43274 return 0;
43276 _ACEOF
43277 rm -f conftest.$ac_objext
43278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43279 (eval $ac_compile) 2>conftest.er1
43280 ac_status=$?
43281 grep -v '^ *+' conftest.er1 >conftest.err
43282 rm -f conftest.er1
43283 cat conftest.err >&5
43284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43285 (exit $ac_status); } &&
43286 { ac_try='test -z "$ac_cxx_werror_flag"
43287 || test ! -s conftest.err'
43288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43289 (eval $ac_try) 2>&5
43290 ac_status=$?
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); }; } &&
43293 { ac_try='test -s conftest.$ac_objext'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43296 ac_status=$?
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; }; then
43299 glibcxx_cv_func__fabsl_use=yes
43300 else
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43304 glibcxx_cv_func__fabsl_use=no
43306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43307 ac_ext=c
43308 ac_cpp='$CPP $CPPFLAGS'
43309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43318 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43320 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43322 for ac_func in _fabsl
43324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43325 echo "$as_me:$LINENO: checking for $ac_func" >&5
43326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43327 if eval "test \"\${$as_ac_var+set}\" = set"; then
43328 echo $ECHO_N "(cached) $ECHO_C" >&6
43329 else
43330 if test x$gcc_no_link = xyes; then
43331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43333 { (exit 1); exit 1; }; }
43335 cat >conftest.$ac_ext <<_ACEOF
43336 /* confdefs.h. */
43337 _ACEOF
43338 cat confdefs.h >>conftest.$ac_ext
43339 cat >>conftest.$ac_ext <<_ACEOF
43340 /* end confdefs.h. */
43341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43343 #define $ac_func innocuous_$ac_func
43345 /* System header to define __stub macros and hopefully few prototypes,
43346 which can conflict with char $ac_func (); below.
43347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43348 <limits.h> exists even on freestanding compilers. */
43350 #ifdef __STDC__
43351 # include <limits.h>
43352 #else
43353 # include <assert.h>
43354 #endif
43356 #undef $ac_func
43358 /* Override any gcc2 internal prototype to avoid an error. */
43359 #ifdef __cplusplus
43360 extern "C"
43362 #endif
43363 /* We use char because int might match the return type of a gcc2
43364 builtin and then its argument prototype would still apply. */
43365 char $ac_func ();
43366 /* The GNU C library defines this for functions which it implements
43367 to always fail with ENOSYS. Some functions are actually named
43368 something starting with __ and the normal name is an alias. */
43369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43370 choke me
43371 #else
43372 char (*f) () = $ac_func;
43373 #endif
43374 #ifdef __cplusplus
43376 #endif
43379 main ()
43381 return f != $ac_func;
43383 return 0;
43385 _ACEOF
43386 rm -f conftest.$ac_objext conftest$ac_exeext
43387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43388 (eval $ac_link) 2>conftest.er1
43389 ac_status=$?
43390 grep -v '^ *+' conftest.er1 >conftest.err
43391 rm -f conftest.er1
43392 cat conftest.err >&5
43393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43394 (exit $ac_status); } &&
43395 { ac_try='test -z "$ac_c_werror_flag"
43396 || test ! -s conftest.err'
43397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43398 (eval $ac_try) 2>&5
43399 ac_status=$?
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); }; } &&
43402 { ac_try='test -s conftest$ac_exeext'
43403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43404 (eval $ac_try) 2>&5
43405 ac_status=$?
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; }; then
43408 eval "$as_ac_var=yes"
43409 else
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43413 eval "$as_ac_var=no"
43415 rm -f conftest.err conftest.$ac_objext \
43416 conftest$ac_exeext conftest.$ac_ext
43418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43420 if test `eval echo '${'$as_ac_var'}'` = yes; then
43421 cat >>confdefs.h <<_ACEOF
43422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43423 _ACEOF
43426 done
43433 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43434 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43435 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43436 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43437 echo $ECHO_N "(cached) $ECHO_C" >&6
43438 else
43442 ac_ext=cc
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat >conftest.$ac_ext <<_ACEOF
43449 /* confdefs.h. */
43450 _ACEOF
43451 cat confdefs.h >>conftest.$ac_ext
43452 cat >>conftest.$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43454 #include <math.h>
43456 main ()
43458 fmodl(0, 0);
43460 return 0;
43462 _ACEOF
43463 rm -f conftest.$ac_objext
43464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43465 (eval $ac_compile) 2>conftest.er1
43466 ac_status=$?
43467 grep -v '^ *+' conftest.er1 >conftest.err
43468 rm -f conftest.er1
43469 cat conftest.err >&5
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); } &&
43472 { ac_try='test -z "$ac_cxx_werror_flag"
43473 || test ! -s conftest.err'
43474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43475 (eval $ac_try) 2>&5
43476 ac_status=$?
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); }; } &&
43479 { ac_try='test -s conftest.$ac_objext'
43480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43481 (eval $ac_try) 2>&5
43482 ac_status=$?
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); }; }; then
43485 glibcxx_cv_func_fmodl_use=yes
43486 else
43487 echo "$as_me: failed program was:" >&5
43488 sed 's/^/| /' conftest.$ac_ext >&5
43490 glibcxx_cv_func_fmodl_use=no
43492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43493 ac_ext=c
43494 ac_cpp='$CPP $CPPFLAGS'
43495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43504 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43508 for ac_func in fmodl
43510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43511 echo "$as_me:$LINENO: checking for $ac_func" >&5
43512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43513 if eval "test \"\${$as_ac_var+set}\" = set"; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43515 else
43516 if test x$gcc_no_link = xyes; then
43517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43519 { (exit 1); exit 1; }; }
43521 cat >conftest.$ac_ext <<_ACEOF
43522 /* confdefs.h. */
43523 _ACEOF
43524 cat confdefs.h >>conftest.$ac_ext
43525 cat >>conftest.$ac_ext <<_ACEOF
43526 /* end confdefs.h. */
43527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43529 #define $ac_func innocuous_$ac_func
43531 /* System header to define __stub macros and hopefully few prototypes,
43532 which can conflict with char $ac_func (); below.
43533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43534 <limits.h> exists even on freestanding compilers. */
43536 #ifdef __STDC__
43537 # include <limits.h>
43538 #else
43539 # include <assert.h>
43540 #endif
43542 #undef $ac_func
43544 /* Override any gcc2 internal prototype to avoid an error. */
43545 #ifdef __cplusplus
43546 extern "C"
43548 #endif
43549 /* We use char because int might match the return type of a gcc2
43550 builtin and then its argument prototype would still apply. */
43551 char $ac_func ();
43552 /* The GNU C library defines this for functions which it implements
43553 to always fail with ENOSYS. Some functions are actually named
43554 something starting with __ and the normal name is an alias. */
43555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43556 choke me
43557 #else
43558 char (*f) () = $ac_func;
43559 #endif
43560 #ifdef __cplusplus
43562 #endif
43565 main ()
43567 return f != $ac_func;
43569 return 0;
43571 _ACEOF
43572 rm -f conftest.$ac_objext conftest$ac_exeext
43573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43574 (eval $ac_link) 2>conftest.er1
43575 ac_status=$?
43576 grep -v '^ *+' conftest.er1 >conftest.err
43577 rm -f conftest.er1
43578 cat conftest.err >&5
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); } &&
43581 { ac_try='test -z "$ac_c_werror_flag"
43582 || test ! -s conftest.err'
43583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43584 (eval $ac_try) 2>&5
43585 ac_status=$?
43586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587 (exit $ac_status); }; } &&
43588 { ac_try='test -s conftest$ac_exeext'
43589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43590 (eval $ac_try) 2>&5
43591 ac_status=$?
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); }; }; then
43594 eval "$as_ac_var=yes"
43595 else
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.$ac_ext >&5
43599 eval "$as_ac_var=no"
43601 rm -f conftest.err conftest.$ac_objext \
43602 conftest$ac_exeext conftest.$ac_ext
43604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43606 if test `eval echo '${'$as_ac_var'}'` = yes; then
43607 cat >>confdefs.h <<_ACEOF
43608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43609 _ACEOF
43612 done
43614 else
43616 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43617 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43618 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43619 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43620 echo $ECHO_N "(cached) $ECHO_C" >&6
43621 else
43625 ac_ext=cc
43626 ac_cpp='$CXXCPP $CPPFLAGS'
43627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43631 cat >conftest.$ac_ext <<_ACEOF
43632 /* confdefs.h. */
43633 _ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637 #include <math.h>
43639 main ()
43641 _fmodl(0, 0);
43643 return 0;
43645 _ACEOF
43646 rm -f conftest.$ac_objext
43647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43648 (eval $ac_compile) 2>conftest.er1
43649 ac_status=$?
43650 grep -v '^ *+' conftest.er1 >conftest.err
43651 rm -f conftest.er1
43652 cat conftest.err >&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } &&
43655 { ac_try='test -z "$ac_cxx_werror_flag"
43656 || test ! -s conftest.err'
43657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658 (eval $ac_try) 2>&5
43659 ac_status=$?
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; } &&
43662 { ac_try='test -s conftest.$ac_objext'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; }; then
43668 glibcxx_cv_func__fmodl_use=yes
43669 else
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43673 glibcxx_cv_func__fmodl_use=no
43675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43676 ac_ext=c
43677 ac_cpp='$CPP $CPPFLAGS'
43678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43687 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43689 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43691 for ac_func in _fmodl
43693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43694 echo "$as_me:$LINENO: checking for $ac_func" >&5
43695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43696 if eval "test \"\${$as_ac_var+set}\" = set"; then
43697 echo $ECHO_N "(cached) $ECHO_C" >&6
43698 else
43699 if test x$gcc_no_link = xyes; then
43700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43702 { (exit 1); exit 1; }; }
43704 cat >conftest.$ac_ext <<_ACEOF
43705 /* confdefs.h. */
43706 _ACEOF
43707 cat confdefs.h >>conftest.$ac_ext
43708 cat >>conftest.$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43712 #define $ac_func innocuous_$ac_func
43714 /* System header to define __stub macros and hopefully few prototypes,
43715 which can conflict with char $ac_func (); below.
43716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43717 <limits.h> exists even on freestanding compilers. */
43719 #ifdef __STDC__
43720 # include <limits.h>
43721 #else
43722 # include <assert.h>
43723 #endif
43725 #undef $ac_func
43727 /* Override any gcc2 internal prototype to avoid an error. */
43728 #ifdef __cplusplus
43729 extern "C"
43731 #endif
43732 /* We use char because int might match the return type of a gcc2
43733 builtin and then its argument prototype would still apply. */
43734 char $ac_func ();
43735 /* The GNU C library defines this for functions which it implements
43736 to always fail with ENOSYS. Some functions are actually named
43737 something starting with __ and the normal name is an alias. */
43738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43739 choke me
43740 #else
43741 char (*f) () = $ac_func;
43742 #endif
43743 #ifdef __cplusplus
43745 #endif
43748 main ()
43750 return f != $ac_func;
43752 return 0;
43754 _ACEOF
43755 rm -f conftest.$ac_objext conftest$ac_exeext
43756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43757 (eval $ac_link) 2>conftest.er1
43758 ac_status=$?
43759 grep -v '^ *+' conftest.er1 >conftest.err
43760 rm -f conftest.er1
43761 cat conftest.err >&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); } &&
43764 { ac_try='test -z "$ac_c_werror_flag"
43765 || test ! -s conftest.err'
43766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43767 (eval $ac_try) 2>&5
43768 ac_status=$?
43769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770 (exit $ac_status); }; } &&
43771 { ac_try='test -s conftest$ac_exeext'
43772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43773 (eval $ac_try) 2>&5
43774 ac_status=$?
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); }; }; then
43777 eval "$as_ac_var=yes"
43778 else
43779 echo "$as_me: failed program was:" >&5
43780 sed 's/^/| /' conftest.$ac_ext >&5
43782 eval "$as_ac_var=no"
43784 rm -f conftest.err conftest.$ac_objext \
43785 conftest$ac_exeext conftest.$ac_ext
43787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43789 if test `eval echo '${'$as_ac_var'}'` = yes; then
43790 cat >>confdefs.h <<_ACEOF
43791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43792 _ACEOF
43795 done
43802 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43803 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43804 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43805 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43806 echo $ECHO_N "(cached) $ECHO_C" >&6
43807 else
43811 ac_ext=cc
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43817 cat >conftest.$ac_ext <<_ACEOF
43818 /* confdefs.h. */
43819 _ACEOF
43820 cat confdefs.h >>conftest.$ac_ext
43821 cat >>conftest.$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43823 #include <math.h>
43825 main ()
43827 frexpl(0, 0);
43829 return 0;
43831 _ACEOF
43832 rm -f conftest.$ac_objext
43833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43834 (eval $ac_compile) 2>conftest.er1
43835 ac_status=$?
43836 grep -v '^ *+' conftest.er1 >conftest.err
43837 rm -f conftest.er1
43838 cat conftest.err >&5
43839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43840 (exit $ac_status); } &&
43841 { ac_try='test -z "$ac_cxx_werror_flag"
43842 || test ! -s conftest.err'
43843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43844 (eval $ac_try) 2>&5
43845 ac_status=$?
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); }; } &&
43848 { ac_try='test -s conftest.$ac_objext'
43849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850 (eval $ac_try) 2>&5
43851 ac_status=$?
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; }; then
43854 glibcxx_cv_func_frexpl_use=yes
43855 else
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.$ac_ext >&5
43859 glibcxx_cv_func_frexpl_use=no
43861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43862 ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43873 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43875 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43877 for ac_func in frexpl
43879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43880 echo "$as_me:$LINENO: checking for $ac_func" >&5
43881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43882 if eval "test \"\${$as_ac_var+set}\" = set"; then
43883 echo $ECHO_N "(cached) $ECHO_C" >&6
43884 else
43885 if test x$gcc_no_link = xyes; then
43886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43888 { (exit 1); exit 1; }; }
43890 cat >conftest.$ac_ext <<_ACEOF
43891 /* confdefs.h. */
43892 _ACEOF
43893 cat confdefs.h >>conftest.$ac_ext
43894 cat >>conftest.$ac_ext <<_ACEOF
43895 /* end confdefs.h. */
43896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43898 #define $ac_func innocuous_$ac_func
43900 /* System header to define __stub macros and hopefully few prototypes,
43901 which can conflict with char $ac_func (); below.
43902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43903 <limits.h> exists even on freestanding compilers. */
43905 #ifdef __STDC__
43906 # include <limits.h>
43907 #else
43908 # include <assert.h>
43909 #endif
43911 #undef $ac_func
43913 /* Override any gcc2 internal prototype to avoid an error. */
43914 #ifdef __cplusplus
43915 extern "C"
43917 #endif
43918 /* We use char because int might match the return type of a gcc2
43919 builtin and then its argument prototype would still apply. */
43920 char $ac_func ();
43921 /* The GNU C library defines this for functions which it implements
43922 to always fail with ENOSYS. Some functions are actually named
43923 something starting with __ and the normal name is an alias. */
43924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43925 choke me
43926 #else
43927 char (*f) () = $ac_func;
43928 #endif
43929 #ifdef __cplusplus
43931 #endif
43934 main ()
43936 return f != $ac_func;
43938 return 0;
43940 _ACEOF
43941 rm -f conftest.$ac_objext conftest$ac_exeext
43942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43943 (eval $ac_link) 2>conftest.er1
43944 ac_status=$?
43945 grep -v '^ *+' conftest.er1 >conftest.err
43946 rm -f conftest.er1
43947 cat conftest.err >&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } &&
43950 { ac_try='test -z "$ac_c_werror_flag"
43951 || test ! -s conftest.err'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; } &&
43957 { ac_try='test -s conftest$ac_exeext'
43958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43959 (eval $ac_try) 2>&5
43960 ac_status=$?
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); }; }; then
43963 eval "$as_ac_var=yes"
43964 else
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43968 eval "$as_ac_var=no"
43970 rm -f conftest.err conftest.$ac_objext \
43971 conftest$ac_exeext conftest.$ac_ext
43973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43975 if test `eval echo '${'$as_ac_var'}'` = yes; then
43976 cat >>confdefs.h <<_ACEOF
43977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43978 _ACEOF
43981 done
43983 else
43985 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43986 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43987 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43988 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43989 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 else
43994 ac_ext=cc
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44000 cat >conftest.$ac_ext <<_ACEOF
44001 /* confdefs.h. */
44002 _ACEOF
44003 cat confdefs.h >>conftest.$ac_ext
44004 cat >>conftest.$ac_ext <<_ACEOF
44005 /* end confdefs.h. */
44006 #include <math.h>
44008 main ()
44010 _frexpl(0, 0);
44012 return 0;
44014 _ACEOF
44015 rm -f conftest.$ac_objext
44016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44017 (eval $ac_compile) 2>conftest.er1
44018 ac_status=$?
44019 grep -v '^ *+' conftest.er1 >conftest.err
44020 rm -f conftest.er1
44021 cat conftest.err >&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); } &&
44024 { ac_try='test -z "$ac_cxx_werror_flag"
44025 || test ! -s conftest.err'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44028 ac_status=$?
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; } &&
44031 { ac_try='test -s conftest.$ac_objext'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44034 ac_status=$?
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; }; then
44037 glibcxx_cv_func__frexpl_use=yes
44038 else
44039 echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44042 glibcxx_cv_func__frexpl_use=no
44044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44045 ac_ext=c
44046 ac_cpp='$CPP $CPPFLAGS'
44047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44056 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44058 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44060 for ac_func in _frexpl
44062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44063 echo "$as_me:$LINENO: checking for $ac_func" >&5
44064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44065 if eval "test \"\${$as_ac_var+set}\" = set"; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44068 if test x$gcc_no_link = xyes; then
44069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44071 { (exit 1); exit 1; }; }
44073 cat >conftest.$ac_ext <<_ACEOF
44074 /* confdefs.h. */
44075 _ACEOF
44076 cat confdefs.h >>conftest.$ac_ext
44077 cat >>conftest.$ac_ext <<_ACEOF
44078 /* end confdefs.h. */
44079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44081 #define $ac_func innocuous_$ac_func
44083 /* System header to define __stub macros and hopefully few prototypes,
44084 which can conflict with char $ac_func (); below.
44085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44086 <limits.h> exists even on freestanding compilers. */
44088 #ifdef __STDC__
44089 # include <limits.h>
44090 #else
44091 # include <assert.h>
44092 #endif
44094 #undef $ac_func
44096 /* Override any gcc2 internal prototype to avoid an error. */
44097 #ifdef __cplusplus
44098 extern "C"
44100 #endif
44101 /* We use char because int might match the return type of a gcc2
44102 builtin and then its argument prototype would still apply. */
44103 char $ac_func ();
44104 /* The GNU C library defines this for functions which it implements
44105 to always fail with ENOSYS. Some functions are actually named
44106 something starting with __ and the normal name is an alias. */
44107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44108 choke me
44109 #else
44110 char (*f) () = $ac_func;
44111 #endif
44112 #ifdef __cplusplus
44114 #endif
44117 main ()
44119 return f != $ac_func;
44121 return 0;
44123 _ACEOF
44124 rm -f conftest.$ac_objext conftest$ac_exeext
44125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44126 (eval $ac_link) 2>conftest.er1
44127 ac_status=$?
44128 grep -v '^ *+' conftest.er1 >conftest.err
44129 rm -f conftest.er1
44130 cat conftest.err >&5
44131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132 (exit $ac_status); } &&
44133 { ac_try='test -z "$ac_c_werror_flag"
44134 || test ! -s conftest.err'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; } &&
44140 { ac_try='test -s conftest$ac_exeext'
44141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142 (eval $ac_try) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); }; }; then
44146 eval "$as_ac_var=yes"
44147 else
44148 echo "$as_me: failed program was:" >&5
44149 sed 's/^/| /' conftest.$ac_ext >&5
44151 eval "$as_ac_var=no"
44153 rm -f conftest.err conftest.$ac_objext \
44154 conftest$ac_exeext conftest.$ac_ext
44156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44158 if test `eval echo '${'$as_ac_var'}'` = yes; then
44159 cat >>confdefs.h <<_ACEOF
44160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44161 _ACEOF
44164 done
44171 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44172 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44173 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44174 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44175 echo $ECHO_N "(cached) $ECHO_C" >&6
44176 else
44180 ac_ext=cc
44181 ac_cpp='$CXXCPP $CPPFLAGS'
44182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44186 cat >conftest.$ac_ext <<_ACEOF
44187 /* confdefs.h. */
44188 _ACEOF
44189 cat confdefs.h >>conftest.$ac_ext
44190 cat >>conftest.$ac_ext <<_ACEOF
44191 /* end confdefs.h. */
44192 #include <math.h>
44194 main ()
44196 hypotl(0, 0);
44198 return 0;
44200 _ACEOF
44201 rm -f conftest.$ac_objext
44202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44203 (eval $ac_compile) 2>conftest.er1
44204 ac_status=$?
44205 grep -v '^ *+' conftest.er1 >conftest.err
44206 rm -f conftest.er1
44207 cat conftest.err >&5
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); } &&
44210 { ac_try='test -z "$ac_cxx_werror_flag"
44211 || test ! -s conftest.err'
44212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44213 (eval $ac_try) 2>&5
44214 ac_status=$?
44215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216 (exit $ac_status); }; } &&
44217 { ac_try='test -s conftest.$ac_objext'
44218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44219 (eval $ac_try) 2>&5
44220 ac_status=$?
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); }; }; then
44223 glibcxx_cv_func_hypotl_use=yes
44224 else
44225 echo "$as_me: failed program was:" >&5
44226 sed 's/^/| /' conftest.$ac_ext >&5
44228 glibcxx_cv_func_hypotl_use=no
44230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44231 ac_ext=c
44232 ac_cpp='$CPP $CPPFLAGS'
44233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44242 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44244 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44246 for ac_func in hypotl
44248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44249 echo "$as_me:$LINENO: checking for $ac_func" >&5
44250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44251 if eval "test \"\${$as_ac_var+set}\" = set"; then
44252 echo $ECHO_N "(cached) $ECHO_C" >&6
44253 else
44254 if test x$gcc_no_link = xyes; then
44255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44257 { (exit 1); exit 1; }; }
44259 cat >conftest.$ac_ext <<_ACEOF
44260 /* confdefs.h. */
44261 _ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44267 #define $ac_func innocuous_$ac_func
44269 /* System header to define __stub macros and hopefully few prototypes,
44270 which can conflict with char $ac_func (); below.
44271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44272 <limits.h> exists even on freestanding compilers. */
44274 #ifdef __STDC__
44275 # include <limits.h>
44276 #else
44277 # include <assert.h>
44278 #endif
44280 #undef $ac_func
44282 /* Override any gcc2 internal prototype to avoid an error. */
44283 #ifdef __cplusplus
44284 extern "C"
44286 #endif
44287 /* We use char because int might match the return type of a gcc2
44288 builtin and then its argument prototype would still apply. */
44289 char $ac_func ();
44290 /* The GNU C library defines this for functions which it implements
44291 to always fail with ENOSYS. Some functions are actually named
44292 something starting with __ and the normal name is an alias. */
44293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44294 choke me
44295 #else
44296 char (*f) () = $ac_func;
44297 #endif
44298 #ifdef __cplusplus
44300 #endif
44303 main ()
44305 return f != $ac_func;
44307 return 0;
44309 _ACEOF
44310 rm -f conftest.$ac_objext conftest$ac_exeext
44311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44312 (eval $ac_link) 2>conftest.er1
44313 ac_status=$?
44314 grep -v '^ *+' conftest.er1 >conftest.err
44315 rm -f conftest.er1
44316 cat conftest.err >&5
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); } &&
44319 { ac_try='test -z "$ac_c_werror_flag"
44320 || test ! -s conftest.err'
44321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44322 (eval $ac_try) 2>&5
44323 ac_status=$?
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); }; } &&
44326 { ac_try='test -s conftest$ac_exeext'
44327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44328 (eval $ac_try) 2>&5
44329 ac_status=$?
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); }; }; then
44332 eval "$as_ac_var=yes"
44333 else
44334 echo "$as_me: failed program was:" >&5
44335 sed 's/^/| /' conftest.$ac_ext >&5
44337 eval "$as_ac_var=no"
44339 rm -f conftest.err conftest.$ac_objext \
44340 conftest$ac_exeext conftest.$ac_ext
44342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44344 if test `eval echo '${'$as_ac_var'}'` = yes; then
44345 cat >>confdefs.h <<_ACEOF
44346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44347 _ACEOF
44350 done
44352 else
44354 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44355 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44356 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44357 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44358 echo $ECHO_N "(cached) $ECHO_C" >&6
44359 else
44363 ac_ext=cc
44364 ac_cpp='$CXXCPP $CPPFLAGS'
44365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44369 cat >conftest.$ac_ext <<_ACEOF
44370 /* confdefs.h. */
44371 _ACEOF
44372 cat confdefs.h >>conftest.$ac_ext
44373 cat >>conftest.$ac_ext <<_ACEOF
44374 /* end confdefs.h. */
44375 #include <math.h>
44377 main ()
44379 _hypotl(0, 0);
44381 return 0;
44383 _ACEOF
44384 rm -f conftest.$ac_objext
44385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44386 (eval $ac_compile) 2>conftest.er1
44387 ac_status=$?
44388 grep -v '^ *+' conftest.er1 >conftest.err
44389 rm -f conftest.er1
44390 cat conftest.err >&5
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); } &&
44393 { ac_try='test -z "$ac_cxx_werror_flag"
44394 || test ! -s conftest.err'
44395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44396 (eval $ac_try) 2>&5
44397 ac_status=$?
44398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399 (exit $ac_status); }; } &&
44400 { ac_try='test -s conftest.$ac_objext'
44401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44402 (eval $ac_try) 2>&5
44403 ac_status=$?
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; }; then
44406 glibcxx_cv_func__hypotl_use=yes
44407 else
44408 echo "$as_me: failed program was:" >&5
44409 sed 's/^/| /' conftest.$ac_ext >&5
44411 glibcxx_cv_func__hypotl_use=no
44413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44414 ac_ext=c
44415 ac_cpp='$CPP $CPPFLAGS'
44416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44425 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44427 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44429 for ac_func in _hypotl
44431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44432 echo "$as_me:$LINENO: checking for $ac_func" >&5
44433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44434 if eval "test \"\${$as_ac_var+set}\" = set"; then
44435 echo $ECHO_N "(cached) $ECHO_C" >&6
44436 else
44437 if test x$gcc_no_link = xyes; then
44438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44440 { (exit 1); exit 1; }; }
44442 cat >conftest.$ac_ext <<_ACEOF
44443 /* confdefs.h. */
44444 _ACEOF
44445 cat confdefs.h >>conftest.$ac_ext
44446 cat >>conftest.$ac_ext <<_ACEOF
44447 /* end confdefs.h. */
44448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44450 #define $ac_func innocuous_$ac_func
44452 /* System header to define __stub macros and hopefully few prototypes,
44453 which can conflict with char $ac_func (); below.
44454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44455 <limits.h> exists even on freestanding compilers. */
44457 #ifdef __STDC__
44458 # include <limits.h>
44459 #else
44460 # include <assert.h>
44461 #endif
44463 #undef $ac_func
44465 /* Override any gcc2 internal prototype to avoid an error. */
44466 #ifdef __cplusplus
44467 extern "C"
44469 #endif
44470 /* We use char because int might match the return type of a gcc2
44471 builtin and then its argument prototype would still apply. */
44472 char $ac_func ();
44473 /* The GNU C library defines this for functions which it implements
44474 to always fail with ENOSYS. Some functions are actually named
44475 something starting with __ and the normal name is an alias. */
44476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44477 choke me
44478 #else
44479 char (*f) () = $ac_func;
44480 #endif
44481 #ifdef __cplusplus
44483 #endif
44486 main ()
44488 return f != $ac_func;
44490 return 0;
44492 _ACEOF
44493 rm -f conftest.$ac_objext conftest$ac_exeext
44494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44495 (eval $ac_link) 2>conftest.er1
44496 ac_status=$?
44497 grep -v '^ *+' conftest.er1 >conftest.err
44498 rm -f conftest.er1
44499 cat conftest.err >&5
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); } &&
44502 { ac_try='test -z "$ac_c_werror_flag"
44503 || test ! -s conftest.err'
44504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44505 (eval $ac_try) 2>&5
44506 ac_status=$?
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); }; } &&
44509 { ac_try='test -s conftest$ac_exeext'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44512 ac_status=$?
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; }; then
44515 eval "$as_ac_var=yes"
44516 else
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.$ac_ext >&5
44520 eval "$as_ac_var=no"
44522 rm -f conftest.err conftest.$ac_objext \
44523 conftest$ac_exeext conftest.$ac_ext
44525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44527 if test `eval echo '${'$as_ac_var'}'` = yes; then
44528 cat >>confdefs.h <<_ACEOF
44529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44530 _ACEOF
44533 done
44540 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44541 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44542 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44543 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44544 echo $ECHO_N "(cached) $ECHO_C" >&6
44545 else
44549 ac_ext=cc
44550 ac_cpp='$CXXCPP $CPPFLAGS'
44551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44555 cat >conftest.$ac_ext <<_ACEOF
44556 /* confdefs.h. */
44557 _ACEOF
44558 cat confdefs.h >>conftest.$ac_ext
44559 cat >>conftest.$ac_ext <<_ACEOF
44560 /* end confdefs.h. */
44561 #include <math.h>
44563 main ()
44565 ldexpl(0, 0);
44567 return 0;
44569 _ACEOF
44570 rm -f conftest.$ac_objext
44571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44572 (eval $ac_compile) 2>conftest.er1
44573 ac_status=$?
44574 grep -v '^ *+' conftest.er1 >conftest.err
44575 rm -f conftest.er1
44576 cat conftest.err >&5
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); } &&
44579 { ac_try='test -z "$ac_cxx_werror_flag"
44580 || test ! -s conftest.err'
44581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44582 (eval $ac_try) 2>&5
44583 ac_status=$?
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); }; } &&
44586 { ac_try='test -s conftest.$ac_objext'
44587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44588 (eval $ac_try) 2>&5
44589 ac_status=$?
44590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591 (exit $ac_status); }; }; then
44592 glibcxx_cv_func_ldexpl_use=yes
44593 else
44594 echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44597 glibcxx_cv_func_ldexpl_use=no
44599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44600 ac_ext=c
44601 ac_cpp='$CPP $CPPFLAGS'
44602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44611 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44613 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44615 for ac_func in ldexpl
44617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44618 echo "$as_me:$LINENO: checking for $ac_func" >&5
44619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44620 if eval "test \"\${$as_ac_var+set}\" = set"; then
44621 echo $ECHO_N "(cached) $ECHO_C" >&6
44622 else
44623 if test x$gcc_no_link = xyes; then
44624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44626 { (exit 1); exit 1; }; }
44628 cat >conftest.$ac_ext <<_ACEOF
44629 /* confdefs.h. */
44630 _ACEOF
44631 cat confdefs.h >>conftest.$ac_ext
44632 cat >>conftest.$ac_ext <<_ACEOF
44633 /* end confdefs.h. */
44634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44636 #define $ac_func innocuous_$ac_func
44638 /* System header to define __stub macros and hopefully few prototypes,
44639 which can conflict with char $ac_func (); below.
44640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44641 <limits.h> exists even on freestanding compilers. */
44643 #ifdef __STDC__
44644 # include <limits.h>
44645 #else
44646 # include <assert.h>
44647 #endif
44649 #undef $ac_func
44651 /* Override any gcc2 internal prototype to avoid an error. */
44652 #ifdef __cplusplus
44653 extern "C"
44655 #endif
44656 /* We use char because int might match the return type of a gcc2
44657 builtin and then its argument prototype would still apply. */
44658 char $ac_func ();
44659 /* The GNU C library defines this for functions which it implements
44660 to always fail with ENOSYS. Some functions are actually named
44661 something starting with __ and the normal name is an alias. */
44662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44663 choke me
44664 #else
44665 char (*f) () = $ac_func;
44666 #endif
44667 #ifdef __cplusplus
44669 #endif
44672 main ()
44674 return f != $ac_func;
44676 return 0;
44678 _ACEOF
44679 rm -f conftest.$ac_objext conftest$ac_exeext
44680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44681 (eval $ac_link) 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } &&
44688 { ac_try='test -z "$ac_c_werror_flag"
44689 || test ! -s conftest.err'
44690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44691 (eval $ac_try) 2>&5
44692 ac_status=$?
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; } &&
44695 { ac_try='test -s conftest$ac_exeext'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; }; then
44701 eval "$as_ac_var=yes"
44702 else
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.$ac_ext >&5
44706 eval "$as_ac_var=no"
44708 rm -f conftest.err conftest.$ac_objext \
44709 conftest$ac_exeext conftest.$ac_ext
44711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44713 if test `eval echo '${'$as_ac_var'}'` = yes; then
44714 cat >>confdefs.h <<_ACEOF
44715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44716 _ACEOF
44719 done
44721 else
44723 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44724 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44725 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44726 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44727 echo $ECHO_N "(cached) $ECHO_C" >&6
44728 else
44732 ac_ext=cc
44733 ac_cpp='$CXXCPP $CPPFLAGS'
44734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44738 cat >conftest.$ac_ext <<_ACEOF
44739 /* confdefs.h. */
44740 _ACEOF
44741 cat confdefs.h >>conftest.$ac_ext
44742 cat >>conftest.$ac_ext <<_ACEOF
44743 /* end confdefs.h. */
44744 #include <math.h>
44746 main ()
44748 _ldexpl(0, 0);
44750 return 0;
44752 _ACEOF
44753 rm -f conftest.$ac_objext
44754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44755 (eval $ac_compile) 2>conftest.er1
44756 ac_status=$?
44757 grep -v '^ *+' conftest.er1 >conftest.err
44758 rm -f conftest.er1
44759 cat conftest.err >&5
44760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44761 (exit $ac_status); } &&
44762 { ac_try='test -z "$ac_cxx_werror_flag"
44763 || test ! -s conftest.err'
44764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44765 (eval $ac_try) 2>&5
44766 ac_status=$?
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); }; } &&
44769 { ac_try='test -s conftest.$ac_objext'
44770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44771 (eval $ac_try) 2>&5
44772 ac_status=$?
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); }; }; then
44775 glibcxx_cv_func__ldexpl_use=yes
44776 else
44777 echo "$as_me: failed program was:" >&5
44778 sed 's/^/| /' conftest.$ac_ext >&5
44780 glibcxx_cv_func__ldexpl_use=no
44782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44783 ac_ext=c
44784 ac_cpp='$CPP $CPPFLAGS'
44785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44794 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44796 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44798 for ac_func in _ldexpl
44800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44801 echo "$as_me:$LINENO: checking for $ac_func" >&5
44802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44803 if eval "test \"\${$as_ac_var+set}\" = set"; then
44804 echo $ECHO_N "(cached) $ECHO_C" >&6
44805 else
44806 if test x$gcc_no_link = xyes; then
44807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44809 { (exit 1); exit 1; }; }
44811 cat >conftest.$ac_ext <<_ACEOF
44812 /* confdefs.h. */
44813 _ACEOF
44814 cat confdefs.h >>conftest.$ac_ext
44815 cat >>conftest.$ac_ext <<_ACEOF
44816 /* end confdefs.h. */
44817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44819 #define $ac_func innocuous_$ac_func
44821 /* System header to define __stub macros and hopefully few prototypes,
44822 which can conflict with char $ac_func (); below.
44823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44824 <limits.h> exists even on freestanding compilers. */
44826 #ifdef __STDC__
44827 # include <limits.h>
44828 #else
44829 # include <assert.h>
44830 #endif
44832 #undef $ac_func
44834 /* Override any gcc2 internal prototype to avoid an error. */
44835 #ifdef __cplusplus
44836 extern "C"
44838 #endif
44839 /* We use char because int might match the return type of a gcc2
44840 builtin and then its argument prototype would still apply. */
44841 char $ac_func ();
44842 /* The GNU C library defines this for functions which it implements
44843 to always fail with ENOSYS. Some functions are actually named
44844 something starting with __ and the normal name is an alias. */
44845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44846 choke me
44847 #else
44848 char (*f) () = $ac_func;
44849 #endif
44850 #ifdef __cplusplus
44852 #endif
44855 main ()
44857 return f != $ac_func;
44859 return 0;
44861 _ACEOF
44862 rm -f conftest.$ac_objext conftest$ac_exeext
44863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44864 (eval $ac_link) 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } &&
44871 { ac_try='test -z "$ac_c_werror_flag"
44872 || test ! -s conftest.err'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; } &&
44878 { ac_try='test -s conftest$ac_exeext'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44881 ac_status=$?
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; }; then
44884 eval "$as_ac_var=yes"
44885 else
44886 echo "$as_me: failed program was:" >&5
44887 sed 's/^/| /' conftest.$ac_ext >&5
44889 eval "$as_ac_var=no"
44891 rm -f conftest.err conftest.$ac_objext \
44892 conftest$ac_exeext conftest.$ac_ext
44894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44896 if test `eval echo '${'$as_ac_var'}'` = yes; then
44897 cat >>confdefs.h <<_ACEOF
44898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44899 _ACEOF
44902 done
44909 echo "$as_me:$LINENO: checking for logl declaration" >&5
44910 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44911 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44912 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44913 echo $ECHO_N "(cached) $ECHO_C" >&6
44914 else
44918 ac_ext=cc
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44924 cat >conftest.$ac_ext <<_ACEOF
44925 /* confdefs.h. */
44926 _ACEOF
44927 cat confdefs.h >>conftest.$ac_ext
44928 cat >>conftest.$ac_ext <<_ACEOF
44929 /* end confdefs.h. */
44930 #include <math.h>
44931 #ifdef HAVE_IEEEFP_H
44932 #include <ieeefp.h>
44933 #endif
44936 main ()
44938 logl(0);
44940 return 0;
44942 _ACEOF
44943 rm -f conftest.$ac_objext
44944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44945 (eval $ac_compile) 2>conftest.er1
44946 ac_status=$?
44947 grep -v '^ *+' conftest.er1 >conftest.err
44948 rm -f conftest.er1
44949 cat conftest.err >&5
44950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951 (exit $ac_status); } &&
44952 { ac_try='test -z "$ac_cxx_werror_flag"
44953 || test ! -s conftest.err'
44954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44955 (eval $ac_try) 2>&5
44956 ac_status=$?
44957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958 (exit $ac_status); }; } &&
44959 { ac_try='test -s conftest.$ac_objext'
44960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44961 (eval $ac_try) 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; }; then
44965 glibcxx_cv_func_logl_use=yes
44966 else
44967 echo "$as_me: failed program was:" >&5
44968 sed 's/^/| /' conftest.$ac_ext >&5
44970 glibcxx_cv_func_logl_use=no
44972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44984 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44986 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44988 for ac_func in logl
44990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44991 echo "$as_me:$LINENO: checking for $ac_func" >&5
44992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44993 if eval "test \"\${$as_ac_var+set}\" = set"; then
44994 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 else
44996 if test x$gcc_no_link = xyes; then
44997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44999 { (exit 1); exit 1; }; }
45001 cat >conftest.$ac_ext <<_ACEOF
45002 /* confdefs.h. */
45003 _ACEOF
45004 cat confdefs.h >>conftest.$ac_ext
45005 cat >>conftest.$ac_ext <<_ACEOF
45006 /* end confdefs.h. */
45007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45009 #define $ac_func innocuous_$ac_func
45011 /* System header to define __stub macros and hopefully few prototypes,
45012 which can conflict with char $ac_func (); below.
45013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45014 <limits.h> exists even on freestanding compilers. */
45016 #ifdef __STDC__
45017 # include <limits.h>
45018 #else
45019 # include <assert.h>
45020 #endif
45022 #undef $ac_func
45024 /* Override any gcc2 internal prototype to avoid an error. */
45025 #ifdef __cplusplus
45026 extern "C"
45028 #endif
45029 /* We use char because int might match the return type of a gcc2
45030 builtin and then its argument prototype would still apply. */
45031 char $ac_func ();
45032 /* The GNU C library defines this for functions which it implements
45033 to always fail with ENOSYS. Some functions are actually named
45034 something starting with __ and the normal name is an alias. */
45035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45036 choke me
45037 #else
45038 char (*f) () = $ac_func;
45039 #endif
45040 #ifdef __cplusplus
45042 #endif
45045 main ()
45047 return f != $ac_func;
45049 return 0;
45051 _ACEOF
45052 rm -f conftest.$ac_objext conftest$ac_exeext
45053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45054 (eval $ac_link) 2>conftest.er1
45055 ac_status=$?
45056 grep -v '^ *+' conftest.er1 >conftest.err
45057 rm -f conftest.er1
45058 cat conftest.err >&5
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); } &&
45061 { ac_try='test -z "$ac_c_werror_flag"
45062 || test ! -s conftest.err'
45063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45064 (eval $ac_try) 2>&5
45065 ac_status=$?
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); }; } &&
45068 { ac_try='test -s conftest$ac_exeext'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; }; then
45074 eval "$as_ac_var=yes"
45075 else
45076 echo "$as_me: failed program was:" >&5
45077 sed 's/^/| /' conftest.$ac_ext >&5
45079 eval "$as_ac_var=no"
45081 rm -f conftest.err conftest.$ac_objext \
45082 conftest$ac_exeext conftest.$ac_ext
45084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45086 if test `eval echo '${'$as_ac_var'}'` = yes; then
45087 cat >>confdefs.h <<_ACEOF
45088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45089 _ACEOF
45092 done
45094 else
45096 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45097 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45098 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45099 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45100 echo $ECHO_N "(cached) $ECHO_C" >&6
45101 else
45105 ac_ext=cc
45106 ac_cpp='$CXXCPP $CPPFLAGS'
45107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45111 cat >conftest.$ac_ext <<_ACEOF
45112 /* confdefs.h. */
45113 _ACEOF
45114 cat confdefs.h >>conftest.$ac_ext
45115 cat >>conftest.$ac_ext <<_ACEOF
45116 /* end confdefs.h. */
45117 #include <math.h>
45118 #ifdef HAVE_IEEEFP_H
45119 #include <ieeefp.h>
45120 #endif
45123 main ()
45125 _logl(0);
45127 return 0;
45129 _ACEOF
45130 rm -f conftest.$ac_objext
45131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45132 (eval $ac_compile) 2>conftest.er1
45133 ac_status=$?
45134 grep -v '^ *+' conftest.er1 >conftest.err
45135 rm -f conftest.er1
45136 cat conftest.err >&5
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); } &&
45139 { ac_try='test -z "$ac_cxx_werror_flag"
45140 || test ! -s conftest.err'
45141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45142 (eval $ac_try) 2>&5
45143 ac_status=$?
45144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45145 (exit $ac_status); }; } &&
45146 { ac_try='test -s conftest.$ac_objext'
45147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45148 (eval $ac_try) 2>&5
45149 ac_status=$?
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); }; }; then
45152 glibcxx_cv_func__logl_use=yes
45153 else
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.$ac_ext >&5
45157 glibcxx_cv_func__logl_use=no
45159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45160 ac_ext=c
45161 ac_cpp='$CPP $CPPFLAGS'
45162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45171 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45173 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45175 for ac_func in _logl
45177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45178 echo "$as_me:$LINENO: checking for $ac_func" >&5
45179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45180 if eval "test \"\${$as_ac_var+set}\" = set"; then
45181 echo $ECHO_N "(cached) $ECHO_C" >&6
45182 else
45183 if test x$gcc_no_link = xyes; then
45184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45186 { (exit 1); exit 1; }; }
45188 cat >conftest.$ac_ext <<_ACEOF
45189 /* confdefs.h. */
45190 _ACEOF
45191 cat confdefs.h >>conftest.$ac_ext
45192 cat >>conftest.$ac_ext <<_ACEOF
45193 /* end confdefs.h. */
45194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45196 #define $ac_func innocuous_$ac_func
45198 /* System header to define __stub macros and hopefully few prototypes,
45199 which can conflict with char $ac_func (); below.
45200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45201 <limits.h> exists even on freestanding compilers. */
45203 #ifdef __STDC__
45204 # include <limits.h>
45205 #else
45206 # include <assert.h>
45207 #endif
45209 #undef $ac_func
45211 /* Override any gcc2 internal prototype to avoid an error. */
45212 #ifdef __cplusplus
45213 extern "C"
45215 #endif
45216 /* We use char because int might match the return type of a gcc2
45217 builtin and then its argument prototype would still apply. */
45218 char $ac_func ();
45219 /* The GNU C library defines this for functions which it implements
45220 to always fail with ENOSYS. Some functions are actually named
45221 something starting with __ and the normal name is an alias. */
45222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45223 choke me
45224 #else
45225 char (*f) () = $ac_func;
45226 #endif
45227 #ifdef __cplusplus
45229 #endif
45232 main ()
45234 return f != $ac_func;
45236 return 0;
45238 _ACEOF
45239 rm -f conftest.$ac_objext conftest$ac_exeext
45240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45241 (eval $ac_link) 2>conftest.er1
45242 ac_status=$?
45243 grep -v '^ *+' conftest.er1 >conftest.err
45244 rm -f conftest.er1
45245 cat conftest.err >&5
45246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247 (exit $ac_status); } &&
45248 { ac_try='test -z "$ac_c_werror_flag"
45249 || test ! -s conftest.err'
45250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45251 (eval $ac_try) 2>&5
45252 ac_status=$?
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); }; } &&
45255 { ac_try='test -s conftest$ac_exeext'
45256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45257 (eval $ac_try) 2>&5
45258 ac_status=$?
45259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45260 (exit $ac_status); }; }; then
45261 eval "$as_ac_var=yes"
45262 else
45263 echo "$as_me: failed program was:" >&5
45264 sed 's/^/| /' conftest.$ac_ext >&5
45266 eval "$as_ac_var=no"
45268 rm -f conftest.err conftest.$ac_objext \
45269 conftest$ac_exeext conftest.$ac_ext
45271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45273 if test `eval echo '${'$as_ac_var'}'` = yes; then
45274 cat >>confdefs.h <<_ACEOF
45275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45276 _ACEOF
45279 done
45286 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45287 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45288 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45289 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45290 echo $ECHO_N "(cached) $ECHO_C" >&6
45291 else
45295 ac_ext=cc
45296 ac_cpp='$CXXCPP $CPPFLAGS'
45297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45301 cat >conftest.$ac_ext <<_ACEOF
45302 /* confdefs.h. */
45303 _ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h. */
45307 #include <math.h>
45308 #ifdef HAVE_IEEEFP_H
45309 #include <ieeefp.h>
45310 #endif
45313 main ()
45315 log10l(0);
45317 return 0;
45319 _ACEOF
45320 rm -f conftest.$ac_objext
45321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45322 (eval $ac_compile) 2>conftest.er1
45323 ac_status=$?
45324 grep -v '^ *+' conftest.er1 >conftest.err
45325 rm -f conftest.er1
45326 cat conftest.err >&5
45327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45328 (exit $ac_status); } &&
45329 { ac_try='test -z "$ac_cxx_werror_flag"
45330 || test ! -s conftest.err'
45331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45332 (eval $ac_try) 2>&5
45333 ac_status=$?
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); }; } &&
45336 { ac_try='test -s conftest.$ac_objext'
45337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45338 (eval $ac_try) 2>&5
45339 ac_status=$?
45340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45341 (exit $ac_status); }; }; then
45342 glibcxx_cv_func_log10l_use=yes
45343 else
45344 echo "$as_me: failed program was:" >&5
45345 sed 's/^/| /' conftest.$ac_ext >&5
45347 glibcxx_cv_func_log10l_use=no
45349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45350 ac_ext=c
45351 ac_cpp='$CPP $CPPFLAGS'
45352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45361 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45363 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45365 for ac_func in log10l
45367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45368 echo "$as_me:$LINENO: checking for $ac_func" >&5
45369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45370 if eval "test \"\${$as_ac_var+set}\" = set"; then
45371 echo $ECHO_N "(cached) $ECHO_C" >&6
45372 else
45373 if test x$gcc_no_link = xyes; then
45374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45376 { (exit 1); exit 1; }; }
45378 cat >conftest.$ac_ext <<_ACEOF
45379 /* confdefs.h. */
45380 _ACEOF
45381 cat confdefs.h >>conftest.$ac_ext
45382 cat >>conftest.$ac_ext <<_ACEOF
45383 /* end confdefs.h. */
45384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45386 #define $ac_func innocuous_$ac_func
45388 /* System header to define __stub macros and hopefully few prototypes,
45389 which can conflict with char $ac_func (); below.
45390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45391 <limits.h> exists even on freestanding compilers. */
45393 #ifdef __STDC__
45394 # include <limits.h>
45395 #else
45396 # include <assert.h>
45397 #endif
45399 #undef $ac_func
45401 /* Override any gcc2 internal prototype to avoid an error. */
45402 #ifdef __cplusplus
45403 extern "C"
45405 #endif
45406 /* We use char because int might match the return type of a gcc2
45407 builtin and then its argument prototype would still apply. */
45408 char $ac_func ();
45409 /* The GNU C library defines this for functions which it implements
45410 to always fail with ENOSYS. Some functions are actually named
45411 something starting with __ and the normal name is an alias. */
45412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45413 choke me
45414 #else
45415 char (*f) () = $ac_func;
45416 #endif
45417 #ifdef __cplusplus
45419 #endif
45422 main ()
45424 return f != $ac_func;
45426 return 0;
45428 _ACEOF
45429 rm -f conftest.$ac_objext conftest$ac_exeext
45430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45431 (eval $ac_link) 2>conftest.er1
45432 ac_status=$?
45433 grep -v '^ *+' conftest.er1 >conftest.err
45434 rm -f conftest.er1
45435 cat conftest.err >&5
45436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45437 (exit $ac_status); } &&
45438 { ac_try='test -z "$ac_c_werror_flag"
45439 || test ! -s conftest.err'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; } &&
45445 { ac_try='test -s conftest$ac_exeext'
45446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45447 (eval $ac_try) 2>&5
45448 ac_status=$?
45449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450 (exit $ac_status); }; }; then
45451 eval "$as_ac_var=yes"
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45456 eval "$as_ac_var=no"
45458 rm -f conftest.err conftest.$ac_objext \
45459 conftest$ac_exeext conftest.$ac_ext
45461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45463 if test `eval echo '${'$as_ac_var'}'` = yes; then
45464 cat >>confdefs.h <<_ACEOF
45465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45466 _ACEOF
45469 done
45471 else
45473 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45474 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45475 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45476 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45478 else
45482 ac_ext=cc
45483 ac_cpp='$CXXCPP $CPPFLAGS'
45484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45488 cat >conftest.$ac_ext <<_ACEOF
45489 /* confdefs.h. */
45490 _ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 #include <math.h>
45495 #ifdef HAVE_IEEEFP_H
45496 #include <ieeefp.h>
45497 #endif
45500 main ()
45502 _log10l(0);
45504 return 0;
45506 _ACEOF
45507 rm -f conftest.$ac_objext
45508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45509 (eval $ac_compile) 2>conftest.er1
45510 ac_status=$?
45511 grep -v '^ *+' conftest.er1 >conftest.err
45512 rm -f conftest.er1
45513 cat conftest.err >&5
45514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515 (exit $ac_status); } &&
45516 { ac_try='test -z "$ac_cxx_werror_flag"
45517 || test ! -s conftest.err'
45518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45519 (eval $ac_try) 2>&5
45520 ac_status=$?
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); }; } &&
45523 { ac_try='test -s conftest.$ac_objext'
45524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45525 (eval $ac_try) 2>&5
45526 ac_status=$?
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); }; }; then
45529 glibcxx_cv_func__log10l_use=yes
45530 else
45531 echo "$as_me: failed program was:" >&5
45532 sed 's/^/| /' conftest.$ac_ext >&5
45534 glibcxx_cv_func__log10l_use=no
45536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45537 ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45548 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45550 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45552 for ac_func in _log10l
45554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45555 echo "$as_me:$LINENO: checking for $ac_func" >&5
45556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45557 if eval "test \"\${$as_ac_var+set}\" = set"; then
45558 echo $ECHO_N "(cached) $ECHO_C" >&6
45559 else
45560 if test x$gcc_no_link = xyes; then
45561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45563 { (exit 1); exit 1; }; }
45565 cat >conftest.$ac_ext <<_ACEOF
45566 /* confdefs.h. */
45567 _ACEOF
45568 cat confdefs.h >>conftest.$ac_ext
45569 cat >>conftest.$ac_ext <<_ACEOF
45570 /* end confdefs.h. */
45571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45573 #define $ac_func innocuous_$ac_func
45575 /* System header to define __stub macros and hopefully few prototypes,
45576 which can conflict with char $ac_func (); below.
45577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45578 <limits.h> exists even on freestanding compilers. */
45580 #ifdef __STDC__
45581 # include <limits.h>
45582 #else
45583 # include <assert.h>
45584 #endif
45586 #undef $ac_func
45588 /* Override any gcc2 internal prototype to avoid an error. */
45589 #ifdef __cplusplus
45590 extern "C"
45592 #endif
45593 /* We use char because int might match the return type of a gcc2
45594 builtin and then its argument prototype would still apply. */
45595 char $ac_func ();
45596 /* The GNU C library defines this for functions which it implements
45597 to always fail with ENOSYS. Some functions are actually named
45598 something starting with __ and the normal name is an alias. */
45599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45600 choke me
45601 #else
45602 char (*f) () = $ac_func;
45603 #endif
45604 #ifdef __cplusplus
45606 #endif
45609 main ()
45611 return f != $ac_func;
45613 return 0;
45615 _ACEOF
45616 rm -f conftest.$ac_objext conftest$ac_exeext
45617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45618 (eval $ac_link) 2>conftest.er1
45619 ac_status=$?
45620 grep -v '^ *+' conftest.er1 >conftest.err
45621 rm -f conftest.er1
45622 cat conftest.err >&5
45623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624 (exit $ac_status); } &&
45625 { ac_try='test -z "$ac_c_werror_flag"
45626 || test ! -s conftest.err'
45627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628 (eval $ac_try) 2>&5
45629 ac_status=$?
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); }; } &&
45632 { ac_try='test -s conftest$ac_exeext'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; }; then
45638 eval "$as_ac_var=yes"
45639 else
45640 echo "$as_me: failed program was:" >&5
45641 sed 's/^/| /' conftest.$ac_ext >&5
45643 eval "$as_ac_var=no"
45645 rm -f conftest.err conftest.$ac_objext \
45646 conftest$ac_exeext conftest.$ac_ext
45648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45650 if test `eval echo '${'$as_ac_var'}'` = yes; then
45651 cat >>confdefs.h <<_ACEOF
45652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45653 _ACEOF
45656 done
45663 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45664 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45665 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45666 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45667 echo $ECHO_N "(cached) $ECHO_C" >&6
45668 else
45672 ac_ext=cc
45673 ac_cpp='$CXXCPP $CPPFLAGS'
45674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45678 cat >conftest.$ac_ext <<_ACEOF
45679 /* confdefs.h. */
45680 _ACEOF
45681 cat confdefs.h >>conftest.$ac_ext
45682 cat >>conftest.$ac_ext <<_ACEOF
45683 /* end confdefs.h. */
45684 #include <math.h>
45686 main ()
45688 modfl(0, 0);
45690 return 0;
45692 _ACEOF
45693 rm -f conftest.$ac_objext
45694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45695 (eval $ac_compile) 2>conftest.er1
45696 ac_status=$?
45697 grep -v '^ *+' conftest.er1 >conftest.err
45698 rm -f conftest.er1
45699 cat conftest.err >&5
45700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701 (exit $ac_status); } &&
45702 { ac_try='test -z "$ac_cxx_werror_flag"
45703 || test ! -s conftest.err'
45704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45705 (eval $ac_try) 2>&5
45706 ac_status=$?
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); }; } &&
45709 { ac_try='test -s conftest.$ac_objext'
45710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45711 (eval $ac_try) 2>&5
45712 ac_status=$?
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); }; }; then
45715 glibcxx_cv_func_modfl_use=yes
45716 else
45717 echo "$as_me: failed program was:" >&5
45718 sed 's/^/| /' conftest.$ac_ext >&5
45720 glibcxx_cv_func_modfl_use=no
45722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45723 ac_ext=c
45724 ac_cpp='$CPP $CPPFLAGS'
45725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45734 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45736 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45738 for ac_func in modfl
45740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45741 echo "$as_me:$LINENO: checking for $ac_func" >&5
45742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45743 if eval "test \"\${$as_ac_var+set}\" = set"; then
45744 echo $ECHO_N "(cached) $ECHO_C" >&6
45745 else
45746 if test x$gcc_no_link = xyes; then
45747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45749 { (exit 1); exit 1; }; }
45751 cat >conftest.$ac_ext <<_ACEOF
45752 /* confdefs.h. */
45753 _ACEOF
45754 cat confdefs.h >>conftest.$ac_ext
45755 cat >>conftest.$ac_ext <<_ACEOF
45756 /* end confdefs.h. */
45757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45759 #define $ac_func innocuous_$ac_func
45761 /* System header to define __stub macros and hopefully few prototypes,
45762 which can conflict with char $ac_func (); below.
45763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45764 <limits.h> exists even on freestanding compilers. */
45766 #ifdef __STDC__
45767 # include <limits.h>
45768 #else
45769 # include <assert.h>
45770 #endif
45772 #undef $ac_func
45774 /* Override any gcc2 internal prototype to avoid an error. */
45775 #ifdef __cplusplus
45776 extern "C"
45778 #endif
45779 /* We use char because int might match the return type of a gcc2
45780 builtin and then its argument prototype would still apply. */
45781 char $ac_func ();
45782 /* The GNU C library defines this for functions which it implements
45783 to always fail with ENOSYS. Some functions are actually named
45784 something starting with __ and the normal name is an alias. */
45785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45786 choke me
45787 #else
45788 char (*f) () = $ac_func;
45789 #endif
45790 #ifdef __cplusplus
45792 #endif
45795 main ()
45797 return f != $ac_func;
45799 return 0;
45801 _ACEOF
45802 rm -f conftest.$ac_objext conftest$ac_exeext
45803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45804 (eval $ac_link) 2>conftest.er1
45805 ac_status=$?
45806 grep -v '^ *+' conftest.er1 >conftest.err
45807 rm -f conftest.er1
45808 cat conftest.err >&5
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); } &&
45811 { ac_try='test -z "$ac_c_werror_flag"
45812 || test ! -s conftest.err'
45813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45814 (eval $ac_try) 2>&5
45815 ac_status=$?
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); }; } &&
45818 { ac_try='test -s conftest$ac_exeext'
45819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820 (eval $ac_try) 2>&5
45821 ac_status=$?
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); }; }; then
45824 eval "$as_ac_var=yes"
45825 else
45826 echo "$as_me: failed program was:" >&5
45827 sed 's/^/| /' conftest.$ac_ext >&5
45829 eval "$as_ac_var=no"
45831 rm -f conftest.err conftest.$ac_objext \
45832 conftest$ac_exeext conftest.$ac_ext
45834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45836 if test `eval echo '${'$as_ac_var'}'` = yes; then
45837 cat >>confdefs.h <<_ACEOF
45838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45839 _ACEOF
45842 done
45844 else
45846 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45847 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45848 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45849 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45850 echo $ECHO_N "(cached) $ECHO_C" >&6
45851 else
45855 ac_ext=cc
45856 ac_cpp='$CXXCPP $CPPFLAGS'
45857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 #include <math.h>
45869 main ()
45871 _modfl(0, 0);
45873 return 0;
45875 _ACEOF
45876 rm -f conftest.$ac_objext
45877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45878 (eval $ac_compile) 2>conftest.er1
45879 ac_status=$?
45880 grep -v '^ *+' conftest.er1 >conftest.err
45881 rm -f conftest.er1
45882 cat conftest.err >&5
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); } &&
45885 { ac_try='test -z "$ac_cxx_werror_flag"
45886 || test ! -s conftest.err'
45887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45888 (eval $ac_try) 2>&5
45889 ac_status=$?
45890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891 (exit $ac_status); }; } &&
45892 { ac_try='test -s conftest.$ac_objext'
45893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45894 (eval $ac_try) 2>&5
45895 ac_status=$?
45896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897 (exit $ac_status); }; }; then
45898 glibcxx_cv_func__modfl_use=yes
45899 else
45900 echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.$ac_ext >&5
45903 glibcxx_cv_func__modfl_use=no
45905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45906 ac_ext=c
45907 ac_cpp='$CPP $CPPFLAGS'
45908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45917 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45919 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45921 for ac_func in _modfl
45923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45924 echo "$as_me:$LINENO: checking for $ac_func" >&5
45925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45926 if eval "test \"\${$as_ac_var+set}\" = set"; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929 if test x$gcc_no_link = xyes; then
45930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45932 { (exit 1); exit 1; }; }
45934 cat >conftest.$ac_ext <<_ACEOF
45935 /* confdefs.h. */
45936 _ACEOF
45937 cat confdefs.h >>conftest.$ac_ext
45938 cat >>conftest.$ac_ext <<_ACEOF
45939 /* end confdefs.h. */
45940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45942 #define $ac_func innocuous_$ac_func
45944 /* System header to define __stub macros and hopefully few prototypes,
45945 which can conflict with char $ac_func (); below.
45946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45947 <limits.h> exists even on freestanding compilers. */
45949 #ifdef __STDC__
45950 # include <limits.h>
45951 #else
45952 # include <assert.h>
45953 #endif
45955 #undef $ac_func
45957 /* Override any gcc2 internal prototype to avoid an error. */
45958 #ifdef __cplusplus
45959 extern "C"
45961 #endif
45962 /* We use char because int might match the return type of a gcc2
45963 builtin and then its argument prototype would still apply. */
45964 char $ac_func ();
45965 /* The GNU C library defines this for functions which it implements
45966 to always fail with ENOSYS. Some functions are actually named
45967 something starting with __ and the normal name is an alias. */
45968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45969 choke me
45970 #else
45971 char (*f) () = $ac_func;
45972 #endif
45973 #ifdef __cplusplus
45975 #endif
45978 main ()
45980 return f != $ac_func;
45982 return 0;
45984 _ACEOF
45985 rm -f conftest.$ac_objext conftest$ac_exeext
45986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45987 (eval $ac_link) 2>conftest.er1
45988 ac_status=$?
45989 grep -v '^ *+' conftest.er1 >conftest.err
45990 rm -f conftest.er1
45991 cat conftest.err >&5
45992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993 (exit $ac_status); } &&
45994 { ac_try='test -z "$ac_c_werror_flag"
45995 || test ! -s conftest.err'
45996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45997 (eval $ac_try) 2>&5
45998 ac_status=$?
45999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000 (exit $ac_status); }; } &&
46001 { ac_try='test -s conftest$ac_exeext'
46002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46003 (eval $ac_try) 2>&5
46004 ac_status=$?
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; }; then
46007 eval "$as_ac_var=yes"
46008 else
46009 echo "$as_me: failed program was:" >&5
46010 sed 's/^/| /' conftest.$ac_ext >&5
46012 eval "$as_ac_var=no"
46014 rm -f conftest.err conftest.$ac_objext \
46015 conftest$ac_exeext conftest.$ac_ext
46017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46019 if test `eval echo '${'$as_ac_var'}'` = yes; then
46020 cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46022 _ACEOF
46025 done
46032 echo "$as_me:$LINENO: checking for powl declaration" >&5
46033 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46034 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46035 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46037 else
46041 ac_ext=cc
46042 ac_cpp='$CXXCPP $CPPFLAGS'
46043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46047 cat >conftest.$ac_ext <<_ACEOF
46048 /* confdefs.h. */
46049 _ACEOF
46050 cat confdefs.h >>conftest.$ac_ext
46051 cat >>conftest.$ac_ext <<_ACEOF
46052 /* end confdefs.h. */
46053 #include <math.h>
46055 main ()
46057 powl(0, 0);
46059 return 0;
46061 _ACEOF
46062 rm -f conftest.$ac_objext
46063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46064 (eval $ac_compile) 2>conftest.er1
46065 ac_status=$?
46066 grep -v '^ *+' conftest.er1 >conftest.err
46067 rm -f conftest.er1
46068 cat conftest.err >&5
46069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46070 (exit $ac_status); } &&
46071 { ac_try='test -z "$ac_cxx_werror_flag"
46072 || test ! -s conftest.err'
46073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46074 (eval $ac_try) 2>&5
46075 ac_status=$?
46076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077 (exit $ac_status); }; } &&
46078 { ac_try='test -s conftest.$ac_objext'
46079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46080 (eval $ac_try) 2>&5
46081 ac_status=$?
46082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083 (exit $ac_status); }; }; then
46084 glibcxx_cv_func_powl_use=yes
46085 else
46086 echo "$as_me: failed program was:" >&5
46087 sed 's/^/| /' conftest.$ac_ext >&5
46089 glibcxx_cv_func_powl_use=no
46091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46092 ac_ext=c
46093 ac_cpp='$CPP $CPPFLAGS'
46094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46103 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46105 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46107 for ac_func in powl
46109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46110 echo "$as_me:$LINENO: checking for $ac_func" >&5
46111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46112 if eval "test \"\${$as_ac_var+set}\" = set"; then
46113 echo $ECHO_N "(cached) $ECHO_C" >&6
46114 else
46115 if test x$gcc_no_link = xyes; then
46116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46118 { (exit 1); exit 1; }; }
46120 cat >conftest.$ac_ext <<_ACEOF
46121 /* confdefs.h. */
46122 _ACEOF
46123 cat confdefs.h >>conftest.$ac_ext
46124 cat >>conftest.$ac_ext <<_ACEOF
46125 /* end confdefs.h. */
46126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46128 #define $ac_func innocuous_$ac_func
46130 /* System header to define __stub macros and hopefully few prototypes,
46131 which can conflict with char $ac_func (); below.
46132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46133 <limits.h> exists even on freestanding compilers. */
46135 #ifdef __STDC__
46136 # include <limits.h>
46137 #else
46138 # include <assert.h>
46139 #endif
46141 #undef $ac_func
46143 /* Override any gcc2 internal prototype to avoid an error. */
46144 #ifdef __cplusplus
46145 extern "C"
46147 #endif
46148 /* We use char because int might match the return type of a gcc2
46149 builtin and then its argument prototype would still apply. */
46150 char $ac_func ();
46151 /* The GNU C library defines this for functions which it implements
46152 to always fail with ENOSYS. Some functions are actually named
46153 something starting with __ and the normal name is an alias. */
46154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46155 choke me
46156 #else
46157 char (*f) () = $ac_func;
46158 #endif
46159 #ifdef __cplusplus
46161 #endif
46164 main ()
46166 return f != $ac_func;
46168 return 0;
46170 _ACEOF
46171 rm -f conftest.$ac_objext conftest$ac_exeext
46172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46173 (eval $ac_link) 2>conftest.er1
46174 ac_status=$?
46175 grep -v '^ *+' conftest.er1 >conftest.err
46176 rm -f conftest.er1
46177 cat conftest.err >&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } &&
46180 { ac_try='test -z "$ac_c_werror_flag"
46181 || test ! -s conftest.err'
46182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46183 (eval $ac_try) 2>&5
46184 ac_status=$?
46185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46186 (exit $ac_status); }; } &&
46187 { ac_try='test -s conftest$ac_exeext'
46188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46189 (eval $ac_try) 2>&5
46190 ac_status=$?
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); }; }; then
46193 eval "$as_ac_var=yes"
46194 else
46195 echo "$as_me: failed program was:" >&5
46196 sed 's/^/| /' conftest.$ac_ext >&5
46198 eval "$as_ac_var=no"
46200 rm -f conftest.err conftest.$ac_objext \
46201 conftest$ac_exeext conftest.$ac_ext
46203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46205 if test `eval echo '${'$as_ac_var'}'` = yes; then
46206 cat >>confdefs.h <<_ACEOF
46207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46208 _ACEOF
46211 done
46213 else
46215 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46216 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46217 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46218 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46219 echo $ECHO_N "(cached) $ECHO_C" >&6
46220 else
46224 ac_ext=cc
46225 ac_cpp='$CXXCPP $CPPFLAGS'
46226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46230 cat >conftest.$ac_ext <<_ACEOF
46231 /* confdefs.h. */
46232 _ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46236 #include <math.h>
46238 main ()
46240 _powl(0, 0);
46242 return 0;
46244 _ACEOF
46245 rm -f conftest.$ac_objext
46246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46247 (eval $ac_compile) 2>conftest.er1
46248 ac_status=$?
46249 grep -v '^ *+' conftest.er1 >conftest.err
46250 rm -f conftest.er1
46251 cat conftest.err >&5
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); } &&
46254 { ac_try='test -z "$ac_cxx_werror_flag"
46255 || test ! -s conftest.err'
46256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46257 (eval $ac_try) 2>&5
46258 ac_status=$?
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); }; } &&
46261 { ac_try='test -s conftest.$ac_objext'
46262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263 (eval $ac_try) 2>&5
46264 ac_status=$?
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); }; }; then
46267 glibcxx_cv_func__powl_use=yes
46268 else
46269 echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46272 glibcxx_cv_func__powl_use=no
46274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46275 ac_ext=c
46276 ac_cpp='$CPP $CPPFLAGS'
46277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46285 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46286 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46288 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46290 for ac_func in _powl
46292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46293 echo "$as_me:$LINENO: checking for $ac_func" >&5
46294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46295 if eval "test \"\${$as_ac_var+set}\" = set"; then
46296 echo $ECHO_N "(cached) $ECHO_C" >&6
46297 else
46298 if test x$gcc_no_link = xyes; then
46299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46301 { (exit 1); exit 1; }; }
46303 cat >conftest.$ac_ext <<_ACEOF
46304 /* confdefs.h. */
46305 _ACEOF
46306 cat confdefs.h >>conftest.$ac_ext
46307 cat >>conftest.$ac_ext <<_ACEOF
46308 /* end confdefs.h. */
46309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46311 #define $ac_func innocuous_$ac_func
46313 /* System header to define __stub macros and hopefully few prototypes,
46314 which can conflict with char $ac_func (); below.
46315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46316 <limits.h> exists even on freestanding compilers. */
46318 #ifdef __STDC__
46319 # include <limits.h>
46320 #else
46321 # include <assert.h>
46322 #endif
46324 #undef $ac_func
46326 /* Override any gcc2 internal prototype to avoid an error. */
46327 #ifdef __cplusplus
46328 extern "C"
46330 #endif
46331 /* We use char because int might match the return type of a gcc2
46332 builtin and then its argument prototype would still apply. */
46333 char $ac_func ();
46334 /* The GNU C library defines this for functions which it implements
46335 to always fail with ENOSYS. Some functions are actually named
46336 something starting with __ and the normal name is an alias. */
46337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46338 choke me
46339 #else
46340 char (*f) () = $ac_func;
46341 #endif
46342 #ifdef __cplusplus
46344 #endif
46347 main ()
46349 return f != $ac_func;
46351 return 0;
46353 _ACEOF
46354 rm -f conftest.$ac_objext conftest$ac_exeext
46355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46356 (eval $ac_link) 2>conftest.er1
46357 ac_status=$?
46358 grep -v '^ *+' conftest.er1 >conftest.err
46359 rm -f conftest.er1
46360 cat conftest.err >&5
46361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362 (exit $ac_status); } &&
46363 { ac_try='test -z "$ac_c_werror_flag"
46364 || test ! -s conftest.err'
46365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46366 (eval $ac_try) 2>&5
46367 ac_status=$?
46368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369 (exit $ac_status); }; } &&
46370 { ac_try='test -s conftest$ac_exeext'
46371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46372 (eval $ac_try) 2>&5
46373 ac_status=$?
46374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46375 (exit $ac_status); }; }; then
46376 eval "$as_ac_var=yes"
46377 else
46378 echo "$as_me: failed program was:" >&5
46379 sed 's/^/| /' conftest.$ac_ext >&5
46381 eval "$as_ac_var=no"
46383 rm -f conftest.err conftest.$ac_objext \
46384 conftest$ac_exeext conftest.$ac_ext
46386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46388 if test `eval echo '${'$as_ac_var'}'` = yes; then
46389 cat >>confdefs.h <<_ACEOF
46390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46391 _ACEOF
46394 done
46401 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46402 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46403 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46404 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46405 echo $ECHO_N "(cached) $ECHO_C" >&6
46406 else
46410 ac_ext=cc
46411 ac_cpp='$CXXCPP $CPPFLAGS'
46412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46416 cat >conftest.$ac_ext <<_ACEOF
46417 /* confdefs.h. */
46418 _ACEOF
46419 cat confdefs.h >>conftest.$ac_ext
46420 cat >>conftest.$ac_ext <<_ACEOF
46421 /* end confdefs.h. */
46422 #include <math.h>
46423 #ifdef HAVE_IEEEFP_H
46424 #include <ieeefp.h>
46425 #endif
46428 main ()
46430 sqrtl(0);
46432 return 0;
46434 _ACEOF
46435 rm -f conftest.$ac_objext
46436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46437 (eval $ac_compile) 2>conftest.er1
46438 ac_status=$?
46439 grep -v '^ *+' conftest.er1 >conftest.err
46440 rm -f conftest.er1
46441 cat conftest.err >&5
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); } &&
46444 { ac_try='test -z "$ac_cxx_werror_flag"
46445 || test ! -s conftest.err'
46446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46447 (eval $ac_try) 2>&5
46448 ac_status=$?
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); }; } &&
46451 { ac_try='test -s conftest.$ac_objext'
46452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46453 (eval $ac_try) 2>&5
46454 ac_status=$?
46455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46456 (exit $ac_status); }; }; then
46457 glibcxx_cv_func_sqrtl_use=yes
46458 else
46459 echo "$as_me: failed program was:" >&5
46460 sed 's/^/| /' conftest.$ac_ext >&5
46462 glibcxx_cv_func_sqrtl_use=no
46464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46476 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46478 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46480 for ac_func in sqrtl
46482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46483 echo "$as_me:$LINENO: checking for $ac_func" >&5
46484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46485 if eval "test \"\${$as_ac_var+set}\" = set"; then
46486 echo $ECHO_N "(cached) $ECHO_C" >&6
46487 else
46488 if test x$gcc_no_link = xyes; then
46489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46491 { (exit 1); exit 1; }; }
46493 cat >conftest.$ac_ext <<_ACEOF
46494 /* confdefs.h. */
46495 _ACEOF
46496 cat confdefs.h >>conftest.$ac_ext
46497 cat >>conftest.$ac_ext <<_ACEOF
46498 /* end confdefs.h. */
46499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46501 #define $ac_func innocuous_$ac_func
46503 /* System header to define __stub macros and hopefully few prototypes,
46504 which can conflict with char $ac_func (); below.
46505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46506 <limits.h> exists even on freestanding compilers. */
46508 #ifdef __STDC__
46509 # include <limits.h>
46510 #else
46511 # include <assert.h>
46512 #endif
46514 #undef $ac_func
46516 /* Override any gcc2 internal prototype to avoid an error. */
46517 #ifdef __cplusplus
46518 extern "C"
46520 #endif
46521 /* We use char because int might match the return type of a gcc2
46522 builtin and then its argument prototype would still apply. */
46523 char $ac_func ();
46524 /* The GNU C library defines this for functions which it implements
46525 to always fail with ENOSYS. Some functions are actually named
46526 something starting with __ and the normal name is an alias. */
46527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46528 choke me
46529 #else
46530 char (*f) () = $ac_func;
46531 #endif
46532 #ifdef __cplusplus
46534 #endif
46537 main ()
46539 return f != $ac_func;
46541 return 0;
46543 _ACEOF
46544 rm -f conftest.$ac_objext conftest$ac_exeext
46545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46546 (eval $ac_link) 2>conftest.er1
46547 ac_status=$?
46548 grep -v '^ *+' conftest.er1 >conftest.err
46549 rm -f conftest.er1
46550 cat conftest.err >&5
46551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46552 (exit $ac_status); } &&
46553 { ac_try='test -z "$ac_c_werror_flag"
46554 || test ! -s conftest.err'
46555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46556 (eval $ac_try) 2>&5
46557 ac_status=$?
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); }; } &&
46560 { ac_try='test -s conftest$ac_exeext'
46561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46562 (eval $ac_try) 2>&5
46563 ac_status=$?
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; }; then
46566 eval "$as_ac_var=yes"
46567 else
46568 echo "$as_me: failed program was:" >&5
46569 sed 's/^/| /' conftest.$ac_ext >&5
46571 eval "$as_ac_var=no"
46573 rm -f conftest.err conftest.$ac_objext \
46574 conftest$ac_exeext conftest.$ac_ext
46576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46578 if test `eval echo '${'$as_ac_var'}'` = yes; then
46579 cat >>confdefs.h <<_ACEOF
46580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46581 _ACEOF
46584 done
46586 else
46588 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46589 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46590 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46591 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46592 echo $ECHO_N "(cached) $ECHO_C" >&6
46593 else
46597 ac_ext=cc
46598 ac_cpp='$CXXCPP $CPPFLAGS'
46599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46603 cat >conftest.$ac_ext <<_ACEOF
46604 /* confdefs.h. */
46605 _ACEOF
46606 cat confdefs.h >>conftest.$ac_ext
46607 cat >>conftest.$ac_ext <<_ACEOF
46608 /* end confdefs.h. */
46609 #include <math.h>
46610 #ifdef HAVE_IEEEFP_H
46611 #include <ieeefp.h>
46612 #endif
46615 main ()
46617 _sqrtl(0);
46619 return 0;
46621 _ACEOF
46622 rm -f conftest.$ac_objext
46623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46624 (eval $ac_compile) 2>conftest.er1
46625 ac_status=$?
46626 grep -v '^ *+' conftest.er1 >conftest.err
46627 rm -f conftest.er1
46628 cat conftest.err >&5
46629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46630 (exit $ac_status); } &&
46631 { ac_try='test -z "$ac_cxx_werror_flag"
46632 || test ! -s conftest.err'
46633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46634 (eval $ac_try) 2>&5
46635 ac_status=$?
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); }; } &&
46638 { ac_try='test -s conftest.$ac_objext'
46639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46640 (eval $ac_try) 2>&5
46641 ac_status=$?
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 (exit $ac_status); }; }; then
46644 glibcxx_cv_func__sqrtl_use=yes
46645 else
46646 echo "$as_me: failed program was:" >&5
46647 sed 's/^/| /' conftest.$ac_ext >&5
46649 glibcxx_cv_func__sqrtl_use=no
46651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_ext=c
46653 ac_cpp='$CPP $CPPFLAGS'
46654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46663 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46665 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46667 for ac_func in _sqrtl
46669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46670 echo "$as_me:$LINENO: checking for $ac_func" >&5
46671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46672 if eval "test \"\${$as_ac_var+set}\" = set"; then
46673 echo $ECHO_N "(cached) $ECHO_C" >&6
46674 else
46675 if test x$gcc_no_link = xyes; then
46676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46678 { (exit 1); exit 1; }; }
46680 cat >conftest.$ac_ext <<_ACEOF
46681 /* confdefs.h. */
46682 _ACEOF
46683 cat confdefs.h >>conftest.$ac_ext
46684 cat >>conftest.$ac_ext <<_ACEOF
46685 /* end confdefs.h. */
46686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46688 #define $ac_func innocuous_$ac_func
46690 /* System header to define __stub macros and hopefully few prototypes,
46691 which can conflict with char $ac_func (); below.
46692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46693 <limits.h> exists even on freestanding compilers. */
46695 #ifdef __STDC__
46696 # include <limits.h>
46697 #else
46698 # include <assert.h>
46699 #endif
46701 #undef $ac_func
46703 /* Override any gcc2 internal prototype to avoid an error. */
46704 #ifdef __cplusplus
46705 extern "C"
46707 #endif
46708 /* We use char because int might match the return type of a gcc2
46709 builtin and then its argument prototype would still apply. */
46710 char $ac_func ();
46711 /* The GNU C library defines this for functions which it implements
46712 to always fail with ENOSYS. Some functions are actually named
46713 something starting with __ and the normal name is an alias. */
46714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46715 choke me
46716 #else
46717 char (*f) () = $ac_func;
46718 #endif
46719 #ifdef __cplusplus
46721 #endif
46724 main ()
46726 return f != $ac_func;
46728 return 0;
46730 _ACEOF
46731 rm -f conftest.$ac_objext conftest$ac_exeext
46732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46733 (eval $ac_link) 2>conftest.er1
46734 ac_status=$?
46735 grep -v '^ *+' conftest.er1 >conftest.err
46736 rm -f conftest.er1
46737 cat conftest.err >&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); } &&
46740 { ac_try='test -z "$ac_c_werror_flag"
46741 || test ! -s conftest.err'
46742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46743 (eval $ac_try) 2>&5
46744 ac_status=$?
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); }; } &&
46747 { ac_try='test -s conftest$ac_exeext'
46748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46749 (eval $ac_try) 2>&5
46750 ac_status=$?
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; }; then
46753 eval "$as_ac_var=yes"
46754 else
46755 echo "$as_me: failed program was:" >&5
46756 sed 's/^/| /' conftest.$ac_ext >&5
46758 eval "$as_ac_var=no"
46760 rm -f conftest.err conftest.$ac_objext \
46761 conftest$ac_exeext conftest.$ac_ext
46763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46765 if test `eval echo '${'$as_ac_var'}'` = yes; then
46766 cat >>confdefs.h <<_ACEOF
46767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46768 _ACEOF
46771 done
46778 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46779 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46780 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46781 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46782 echo $ECHO_N "(cached) $ECHO_C" >&6
46783 else
46787 ac_ext=cc
46788 ac_cpp='$CXXCPP $CPPFLAGS'
46789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46793 cat >conftest.$ac_ext <<_ACEOF
46794 /* confdefs.h. */
46795 _ACEOF
46796 cat confdefs.h >>conftest.$ac_ext
46797 cat >>conftest.$ac_ext <<_ACEOF
46798 /* end confdefs.h. */
46799 #include <math.h>
46801 main ()
46803 sincosl(0, 0, 0);
46805 return 0;
46807 _ACEOF
46808 rm -f conftest.$ac_objext
46809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46810 (eval $ac_compile) 2>conftest.er1
46811 ac_status=$?
46812 grep -v '^ *+' conftest.er1 >conftest.err
46813 rm -f conftest.er1
46814 cat conftest.err >&5
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); } &&
46817 { ac_try='test -z "$ac_cxx_werror_flag"
46818 || test ! -s conftest.err'
46819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46820 (eval $ac_try) 2>&5
46821 ac_status=$?
46822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823 (exit $ac_status); }; } &&
46824 { ac_try='test -s conftest.$ac_objext'
46825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46826 (eval $ac_try) 2>&5
46827 ac_status=$?
46828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46829 (exit $ac_status); }; }; then
46830 glibcxx_cv_func_sincosl_use=yes
46831 else
46832 echo "$as_me: failed program was:" >&5
46833 sed 's/^/| /' conftest.$ac_ext >&5
46835 glibcxx_cv_func_sincosl_use=no
46837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46838 ac_ext=c
46839 ac_cpp='$CPP $CPPFLAGS'
46840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46849 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46851 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46853 for ac_func in sincosl
46855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46856 echo "$as_me:$LINENO: checking for $ac_func" >&5
46857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46858 if eval "test \"\${$as_ac_var+set}\" = set"; then
46859 echo $ECHO_N "(cached) $ECHO_C" >&6
46860 else
46861 if test x$gcc_no_link = xyes; then
46862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46864 { (exit 1); exit 1; }; }
46866 cat >conftest.$ac_ext <<_ACEOF
46867 /* confdefs.h. */
46868 _ACEOF
46869 cat confdefs.h >>conftest.$ac_ext
46870 cat >>conftest.$ac_ext <<_ACEOF
46871 /* end confdefs.h. */
46872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46874 #define $ac_func innocuous_$ac_func
46876 /* System header to define __stub macros and hopefully few prototypes,
46877 which can conflict with char $ac_func (); below.
46878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46879 <limits.h> exists even on freestanding compilers. */
46881 #ifdef __STDC__
46882 # include <limits.h>
46883 #else
46884 # include <assert.h>
46885 #endif
46887 #undef $ac_func
46889 /* Override any gcc2 internal prototype to avoid an error. */
46890 #ifdef __cplusplus
46891 extern "C"
46893 #endif
46894 /* We use char because int might match the return type of a gcc2
46895 builtin and then its argument prototype would still apply. */
46896 char $ac_func ();
46897 /* The GNU C library defines this for functions which it implements
46898 to always fail with ENOSYS. Some functions are actually named
46899 something starting with __ and the normal name is an alias. */
46900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46901 choke me
46902 #else
46903 char (*f) () = $ac_func;
46904 #endif
46905 #ifdef __cplusplus
46907 #endif
46910 main ()
46912 return f != $ac_func;
46914 return 0;
46916 _ACEOF
46917 rm -f conftest.$ac_objext conftest$ac_exeext
46918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46919 (eval $ac_link) 2>conftest.er1
46920 ac_status=$?
46921 grep -v '^ *+' conftest.er1 >conftest.err
46922 rm -f conftest.er1
46923 cat conftest.err >&5
46924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925 (exit $ac_status); } &&
46926 { ac_try='test -z "$ac_c_werror_flag"
46927 || test ! -s conftest.err'
46928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46929 (eval $ac_try) 2>&5
46930 ac_status=$?
46931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46932 (exit $ac_status); }; } &&
46933 { ac_try='test -s conftest$ac_exeext'
46934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46935 (eval $ac_try) 2>&5
46936 ac_status=$?
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); }; }; then
46939 eval "$as_ac_var=yes"
46940 else
46941 echo "$as_me: failed program was:" >&5
46942 sed 's/^/| /' conftest.$ac_ext >&5
46944 eval "$as_ac_var=no"
46946 rm -f conftest.err conftest.$ac_objext \
46947 conftest$ac_exeext conftest.$ac_ext
46949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46951 if test `eval echo '${'$as_ac_var'}'` = yes; then
46952 cat >>confdefs.h <<_ACEOF
46953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46954 _ACEOF
46957 done
46959 else
46961 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46962 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46963 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46964 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46965 echo $ECHO_N "(cached) $ECHO_C" >&6
46966 else
46970 ac_ext=cc
46971 ac_cpp='$CXXCPP $CPPFLAGS'
46972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46976 cat >conftest.$ac_ext <<_ACEOF
46977 /* confdefs.h. */
46978 _ACEOF
46979 cat confdefs.h >>conftest.$ac_ext
46980 cat >>conftest.$ac_ext <<_ACEOF
46981 /* end confdefs.h. */
46982 #include <math.h>
46984 main ()
46986 _sincosl(0, 0, 0);
46988 return 0;
46990 _ACEOF
46991 rm -f conftest.$ac_objext
46992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46993 (eval $ac_compile) 2>conftest.er1
46994 ac_status=$?
46995 grep -v '^ *+' conftest.er1 >conftest.err
46996 rm -f conftest.er1
46997 cat conftest.err >&5
46998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46999 (exit $ac_status); } &&
47000 { ac_try='test -z "$ac_cxx_werror_flag"
47001 || test ! -s conftest.err'
47002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47003 (eval $ac_try) 2>&5
47004 ac_status=$?
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); }; } &&
47007 { ac_try='test -s conftest.$ac_objext'
47008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47009 (eval $ac_try) 2>&5
47010 ac_status=$?
47011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012 (exit $ac_status); }; }; then
47013 glibcxx_cv_func__sincosl_use=yes
47014 else
47015 echo "$as_me: failed program was:" >&5
47016 sed 's/^/| /' conftest.$ac_ext >&5
47018 glibcxx_cv_func__sincosl_use=no
47020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47021 ac_ext=c
47022 ac_cpp='$CPP $CPPFLAGS'
47023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47032 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47034 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47036 for ac_func in _sincosl
47038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47039 echo "$as_me:$LINENO: checking for $ac_func" >&5
47040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47041 if eval "test \"\${$as_ac_var+set}\" = set"; then
47042 echo $ECHO_N "(cached) $ECHO_C" >&6
47043 else
47044 if test x$gcc_no_link = xyes; then
47045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47047 { (exit 1); exit 1; }; }
47049 cat >conftest.$ac_ext <<_ACEOF
47050 /* confdefs.h. */
47051 _ACEOF
47052 cat confdefs.h >>conftest.$ac_ext
47053 cat >>conftest.$ac_ext <<_ACEOF
47054 /* end confdefs.h. */
47055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47057 #define $ac_func innocuous_$ac_func
47059 /* System header to define __stub macros and hopefully few prototypes,
47060 which can conflict with char $ac_func (); below.
47061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47062 <limits.h> exists even on freestanding compilers. */
47064 #ifdef __STDC__
47065 # include <limits.h>
47066 #else
47067 # include <assert.h>
47068 #endif
47070 #undef $ac_func
47072 /* Override any gcc2 internal prototype to avoid an error. */
47073 #ifdef __cplusplus
47074 extern "C"
47076 #endif
47077 /* We use char because int might match the return type of a gcc2
47078 builtin and then its argument prototype would still apply. */
47079 char $ac_func ();
47080 /* The GNU C library defines this for functions which it implements
47081 to always fail with ENOSYS. Some functions are actually named
47082 something starting with __ and the normal name is an alias. */
47083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47084 choke me
47085 #else
47086 char (*f) () = $ac_func;
47087 #endif
47088 #ifdef __cplusplus
47090 #endif
47093 main ()
47095 return f != $ac_func;
47097 return 0;
47099 _ACEOF
47100 rm -f conftest.$ac_objext conftest$ac_exeext
47101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47102 (eval $ac_link) 2>conftest.er1
47103 ac_status=$?
47104 grep -v '^ *+' conftest.er1 >conftest.err
47105 rm -f conftest.er1
47106 cat conftest.err >&5
47107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108 (exit $ac_status); } &&
47109 { ac_try='test -z "$ac_c_werror_flag"
47110 || test ! -s conftest.err'
47111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47112 (eval $ac_try) 2>&5
47113 ac_status=$?
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); }; } &&
47116 { ac_try='test -s conftest$ac_exeext'
47117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47118 (eval $ac_try) 2>&5
47119 ac_status=$?
47120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47121 (exit $ac_status); }; }; then
47122 eval "$as_ac_var=yes"
47123 else
47124 echo "$as_me: failed program was:" >&5
47125 sed 's/^/| /' conftest.$ac_ext >&5
47127 eval "$as_ac_var=no"
47129 rm -f conftest.err conftest.$ac_objext \
47130 conftest$ac_exeext conftest.$ac_ext
47132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47134 if test `eval echo '${'$as_ac_var'}'` = yes; then
47135 cat >>confdefs.h <<_ACEOF
47136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47137 _ACEOF
47140 done
47147 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47148 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47149 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47150 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47151 echo $ECHO_N "(cached) $ECHO_C" >&6
47152 else
47156 ac_ext=cc
47157 ac_cpp='$CXXCPP $CPPFLAGS'
47158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162 cat >conftest.$ac_ext <<_ACEOF
47163 /* confdefs.h. */
47164 _ACEOF
47165 cat confdefs.h >>conftest.$ac_ext
47166 cat >>conftest.$ac_ext <<_ACEOF
47167 /* end confdefs.h. */
47168 #include <math.h>
47169 #ifdef HAVE_IEEEFP_H
47170 #include <ieeefp.h>
47171 #endif
47174 main ()
47176 finitel(0);
47178 return 0;
47180 _ACEOF
47181 rm -f conftest.$ac_objext
47182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47183 (eval $ac_compile) 2>conftest.er1
47184 ac_status=$?
47185 grep -v '^ *+' conftest.er1 >conftest.err
47186 rm -f conftest.er1
47187 cat conftest.err >&5
47188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47189 (exit $ac_status); } &&
47190 { ac_try='test -z "$ac_cxx_werror_flag"
47191 || test ! -s conftest.err'
47192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47193 (eval $ac_try) 2>&5
47194 ac_status=$?
47195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47196 (exit $ac_status); }; } &&
47197 { ac_try='test -s conftest.$ac_objext'
47198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47199 (eval $ac_try) 2>&5
47200 ac_status=$?
47201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47202 (exit $ac_status); }; }; then
47203 glibcxx_cv_func_finitel_use=yes
47204 else
47205 echo "$as_me: failed program was:" >&5
47206 sed 's/^/| /' conftest.$ac_ext >&5
47208 glibcxx_cv_func_finitel_use=no
47210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47211 ac_ext=c
47212 ac_cpp='$CPP $CPPFLAGS'
47213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47222 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47224 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47226 for ac_func in finitel
47228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47229 echo "$as_me:$LINENO: checking for $ac_func" >&5
47230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47231 if eval "test \"\${$as_ac_var+set}\" = set"; then
47232 echo $ECHO_N "(cached) $ECHO_C" >&6
47233 else
47234 if test x$gcc_no_link = xyes; then
47235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47237 { (exit 1); exit 1; }; }
47239 cat >conftest.$ac_ext <<_ACEOF
47240 /* confdefs.h. */
47241 _ACEOF
47242 cat confdefs.h >>conftest.$ac_ext
47243 cat >>conftest.$ac_ext <<_ACEOF
47244 /* end confdefs.h. */
47245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47247 #define $ac_func innocuous_$ac_func
47249 /* System header to define __stub macros and hopefully few prototypes,
47250 which can conflict with char $ac_func (); below.
47251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47252 <limits.h> exists even on freestanding compilers. */
47254 #ifdef __STDC__
47255 # include <limits.h>
47256 #else
47257 # include <assert.h>
47258 #endif
47260 #undef $ac_func
47262 /* Override any gcc2 internal prototype to avoid an error. */
47263 #ifdef __cplusplus
47264 extern "C"
47266 #endif
47267 /* We use char because int might match the return type of a gcc2
47268 builtin and then its argument prototype would still apply. */
47269 char $ac_func ();
47270 /* The GNU C library defines this for functions which it implements
47271 to always fail with ENOSYS. Some functions are actually named
47272 something starting with __ and the normal name is an alias. */
47273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47274 choke me
47275 #else
47276 char (*f) () = $ac_func;
47277 #endif
47278 #ifdef __cplusplus
47280 #endif
47283 main ()
47285 return f != $ac_func;
47287 return 0;
47289 _ACEOF
47290 rm -f conftest.$ac_objext conftest$ac_exeext
47291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47292 (eval $ac_link) 2>conftest.er1
47293 ac_status=$?
47294 grep -v '^ *+' conftest.er1 >conftest.err
47295 rm -f conftest.er1
47296 cat conftest.err >&5
47297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47298 (exit $ac_status); } &&
47299 { ac_try='test -z "$ac_c_werror_flag"
47300 || test ! -s conftest.err'
47301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47302 (eval $ac_try) 2>&5
47303 ac_status=$?
47304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305 (exit $ac_status); }; } &&
47306 { ac_try='test -s conftest$ac_exeext'
47307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47308 (eval $ac_try) 2>&5
47309 ac_status=$?
47310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47311 (exit $ac_status); }; }; then
47312 eval "$as_ac_var=yes"
47313 else
47314 echo "$as_me: failed program was:" >&5
47315 sed 's/^/| /' conftest.$ac_ext >&5
47317 eval "$as_ac_var=no"
47319 rm -f conftest.err conftest.$ac_objext \
47320 conftest$ac_exeext conftest.$ac_ext
47322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47324 if test `eval echo '${'$as_ac_var'}'` = yes; then
47325 cat >>confdefs.h <<_ACEOF
47326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47327 _ACEOF
47330 done
47332 else
47334 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47335 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47336 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47337 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47338 echo $ECHO_N "(cached) $ECHO_C" >&6
47339 else
47343 ac_ext=cc
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat >conftest.$ac_ext <<_ACEOF
47350 /* confdefs.h. */
47351 _ACEOF
47352 cat confdefs.h >>conftest.$ac_ext
47353 cat >>conftest.$ac_ext <<_ACEOF
47354 /* end confdefs.h. */
47355 #include <math.h>
47356 #ifdef HAVE_IEEEFP_H
47357 #include <ieeefp.h>
47358 #endif
47361 main ()
47363 _finitel(0);
47365 return 0;
47367 _ACEOF
47368 rm -f conftest.$ac_objext
47369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47370 (eval $ac_compile) 2>conftest.er1
47371 ac_status=$?
47372 grep -v '^ *+' conftest.er1 >conftest.err
47373 rm -f conftest.er1
47374 cat conftest.err >&5
47375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376 (exit $ac_status); } &&
47377 { ac_try='test -z "$ac_cxx_werror_flag"
47378 || test ! -s conftest.err'
47379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47380 (eval $ac_try) 2>&5
47381 ac_status=$?
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); }; } &&
47384 { ac_try='test -s conftest.$ac_objext'
47385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47386 (eval $ac_try) 2>&5
47387 ac_status=$?
47388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47389 (exit $ac_status); }; }; then
47390 glibcxx_cv_func__finitel_use=yes
47391 else
47392 echo "$as_me: failed program was:" >&5
47393 sed 's/^/| /' conftest.$ac_ext >&5
47395 glibcxx_cv_func__finitel_use=no
47397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47398 ac_ext=c
47399 ac_cpp='$CPP $CPPFLAGS'
47400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47409 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47411 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47413 for ac_func in _finitel
47415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47416 echo "$as_me:$LINENO: checking for $ac_func" >&5
47417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47418 if eval "test \"\${$as_ac_var+set}\" = set"; then
47419 echo $ECHO_N "(cached) $ECHO_C" >&6
47420 else
47421 if test x$gcc_no_link = xyes; then
47422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47424 { (exit 1); exit 1; }; }
47426 cat >conftest.$ac_ext <<_ACEOF
47427 /* confdefs.h. */
47428 _ACEOF
47429 cat confdefs.h >>conftest.$ac_ext
47430 cat >>conftest.$ac_ext <<_ACEOF
47431 /* end confdefs.h. */
47432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47434 #define $ac_func innocuous_$ac_func
47436 /* System header to define __stub macros and hopefully few prototypes,
47437 which can conflict with char $ac_func (); below.
47438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47439 <limits.h> exists even on freestanding compilers. */
47441 #ifdef __STDC__
47442 # include <limits.h>
47443 #else
47444 # include <assert.h>
47445 #endif
47447 #undef $ac_func
47449 /* Override any gcc2 internal prototype to avoid an error. */
47450 #ifdef __cplusplus
47451 extern "C"
47453 #endif
47454 /* We use char because int might match the return type of a gcc2
47455 builtin and then its argument prototype would still apply. */
47456 char $ac_func ();
47457 /* The GNU C library defines this for functions which it implements
47458 to always fail with ENOSYS. Some functions are actually named
47459 something starting with __ and the normal name is an alias. */
47460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47461 choke me
47462 #else
47463 char (*f) () = $ac_func;
47464 #endif
47465 #ifdef __cplusplus
47467 #endif
47470 main ()
47472 return f != $ac_func;
47474 return 0;
47476 _ACEOF
47477 rm -f conftest.$ac_objext conftest$ac_exeext
47478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47479 (eval $ac_link) 2>conftest.er1
47480 ac_status=$?
47481 grep -v '^ *+' conftest.er1 >conftest.err
47482 rm -f conftest.er1
47483 cat conftest.err >&5
47484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485 (exit $ac_status); } &&
47486 { ac_try='test -z "$ac_c_werror_flag"
47487 || test ! -s conftest.err'
47488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47489 (eval $ac_try) 2>&5
47490 ac_status=$?
47491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492 (exit $ac_status); }; } &&
47493 { ac_try='test -s conftest$ac_exeext'
47494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47495 (eval $ac_try) 2>&5
47496 ac_status=$?
47497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47498 (exit $ac_status); }; }; then
47499 eval "$as_ac_var=yes"
47500 else
47501 echo "$as_me: failed program was:" >&5
47502 sed 's/^/| /' conftest.$ac_ext >&5
47504 eval "$as_ac_var=no"
47506 rm -f conftest.err conftest.$ac_objext \
47507 conftest$ac_exeext conftest.$ac_ext
47509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47511 if test `eval echo '${'$as_ac_var'}'` = yes; then
47512 cat >>confdefs.h <<_ACEOF
47513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47514 _ACEOF
47517 done
47525 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47526 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47527 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47528 echo $ECHO_N "(cached) $ECHO_C" >&6
47529 else
47533 ac_ext=cc
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47539 cat >conftest.$ac_ext <<_ACEOF
47540 /* confdefs.h. */
47541 _ACEOF
47542 cat confdefs.h >>conftest.$ac_ext
47543 cat >>conftest.$ac_ext <<_ACEOF
47544 /* end confdefs.h. */
47545 #include <math.h>
47547 main ()
47549 `for x in _acosf _asinf _atanf \
47550 _cosf _sinf _tanf \
47551 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47553 return 0;
47555 _ACEOF
47556 rm -f conftest.$ac_objext
47557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47558 (eval $ac_compile) 2>conftest.er1
47559 ac_status=$?
47560 grep -v '^ *+' conftest.er1 >conftest.err
47561 rm -f conftest.er1
47562 cat conftest.err >&5
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); } &&
47565 { ac_try='test -z "$ac_cxx_werror_flag"
47566 || test ! -s conftest.err'
47567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47568 (eval $ac_try) 2>&5
47569 ac_status=$?
47570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571 (exit $ac_status); }; } &&
47572 { ac_try='test -s conftest.$ac_objext'
47573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47574 (eval $ac_try) 2>&5
47575 ac_status=$?
47576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47577 (exit $ac_status); }; }; then
47578 glibcxx_cv_func__float_trig_use=yes
47579 else
47580 echo "$as_me: failed program was:" >&5
47581 sed 's/^/| /' conftest.$ac_ext >&5
47583 glibcxx_cv_func__float_trig_use=no
47585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47586 ac_ext=c
47587 ac_cpp='$CPP $CPPFLAGS'
47588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47595 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47596 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47606 for ac_func in _acosf _asinf _atanf \
47607 _cosf _sinf _tanf \
47608 _coshf _sinhf _tanhf
47610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47611 echo "$as_me:$LINENO: checking for $ac_func" >&5
47612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47613 if eval "test \"\${$as_ac_var+set}\" = set"; then
47614 echo $ECHO_N "(cached) $ECHO_C" >&6
47615 else
47616 if test x$gcc_no_link = xyes; then
47617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47619 { (exit 1); exit 1; }; }
47621 cat >conftest.$ac_ext <<_ACEOF
47622 /* confdefs.h. */
47623 _ACEOF
47624 cat confdefs.h >>conftest.$ac_ext
47625 cat >>conftest.$ac_ext <<_ACEOF
47626 /* end confdefs.h. */
47627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47629 #define $ac_func innocuous_$ac_func
47631 /* System header to define __stub macros and hopefully few prototypes,
47632 which can conflict with char $ac_func (); below.
47633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47634 <limits.h> exists even on freestanding compilers. */
47636 #ifdef __STDC__
47637 # include <limits.h>
47638 #else
47639 # include <assert.h>
47640 #endif
47642 #undef $ac_func
47644 /* Override any gcc2 internal prototype to avoid an error. */
47645 #ifdef __cplusplus
47646 extern "C"
47648 #endif
47649 /* We use char because int might match the return type of a gcc2
47650 builtin and then its argument prototype would still apply. */
47651 char $ac_func ();
47652 /* The GNU C library defines this for functions which it implements
47653 to always fail with ENOSYS. Some functions are actually named
47654 something starting with __ and the normal name is an alias. */
47655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47656 choke me
47657 #else
47658 char (*f) () = $ac_func;
47659 #endif
47660 #ifdef __cplusplus
47662 #endif
47665 main ()
47667 return f != $ac_func;
47669 return 0;
47671 _ACEOF
47672 rm -f conftest.$ac_objext conftest$ac_exeext
47673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47674 (eval $ac_link) 2>conftest.er1
47675 ac_status=$?
47676 grep -v '^ *+' conftest.er1 >conftest.err
47677 rm -f conftest.er1
47678 cat conftest.err >&5
47679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47680 (exit $ac_status); } &&
47681 { ac_try='test -z "$ac_c_werror_flag"
47682 || test ! -s conftest.err'
47683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47684 (eval $ac_try) 2>&5
47685 ac_status=$?
47686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687 (exit $ac_status); }; } &&
47688 { ac_try='test -s conftest$ac_exeext'
47689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690 (eval $ac_try) 2>&5
47691 ac_status=$?
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); }; }; then
47694 eval "$as_ac_var=yes"
47695 else
47696 echo "$as_me: failed program was:" >&5
47697 sed 's/^/| /' conftest.$ac_ext >&5
47699 eval "$as_ac_var=no"
47701 rm -f conftest.err conftest.$ac_objext \
47702 conftest$ac_exeext conftest.$ac_ext
47704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47706 if test `eval echo '${'$as_ac_var'}'` = yes; then
47707 cat >>confdefs.h <<_ACEOF
47708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47709 _ACEOF
47712 done
47717 echo "$as_me:$LINENO: checking for _float round functions" >&5
47718 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47719 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47725 ac_ext=cc
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47731 cat >conftest.$ac_ext <<_ACEOF
47732 /* confdefs.h. */
47733 _ACEOF
47734 cat confdefs.h >>conftest.$ac_ext
47735 cat >>conftest.$ac_ext <<_ACEOF
47736 /* end confdefs.h. */
47737 #include <math.h>
47739 main ()
47741 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47743 return 0;
47745 _ACEOF
47746 rm -f conftest.$ac_objext
47747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47748 (eval $ac_compile) 2>conftest.er1
47749 ac_status=$?
47750 grep -v '^ *+' conftest.er1 >conftest.err
47751 rm -f conftest.er1
47752 cat conftest.err >&5
47753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47754 (exit $ac_status); } &&
47755 { ac_try='test -z "$ac_cxx_werror_flag"
47756 || test ! -s conftest.err'
47757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47758 (eval $ac_try) 2>&5
47759 ac_status=$?
47760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47761 (exit $ac_status); }; } &&
47762 { ac_try='test -s conftest.$ac_objext'
47763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47764 (eval $ac_try) 2>&5
47765 ac_status=$?
47766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47767 (exit $ac_status); }; }; then
47768 glibcxx_cv_func__float_round_use=yes
47769 else
47770 echo "$as_me: failed program was:" >&5
47771 sed 's/^/| /' conftest.$ac_ext >&5
47773 glibcxx_cv_func__float_round_use=no
47775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47776 ac_ext=c
47777 ac_cpp='$CPP $CPPFLAGS'
47778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47785 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47786 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47789 for ac_func in _ceilf _floorf
47791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47792 echo "$as_me:$LINENO: checking for $ac_func" >&5
47793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47794 if eval "test \"\${$as_ac_var+set}\" = set"; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 else
47797 if test x$gcc_no_link = xyes; then
47798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47800 { (exit 1); exit 1; }; }
47802 cat >conftest.$ac_ext <<_ACEOF
47803 /* confdefs.h. */
47804 _ACEOF
47805 cat confdefs.h >>conftest.$ac_ext
47806 cat >>conftest.$ac_ext <<_ACEOF
47807 /* end confdefs.h. */
47808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47810 #define $ac_func innocuous_$ac_func
47812 /* System header to define __stub macros and hopefully few prototypes,
47813 which can conflict with char $ac_func (); below.
47814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47815 <limits.h> exists even on freestanding compilers. */
47817 #ifdef __STDC__
47818 # include <limits.h>
47819 #else
47820 # include <assert.h>
47821 #endif
47823 #undef $ac_func
47825 /* Override any gcc2 internal prototype to avoid an error. */
47826 #ifdef __cplusplus
47827 extern "C"
47829 #endif
47830 /* We use char because int might match the return type of a gcc2
47831 builtin and then its argument prototype would still apply. */
47832 char $ac_func ();
47833 /* The GNU C library defines this for functions which it implements
47834 to always fail with ENOSYS. Some functions are actually named
47835 something starting with __ and the normal name is an alias. */
47836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47837 choke me
47838 #else
47839 char (*f) () = $ac_func;
47840 #endif
47841 #ifdef __cplusplus
47843 #endif
47846 main ()
47848 return f != $ac_func;
47850 return 0;
47852 _ACEOF
47853 rm -f conftest.$ac_objext conftest$ac_exeext
47854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47855 (eval $ac_link) 2>conftest.er1
47856 ac_status=$?
47857 grep -v '^ *+' conftest.er1 >conftest.err
47858 rm -f conftest.er1
47859 cat conftest.err >&5
47860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861 (exit $ac_status); } &&
47862 { ac_try='test -z "$ac_c_werror_flag"
47863 || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47866 ac_status=$?
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try='test -s conftest$ac_exeext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47875 eval "$as_ac_var=yes"
47876 else
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.$ac_ext >&5
47880 eval "$as_ac_var=no"
47882 rm -f conftest.err conftest.$ac_objext \
47883 conftest$ac_exeext conftest.$ac_ext
47885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47887 if test `eval echo '${'$as_ac_var'}'` = yes; then
47888 cat >>confdefs.h <<_ACEOF
47889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47890 _ACEOF
47893 done
47899 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47900 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47901 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47902 echo $ECHO_N "(cached) $ECHO_C" >&6
47903 else
47907 ac_ext=cc
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47913 cat >conftest.$ac_ext <<_ACEOF
47914 /* confdefs.h. */
47915 _ACEOF
47916 cat confdefs.h >>conftest.$ac_ext
47917 cat >>conftest.$ac_ext <<_ACEOF
47918 /* end confdefs.h. */
47919 #include <math.h>
47921 main ()
47923 `for x in _acosl _asinl _atanl \
47924 _cosl _sinl _tanl \
47925 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47927 return 0;
47929 _ACEOF
47930 rm -f conftest.$ac_objext
47931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47932 (eval $ac_compile) 2>conftest.er1
47933 ac_status=$?
47934 grep -v '^ *+' conftest.er1 >conftest.err
47935 rm -f conftest.er1
47936 cat conftest.err >&5
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); } &&
47939 { ac_try='test -z "$ac_cxx_werror_flag"
47940 || test ! -s conftest.err'
47941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47942 (eval $ac_try) 2>&5
47943 ac_status=$?
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); }; } &&
47946 { ac_try='test -s conftest.$ac_objext'
47947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47948 (eval $ac_try) 2>&5
47949 ac_status=$?
47950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951 (exit $ac_status); }; }; then
47952 glibcxx_cv_func__long_double_trig_use=yes
47953 else
47954 echo "$as_me: failed program was:" >&5
47955 sed 's/^/| /' conftest.$ac_ext >&5
47957 glibcxx_cv_func__long_double_trig_use=no
47959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47960 ac_ext=c
47961 ac_cpp='$CPP $CPPFLAGS'
47962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47969 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47970 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47980 for ac_func in _acosl _asinl _atanl \
47981 _cosl _sinl _tanl \
47982 _coshl _sinhl _tanhl
47984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47985 echo "$as_me:$LINENO: checking for $ac_func" >&5
47986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47987 if eval "test \"\${$as_ac_var+set}\" = set"; then
47988 echo $ECHO_N "(cached) $ECHO_C" >&6
47989 else
47990 if test x$gcc_no_link = xyes; then
47991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47993 { (exit 1); exit 1; }; }
47995 cat >conftest.$ac_ext <<_ACEOF
47996 /* confdefs.h. */
47997 _ACEOF
47998 cat confdefs.h >>conftest.$ac_ext
47999 cat >>conftest.$ac_ext <<_ACEOF
48000 /* end confdefs.h. */
48001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48003 #define $ac_func innocuous_$ac_func
48005 /* System header to define __stub macros and hopefully few prototypes,
48006 which can conflict with char $ac_func (); below.
48007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48008 <limits.h> exists even on freestanding compilers. */
48010 #ifdef __STDC__
48011 # include <limits.h>
48012 #else
48013 # include <assert.h>
48014 #endif
48016 #undef $ac_func
48018 /* Override any gcc2 internal prototype to avoid an error. */
48019 #ifdef __cplusplus
48020 extern "C"
48022 #endif
48023 /* We use char because int might match the return type of a gcc2
48024 builtin and then its argument prototype would still apply. */
48025 char $ac_func ();
48026 /* The GNU C library defines this for functions which it implements
48027 to always fail with ENOSYS. Some functions are actually named
48028 something starting with __ and the normal name is an alias. */
48029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48030 choke me
48031 #else
48032 char (*f) () = $ac_func;
48033 #endif
48034 #ifdef __cplusplus
48036 #endif
48039 main ()
48041 return f != $ac_func;
48043 return 0;
48045 _ACEOF
48046 rm -f conftest.$ac_objext conftest$ac_exeext
48047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48048 (eval $ac_link) 2>conftest.er1
48049 ac_status=$?
48050 grep -v '^ *+' conftest.er1 >conftest.err
48051 rm -f conftest.er1
48052 cat conftest.err >&5
48053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054 (exit $ac_status); } &&
48055 { ac_try='test -z "$ac_c_werror_flag"
48056 || test ! -s conftest.err'
48057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48058 (eval $ac_try) 2>&5
48059 ac_status=$?
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); }; } &&
48062 { ac_try='test -s conftest$ac_exeext'
48063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48064 (eval $ac_try) 2>&5
48065 ac_status=$?
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); }; }; then
48068 eval "$as_ac_var=yes"
48069 else
48070 echo "$as_me: failed program was:" >&5
48071 sed 's/^/| /' conftest.$ac_ext >&5
48073 eval "$as_ac_var=no"
48075 rm -f conftest.err conftest.$ac_objext \
48076 conftest$ac_exeext conftest.$ac_ext
48078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48080 if test `eval echo '${'$as_ac_var'}'` = yes; then
48081 cat >>confdefs.h <<_ACEOF
48082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48083 _ACEOF
48086 done
48091 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48092 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48093 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48094 echo $ECHO_N "(cached) $ECHO_C" >&6
48095 else
48099 ac_ext=cc
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105 cat >conftest.$ac_ext <<_ACEOF
48106 /* confdefs.h. */
48107 _ACEOF
48108 cat confdefs.h >>conftest.$ac_ext
48109 cat >>conftest.$ac_ext <<_ACEOF
48110 /* end confdefs.h. */
48111 #include <math.h>
48113 main ()
48115 `for x in _ceill _floorl; do echo "$x (0);"; done`
48117 return 0;
48119 _ACEOF
48120 rm -f conftest.$ac_objext
48121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48122 (eval $ac_compile) 2>conftest.er1
48123 ac_status=$?
48124 grep -v '^ *+' conftest.er1 >conftest.err
48125 rm -f conftest.er1
48126 cat conftest.err >&5
48127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48128 (exit $ac_status); } &&
48129 { ac_try='test -z "$ac_cxx_werror_flag"
48130 || test ! -s conftest.err'
48131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48132 (eval $ac_try) 2>&5
48133 ac_status=$?
48134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135 (exit $ac_status); }; } &&
48136 { ac_try='test -s conftest.$ac_objext'
48137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48138 (eval $ac_try) 2>&5
48139 ac_status=$?
48140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48141 (exit $ac_status); }; }; then
48142 glibcxx_cv_func__long_double_round_use=yes
48143 else
48144 echo "$as_me: failed program was:" >&5
48145 sed 's/^/| /' conftest.$ac_ext >&5
48147 glibcxx_cv_func__long_double_round_use=no
48149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48150 ac_ext=c
48151 ac_cpp='$CPP $CPPFLAGS'
48152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48159 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48160 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48163 for ac_func in _ceill _floorl
48165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48166 echo "$as_me:$LINENO: checking for $ac_func" >&5
48167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48168 if eval "test \"\${$as_ac_var+set}\" = set"; then
48169 echo $ECHO_N "(cached) $ECHO_C" >&6
48170 else
48171 if test x$gcc_no_link = xyes; then
48172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48174 { (exit 1); exit 1; }; }
48176 cat >conftest.$ac_ext <<_ACEOF
48177 /* confdefs.h. */
48178 _ACEOF
48179 cat confdefs.h >>conftest.$ac_ext
48180 cat >>conftest.$ac_ext <<_ACEOF
48181 /* end confdefs.h. */
48182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48184 #define $ac_func innocuous_$ac_func
48186 /* System header to define __stub macros and hopefully few prototypes,
48187 which can conflict with char $ac_func (); below.
48188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48189 <limits.h> exists even on freestanding compilers. */
48191 #ifdef __STDC__
48192 # include <limits.h>
48193 #else
48194 # include <assert.h>
48195 #endif
48197 #undef $ac_func
48199 /* Override any gcc2 internal prototype to avoid an error. */
48200 #ifdef __cplusplus
48201 extern "C"
48203 #endif
48204 /* We use char because int might match the return type of a gcc2
48205 builtin and then its argument prototype would still apply. */
48206 char $ac_func ();
48207 /* The GNU C library defines this for functions which it implements
48208 to always fail with ENOSYS. Some functions are actually named
48209 something starting with __ and the normal name is an alias. */
48210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48211 choke me
48212 #else
48213 char (*f) () = $ac_func;
48214 #endif
48215 #ifdef __cplusplus
48217 #endif
48220 main ()
48222 return f != $ac_func;
48224 return 0;
48226 _ACEOF
48227 rm -f conftest.$ac_objext conftest$ac_exeext
48228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48229 (eval $ac_link) 2>conftest.er1
48230 ac_status=$?
48231 grep -v '^ *+' conftest.er1 >conftest.err
48232 rm -f conftest.er1
48233 cat conftest.err >&5
48234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235 (exit $ac_status); } &&
48236 { ac_try='test -z "$ac_c_werror_flag"
48237 || test ! -s conftest.err'
48238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48239 (eval $ac_try) 2>&5
48240 ac_status=$?
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); }; } &&
48243 { ac_try='test -s conftest$ac_exeext'
48244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48245 (eval $ac_try) 2>&5
48246 ac_status=$?
48247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48248 (exit $ac_status); }; }; then
48249 eval "$as_ac_var=yes"
48250 else
48251 echo "$as_me: failed program was:" >&5
48252 sed 's/^/| /' conftest.$ac_ext >&5
48254 eval "$as_ac_var=no"
48256 rm -f conftest.err conftest.$ac_objext \
48257 conftest$ac_exeext conftest.$ac_ext
48259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48261 if test `eval echo '${'$as_ac_var'}'` = yes; then
48262 cat >>confdefs.h <<_ACEOF
48263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48264 _ACEOF
48267 done
48272 LIBS="$ac_save_LIBS"
48273 CXXFLAGS="$ac_save_CXXFLAGS"
48277 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48278 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48279 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48280 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48281 echo $ECHO_N "(cached) $ECHO_C" >&6
48282 else
48286 ac_ext=cc
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292 cat >conftest.$ac_ext <<_ACEOF
48293 /* confdefs.h. */
48294 _ACEOF
48295 cat confdefs.h >>conftest.$ac_ext
48296 cat >>conftest.$ac_ext <<_ACEOF
48297 /* end confdefs.h. */
48298 #include <math.h>
48300 main ()
48302 __builtin_abs(0);
48304 return 0;
48306 _ACEOF
48307 rm -f conftest.$ac_objext
48308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48309 (eval $ac_compile) 2>conftest.er1
48310 ac_status=$?
48311 grep -v '^ *+' conftest.er1 >conftest.err
48312 rm -f conftest.er1
48313 cat conftest.err >&5
48314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48315 (exit $ac_status); } &&
48316 { ac_try='test -z "$ac_cxx_werror_flag"
48317 || test ! -s conftest.err'
48318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48319 (eval $ac_try) 2>&5
48320 ac_status=$?
48321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322 (exit $ac_status); }; } &&
48323 { ac_try='test -s conftest.$ac_objext'
48324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48325 (eval $ac_try) 2>&5
48326 ac_status=$?
48327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48328 (exit $ac_status); }; }; then
48329 glibcxx_cv_func___builtin_abs_use=yes
48330 else
48331 echo "$as_me: failed program was:" >&5
48332 sed 's/^/| /' conftest.$ac_ext >&5
48334 glibcxx_cv_func___builtin_abs_use=no
48336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48348 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48349 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48350 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48351 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48352 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48353 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48355 else
48357 if test x$gcc_no_link = xyes; then
48358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48360 { (exit 1); exit 1; }; }
48362 cat >conftest.$ac_ext <<_ACEOF
48363 /* confdefs.h. */
48364 _ACEOF
48365 cat confdefs.h >>conftest.$ac_ext
48366 cat >>conftest.$ac_ext <<_ACEOF
48367 /* end confdefs.h. */
48368 #include <math.h>
48370 main ()
48372 __builtin_abs(0);
48374 return 0;
48376 _ACEOF
48377 rm -f conftest.$ac_objext conftest$ac_exeext
48378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48379 (eval $ac_link) 2>conftest.er1
48380 ac_status=$?
48381 grep -v '^ *+' conftest.er1 >conftest.err
48382 rm -f conftest.er1
48383 cat conftest.err >&5
48384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48385 (exit $ac_status); } &&
48386 { ac_try='test -z "$ac_c_werror_flag"
48387 || test ! -s conftest.err'
48388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48389 (eval $ac_try) 2>&5
48390 ac_status=$?
48391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392 (exit $ac_status); }; } &&
48393 { ac_try='test -s conftest$ac_exeext'
48394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48395 (eval $ac_try) 2>&5
48396 ac_status=$?
48397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398 (exit $ac_status); }; }; then
48399 glibcxx_cv_func___builtin_abs_link=yes
48400 else
48401 echo "$as_me: failed program was:" >&5
48402 sed 's/^/| /' conftest.$ac_ext >&5
48404 glibcxx_cv_func___builtin_abs_link=no
48406 rm -f conftest.err conftest.$ac_objext \
48407 conftest$ac_exeext conftest.$ac_ext
48412 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48413 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48414 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48415 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48417 cat >>confdefs.h <<_ACEOF
48418 #define ${ac_tr_func} 1
48419 _ACEOF
48425 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48426 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48427 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48428 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48429 echo $ECHO_N "(cached) $ECHO_C" >&6
48430 else
48434 ac_ext=cc
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48440 cat >conftest.$ac_ext <<_ACEOF
48441 /* confdefs.h. */
48442 _ACEOF
48443 cat confdefs.h >>conftest.$ac_ext
48444 cat >>conftest.$ac_ext <<_ACEOF
48445 /* end confdefs.h. */
48446 #include <math.h>
48448 main ()
48450 __builtin_fabsf(0);
48452 return 0;
48454 _ACEOF
48455 rm -f conftest.$ac_objext
48456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48457 (eval $ac_compile) 2>conftest.er1
48458 ac_status=$?
48459 grep -v '^ *+' conftest.er1 >conftest.err
48460 rm -f conftest.er1
48461 cat conftest.err >&5
48462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463 (exit $ac_status); } &&
48464 { ac_try='test -z "$ac_cxx_werror_flag"
48465 || test ! -s conftest.err'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; } &&
48471 { ac_try='test -s conftest.$ac_objext'
48472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48473 (eval $ac_try) 2>&5
48474 ac_status=$?
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; }; then
48477 glibcxx_cv_func___builtin_fabsf_use=yes
48478 else
48479 echo "$as_me: failed program was:" >&5
48480 sed 's/^/| /' conftest.$ac_ext >&5
48482 glibcxx_cv_func___builtin_fabsf_use=no
48484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48485 ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48495 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48496 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48497 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48498 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48499 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48500 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48501 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48502 echo $ECHO_N "(cached) $ECHO_C" >&6
48503 else
48505 if test x$gcc_no_link = xyes; then
48506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48508 { (exit 1); exit 1; }; }
48510 cat >conftest.$ac_ext <<_ACEOF
48511 /* confdefs.h. */
48512 _ACEOF
48513 cat confdefs.h >>conftest.$ac_ext
48514 cat >>conftest.$ac_ext <<_ACEOF
48515 /* end confdefs.h. */
48516 #include <math.h>
48518 main ()
48520 __builtin_fabsf(0);
48522 return 0;
48524 _ACEOF
48525 rm -f conftest.$ac_objext conftest$ac_exeext
48526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48527 (eval $ac_link) 2>conftest.er1
48528 ac_status=$?
48529 grep -v '^ *+' conftest.er1 >conftest.err
48530 rm -f conftest.er1
48531 cat conftest.err >&5
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); } &&
48534 { ac_try='test -z "$ac_c_werror_flag"
48535 || test ! -s conftest.err'
48536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48537 (eval $ac_try) 2>&5
48538 ac_status=$?
48539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540 (exit $ac_status); }; } &&
48541 { ac_try='test -s conftest$ac_exeext'
48542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48543 (eval $ac_try) 2>&5
48544 ac_status=$?
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); }; }; then
48547 glibcxx_cv_func___builtin_fabsf_link=yes
48548 else
48549 echo "$as_me: failed program was:" >&5
48550 sed 's/^/| /' conftest.$ac_ext >&5
48552 glibcxx_cv_func___builtin_fabsf_link=no
48554 rm -f conftest.err conftest.$ac_objext \
48555 conftest$ac_exeext conftest.$ac_ext
48560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48561 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48562 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48563 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48565 cat >>confdefs.h <<_ACEOF
48566 #define ${ac_tr_func} 1
48567 _ACEOF
48573 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48574 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48575 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48576 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48577 echo $ECHO_N "(cached) $ECHO_C" >&6
48578 else
48582 ac_ext=cc
48583 ac_cpp='$CXXCPP $CPPFLAGS'
48584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588 cat >conftest.$ac_ext <<_ACEOF
48589 /* confdefs.h. */
48590 _ACEOF
48591 cat confdefs.h >>conftest.$ac_ext
48592 cat >>conftest.$ac_ext <<_ACEOF
48593 /* end confdefs.h. */
48594 #include <math.h>
48596 main ()
48598 __builtin_fabs(0);
48600 return 0;
48602 _ACEOF
48603 rm -f conftest.$ac_objext
48604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48605 (eval $ac_compile) 2>conftest.er1
48606 ac_status=$?
48607 grep -v '^ *+' conftest.er1 >conftest.err
48608 rm -f conftest.er1
48609 cat conftest.err >&5
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); } &&
48612 { ac_try='test -z "$ac_cxx_werror_flag"
48613 || test ! -s conftest.err'
48614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48615 (eval $ac_try) 2>&5
48616 ac_status=$?
48617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48618 (exit $ac_status); }; } &&
48619 { ac_try='test -s conftest.$ac_objext'
48620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48621 (eval $ac_try) 2>&5
48622 ac_status=$?
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); }; }; then
48625 glibcxx_cv_func___builtin_fabs_use=yes
48626 else
48627 echo "$as_me: failed program was:" >&5
48628 sed 's/^/| /' conftest.$ac_ext >&5
48630 glibcxx_cv_func___builtin_fabs_use=no
48632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_ext=c
48634 ac_cpp='$CPP $CPPFLAGS'
48635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48643 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48644 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48645 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48646 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48647 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48648 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48649 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48650 echo $ECHO_N "(cached) $ECHO_C" >&6
48651 else
48653 if test x$gcc_no_link = xyes; then
48654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48656 { (exit 1); exit 1; }; }
48658 cat >conftest.$ac_ext <<_ACEOF
48659 /* confdefs.h. */
48660 _ACEOF
48661 cat confdefs.h >>conftest.$ac_ext
48662 cat >>conftest.$ac_ext <<_ACEOF
48663 /* end confdefs.h. */
48664 #include <math.h>
48666 main ()
48668 __builtin_fabs(0);
48670 return 0;
48672 _ACEOF
48673 rm -f conftest.$ac_objext conftest$ac_exeext
48674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48675 (eval $ac_link) 2>conftest.er1
48676 ac_status=$?
48677 grep -v '^ *+' conftest.er1 >conftest.err
48678 rm -f conftest.er1
48679 cat conftest.err >&5
48680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48681 (exit $ac_status); } &&
48682 { ac_try='test -z "$ac_c_werror_flag"
48683 || test ! -s conftest.err'
48684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48685 (eval $ac_try) 2>&5
48686 ac_status=$?
48687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688 (exit $ac_status); }; } &&
48689 { ac_try='test -s conftest$ac_exeext'
48690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48691 (eval $ac_try) 2>&5
48692 ac_status=$?
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); }; }; then
48695 glibcxx_cv_func___builtin_fabs_link=yes
48696 else
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48700 glibcxx_cv_func___builtin_fabs_link=no
48702 rm -f conftest.err conftest.$ac_objext \
48703 conftest$ac_exeext conftest.$ac_ext
48708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48709 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48710 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48711 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48713 cat >>confdefs.h <<_ACEOF
48714 #define ${ac_tr_func} 1
48715 _ACEOF
48721 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48722 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48723 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48724 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48725 echo $ECHO_N "(cached) $ECHO_C" >&6
48726 else
48730 ac_ext=cc
48731 ac_cpp='$CXXCPP $CPPFLAGS'
48732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48736 cat >conftest.$ac_ext <<_ACEOF
48737 /* confdefs.h. */
48738 _ACEOF
48739 cat confdefs.h >>conftest.$ac_ext
48740 cat >>conftest.$ac_ext <<_ACEOF
48741 /* end confdefs.h. */
48742 #include <math.h>
48744 main ()
48746 __builtin_fabsl(0);
48748 return 0;
48750 _ACEOF
48751 rm -f conftest.$ac_objext
48752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48753 (eval $ac_compile) 2>conftest.er1
48754 ac_status=$?
48755 grep -v '^ *+' conftest.er1 >conftest.err
48756 rm -f conftest.er1
48757 cat conftest.err >&5
48758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48759 (exit $ac_status); } &&
48760 { ac_try='test -z "$ac_cxx_werror_flag"
48761 || test ! -s conftest.err'
48762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48763 (eval $ac_try) 2>&5
48764 ac_status=$?
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); }; } &&
48767 { ac_try='test -s conftest.$ac_objext'
48768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48769 (eval $ac_try) 2>&5
48770 ac_status=$?
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); }; }; then
48773 glibcxx_cv_func___builtin_fabsl_use=yes
48774 else
48775 echo "$as_me: failed program was:" >&5
48776 sed 's/^/| /' conftest.$ac_ext >&5
48778 glibcxx_cv_func___builtin_fabsl_use=no
48780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48781 ac_ext=c
48782 ac_cpp='$CPP $CPPFLAGS'
48783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48792 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48793 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48794 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48795 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48796 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48797 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48798 echo $ECHO_N "(cached) $ECHO_C" >&6
48799 else
48801 if test x$gcc_no_link = xyes; then
48802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48804 { (exit 1); exit 1; }; }
48806 cat >conftest.$ac_ext <<_ACEOF
48807 /* confdefs.h. */
48808 _ACEOF
48809 cat confdefs.h >>conftest.$ac_ext
48810 cat >>conftest.$ac_ext <<_ACEOF
48811 /* end confdefs.h. */
48812 #include <math.h>
48814 main ()
48816 __builtin_fabsl(0);
48818 return 0;
48820 _ACEOF
48821 rm -f conftest.$ac_objext conftest$ac_exeext
48822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48823 (eval $ac_link) 2>conftest.er1
48824 ac_status=$?
48825 grep -v '^ *+' conftest.er1 >conftest.err
48826 rm -f conftest.er1
48827 cat conftest.err >&5
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); } &&
48830 { ac_try='test -z "$ac_c_werror_flag"
48831 || test ! -s conftest.err'
48832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48833 (eval $ac_try) 2>&5
48834 ac_status=$?
48835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836 (exit $ac_status); }; } &&
48837 { ac_try='test -s conftest$ac_exeext'
48838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48839 (eval $ac_try) 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; }; then
48843 glibcxx_cv_func___builtin_fabsl_link=yes
48844 else
48845 echo "$as_me: failed program was:" >&5
48846 sed 's/^/| /' conftest.$ac_ext >&5
48848 glibcxx_cv_func___builtin_fabsl_link=no
48850 rm -f conftest.err conftest.$ac_objext \
48851 conftest$ac_exeext conftest.$ac_ext
48856 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48857 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48858 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48859 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48861 cat >>confdefs.h <<_ACEOF
48862 #define ${ac_tr_func} 1
48863 _ACEOF
48869 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48870 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48871 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48872 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48873 echo $ECHO_N "(cached) $ECHO_C" >&6
48874 else
48878 ac_ext=cc
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884 cat >conftest.$ac_ext <<_ACEOF
48885 /* confdefs.h. */
48886 _ACEOF
48887 cat confdefs.h >>conftest.$ac_ext
48888 cat >>conftest.$ac_ext <<_ACEOF
48889 /* end confdefs.h. */
48890 #include <math.h>
48892 main ()
48894 __builtin_labs(0);
48896 return 0;
48898 _ACEOF
48899 rm -f conftest.$ac_objext
48900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48901 (eval $ac_compile) 2>conftest.er1
48902 ac_status=$?
48903 grep -v '^ *+' conftest.er1 >conftest.err
48904 rm -f conftest.er1
48905 cat conftest.err >&5
48906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907 (exit $ac_status); } &&
48908 { ac_try='test -z "$ac_cxx_werror_flag"
48909 || test ! -s conftest.err'
48910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48911 (eval $ac_try) 2>&5
48912 ac_status=$?
48913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914 (exit $ac_status); }; } &&
48915 { ac_try='test -s conftest.$ac_objext'
48916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48917 (eval $ac_try) 2>&5
48918 ac_status=$?
48919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48920 (exit $ac_status); }; }; then
48921 glibcxx_cv_func___builtin_labs_use=yes
48922 else
48923 echo "$as_me: failed program was:" >&5
48924 sed 's/^/| /' conftest.$ac_ext >&5
48926 glibcxx_cv_func___builtin_labs_use=no
48928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48929 ac_ext=c
48930 ac_cpp='$CPP $CPPFLAGS'
48931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48940 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48941 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48942 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48943 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48944 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48945 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48946 echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48949 if test x$gcc_no_link = xyes; then
48950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48952 { (exit 1); exit 1; }; }
48954 cat >conftest.$ac_ext <<_ACEOF
48955 /* confdefs.h. */
48956 _ACEOF
48957 cat confdefs.h >>conftest.$ac_ext
48958 cat >>conftest.$ac_ext <<_ACEOF
48959 /* end confdefs.h. */
48960 #include <math.h>
48962 main ()
48964 __builtin_labs(0);
48966 return 0;
48968 _ACEOF
48969 rm -f conftest.$ac_objext conftest$ac_exeext
48970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48971 (eval $ac_link) 2>conftest.er1
48972 ac_status=$?
48973 grep -v '^ *+' conftest.er1 >conftest.err
48974 rm -f conftest.er1
48975 cat conftest.err >&5
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); } &&
48978 { ac_try='test -z "$ac_c_werror_flag"
48979 || test ! -s conftest.err'
48980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48981 (eval $ac_try) 2>&5
48982 ac_status=$?
48983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48984 (exit $ac_status); }; } &&
48985 { ac_try='test -s conftest$ac_exeext'
48986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48987 (eval $ac_try) 2>&5
48988 ac_status=$?
48989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48990 (exit $ac_status); }; }; then
48991 glibcxx_cv_func___builtin_labs_link=yes
48992 else
48993 echo "$as_me: failed program was:" >&5
48994 sed 's/^/| /' conftest.$ac_ext >&5
48996 glibcxx_cv_func___builtin_labs_link=no
48998 rm -f conftest.err conftest.$ac_objext \
48999 conftest$ac_exeext conftest.$ac_ext
49004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49005 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49006 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49007 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49009 cat >>confdefs.h <<_ACEOF
49010 #define ${ac_tr_func} 1
49011 _ACEOF
49018 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49019 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49020 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49021 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49022 echo $ECHO_N "(cached) $ECHO_C" >&6
49023 else
49027 ac_ext=cc
49028 ac_cpp='$CXXCPP $CPPFLAGS'
49029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49033 cat >conftest.$ac_ext <<_ACEOF
49034 /* confdefs.h. */
49035 _ACEOF
49036 cat confdefs.h >>conftest.$ac_ext
49037 cat >>conftest.$ac_ext <<_ACEOF
49038 /* end confdefs.h. */
49039 #include <math.h>
49041 main ()
49043 __builtin_sqrtf(0);
49045 return 0;
49047 _ACEOF
49048 rm -f conftest.$ac_objext
49049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49050 (eval $ac_compile) 2>conftest.er1
49051 ac_status=$?
49052 grep -v '^ *+' conftest.er1 >conftest.err
49053 rm -f conftest.er1
49054 cat conftest.err >&5
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); } &&
49057 { ac_try='test -z "$ac_cxx_werror_flag"
49058 || test ! -s conftest.err'
49059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49060 (eval $ac_try) 2>&5
49061 ac_status=$?
49062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49063 (exit $ac_status); }; } &&
49064 { ac_try='test -s conftest.$ac_objext'
49065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49066 (eval $ac_try) 2>&5
49067 ac_status=$?
49068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49069 (exit $ac_status); }; }; then
49070 glibcxx_cv_func___builtin_sqrtf_use=yes
49071 else
49072 echo "$as_me: failed program was:" >&5
49073 sed 's/^/| /' conftest.$ac_ext >&5
49075 glibcxx_cv_func___builtin_sqrtf_use=no
49077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49078 ac_ext=c
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49089 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49090 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49091 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49092 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49093 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49094 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49095 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 else
49098 if test x$gcc_no_link = xyes; then
49099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49101 { (exit 1); exit 1; }; }
49103 cat >conftest.$ac_ext <<_ACEOF
49104 /* confdefs.h. */
49105 _ACEOF
49106 cat confdefs.h >>conftest.$ac_ext
49107 cat >>conftest.$ac_ext <<_ACEOF
49108 /* end confdefs.h. */
49109 #include <math.h>
49111 main ()
49113 __builtin_sqrtf(0);
49115 return 0;
49117 _ACEOF
49118 rm -f conftest.$ac_objext conftest$ac_exeext
49119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49120 (eval $ac_link) 2>conftest.er1
49121 ac_status=$?
49122 grep -v '^ *+' conftest.er1 >conftest.err
49123 rm -f conftest.er1
49124 cat conftest.err >&5
49125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49126 (exit $ac_status); } &&
49127 { ac_try='test -z "$ac_c_werror_flag"
49128 || test ! -s conftest.err'
49129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49130 (eval $ac_try) 2>&5
49131 ac_status=$?
49132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133 (exit $ac_status); }; } &&
49134 { ac_try='test -s conftest$ac_exeext'
49135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49136 (eval $ac_try) 2>&5
49137 ac_status=$?
49138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49139 (exit $ac_status); }; }; then
49140 glibcxx_cv_func___builtin_sqrtf_link=yes
49141 else
49142 echo "$as_me: failed program was:" >&5
49143 sed 's/^/| /' conftest.$ac_ext >&5
49145 glibcxx_cv_func___builtin_sqrtf_link=no
49147 rm -f conftest.err conftest.$ac_objext \
49148 conftest$ac_exeext conftest.$ac_ext
49153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49154 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49155 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49156 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49158 cat >>confdefs.h <<_ACEOF
49159 #define ${ac_tr_func} 1
49160 _ACEOF
49166 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49167 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49168 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49169 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49170 echo $ECHO_N "(cached) $ECHO_C" >&6
49171 else
49175 ac_ext=cc
49176 ac_cpp='$CXXCPP $CPPFLAGS'
49177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49181 cat >conftest.$ac_ext <<_ACEOF
49182 /* confdefs.h. */
49183 _ACEOF
49184 cat confdefs.h >>conftest.$ac_ext
49185 cat >>conftest.$ac_ext <<_ACEOF
49186 /* end confdefs.h. */
49187 #include <math.h>
49189 main ()
49191 __builtin_sqrt(0);
49193 return 0;
49195 _ACEOF
49196 rm -f conftest.$ac_objext
49197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49198 (eval $ac_compile) 2>conftest.er1
49199 ac_status=$?
49200 grep -v '^ *+' conftest.er1 >conftest.err
49201 rm -f conftest.er1
49202 cat conftest.err >&5
49203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49204 (exit $ac_status); } &&
49205 { ac_try='test -z "$ac_cxx_werror_flag"
49206 || test ! -s conftest.err'
49207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49208 (eval $ac_try) 2>&5
49209 ac_status=$?
49210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49211 (exit $ac_status); }; } &&
49212 { ac_try='test -s conftest.$ac_objext'
49213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49214 (eval $ac_try) 2>&5
49215 ac_status=$?
49216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217 (exit $ac_status); }; }; then
49218 glibcxx_cv_func___builtin_sqrt_use=yes
49219 else
49220 echo "$as_me: failed program was:" >&5
49221 sed 's/^/| /' conftest.$ac_ext >&5
49223 glibcxx_cv_func___builtin_sqrt_use=no
49225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49226 ac_ext=c
49227 ac_cpp='$CPP $CPPFLAGS'
49228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49236 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49237 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49238 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49239 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49240 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49241 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49242 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49243 echo $ECHO_N "(cached) $ECHO_C" >&6
49244 else
49246 if test x$gcc_no_link = xyes; then
49247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49249 { (exit 1); exit 1; }; }
49251 cat >conftest.$ac_ext <<_ACEOF
49252 /* confdefs.h. */
49253 _ACEOF
49254 cat confdefs.h >>conftest.$ac_ext
49255 cat >>conftest.$ac_ext <<_ACEOF
49256 /* end confdefs.h. */
49257 #include <math.h>
49259 main ()
49261 __builtin_sqrt(0);
49263 return 0;
49265 _ACEOF
49266 rm -f conftest.$ac_objext conftest$ac_exeext
49267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49268 (eval $ac_link) 2>conftest.er1
49269 ac_status=$?
49270 grep -v '^ *+' conftest.er1 >conftest.err
49271 rm -f conftest.er1
49272 cat conftest.err >&5
49273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49274 (exit $ac_status); } &&
49275 { ac_try='test -z "$ac_c_werror_flag"
49276 || test ! -s conftest.err'
49277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49278 (eval $ac_try) 2>&5
49279 ac_status=$?
49280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281 (exit $ac_status); }; } &&
49282 { ac_try='test -s conftest$ac_exeext'
49283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49284 (eval $ac_try) 2>&5
49285 ac_status=$?
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }; }; then
49288 glibcxx_cv_func___builtin_sqrt_link=yes
49289 else
49290 echo "$as_me: failed program was:" >&5
49291 sed 's/^/| /' conftest.$ac_ext >&5
49293 glibcxx_cv_func___builtin_sqrt_link=no
49295 rm -f conftest.err conftest.$ac_objext \
49296 conftest$ac_exeext conftest.$ac_ext
49301 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49302 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49303 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49304 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49306 cat >>confdefs.h <<_ACEOF
49307 #define ${ac_tr_func} 1
49308 _ACEOF
49314 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49315 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49316 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49317 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49318 echo $ECHO_N "(cached) $ECHO_C" >&6
49319 else
49323 ac_ext=cc
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329 cat >conftest.$ac_ext <<_ACEOF
49330 /* confdefs.h. */
49331 _ACEOF
49332 cat confdefs.h >>conftest.$ac_ext
49333 cat >>conftest.$ac_ext <<_ACEOF
49334 /* end confdefs.h. */
49335 #include <math.h>
49337 main ()
49339 __builtin_sqrtl(0);
49341 return 0;
49343 _ACEOF
49344 rm -f conftest.$ac_objext
49345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49346 (eval $ac_compile) 2>conftest.er1
49347 ac_status=$?
49348 grep -v '^ *+' conftest.er1 >conftest.err
49349 rm -f conftest.er1
49350 cat conftest.err >&5
49351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 (exit $ac_status); } &&
49353 { ac_try='test -z "$ac_cxx_werror_flag"
49354 || test ! -s conftest.err'
49355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49356 (eval $ac_try) 2>&5
49357 ac_status=$?
49358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359 (exit $ac_status); }; } &&
49360 { ac_try='test -s conftest.$ac_objext'
49361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49362 (eval $ac_try) 2>&5
49363 ac_status=$?
49364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49365 (exit $ac_status); }; }; then
49366 glibcxx_cv_func___builtin_sqrtl_use=yes
49367 else
49368 echo "$as_me: failed program was:" >&5
49369 sed 's/^/| /' conftest.$ac_ext >&5
49371 glibcxx_cv_func___builtin_sqrtl_use=no
49373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49385 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49386 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49387 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49388 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49389 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49390 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49391 echo $ECHO_N "(cached) $ECHO_C" >&6
49392 else
49394 if test x$gcc_no_link = xyes; then
49395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49397 { (exit 1); exit 1; }; }
49399 cat >conftest.$ac_ext <<_ACEOF
49400 /* confdefs.h. */
49401 _ACEOF
49402 cat confdefs.h >>conftest.$ac_ext
49403 cat >>conftest.$ac_ext <<_ACEOF
49404 /* end confdefs.h. */
49405 #include <math.h>
49407 main ()
49409 __builtin_sqrtl(0);
49411 return 0;
49413 _ACEOF
49414 rm -f conftest.$ac_objext conftest$ac_exeext
49415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49416 (eval $ac_link) 2>conftest.er1
49417 ac_status=$?
49418 grep -v '^ *+' conftest.er1 >conftest.err
49419 rm -f conftest.er1
49420 cat conftest.err >&5
49421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49422 (exit $ac_status); } &&
49423 { ac_try='test -z "$ac_c_werror_flag"
49424 || test ! -s conftest.err'
49425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49426 (eval $ac_try) 2>&5
49427 ac_status=$?
49428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429 (exit $ac_status); }; } &&
49430 { ac_try='test -s conftest$ac_exeext'
49431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49432 (eval $ac_try) 2>&5
49433 ac_status=$?
49434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49435 (exit $ac_status); }; }; then
49436 glibcxx_cv_func___builtin_sqrtl_link=yes
49437 else
49438 echo "$as_me: failed program was:" >&5
49439 sed 's/^/| /' conftest.$ac_ext >&5
49441 glibcxx_cv_func___builtin_sqrtl_link=no
49443 rm -f conftest.err conftest.$ac_objext \
49444 conftest$ac_exeext conftest.$ac_ext
49449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49450 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49451 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49452 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49454 cat >>confdefs.h <<_ACEOF
49455 #define ${ac_tr_func} 1
49456 _ACEOF
49463 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49464 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49465 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49466 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49467 echo $ECHO_N "(cached) $ECHO_C" >&6
49468 else
49472 ac_ext=cc
49473 ac_cpp='$CXXCPP $CPPFLAGS'
49474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49478 cat >conftest.$ac_ext <<_ACEOF
49479 /* confdefs.h. */
49480 _ACEOF
49481 cat confdefs.h >>conftest.$ac_ext
49482 cat >>conftest.$ac_ext <<_ACEOF
49483 /* end confdefs.h. */
49484 #include <math.h>
49486 main ()
49488 __builtin_sinf(0);
49490 return 0;
49492 _ACEOF
49493 rm -f conftest.$ac_objext
49494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49495 (eval $ac_compile) 2>conftest.er1
49496 ac_status=$?
49497 grep -v '^ *+' conftest.er1 >conftest.err
49498 rm -f conftest.er1
49499 cat conftest.err >&5
49500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501 (exit $ac_status); } &&
49502 { ac_try='test -z "$ac_cxx_werror_flag"
49503 || test ! -s conftest.err'
49504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49505 (eval $ac_try) 2>&5
49506 ac_status=$?
49507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508 (exit $ac_status); }; } &&
49509 { ac_try='test -s conftest.$ac_objext'
49510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49511 (eval $ac_try) 2>&5
49512 ac_status=$?
49513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49514 (exit $ac_status); }; }; then
49515 glibcxx_cv_func___builtin_sinf_use=yes
49516 else
49517 echo "$as_me: failed program was:" >&5
49518 sed 's/^/| /' conftest.$ac_ext >&5
49520 glibcxx_cv_func___builtin_sinf_use=no
49522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49523 ac_ext=c
49524 ac_cpp='$CPP $CPPFLAGS'
49525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49533 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49534 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49535 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49536 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49537 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49538 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49539 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49540 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 else
49543 if test x$gcc_no_link = xyes; then
49544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49546 { (exit 1); exit 1; }; }
49548 cat >conftest.$ac_ext <<_ACEOF
49549 /* confdefs.h. */
49550 _ACEOF
49551 cat confdefs.h >>conftest.$ac_ext
49552 cat >>conftest.$ac_ext <<_ACEOF
49553 /* end confdefs.h. */
49554 #include <math.h>
49556 main ()
49558 __builtin_sinf(0);
49560 return 0;
49562 _ACEOF
49563 rm -f conftest.$ac_objext conftest$ac_exeext
49564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49565 (eval $ac_link) 2>conftest.er1
49566 ac_status=$?
49567 grep -v '^ *+' conftest.er1 >conftest.err
49568 rm -f conftest.er1
49569 cat conftest.err >&5
49570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49571 (exit $ac_status); } &&
49572 { ac_try='test -z "$ac_c_werror_flag"
49573 || test ! -s conftest.err'
49574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49575 (eval $ac_try) 2>&5
49576 ac_status=$?
49577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49578 (exit $ac_status); }; } &&
49579 { ac_try='test -s conftest$ac_exeext'
49580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49581 (eval $ac_try) 2>&5
49582 ac_status=$?
49583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49584 (exit $ac_status); }; }; then
49585 glibcxx_cv_func___builtin_sinf_link=yes
49586 else
49587 echo "$as_me: failed program was:" >&5
49588 sed 's/^/| /' conftest.$ac_ext >&5
49590 glibcxx_cv_func___builtin_sinf_link=no
49592 rm -f conftest.err conftest.$ac_objext \
49593 conftest$ac_exeext conftest.$ac_ext
49598 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49599 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49600 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49601 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49603 cat >>confdefs.h <<_ACEOF
49604 #define ${ac_tr_func} 1
49605 _ACEOF
49611 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49612 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49613 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49614 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49615 echo $ECHO_N "(cached) $ECHO_C" >&6
49616 else
49620 ac_ext=cc
49621 ac_cpp='$CXXCPP $CPPFLAGS'
49622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49626 cat >conftest.$ac_ext <<_ACEOF
49627 /* confdefs.h. */
49628 _ACEOF
49629 cat confdefs.h >>conftest.$ac_ext
49630 cat >>conftest.$ac_ext <<_ACEOF
49631 /* end confdefs.h. */
49632 #include <math.h>
49634 main ()
49636 __builtin_sin(0);
49638 return 0;
49640 _ACEOF
49641 rm -f conftest.$ac_objext
49642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49643 (eval $ac_compile) 2>conftest.er1
49644 ac_status=$?
49645 grep -v '^ *+' conftest.er1 >conftest.err
49646 rm -f conftest.er1
49647 cat conftest.err >&5
49648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49649 (exit $ac_status); } &&
49650 { ac_try='test -z "$ac_cxx_werror_flag"
49651 || test ! -s conftest.err'
49652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49653 (eval $ac_try) 2>&5
49654 ac_status=$?
49655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49656 (exit $ac_status); }; } &&
49657 { ac_try='test -s conftest.$ac_objext'
49658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49659 (eval $ac_try) 2>&5
49660 ac_status=$?
49661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49662 (exit $ac_status); }; }; then
49663 glibcxx_cv_func___builtin_sin_use=yes
49664 else
49665 echo "$as_me: failed program was:" >&5
49666 sed 's/^/| /' conftest.$ac_ext >&5
49668 glibcxx_cv_func___builtin_sin_use=no
49670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49671 ac_ext=c
49672 ac_cpp='$CPP $CPPFLAGS'
49673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49682 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49683 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49684 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49685 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49686 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49687 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49688 echo $ECHO_N "(cached) $ECHO_C" >&6
49689 else
49691 if test x$gcc_no_link = xyes; then
49692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49694 { (exit 1); exit 1; }; }
49696 cat >conftest.$ac_ext <<_ACEOF
49697 /* confdefs.h. */
49698 _ACEOF
49699 cat confdefs.h >>conftest.$ac_ext
49700 cat >>conftest.$ac_ext <<_ACEOF
49701 /* end confdefs.h. */
49702 #include <math.h>
49704 main ()
49706 __builtin_sin(0);
49708 return 0;
49710 _ACEOF
49711 rm -f conftest.$ac_objext conftest$ac_exeext
49712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49713 (eval $ac_link) 2>conftest.er1
49714 ac_status=$?
49715 grep -v '^ *+' conftest.er1 >conftest.err
49716 rm -f conftest.er1
49717 cat conftest.err >&5
49718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49719 (exit $ac_status); } &&
49720 { ac_try='test -z "$ac_c_werror_flag"
49721 || test ! -s conftest.err'
49722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49723 (eval $ac_try) 2>&5
49724 ac_status=$?
49725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726 (exit $ac_status); }; } &&
49727 { ac_try='test -s conftest$ac_exeext'
49728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49729 (eval $ac_try) 2>&5
49730 ac_status=$?
49731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49732 (exit $ac_status); }; }; then
49733 glibcxx_cv_func___builtin_sin_link=yes
49734 else
49735 echo "$as_me: failed program was:" >&5
49736 sed 's/^/| /' conftest.$ac_ext >&5
49738 glibcxx_cv_func___builtin_sin_link=no
49740 rm -f conftest.err conftest.$ac_objext \
49741 conftest$ac_exeext conftest.$ac_ext
49746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49747 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49748 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49749 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49751 cat >>confdefs.h <<_ACEOF
49752 #define ${ac_tr_func} 1
49753 _ACEOF
49759 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49760 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49761 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49762 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49763 echo $ECHO_N "(cached) $ECHO_C" >&6
49764 else
49768 ac_ext=cc
49769 ac_cpp='$CXXCPP $CPPFLAGS'
49770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49774 cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h. */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h. */
49780 #include <math.h>
49782 main ()
49784 __builtin_sinl(0);
49786 return 0;
49788 _ACEOF
49789 rm -f conftest.$ac_objext
49790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49791 (eval $ac_compile) 2>conftest.er1
49792 ac_status=$?
49793 grep -v '^ *+' conftest.er1 >conftest.err
49794 rm -f conftest.er1
49795 cat conftest.err >&5
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); } &&
49798 { ac_try='test -z "$ac_cxx_werror_flag"
49799 || test ! -s conftest.err'
49800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49801 (eval $ac_try) 2>&5
49802 ac_status=$?
49803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804 (exit $ac_status); }; } &&
49805 { ac_try='test -s conftest.$ac_objext'
49806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807 (eval $ac_try) 2>&5
49808 ac_status=$?
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); }; }; then
49811 glibcxx_cv_func___builtin_sinl_use=yes
49812 else
49813 echo "$as_me: failed program was:" >&5
49814 sed 's/^/| /' conftest.$ac_ext >&5
49816 glibcxx_cv_func___builtin_sinl_use=no
49818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49819 ac_ext=c
49820 ac_cpp='$CPP $CPPFLAGS'
49821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49829 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49830 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49831 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49832 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49833 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49834 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49835 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49836 echo $ECHO_N "(cached) $ECHO_C" >&6
49837 else
49839 if test x$gcc_no_link = xyes; then
49840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49842 { (exit 1); exit 1; }; }
49844 cat >conftest.$ac_ext <<_ACEOF
49845 /* confdefs.h. */
49846 _ACEOF
49847 cat confdefs.h >>conftest.$ac_ext
49848 cat >>conftest.$ac_ext <<_ACEOF
49849 /* end confdefs.h. */
49850 #include <math.h>
49852 main ()
49854 __builtin_sinl(0);
49856 return 0;
49858 _ACEOF
49859 rm -f conftest.$ac_objext conftest$ac_exeext
49860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49861 (eval $ac_link) 2>conftest.er1
49862 ac_status=$?
49863 grep -v '^ *+' conftest.er1 >conftest.err
49864 rm -f conftest.er1
49865 cat conftest.err >&5
49866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49867 (exit $ac_status); } &&
49868 { ac_try='test -z "$ac_c_werror_flag"
49869 || test ! -s conftest.err'
49870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49871 (eval $ac_try) 2>&5
49872 ac_status=$?
49873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49874 (exit $ac_status); }; } &&
49875 { ac_try='test -s conftest$ac_exeext'
49876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49877 (eval $ac_try) 2>&5
49878 ac_status=$?
49879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49880 (exit $ac_status); }; }; then
49881 glibcxx_cv_func___builtin_sinl_link=yes
49882 else
49883 echo "$as_me: failed program was:" >&5
49884 sed 's/^/| /' conftest.$ac_ext >&5
49886 glibcxx_cv_func___builtin_sinl_link=no
49888 rm -f conftest.err conftest.$ac_objext \
49889 conftest$ac_exeext conftest.$ac_ext
49894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49895 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49896 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49897 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49899 cat >>confdefs.h <<_ACEOF
49900 #define ${ac_tr_func} 1
49901 _ACEOF
49908 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49909 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49910 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49911 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49912 echo $ECHO_N "(cached) $ECHO_C" >&6
49913 else
49917 ac_ext=cc
49918 ac_cpp='$CXXCPP $CPPFLAGS'
49919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49923 cat >conftest.$ac_ext <<_ACEOF
49924 /* confdefs.h. */
49925 _ACEOF
49926 cat confdefs.h >>conftest.$ac_ext
49927 cat >>conftest.$ac_ext <<_ACEOF
49928 /* end confdefs.h. */
49929 #include <math.h>
49931 main ()
49933 __builtin_cosf(0);
49935 return 0;
49937 _ACEOF
49938 rm -f conftest.$ac_objext
49939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49940 (eval $ac_compile) 2>conftest.er1
49941 ac_status=$?
49942 grep -v '^ *+' conftest.er1 >conftest.err
49943 rm -f conftest.er1
49944 cat conftest.err >&5
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); } &&
49947 { ac_try='test -z "$ac_cxx_werror_flag"
49948 || test ! -s conftest.err'
49949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49950 (eval $ac_try) 2>&5
49951 ac_status=$?
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); }; } &&
49954 { ac_try='test -s conftest.$ac_objext'
49955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49956 (eval $ac_try) 2>&5
49957 ac_status=$?
49958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959 (exit $ac_status); }; }; then
49960 glibcxx_cv_func___builtin_cosf_use=yes
49961 else
49962 echo "$as_me: failed program was:" >&5
49963 sed 's/^/| /' conftest.$ac_ext >&5
49965 glibcxx_cv_func___builtin_cosf_use=no
49967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49968 ac_ext=c
49969 ac_cpp='$CPP $CPPFLAGS'
49970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49979 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49980 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49981 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49982 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49983 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49984 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49985 echo $ECHO_N "(cached) $ECHO_C" >&6
49986 else
49988 if test x$gcc_no_link = xyes; then
49989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49991 { (exit 1); exit 1; }; }
49993 cat >conftest.$ac_ext <<_ACEOF
49994 /* confdefs.h. */
49995 _ACEOF
49996 cat confdefs.h >>conftest.$ac_ext
49997 cat >>conftest.$ac_ext <<_ACEOF
49998 /* end confdefs.h. */
49999 #include <math.h>
50001 main ()
50003 __builtin_cosf(0);
50005 return 0;
50007 _ACEOF
50008 rm -f conftest.$ac_objext conftest$ac_exeext
50009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50010 (eval $ac_link) 2>conftest.er1
50011 ac_status=$?
50012 grep -v '^ *+' conftest.er1 >conftest.err
50013 rm -f conftest.er1
50014 cat conftest.err >&5
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); } &&
50017 { ac_try='test -z "$ac_c_werror_flag"
50018 || test ! -s conftest.err'
50019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50020 (eval $ac_try) 2>&5
50021 ac_status=$?
50022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023 (exit $ac_status); }; } &&
50024 { ac_try='test -s conftest$ac_exeext'
50025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50026 (eval $ac_try) 2>&5
50027 ac_status=$?
50028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50029 (exit $ac_status); }; }; then
50030 glibcxx_cv_func___builtin_cosf_link=yes
50031 else
50032 echo "$as_me: failed program was:" >&5
50033 sed 's/^/| /' conftest.$ac_ext >&5
50035 glibcxx_cv_func___builtin_cosf_link=no
50037 rm -f conftest.err conftest.$ac_objext \
50038 conftest$ac_exeext conftest.$ac_ext
50043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50045 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50046 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50048 cat >>confdefs.h <<_ACEOF
50049 #define ${ac_tr_func} 1
50050 _ACEOF
50056 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50057 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50058 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50059 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50060 echo $ECHO_N "(cached) $ECHO_C" >&6
50061 else
50065 ac_ext=cc
50066 ac_cpp='$CXXCPP $CPPFLAGS'
50067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50071 cat >conftest.$ac_ext <<_ACEOF
50072 /* confdefs.h. */
50073 _ACEOF
50074 cat confdefs.h >>conftest.$ac_ext
50075 cat >>conftest.$ac_ext <<_ACEOF
50076 /* end confdefs.h. */
50077 #include <math.h>
50079 main ()
50081 __builtin_cos(0);
50083 return 0;
50085 _ACEOF
50086 rm -f conftest.$ac_objext
50087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50088 (eval $ac_compile) 2>conftest.er1
50089 ac_status=$?
50090 grep -v '^ *+' conftest.er1 >conftest.err
50091 rm -f conftest.er1
50092 cat conftest.err >&5
50093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50094 (exit $ac_status); } &&
50095 { ac_try='test -z "$ac_cxx_werror_flag"
50096 || test ! -s conftest.err'
50097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50098 (eval $ac_try) 2>&5
50099 ac_status=$?
50100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101 (exit $ac_status); }; } &&
50102 { ac_try='test -s conftest.$ac_objext'
50103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50104 (eval $ac_try) 2>&5
50105 ac_status=$?
50106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50107 (exit $ac_status); }; }; then
50108 glibcxx_cv_func___builtin_cos_use=yes
50109 else
50110 echo "$as_me: failed program was:" >&5
50111 sed 's/^/| /' conftest.$ac_ext >&5
50113 glibcxx_cv_func___builtin_cos_use=no
50115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50116 ac_ext=c
50117 ac_cpp='$CPP $CPPFLAGS'
50118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50127 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50128 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50129 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50130 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50131 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50132 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50133 echo $ECHO_N "(cached) $ECHO_C" >&6
50134 else
50136 if test x$gcc_no_link = xyes; then
50137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50139 { (exit 1); exit 1; }; }
50141 cat >conftest.$ac_ext <<_ACEOF
50142 /* confdefs.h. */
50143 _ACEOF
50144 cat confdefs.h >>conftest.$ac_ext
50145 cat >>conftest.$ac_ext <<_ACEOF
50146 /* end confdefs.h. */
50147 #include <math.h>
50149 main ()
50151 __builtin_cos(0);
50153 return 0;
50155 _ACEOF
50156 rm -f conftest.$ac_objext conftest$ac_exeext
50157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50158 (eval $ac_link) 2>conftest.er1
50159 ac_status=$?
50160 grep -v '^ *+' conftest.er1 >conftest.err
50161 rm -f conftest.er1
50162 cat conftest.err >&5
50163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50164 (exit $ac_status); } &&
50165 { ac_try='test -z "$ac_c_werror_flag"
50166 || test ! -s conftest.err'
50167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50168 (eval $ac_try) 2>&5
50169 ac_status=$?
50170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171 (exit $ac_status); }; } &&
50172 { ac_try='test -s conftest$ac_exeext'
50173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50174 (eval $ac_try) 2>&5
50175 ac_status=$?
50176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50177 (exit $ac_status); }; }; then
50178 glibcxx_cv_func___builtin_cos_link=yes
50179 else
50180 echo "$as_me: failed program was:" >&5
50181 sed 's/^/| /' conftest.$ac_ext >&5
50183 glibcxx_cv_func___builtin_cos_link=no
50185 rm -f conftest.err conftest.$ac_objext \
50186 conftest$ac_exeext conftest.$ac_ext
50191 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50192 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50193 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50194 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50196 cat >>confdefs.h <<_ACEOF
50197 #define ${ac_tr_func} 1
50198 _ACEOF
50204 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50205 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50206 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50207 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50208 echo $ECHO_N "(cached) $ECHO_C" >&6
50209 else
50213 ac_ext=cc
50214 ac_cpp='$CXXCPP $CPPFLAGS'
50215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50219 cat >conftest.$ac_ext <<_ACEOF
50220 /* confdefs.h. */
50221 _ACEOF
50222 cat confdefs.h >>conftest.$ac_ext
50223 cat >>conftest.$ac_ext <<_ACEOF
50224 /* end confdefs.h. */
50225 #include <math.h>
50227 main ()
50229 __builtin_cosl(0);
50231 return 0;
50233 _ACEOF
50234 rm -f conftest.$ac_objext
50235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50236 (eval $ac_compile) 2>conftest.er1
50237 ac_status=$?
50238 grep -v '^ *+' conftest.er1 >conftest.err
50239 rm -f conftest.er1
50240 cat conftest.err >&5
50241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50242 (exit $ac_status); } &&
50243 { ac_try='test -z "$ac_cxx_werror_flag"
50244 || test ! -s conftest.err'
50245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50246 (eval $ac_try) 2>&5
50247 ac_status=$?
50248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249 (exit $ac_status); }; } &&
50250 { ac_try='test -s conftest.$ac_objext'
50251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50252 (eval $ac_try) 2>&5
50253 ac_status=$?
50254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50255 (exit $ac_status); }; }; then
50256 glibcxx_cv_func___builtin_cosl_use=yes
50257 else
50258 echo "$as_me: failed program was:" >&5
50259 sed 's/^/| /' conftest.$ac_ext >&5
50261 glibcxx_cv_func___builtin_cosl_use=no
50263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50264 ac_ext=c
50265 ac_cpp='$CPP $CPPFLAGS'
50266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50275 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50276 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50277 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50278 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50279 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50280 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50281 echo $ECHO_N "(cached) $ECHO_C" >&6
50282 else
50284 if test x$gcc_no_link = xyes; then
50285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50287 { (exit 1); exit 1; }; }
50289 cat >conftest.$ac_ext <<_ACEOF
50290 /* confdefs.h. */
50291 _ACEOF
50292 cat confdefs.h >>conftest.$ac_ext
50293 cat >>conftest.$ac_ext <<_ACEOF
50294 /* end confdefs.h. */
50295 #include <math.h>
50297 main ()
50299 __builtin_cosl(0);
50301 return 0;
50303 _ACEOF
50304 rm -f conftest.$ac_objext conftest$ac_exeext
50305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50306 (eval $ac_link) 2>conftest.er1
50307 ac_status=$?
50308 grep -v '^ *+' conftest.er1 >conftest.err
50309 rm -f conftest.er1
50310 cat conftest.err >&5
50311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50312 (exit $ac_status); } &&
50313 { ac_try='test -z "$ac_c_werror_flag"
50314 || test ! -s conftest.err'
50315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50316 (eval $ac_try) 2>&5
50317 ac_status=$?
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); }; } &&
50320 { ac_try='test -s conftest$ac_exeext'
50321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50322 (eval $ac_try) 2>&5
50323 ac_status=$?
50324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325 (exit $ac_status); }; }; then
50326 glibcxx_cv_func___builtin_cosl_link=yes
50327 else
50328 echo "$as_me: failed program was:" >&5
50329 sed 's/^/| /' conftest.$ac_ext >&5
50331 glibcxx_cv_func___builtin_cosl_link=no
50333 rm -f conftest.err conftest.$ac_objext \
50334 conftest$ac_exeext conftest.$ac_ext
50339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50340 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50341 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50342 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50344 cat >>confdefs.h <<_ACEOF
50345 #define ${ac_tr_func} 1
50346 _ACEOF
50354 echo "$as_me:$LINENO: checking for main in -lm" >&5
50355 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50356 if test "${ac_cv_lib_m_main+set}" = set; then
50357 echo $ECHO_N "(cached) $ECHO_C" >&6
50358 else
50359 ac_check_lib_save_LIBS=$LIBS
50360 LIBS="-lm $LIBS"
50361 if test x$gcc_no_link = xyes; then
50362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50364 { (exit 1); exit 1; }; }
50366 cat >conftest.$ac_ext <<_ACEOF
50367 /* confdefs.h. */
50368 _ACEOF
50369 cat confdefs.h >>conftest.$ac_ext
50370 cat >>conftest.$ac_ext <<_ACEOF
50371 /* end confdefs.h. */
50375 main ()
50377 main ();
50379 return 0;
50381 _ACEOF
50382 rm -f conftest.$ac_objext conftest$ac_exeext
50383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50384 (eval $ac_link) 2>conftest.er1
50385 ac_status=$?
50386 grep -v '^ *+' conftest.er1 >conftest.err
50387 rm -f conftest.er1
50388 cat conftest.err >&5
50389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50390 (exit $ac_status); } &&
50391 { ac_try='test -z "$ac_c_werror_flag"
50392 || test ! -s conftest.err'
50393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50394 (eval $ac_try) 2>&5
50395 ac_status=$?
50396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50397 (exit $ac_status); }; } &&
50398 { ac_try='test -s conftest$ac_exeext'
50399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50400 (eval $ac_try) 2>&5
50401 ac_status=$?
50402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50403 (exit $ac_status); }; }; then
50404 ac_cv_lib_m_main=yes
50405 else
50406 echo "$as_me: failed program was:" >&5
50407 sed 's/^/| /' conftest.$ac_ext >&5
50409 ac_cv_lib_m_main=no
50411 rm -f conftest.err conftest.$ac_objext \
50412 conftest$ac_exeext conftest.$ac_ext
50413 LIBS=$ac_check_lib_save_LIBS
50415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50416 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50417 if test $ac_cv_lib_m_main = yes; then
50418 cat >>confdefs.h <<_ACEOF
50419 #define HAVE_LIBM 1
50420 _ACEOF
50422 LIBS="-lm $LIBS"
50427 for ac_func in copysignf
50429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50430 echo "$as_me:$LINENO: checking for $ac_func" >&5
50431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50432 if eval "test \"\${$as_ac_var+set}\" = set"; then
50433 echo $ECHO_N "(cached) $ECHO_C" >&6
50434 else
50435 if test x$gcc_no_link = xyes; then
50436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50438 { (exit 1); exit 1; }; }
50440 cat >conftest.$ac_ext <<_ACEOF
50441 /* confdefs.h. */
50442 _ACEOF
50443 cat confdefs.h >>conftest.$ac_ext
50444 cat >>conftest.$ac_ext <<_ACEOF
50445 /* end confdefs.h. */
50446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50448 #define $ac_func innocuous_$ac_func
50450 /* System header to define __stub macros and hopefully few prototypes,
50451 which can conflict with char $ac_func (); below.
50452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50453 <limits.h> exists even on freestanding compilers. */
50455 #ifdef __STDC__
50456 # include <limits.h>
50457 #else
50458 # include <assert.h>
50459 #endif
50461 #undef $ac_func
50463 /* Override any gcc2 internal prototype to avoid an error. */
50464 #ifdef __cplusplus
50465 extern "C"
50467 #endif
50468 /* We use char because int might match the return type of a gcc2
50469 builtin and then its argument prototype would still apply. */
50470 char $ac_func ();
50471 /* The GNU C library defines this for functions which it implements
50472 to always fail with ENOSYS. Some functions are actually named
50473 something starting with __ and the normal name is an alias. */
50474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50475 choke me
50476 #else
50477 char (*f) () = $ac_func;
50478 #endif
50479 #ifdef __cplusplus
50481 #endif
50484 main ()
50486 return f != $ac_func;
50488 return 0;
50490 _ACEOF
50491 rm -f conftest.$ac_objext conftest$ac_exeext
50492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50493 (eval $ac_link) 2>conftest.er1
50494 ac_status=$?
50495 grep -v '^ *+' conftest.er1 >conftest.err
50496 rm -f conftest.er1
50497 cat conftest.err >&5
50498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50499 (exit $ac_status); } &&
50500 { ac_try='test -z "$ac_c_werror_flag"
50501 || test ! -s conftest.err'
50502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50503 (eval $ac_try) 2>&5
50504 ac_status=$?
50505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506 (exit $ac_status); }; } &&
50507 { ac_try='test -s conftest$ac_exeext'
50508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50509 (eval $ac_try) 2>&5
50510 ac_status=$?
50511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512 (exit $ac_status); }; }; then
50513 eval "$as_ac_var=yes"
50514 else
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50518 eval "$as_ac_var=no"
50520 rm -f conftest.err conftest.$ac_objext \
50521 conftest$ac_exeext conftest.$ac_ext
50523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50525 if test `eval echo '${'$as_ac_var'}'` = yes; then
50526 cat >>confdefs.h <<_ACEOF
50527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50528 _ACEOF
50530 else
50531 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50533 done
50537 for ac_func in __signbit
50539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50540 echo "$as_me:$LINENO: checking for $ac_func" >&5
50541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50542 if eval "test \"\${$as_ac_var+set}\" = set"; then
50543 echo $ECHO_N "(cached) $ECHO_C" >&6
50544 else
50545 if test x$gcc_no_link = xyes; then
50546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50548 { (exit 1); exit 1; }; }
50550 cat >conftest.$ac_ext <<_ACEOF
50551 /* confdefs.h. */
50552 _ACEOF
50553 cat confdefs.h >>conftest.$ac_ext
50554 cat >>conftest.$ac_ext <<_ACEOF
50555 /* end confdefs.h. */
50556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50558 #define $ac_func innocuous_$ac_func
50560 /* System header to define __stub macros and hopefully few prototypes,
50561 which can conflict with char $ac_func (); below.
50562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50563 <limits.h> exists even on freestanding compilers. */
50565 #ifdef __STDC__
50566 # include <limits.h>
50567 #else
50568 # include <assert.h>
50569 #endif
50571 #undef $ac_func
50573 /* Override any gcc2 internal prototype to avoid an error. */
50574 #ifdef __cplusplus
50575 extern "C"
50577 #endif
50578 /* We use char because int might match the return type of a gcc2
50579 builtin and then its argument prototype would still apply. */
50580 char $ac_func ();
50581 /* The GNU C library defines this for functions which it implements
50582 to always fail with ENOSYS. Some functions are actually named
50583 something starting with __ and the normal name is an alias. */
50584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50585 choke me
50586 #else
50587 char (*f) () = $ac_func;
50588 #endif
50589 #ifdef __cplusplus
50591 #endif
50594 main ()
50596 return f != $ac_func;
50598 return 0;
50600 _ACEOF
50601 rm -f conftest.$ac_objext conftest$ac_exeext
50602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50603 (eval $ac_link) 2>conftest.er1
50604 ac_status=$?
50605 grep -v '^ *+' conftest.er1 >conftest.err
50606 rm -f conftest.er1
50607 cat conftest.err >&5
50608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50609 (exit $ac_status); } &&
50610 { ac_try='test -z "$ac_c_werror_flag"
50611 || test ! -s conftest.err'
50612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50613 (eval $ac_try) 2>&5
50614 ac_status=$?
50615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616 (exit $ac_status); }; } &&
50617 { ac_try='test -s conftest$ac_exeext'
50618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50619 (eval $ac_try) 2>&5
50620 ac_status=$?
50621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50622 (exit $ac_status); }; }; then
50623 eval "$as_ac_var=yes"
50624 else
50625 echo "$as_me: failed program was:" >&5
50626 sed 's/^/| /' conftest.$ac_ext >&5
50628 eval "$as_ac_var=no"
50630 rm -f conftest.err conftest.$ac_objext \
50631 conftest$ac_exeext conftest.$ac_ext
50633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50635 if test `eval echo '${'$as_ac_var'}'` = yes; then
50636 cat >>confdefs.h <<_ACEOF
50637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50638 _ACEOF
50640 else
50641 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50643 done
50647 for ac_func in __signbitf
50649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50650 echo "$as_me:$LINENO: checking for $ac_func" >&5
50651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50652 if eval "test \"\${$as_ac_var+set}\" = set"; then
50653 echo $ECHO_N "(cached) $ECHO_C" >&6
50654 else
50655 if test x$gcc_no_link = xyes; then
50656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50658 { (exit 1); exit 1; }; }
50660 cat >conftest.$ac_ext <<_ACEOF
50661 /* confdefs.h. */
50662 _ACEOF
50663 cat confdefs.h >>conftest.$ac_ext
50664 cat >>conftest.$ac_ext <<_ACEOF
50665 /* end confdefs.h. */
50666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50668 #define $ac_func innocuous_$ac_func
50670 /* System header to define __stub macros and hopefully few prototypes,
50671 which can conflict with char $ac_func (); below.
50672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50673 <limits.h> exists even on freestanding compilers. */
50675 #ifdef __STDC__
50676 # include <limits.h>
50677 #else
50678 # include <assert.h>
50679 #endif
50681 #undef $ac_func
50683 /* Override any gcc2 internal prototype to avoid an error. */
50684 #ifdef __cplusplus
50685 extern "C"
50687 #endif
50688 /* We use char because int might match the return type of a gcc2
50689 builtin and then its argument prototype would still apply. */
50690 char $ac_func ();
50691 /* The GNU C library defines this for functions which it implements
50692 to always fail with ENOSYS. Some functions are actually named
50693 something starting with __ and the normal name is an alias. */
50694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50695 choke me
50696 #else
50697 char (*f) () = $ac_func;
50698 #endif
50699 #ifdef __cplusplus
50701 #endif
50704 main ()
50706 return f != $ac_func;
50708 return 0;
50710 _ACEOF
50711 rm -f conftest.$ac_objext conftest$ac_exeext
50712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50713 (eval $ac_link) 2>conftest.er1
50714 ac_status=$?
50715 grep -v '^ *+' conftest.er1 >conftest.err
50716 rm -f conftest.er1
50717 cat conftest.err >&5
50718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719 (exit $ac_status); } &&
50720 { ac_try='test -z "$ac_c_werror_flag"
50721 || test ! -s conftest.err'
50722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50723 (eval $ac_try) 2>&5
50724 ac_status=$?
50725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726 (exit $ac_status); }; } &&
50727 { ac_try='test -s conftest$ac_exeext'
50728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50729 (eval $ac_try) 2>&5
50730 ac_status=$?
50731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50732 (exit $ac_status); }; }; then
50733 eval "$as_ac_var=yes"
50734 else
50735 echo "$as_me: failed program was:" >&5
50736 sed 's/^/| /' conftest.$ac_ext >&5
50738 eval "$as_ac_var=no"
50740 rm -f conftest.err conftest.$ac_objext \
50741 conftest$ac_exeext conftest.$ac_ext
50743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50745 if test `eval echo '${'$as_ac_var'}'` = yes; then
50746 cat >>confdefs.h <<_ACEOF
50747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50748 _ACEOF
50750 else
50751 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50753 done
50756 if test x$ac_cv_func_copysignl = x"yes"; then
50758 for ac_func in __signbitl
50760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50761 echo "$as_me:$LINENO: checking for $ac_func" >&5
50762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50763 if eval "test \"\${$as_ac_var+set}\" = set"; then
50764 echo $ECHO_N "(cached) $ECHO_C" >&6
50765 else
50766 if test x$gcc_no_link = xyes; then
50767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50769 { (exit 1); exit 1; }; }
50771 cat >conftest.$ac_ext <<_ACEOF
50772 /* confdefs.h. */
50773 _ACEOF
50774 cat confdefs.h >>conftest.$ac_ext
50775 cat >>conftest.$ac_ext <<_ACEOF
50776 /* end confdefs.h. */
50777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50779 #define $ac_func innocuous_$ac_func
50781 /* System header to define __stub macros and hopefully few prototypes,
50782 which can conflict with char $ac_func (); below.
50783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50784 <limits.h> exists even on freestanding compilers. */
50786 #ifdef __STDC__
50787 # include <limits.h>
50788 #else
50789 # include <assert.h>
50790 #endif
50792 #undef $ac_func
50794 /* Override any gcc2 internal prototype to avoid an error. */
50795 #ifdef __cplusplus
50796 extern "C"
50798 #endif
50799 /* We use char because int might match the return type of a gcc2
50800 builtin and then its argument prototype would still apply. */
50801 char $ac_func ();
50802 /* The GNU C library defines this for functions which it implements
50803 to always fail with ENOSYS. Some functions are actually named
50804 something starting with __ and the normal name is an alias. */
50805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50806 choke me
50807 #else
50808 char (*f) () = $ac_func;
50809 #endif
50810 #ifdef __cplusplus
50812 #endif
50815 main ()
50817 return f != $ac_func;
50819 return 0;
50821 _ACEOF
50822 rm -f conftest.$ac_objext conftest$ac_exeext
50823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50824 (eval $ac_link) 2>conftest.er1
50825 ac_status=$?
50826 grep -v '^ *+' conftest.er1 >conftest.err
50827 rm -f conftest.er1
50828 cat conftest.err >&5
50829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50830 (exit $ac_status); } &&
50831 { ac_try='test -z "$ac_c_werror_flag"
50832 || test ! -s conftest.err'
50833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50834 (eval $ac_try) 2>&5
50835 ac_status=$?
50836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837 (exit $ac_status); }; } &&
50838 { ac_try='test -s conftest$ac_exeext'
50839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50840 (eval $ac_try) 2>&5
50841 ac_status=$?
50842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50843 (exit $ac_status); }; }; then
50844 eval "$as_ac_var=yes"
50845 else
50846 echo "$as_me: failed program was:" >&5
50847 sed 's/^/| /' conftest.$ac_ext >&5
50849 eval "$as_ac_var=no"
50851 rm -f conftest.err conftest.$ac_objext \
50852 conftest$ac_exeext conftest.$ac_ext
50854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50856 if test `eval echo '${'$as_ac_var'}'` = yes; then
50857 cat >>confdefs.h <<_ACEOF
50858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50859 _ACEOF
50861 else
50862 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50864 done
50868 # Used in libmath/Makefile.am.
50869 if test -n "$LIBMATHOBJS"; then
50870 need_libmath=yes
50875 # Test wchar.h for mbstate_t, which is needed for char_traits and
50876 # others even if wchar_t support is not on.
50877 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50878 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50879 cat >conftest.$ac_ext <<_ACEOF
50880 /* confdefs.h. */
50881 _ACEOF
50882 cat confdefs.h >>conftest.$ac_ext
50883 cat >>conftest.$ac_ext <<_ACEOF
50884 /* end confdefs.h. */
50885 #include <wchar.h>
50887 main ()
50889 mbstate_t teststate;
50891 return 0;
50893 _ACEOF
50894 rm -f conftest.$ac_objext
50895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50896 (eval $ac_compile) 2>conftest.er1
50897 ac_status=$?
50898 grep -v '^ *+' conftest.er1 >conftest.err
50899 rm -f conftest.er1
50900 cat conftest.err >&5
50901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902 (exit $ac_status); } &&
50903 { ac_try='test -z "$ac_c_werror_flag"
50904 || test ! -s conftest.err'
50905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50906 (eval $ac_try) 2>&5
50907 ac_status=$?
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); }; } &&
50910 { ac_try='test -s conftest.$ac_objext'
50911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50912 (eval $ac_try) 2>&5
50913 ac_status=$?
50914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50915 (exit $ac_status); }; }; then
50916 have_mbstate_t=yes
50917 else
50918 echo "$as_me: failed program was:" >&5
50919 sed 's/^/| /' conftest.$ac_ext >&5
50921 have_mbstate_t=no
50923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50924 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50925 echo "${ECHO_T}$have_mbstate_t" >&6
50926 if test x"$have_mbstate_t" = xyes; then
50927 cat >>confdefs.h <<\_ACEOF
50928 #define HAVE_MBSTATE_T 1
50929 _ACEOF
50933 # Sanity check for existence of ISO C99 headers for extended encoding.
50935 for ac_header in wchar.h
50937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50939 echo "$as_me:$LINENO: checking for $ac_header" >&5
50940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50942 echo $ECHO_N "(cached) $ECHO_C" >&6
50944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50946 else
50947 # Is the header compilable?
50948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50950 cat >conftest.$ac_ext <<_ACEOF
50951 /* confdefs.h. */
50952 _ACEOF
50953 cat confdefs.h >>conftest.$ac_ext
50954 cat >>conftest.$ac_ext <<_ACEOF
50955 /* end confdefs.h. */
50956 $ac_includes_default
50957 #include <$ac_header>
50958 _ACEOF
50959 rm -f conftest.$ac_objext
50960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50961 (eval $ac_compile) 2>conftest.er1
50962 ac_status=$?
50963 grep -v '^ *+' conftest.er1 >conftest.err
50964 rm -f conftest.er1
50965 cat conftest.err >&5
50966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50967 (exit $ac_status); } &&
50968 { ac_try='test -z "$ac_c_werror_flag"
50969 || test ! -s conftest.err'
50970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50971 (eval $ac_try) 2>&5
50972 ac_status=$?
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); }; } &&
50975 { ac_try='test -s conftest.$ac_objext'
50976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50977 (eval $ac_try) 2>&5
50978 ac_status=$?
50979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50980 (exit $ac_status); }; }; then
50981 ac_header_compiler=yes
50982 else
50983 echo "$as_me: failed program was:" >&5
50984 sed 's/^/| /' conftest.$ac_ext >&5
50986 ac_header_compiler=no
50988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50990 echo "${ECHO_T}$ac_header_compiler" >&6
50992 # Is the header present?
50993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50995 cat >conftest.$ac_ext <<_ACEOF
50996 /* confdefs.h. */
50997 _ACEOF
50998 cat confdefs.h >>conftest.$ac_ext
50999 cat >>conftest.$ac_ext <<_ACEOF
51000 /* end confdefs.h. */
51001 #include <$ac_header>
51002 _ACEOF
51003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51005 ac_status=$?
51006 grep -v '^ *+' conftest.er1 >conftest.err
51007 rm -f conftest.er1
51008 cat conftest.err >&5
51009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51010 (exit $ac_status); } >/dev/null; then
51011 if test -s conftest.err; then
51012 ac_cpp_err=$ac_c_preproc_warn_flag
51013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51014 else
51015 ac_cpp_err=
51017 else
51018 ac_cpp_err=yes
51020 if test -z "$ac_cpp_err"; then
51021 ac_header_preproc=yes
51022 else
51023 echo "$as_me: failed program was:" >&5
51024 sed 's/^/| /' conftest.$ac_ext >&5
51026 ac_header_preproc=no
51028 rm -f conftest.err conftest.$ac_ext
51029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51030 echo "${ECHO_T}$ac_header_preproc" >&6
51032 # So? What about this header?
51033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51034 yes:no: )
51035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51039 ac_header_preproc=yes
51041 no:yes:* )
51042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51055 cat <<\_ASBOX
51056 ## ----------------------------------------- ##
51057 ## Report this to the package-unused lists. ##
51058 ## ----------------------------------------- ##
51059 _ASBOX
51061 sed "s/^/$as_me: WARNING: /" >&2
51063 esac
51064 echo "$as_me:$LINENO: checking for $ac_header" >&5
51065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51067 echo $ECHO_N "(cached) $ECHO_C" >&6
51068 else
51069 eval "$as_ac_Header=\$ac_header_preproc"
51071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51076 cat >>confdefs.h <<_ACEOF
51077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51078 _ACEOF
51079 ac_has_wchar_h=yes
51080 else
51081 ac_has_wchar_h=no
51084 done
51087 for ac_header in wctype.h
51089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51091 echo "$as_me:$LINENO: checking for $ac_header" >&5
51092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51094 echo $ECHO_N "(cached) $ECHO_C" >&6
51096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51098 else
51099 # Is the header compilable?
51100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51102 cat >conftest.$ac_ext <<_ACEOF
51103 /* confdefs.h. */
51104 _ACEOF
51105 cat confdefs.h >>conftest.$ac_ext
51106 cat >>conftest.$ac_ext <<_ACEOF
51107 /* end confdefs.h. */
51108 $ac_includes_default
51109 #include <$ac_header>
51110 _ACEOF
51111 rm -f conftest.$ac_objext
51112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51113 (eval $ac_compile) 2>conftest.er1
51114 ac_status=$?
51115 grep -v '^ *+' conftest.er1 >conftest.err
51116 rm -f conftest.er1
51117 cat conftest.err >&5
51118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51119 (exit $ac_status); } &&
51120 { ac_try='test -z "$ac_c_werror_flag"
51121 || test ! -s conftest.err'
51122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51123 (eval $ac_try) 2>&5
51124 ac_status=$?
51125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51126 (exit $ac_status); }; } &&
51127 { ac_try='test -s conftest.$ac_objext'
51128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51129 (eval $ac_try) 2>&5
51130 ac_status=$?
51131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51132 (exit $ac_status); }; }; then
51133 ac_header_compiler=yes
51134 else
51135 echo "$as_me: failed program was:" >&5
51136 sed 's/^/| /' conftest.$ac_ext >&5
51138 ac_header_compiler=no
51140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51142 echo "${ECHO_T}$ac_header_compiler" >&6
51144 # Is the header present?
51145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51147 cat >conftest.$ac_ext <<_ACEOF
51148 /* confdefs.h. */
51149 _ACEOF
51150 cat confdefs.h >>conftest.$ac_ext
51151 cat >>conftest.$ac_ext <<_ACEOF
51152 /* end confdefs.h. */
51153 #include <$ac_header>
51154 _ACEOF
51155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51157 ac_status=$?
51158 grep -v '^ *+' conftest.er1 >conftest.err
51159 rm -f conftest.er1
51160 cat conftest.err >&5
51161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162 (exit $ac_status); } >/dev/null; then
51163 if test -s conftest.err; then
51164 ac_cpp_err=$ac_c_preproc_warn_flag
51165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51166 else
51167 ac_cpp_err=
51169 else
51170 ac_cpp_err=yes
51172 if test -z "$ac_cpp_err"; then
51173 ac_header_preproc=yes
51174 else
51175 echo "$as_me: failed program was:" >&5
51176 sed 's/^/| /' conftest.$ac_ext >&5
51178 ac_header_preproc=no
51180 rm -f conftest.err conftest.$ac_ext
51181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51182 echo "${ECHO_T}$ac_header_preproc" >&6
51184 # So? What about this header?
51185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51186 yes:no: )
51187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51191 ac_header_preproc=yes
51193 no:yes:* )
51194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51207 cat <<\_ASBOX
51208 ## ----------------------------------------- ##
51209 ## Report this to the package-unused lists. ##
51210 ## ----------------------------------------- ##
51211 _ASBOX
51213 sed "s/^/$as_me: WARNING: /" >&2
51215 esac
51216 echo "$as_me:$LINENO: checking for $ac_header" >&5
51217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51219 echo $ECHO_N "(cached) $ECHO_C" >&6
51220 else
51221 eval "$as_ac_Header=\$ac_header_preproc"
51223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51228 cat >>confdefs.h <<_ACEOF
51229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51230 _ACEOF
51231 ac_has_wctype_h=yes
51232 else
51233 ac_has_wctype_h=no
51236 done
51239 # Only continue checking if the ISO C99 headers exist and support is on.
51240 if test x"$ac_has_wchar_h" = xyes &&
51241 test x"$ac_has_wctype_h" = xyes &&
51242 test x"$enable_c_mbchar" != xno; then
51244 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51245 # numeric_limits can instantiate type_traits<wchar_t>
51246 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51247 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51248 cat >conftest.$ac_ext <<_ACEOF
51249 /* confdefs.h. */
51250 _ACEOF
51251 cat confdefs.h >>conftest.$ac_ext
51252 cat >>conftest.$ac_ext <<_ACEOF
51253 /* end confdefs.h. */
51254 #include <wchar.h>
51256 main ()
51258 int i = WCHAR_MIN; int j = WCHAR_MAX;
51260 return 0;
51262 _ACEOF
51263 rm -f conftest.$ac_objext
51264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51265 (eval $ac_compile) 2>conftest.er1
51266 ac_status=$?
51267 grep -v '^ *+' conftest.er1 >conftest.err
51268 rm -f conftest.er1
51269 cat conftest.err >&5
51270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51271 (exit $ac_status); } &&
51272 { ac_try='test -z "$ac_c_werror_flag"
51273 || test ! -s conftest.err'
51274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51275 (eval $ac_try) 2>&5
51276 ac_status=$?
51277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278 (exit $ac_status); }; } &&
51279 { ac_try='test -s conftest.$ac_objext'
51280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51281 (eval $ac_try) 2>&5
51282 ac_status=$?
51283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284 (exit $ac_status); }; }; then
51285 has_wchar_minmax=yes
51286 else
51287 echo "$as_me: failed program was:" >&5
51288 sed 's/^/| /' conftest.$ac_ext >&5
51290 has_wchar_minmax=no
51292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51293 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51294 echo "${ECHO_T}$has_wchar_minmax" >&6
51296 # Test wchar.h for WEOF, which is what we use to determine whether
51297 # to specialize for char_traits<wchar_t> or not.
51298 echo "$as_me:$LINENO: checking for WEOF" >&5
51299 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51300 cat >conftest.$ac_ext <<_ACEOF
51301 /* confdefs.h. */
51302 _ACEOF
51303 cat confdefs.h >>conftest.$ac_ext
51304 cat >>conftest.$ac_ext <<_ACEOF
51305 /* end confdefs.h. */
51307 #include <wchar.h>
51308 #include <stddef.h>
51310 main ()
51312 wint_t i = WEOF;
51314 return 0;
51316 _ACEOF
51317 rm -f conftest.$ac_objext
51318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51319 (eval $ac_compile) 2>conftest.er1
51320 ac_status=$?
51321 grep -v '^ *+' conftest.er1 >conftest.err
51322 rm -f conftest.er1
51323 cat conftest.err >&5
51324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51325 (exit $ac_status); } &&
51326 { ac_try='test -z "$ac_c_werror_flag"
51327 || test ! -s conftest.err'
51328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51329 (eval $ac_try) 2>&5
51330 ac_status=$?
51331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51332 (exit $ac_status); }; } &&
51333 { ac_try='test -s conftest.$ac_objext'
51334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51335 (eval $ac_try) 2>&5
51336 ac_status=$?
51337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51338 (exit $ac_status); }; }; then
51339 has_weof=yes
51340 else
51341 echo "$as_me: failed program was:" >&5
51342 sed 's/^/| /' conftest.$ac_ext >&5
51344 has_weof=no
51346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51347 echo "$as_me:$LINENO: result: $has_weof" >&5
51348 echo "${ECHO_T}$has_weof" >&6
51350 # Tests for wide character functions used in char_traits<wchar_t>.
51351 ac_wfuncs=yes
51358 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51361 echo "$as_me:$LINENO: checking for $ac_func" >&5
51362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51363 if eval "test \"\${$as_ac_var+set}\" = set"; then
51364 echo $ECHO_N "(cached) $ECHO_C" >&6
51365 else
51366 if test x$gcc_no_link = xyes; then
51367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51369 { (exit 1); exit 1; }; }
51371 cat >conftest.$ac_ext <<_ACEOF
51372 /* confdefs.h. */
51373 _ACEOF
51374 cat confdefs.h >>conftest.$ac_ext
51375 cat >>conftest.$ac_ext <<_ACEOF
51376 /* end confdefs.h. */
51377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51379 #define $ac_func innocuous_$ac_func
51381 /* System header to define __stub macros and hopefully few prototypes,
51382 which can conflict with char $ac_func (); below.
51383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51384 <limits.h> exists even on freestanding compilers. */
51386 #ifdef __STDC__
51387 # include <limits.h>
51388 #else
51389 # include <assert.h>
51390 #endif
51392 #undef $ac_func
51394 /* Override any gcc2 internal prototype to avoid an error. */
51395 #ifdef __cplusplus
51396 extern "C"
51398 #endif
51399 /* We use char because int might match the return type of a gcc2
51400 builtin and then its argument prototype would still apply. */
51401 char $ac_func ();
51402 /* The GNU C library defines this for functions which it implements
51403 to always fail with ENOSYS. Some functions are actually named
51404 something starting with __ and the normal name is an alias. */
51405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51406 choke me
51407 #else
51408 char (*f) () = $ac_func;
51409 #endif
51410 #ifdef __cplusplus
51412 #endif
51415 main ()
51417 return f != $ac_func;
51419 return 0;
51421 _ACEOF
51422 rm -f conftest.$ac_objext conftest$ac_exeext
51423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51424 (eval $ac_link) 2>conftest.er1
51425 ac_status=$?
51426 grep -v '^ *+' conftest.er1 >conftest.err
51427 rm -f conftest.er1
51428 cat conftest.err >&5
51429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51430 (exit $ac_status); } &&
51431 { ac_try='test -z "$ac_c_werror_flag"
51432 || test ! -s conftest.err'
51433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51434 (eval $ac_try) 2>&5
51435 ac_status=$?
51436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51437 (exit $ac_status); }; } &&
51438 { ac_try='test -s conftest$ac_exeext'
51439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51440 (eval $ac_try) 2>&5
51441 ac_status=$?
51442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51443 (exit $ac_status); }; }; then
51444 eval "$as_ac_var=yes"
51445 else
51446 echo "$as_me: failed program was:" >&5
51447 sed 's/^/| /' conftest.$ac_ext >&5
51449 eval "$as_ac_var=no"
51451 rm -f conftest.err conftest.$ac_objext \
51452 conftest$ac_exeext conftest.$ac_ext
51454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51456 if test `eval echo '${'$as_ac_var'}'` = yes; then
51457 cat >>confdefs.h <<_ACEOF
51458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51459 _ACEOF
51461 else
51462 ac_wfuncs=no
51464 done
51467 # Checks for names injected into std:: by the c_std headers.
51514 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51515 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51516 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51517 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51518 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51519 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51522 echo "$as_me:$LINENO: checking for $ac_func" >&5
51523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51524 if eval "test \"\${$as_ac_var+set}\" = set"; then
51525 echo $ECHO_N "(cached) $ECHO_C" >&6
51526 else
51527 if test x$gcc_no_link = xyes; then
51528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51530 { (exit 1); exit 1; }; }
51532 cat >conftest.$ac_ext <<_ACEOF
51533 /* confdefs.h. */
51534 _ACEOF
51535 cat confdefs.h >>conftest.$ac_ext
51536 cat >>conftest.$ac_ext <<_ACEOF
51537 /* end confdefs.h. */
51538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51540 #define $ac_func innocuous_$ac_func
51542 /* System header to define __stub macros and hopefully few prototypes,
51543 which can conflict with char $ac_func (); below.
51544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51545 <limits.h> exists even on freestanding compilers. */
51547 #ifdef __STDC__
51548 # include <limits.h>
51549 #else
51550 # include <assert.h>
51551 #endif
51553 #undef $ac_func
51555 /* Override any gcc2 internal prototype to avoid an error. */
51556 #ifdef __cplusplus
51557 extern "C"
51559 #endif
51560 /* We use char because int might match the return type of a gcc2
51561 builtin and then its argument prototype would still apply. */
51562 char $ac_func ();
51563 /* The GNU C library defines this for functions which it implements
51564 to always fail with ENOSYS. Some functions are actually named
51565 something starting with __ and the normal name is an alias. */
51566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51567 choke me
51568 #else
51569 char (*f) () = $ac_func;
51570 #endif
51571 #ifdef __cplusplus
51573 #endif
51576 main ()
51578 return f != $ac_func;
51580 return 0;
51582 _ACEOF
51583 rm -f conftest.$ac_objext conftest$ac_exeext
51584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51585 (eval $ac_link) 2>conftest.er1
51586 ac_status=$?
51587 grep -v '^ *+' conftest.er1 >conftest.err
51588 rm -f conftest.er1
51589 cat conftest.err >&5
51590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51591 (exit $ac_status); } &&
51592 { ac_try='test -z "$ac_c_werror_flag"
51593 || test ! -s conftest.err'
51594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51595 (eval $ac_try) 2>&5
51596 ac_status=$?
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); }; } &&
51599 { ac_try='test -s conftest$ac_exeext'
51600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51601 (eval $ac_try) 2>&5
51602 ac_status=$?
51603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51604 (exit $ac_status); }; }; then
51605 eval "$as_ac_var=yes"
51606 else
51607 echo "$as_me: failed program was:" >&5
51608 sed 's/^/| /' conftest.$ac_ext >&5
51610 eval "$as_ac_var=no"
51612 rm -f conftest.err conftest.$ac_objext \
51613 conftest$ac_exeext conftest.$ac_ext
51615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51617 if test `eval echo '${'$as_ac_var'}'` = yes; then
51618 cat >>confdefs.h <<_ACEOF
51619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51620 _ACEOF
51622 else
51623 ac_wfuncs=no
51625 done
51628 # Checks for wide character functions that are not required
51629 # for basic wchar_t support. Don't disable support if they are missing.
51630 # Injection of these is wrapped with guard macros.
51636 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51639 echo "$as_me:$LINENO: checking for $ac_func" >&5
51640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51641 if eval "test \"\${$as_ac_var+set}\" = set"; then
51642 echo $ECHO_N "(cached) $ECHO_C" >&6
51643 else
51644 if test x$gcc_no_link = xyes; then
51645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51647 { (exit 1); exit 1; }; }
51649 cat >conftest.$ac_ext <<_ACEOF
51650 /* confdefs.h. */
51651 _ACEOF
51652 cat confdefs.h >>conftest.$ac_ext
51653 cat >>conftest.$ac_ext <<_ACEOF
51654 /* end confdefs.h. */
51655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51657 #define $ac_func innocuous_$ac_func
51659 /* System header to define __stub macros and hopefully few prototypes,
51660 which can conflict with char $ac_func (); below.
51661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51662 <limits.h> exists even on freestanding compilers. */
51664 #ifdef __STDC__
51665 # include <limits.h>
51666 #else
51667 # include <assert.h>
51668 #endif
51670 #undef $ac_func
51672 /* Override any gcc2 internal prototype to avoid an error. */
51673 #ifdef __cplusplus
51674 extern "C"
51676 #endif
51677 /* We use char because int might match the return type of a gcc2
51678 builtin and then its argument prototype would still apply. */
51679 char $ac_func ();
51680 /* The GNU C library defines this for functions which it implements
51681 to always fail with ENOSYS. Some functions are actually named
51682 something starting with __ and the normal name is an alias. */
51683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51684 choke me
51685 #else
51686 char (*f) () = $ac_func;
51687 #endif
51688 #ifdef __cplusplus
51690 #endif
51693 main ()
51695 return f != $ac_func;
51697 return 0;
51699 _ACEOF
51700 rm -f conftest.$ac_objext conftest$ac_exeext
51701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51702 (eval $ac_link) 2>conftest.er1
51703 ac_status=$?
51704 grep -v '^ *+' conftest.er1 >conftest.err
51705 rm -f conftest.er1
51706 cat conftest.err >&5
51707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51708 (exit $ac_status); } &&
51709 { ac_try='test -z "$ac_c_werror_flag"
51710 || test ! -s conftest.err'
51711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51712 (eval $ac_try) 2>&5
51713 ac_status=$?
51714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715 (exit $ac_status); }; } &&
51716 { ac_try='test -s conftest$ac_exeext'
51717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51718 (eval $ac_try) 2>&5
51719 ac_status=$?
51720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51721 (exit $ac_status); }; }; then
51722 eval "$as_ac_var=yes"
51723 else
51724 echo "$as_me: failed program was:" >&5
51725 sed 's/^/| /' conftest.$ac_ext >&5
51727 eval "$as_ac_var=no"
51729 rm -f conftest.err conftest.$ac_objext \
51730 conftest$ac_exeext conftest.$ac_ext
51732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51734 if test `eval echo '${'$as_ac_var'}'` = yes; then
51735 cat >>confdefs.h <<_ACEOF
51736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51737 _ACEOF
51740 done
51743 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51744 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51745 if test x"$has_weof" = xyes &&
51746 test x"$has_wchar_minmax" = xyes &&
51747 test x"$ac_wfuncs" = xyes;
51748 then
51749 ac_isoC99_wchar_t=yes
51750 else
51751 ac_isoC99_wchar_t=no
51753 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51754 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51756 # Use iconv for wchar_t to char conversions. As such, check for
51757 # X/Open Portability Guide, version 2 features (XPG2).
51758 if test "${ac_cv_header_iconv_h+set}" = set; then
51759 echo "$as_me:$LINENO: checking for iconv.h" >&5
51760 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51761 if test "${ac_cv_header_iconv_h+set}" = set; then
51762 echo $ECHO_N "(cached) $ECHO_C" >&6
51764 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51765 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51766 else
51767 # Is the header compilable?
51768 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51769 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51770 cat >conftest.$ac_ext <<_ACEOF
51771 /* confdefs.h. */
51772 _ACEOF
51773 cat confdefs.h >>conftest.$ac_ext
51774 cat >>conftest.$ac_ext <<_ACEOF
51775 /* end confdefs.h. */
51776 $ac_includes_default
51777 #include <iconv.h>
51778 _ACEOF
51779 rm -f conftest.$ac_objext
51780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51781 (eval $ac_compile) 2>conftest.er1
51782 ac_status=$?
51783 grep -v '^ *+' conftest.er1 >conftest.err
51784 rm -f conftest.er1
51785 cat conftest.err >&5
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); } &&
51788 { ac_try='test -z "$ac_c_werror_flag"
51789 || test ! -s conftest.err'
51790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51791 (eval $ac_try) 2>&5
51792 ac_status=$?
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 (exit $ac_status); }; } &&
51795 { ac_try='test -s conftest.$ac_objext'
51796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51797 (eval $ac_try) 2>&5
51798 ac_status=$?
51799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51800 (exit $ac_status); }; }; then
51801 ac_header_compiler=yes
51802 else
51803 echo "$as_me: failed program was:" >&5
51804 sed 's/^/| /' conftest.$ac_ext >&5
51806 ac_header_compiler=no
51808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51810 echo "${ECHO_T}$ac_header_compiler" >&6
51812 # Is the header present?
51813 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51814 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51815 cat >conftest.$ac_ext <<_ACEOF
51816 /* confdefs.h. */
51817 _ACEOF
51818 cat confdefs.h >>conftest.$ac_ext
51819 cat >>conftest.$ac_ext <<_ACEOF
51820 /* end confdefs.h. */
51821 #include <iconv.h>
51822 _ACEOF
51823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51825 ac_status=$?
51826 grep -v '^ *+' conftest.er1 >conftest.err
51827 rm -f conftest.er1
51828 cat conftest.err >&5
51829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51830 (exit $ac_status); } >/dev/null; then
51831 if test -s conftest.err; then
51832 ac_cpp_err=$ac_c_preproc_warn_flag
51833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51834 else
51835 ac_cpp_err=
51837 else
51838 ac_cpp_err=yes
51840 if test -z "$ac_cpp_err"; then
51841 ac_header_preproc=yes
51842 else
51843 echo "$as_me: failed program was:" >&5
51844 sed 's/^/| /' conftest.$ac_ext >&5
51846 ac_header_preproc=no
51848 rm -f conftest.err conftest.$ac_ext
51849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51850 echo "${ECHO_T}$ac_header_preproc" >&6
51852 # So? What about this header?
51853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51854 yes:no: )
51855 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51856 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51857 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51858 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51859 ac_header_preproc=yes
51861 no:yes:* )
51862 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51863 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51864 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51865 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51866 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51867 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51868 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51869 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51870 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51871 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51872 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51873 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51875 cat <<\_ASBOX
51876 ## ----------------------------------------- ##
51877 ## Report this to the package-unused lists. ##
51878 ## ----------------------------------------- ##
51879 _ASBOX
51881 sed "s/^/$as_me: WARNING: /" >&2
51883 esac
51884 echo "$as_me:$LINENO: checking for iconv.h" >&5
51885 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51886 if test "${ac_cv_header_iconv_h+set}" = set; then
51887 echo $ECHO_N "(cached) $ECHO_C" >&6
51888 else
51889 ac_cv_header_iconv_h=$ac_header_preproc
51891 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51892 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51895 if test $ac_cv_header_iconv_h = yes; then
51896 ac_has_iconv_h=yes
51897 else
51898 ac_has_iconv_h=no
51902 if test "${ac_cv_header_langinfo_h+set}" = set; then
51903 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51904 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51905 if test "${ac_cv_header_langinfo_h+set}" = set; then
51906 echo $ECHO_N "(cached) $ECHO_C" >&6
51908 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51909 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51910 else
51911 # Is the header compilable?
51912 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51913 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51914 cat >conftest.$ac_ext <<_ACEOF
51915 /* confdefs.h. */
51916 _ACEOF
51917 cat confdefs.h >>conftest.$ac_ext
51918 cat >>conftest.$ac_ext <<_ACEOF
51919 /* end confdefs.h. */
51920 $ac_includes_default
51921 #include <langinfo.h>
51922 _ACEOF
51923 rm -f conftest.$ac_objext
51924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51925 (eval $ac_compile) 2>conftest.er1
51926 ac_status=$?
51927 grep -v '^ *+' conftest.er1 >conftest.err
51928 rm -f conftest.er1
51929 cat conftest.err >&5
51930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51931 (exit $ac_status); } &&
51932 { ac_try='test -z "$ac_c_werror_flag"
51933 || test ! -s conftest.err'
51934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51935 (eval $ac_try) 2>&5
51936 ac_status=$?
51937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51938 (exit $ac_status); }; } &&
51939 { ac_try='test -s conftest.$ac_objext'
51940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51941 (eval $ac_try) 2>&5
51942 ac_status=$?
51943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51944 (exit $ac_status); }; }; then
51945 ac_header_compiler=yes
51946 else
51947 echo "$as_me: failed program was:" >&5
51948 sed 's/^/| /' conftest.$ac_ext >&5
51950 ac_header_compiler=no
51952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51954 echo "${ECHO_T}$ac_header_compiler" >&6
51956 # Is the header present?
51957 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51958 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51959 cat >conftest.$ac_ext <<_ACEOF
51960 /* confdefs.h. */
51961 _ACEOF
51962 cat confdefs.h >>conftest.$ac_ext
51963 cat >>conftest.$ac_ext <<_ACEOF
51964 /* end confdefs.h. */
51965 #include <langinfo.h>
51966 _ACEOF
51967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51969 ac_status=$?
51970 grep -v '^ *+' conftest.er1 >conftest.err
51971 rm -f conftest.er1
51972 cat conftest.err >&5
51973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51974 (exit $ac_status); } >/dev/null; then
51975 if test -s conftest.err; then
51976 ac_cpp_err=$ac_c_preproc_warn_flag
51977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51978 else
51979 ac_cpp_err=
51981 else
51982 ac_cpp_err=yes
51984 if test -z "$ac_cpp_err"; then
51985 ac_header_preproc=yes
51986 else
51987 echo "$as_me: failed program was:" >&5
51988 sed 's/^/| /' conftest.$ac_ext >&5
51990 ac_header_preproc=no
51992 rm -f conftest.err conftest.$ac_ext
51993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51994 echo "${ECHO_T}$ac_header_preproc" >&6
51996 # So? What about this header?
51997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51998 yes:no: )
51999 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52000 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52001 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52002 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52003 ac_header_preproc=yes
52005 no:yes:* )
52006 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52007 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52008 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52009 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52010 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52011 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52012 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52013 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52014 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52015 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52016 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52017 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52019 cat <<\_ASBOX
52020 ## ----------------------------------------- ##
52021 ## Report this to the package-unused lists. ##
52022 ## ----------------------------------------- ##
52023 _ASBOX
52025 sed "s/^/$as_me: WARNING: /" >&2
52027 esac
52028 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52029 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52030 if test "${ac_cv_header_langinfo_h+set}" = set; then
52031 echo $ECHO_N "(cached) $ECHO_C" >&6
52032 else
52033 ac_cv_header_langinfo_h=$ac_header_preproc
52035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52039 if test $ac_cv_header_langinfo_h = yes; then
52040 ac_has_langinfo_h=yes
52041 else
52042 ac_has_langinfo_h=no
52047 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52048 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52049 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52050 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52051 echo $ECHO_N "(cached) $ECHO_C" >&6
52052 else
52053 ac_check_lib_save_LIBS=$LIBS
52054 LIBS="-liconv $LIBS"
52055 if test x$gcc_no_link = xyes; then
52056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52058 { (exit 1); exit 1; }; }
52060 cat >conftest.$ac_ext <<_ACEOF
52061 /* confdefs.h. */
52062 _ACEOF
52063 cat confdefs.h >>conftest.$ac_ext
52064 cat >>conftest.$ac_ext <<_ACEOF
52065 /* end confdefs.h. */
52067 /* Override any gcc2 internal prototype to avoid an error. */
52068 #ifdef __cplusplus
52069 extern "C"
52070 #endif
52071 /* We use char because int might match the return type of a gcc2
52072 builtin and then its argument prototype would still apply. */
52073 char iconv ();
52075 main ()
52077 iconv ();
52079 return 0;
52081 _ACEOF
52082 rm -f conftest.$ac_objext conftest$ac_exeext
52083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52084 (eval $ac_link) 2>conftest.er1
52085 ac_status=$?
52086 grep -v '^ *+' conftest.er1 >conftest.err
52087 rm -f conftest.er1
52088 cat conftest.err >&5
52089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52090 (exit $ac_status); } &&
52091 { ac_try='test -z "$ac_c_werror_flag"
52092 || test ! -s conftest.err'
52093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52094 (eval $ac_try) 2>&5
52095 ac_status=$?
52096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097 (exit $ac_status); }; } &&
52098 { ac_try='test -s conftest$ac_exeext'
52099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52100 (eval $ac_try) 2>&5
52101 ac_status=$?
52102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52103 (exit $ac_status); }; }; then
52104 ac_cv_lib_iconv_iconv=yes
52105 else
52106 echo "$as_me: failed program was:" >&5
52107 sed 's/^/| /' conftest.$ac_ext >&5
52109 ac_cv_lib_iconv_iconv=no
52111 rm -f conftest.err conftest.$ac_objext \
52112 conftest$ac_exeext conftest.$ac_ext
52113 LIBS=$ac_check_lib_save_LIBS
52115 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52116 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52117 if test $ac_cv_lib_iconv_iconv = yes; then
52118 LIBICONV="-liconv"
52121 ac_save_LIBS="$LIBS"
52122 LIBS="$LIBS $LIBICONV"
52129 for ac_func in iconv_open iconv_close iconv nl_langinfo
52131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52132 echo "$as_me:$LINENO: checking for $ac_func" >&5
52133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52134 if eval "test \"\${$as_ac_var+set}\" = set"; then
52135 echo $ECHO_N "(cached) $ECHO_C" >&6
52136 else
52137 if test x$gcc_no_link = xyes; then
52138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52140 { (exit 1); exit 1; }; }
52142 cat >conftest.$ac_ext <<_ACEOF
52143 /* confdefs.h. */
52144 _ACEOF
52145 cat confdefs.h >>conftest.$ac_ext
52146 cat >>conftest.$ac_ext <<_ACEOF
52147 /* end confdefs.h. */
52148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52150 #define $ac_func innocuous_$ac_func
52152 /* System header to define __stub macros and hopefully few prototypes,
52153 which can conflict with char $ac_func (); below.
52154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52155 <limits.h> exists even on freestanding compilers. */
52157 #ifdef __STDC__
52158 # include <limits.h>
52159 #else
52160 # include <assert.h>
52161 #endif
52163 #undef $ac_func
52165 /* Override any gcc2 internal prototype to avoid an error. */
52166 #ifdef __cplusplus
52167 extern "C"
52169 #endif
52170 /* We use char because int might match the return type of a gcc2
52171 builtin and then its argument prototype would still apply. */
52172 char $ac_func ();
52173 /* The GNU C library defines this for functions which it implements
52174 to always fail with ENOSYS. Some functions are actually named
52175 something starting with __ and the normal name is an alias. */
52176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52177 choke me
52178 #else
52179 char (*f) () = $ac_func;
52180 #endif
52181 #ifdef __cplusplus
52183 #endif
52186 main ()
52188 return f != $ac_func;
52190 return 0;
52192 _ACEOF
52193 rm -f conftest.$ac_objext conftest$ac_exeext
52194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52195 (eval $ac_link) 2>conftest.er1
52196 ac_status=$?
52197 grep -v '^ *+' conftest.er1 >conftest.err
52198 rm -f conftest.er1
52199 cat conftest.err >&5
52200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52201 (exit $ac_status); } &&
52202 { ac_try='test -z "$ac_c_werror_flag"
52203 || test ! -s conftest.err'
52204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52205 (eval $ac_try) 2>&5
52206 ac_status=$?
52207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208 (exit $ac_status); }; } &&
52209 { ac_try='test -s conftest$ac_exeext'
52210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52211 (eval $ac_try) 2>&5
52212 ac_status=$?
52213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52214 (exit $ac_status); }; }; then
52215 eval "$as_ac_var=yes"
52216 else
52217 echo "$as_me: failed program was:" >&5
52218 sed 's/^/| /' conftest.$ac_ext >&5
52220 eval "$as_ac_var=no"
52222 rm -f conftest.err conftest.$ac_objext \
52223 conftest$ac_exeext conftest.$ac_ext
52225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52227 if test `eval echo '${'$as_ac_var'}'` = yes; then
52228 cat >>confdefs.h <<_ACEOF
52229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52230 _ACEOF
52231 ac_XPG2funcs=yes
52232 else
52233 ac_XPG2funcs=no
52235 done
52238 LIBS="$ac_save_LIBS"
52240 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52241 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52242 if test x"$ac_has_iconv_h" = xyes &&
52243 test x"$ac_has_langinfo_h" = xyes &&
52244 test x"$ac_XPG2funcs" = xyes;
52245 then
52246 ac_XPG2_wchar_t=yes
52247 else
52248 ac_XPG2_wchar_t=no
52250 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52251 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52253 # At the moment, only enable wchar_t specializations if all the
52254 # above support is present.
52255 if test x"$ac_isoC99_wchar_t" = xyes &&
52256 test x"$ac_XPG2_wchar_t" = xyes;
52257 then
52258 cat >>confdefs.h <<\_ACEOF
52259 #define _GLIBCXX_USE_WCHAR_T 1
52260 _ACEOF
52262 enable_wchar_t=yes
52265 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52266 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52267 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52268 echo "${ECHO_T}$enable_wchar_t" >&6
52271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52272 ac_save_CXXFLAGS="$CXXFLAGS"
52273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52276 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52277 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52278 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52279 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52280 echo $ECHO_N "(cached) $ECHO_C" >&6
52281 else
52285 ac_ext=cc
52286 ac_cpp='$CXXCPP $CPPFLAGS'
52287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52291 cat >conftest.$ac_ext <<_ACEOF
52292 /* confdefs.h. */
52293 _ACEOF
52294 cat confdefs.h >>conftest.$ac_ext
52295 cat >>conftest.$ac_ext <<_ACEOF
52296 /* end confdefs.h. */
52297 #include <stdlib.h>
52299 main ()
52301 strtold(0, 0);
52303 return 0;
52305 _ACEOF
52306 rm -f conftest.$ac_objext
52307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52308 (eval $ac_compile) 2>conftest.er1
52309 ac_status=$?
52310 grep -v '^ *+' conftest.er1 >conftest.err
52311 rm -f conftest.er1
52312 cat conftest.err >&5
52313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52314 (exit $ac_status); } &&
52315 { ac_try='test -z "$ac_cxx_werror_flag"
52316 || test ! -s conftest.err'
52317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52318 (eval $ac_try) 2>&5
52319 ac_status=$?
52320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52321 (exit $ac_status); }; } &&
52322 { ac_try='test -s conftest.$ac_objext'
52323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52324 (eval $ac_try) 2>&5
52325 ac_status=$?
52326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52327 (exit $ac_status); }; }; then
52328 glibcxx_cv_func_strtold_use=yes
52329 else
52330 echo "$as_me: failed program was:" >&5
52331 sed 's/^/| /' conftest.$ac_ext >&5
52333 glibcxx_cv_func_strtold_use=no
52335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52336 ac_ext=c
52337 ac_cpp='$CPP $CPPFLAGS'
52338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52347 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52348 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52350 for ac_func in strtold
52352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52353 echo "$as_me:$LINENO: checking for $ac_func" >&5
52354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52355 if eval "test \"\${$as_ac_var+set}\" = set"; then
52356 echo $ECHO_N "(cached) $ECHO_C" >&6
52357 else
52358 if test x$gcc_no_link = xyes; then
52359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52361 { (exit 1); exit 1; }; }
52363 cat >conftest.$ac_ext <<_ACEOF
52364 /* confdefs.h. */
52365 _ACEOF
52366 cat confdefs.h >>conftest.$ac_ext
52367 cat >>conftest.$ac_ext <<_ACEOF
52368 /* end confdefs.h. */
52369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52371 #define $ac_func innocuous_$ac_func
52373 /* System header to define __stub macros and hopefully few prototypes,
52374 which can conflict with char $ac_func (); below.
52375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52376 <limits.h> exists even on freestanding compilers. */
52378 #ifdef __STDC__
52379 # include <limits.h>
52380 #else
52381 # include <assert.h>
52382 #endif
52384 #undef $ac_func
52386 /* Override any gcc2 internal prototype to avoid an error. */
52387 #ifdef __cplusplus
52388 extern "C"
52390 #endif
52391 /* We use char because int might match the return type of a gcc2
52392 builtin and then its argument prototype would still apply. */
52393 char $ac_func ();
52394 /* The GNU C library defines this for functions which it implements
52395 to always fail with ENOSYS. Some functions are actually named
52396 something starting with __ and the normal name is an alias. */
52397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52398 choke me
52399 #else
52400 char (*f) () = $ac_func;
52401 #endif
52402 #ifdef __cplusplus
52404 #endif
52407 main ()
52409 return f != $ac_func;
52411 return 0;
52413 _ACEOF
52414 rm -f conftest.$ac_objext conftest$ac_exeext
52415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52416 (eval $ac_link) 2>conftest.er1
52417 ac_status=$?
52418 grep -v '^ *+' conftest.er1 >conftest.err
52419 rm -f conftest.er1
52420 cat conftest.err >&5
52421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52422 (exit $ac_status); } &&
52423 { ac_try='test -z "$ac_c_werror_flag"
52424 || test ! -s conftest.err'
52425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426 (eval $ac_try) 2>&5
52427 ac_status=$?
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); }; } &&
52430 { ac_try='test -s conftest$ac_exeext'
52431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52432 (eval $ac_try) 2>&5
52433 ac_status=$?
52434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52435 (exit $ac_status); }; }; then
52436 eval "$as_ac_var=yes"
52437 else
52438 echo "$as_me: failed program was:" >&5
52439 sed 's/^/| /' conftest.$ac_ext >&5
52441 eval "$as_ac_var=no"
52443 rm -f conftest.err conftest.$ac_objext \
52444 conftest$ac_exeext conftest.$ac_ext
52446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52448 if test `eval echo '${'$as_ac_var'}'` = yes; then
52449 cat >>confdefs.h <<_ACEOF
52450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52451 _ACEOF
52454 done
52459 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52460 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52461 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52462 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52463 echo $ECHO_N "(cached) $ECHO_C" >&6
52464 else
52468 ac_ext=cc
52469 ac_cpp='$CXXCPP $CPPFLAGS'
52470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52474 cat >conftest.$ac_ext <<_ACEOF
52475 /* confdefs.h. */
52476 _ACEOF
52477 cat confdefs.h >>conftest.$ac_ext
52478 cat >>conftest.$ac_ext <<_ACEOF
52479 /* end confdefs.h. */
52480 #include <stdlib.h>
52482 main ()
52484 strtof(0, 0);
52486 return 0;
52488 _ACEOF
52489 rm -f conftest.$ac_objext
52490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52491 (eval $ac_compile) 2>conftest.er1
52492 ac_status=$?
52493 grep -v '^ *+' conftest.er1 >conftest.err
52494 rm -f conftest.er1
52495 cat conftest.err >&5
52496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52497 (exit $ac_status); } &&
52498 { ac_try='test -z "$ac_cxx_werror_flag"
52499 || test ! -s conftest.err'
52500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52501 (eval $ac_try) 2>&5
52502 ac_status=$?
52503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52504 (exit $ac_status); }; } &&
52505 { ac_try='test -s conftest.$ac_objext'
52506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52507 (eval $ac_try) 2>&5
52508 ac_status=$?
52509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52510 (exit $ac_status); }; }; then
52511 glibcxx_cv_func_strtof_use=yes
52512 else
52513 echo "$as_me: failed program was:" >&5
52514 sed 's/^/| /' conftest.$ac_ext >&5
52516 glibcxx_cv_func_strtof_use=no
52518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52519 ac_ext=c
52520 ac_cpp='$CPP $CPPFLAGS'
52521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52530 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52531 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52533 for ac_func in strtof
52535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52536 echo "$as_me:$LINENO: checking for $ac_func" >&5
52537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52538 if eval "test \"\${$as_ac_var+set}\" = set"; then
52539 echo $ECHO_N "(cached) $ECHO_C" >&6
52540 else
52541 if test x$gcc_no_link = xyes; then
52542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52544 { (exit 1); exit 1; }; }
52546 cat >conftest.$ac_ext <<_ACEOF
52547 /* confdefs.h. */
52548 _ACEOF
52549 cat confdefs.h >>conftest.$ac_ext
52550 cat >>conftest.$ac_ext <<_ACEOF
52551 /* end confdefs.h. */
52552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52554 #define $ac_func innocuous_$ac_func
52556 /* System header to define __stub macros and hopefully few prototypes,
52557 which can conflict with char $ac_func (); below.
52558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52559 <limits.h> exists even on freestanding compilers. */
52561 #ifdef __STDC__
52562 # include <limits.h>
52563 #else
52564 # include <assert.h>
52565 #endif
52567 #undef $ac_func
52569 /* Override any gcc2 internal prototype to avoid an error. */
52570 #ifdef __cplusplus
52571 extern "C"
52573 #endif
52574 /* We use char because int might match the return type of a gcc2
52575 builtin and then its argument prototype would still apply. */
52576 char $ac_func ();
52577 /* The GNU C library defines this for functions which it implements
52578 to always fail with ENOSYS. Some functions are actually named
52579 something starting with __ and the normal name is an alias. */
52580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52581 choke me
52582 #else
52583 char (*f) () = $ac_func;
52584 #endif
52585 #ifdef __cplusplus
52587 #endif
52590 main ()
52592 return f != $ac_func;
52594 return 0;
52596 _ACEOF
52597 rm -f conftest.$ac_objext conftest$ac_exeext
52598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52599 (eval $ac_link) 2>conftest.er1
52600 ac_status=$?
52601 grep -v '^ *+' conftest.er1 >conftest.err
52602 rm -f conftest.er1
52603 cat conftest.err >&5
52604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52605 (exit $ac_status); } &&
52606 { ac_try='test -z "$ac_c_werror_flag"
52607 || test ! -s conftest.err'
52608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52609 (eval $ac_try) 2>&5
52610 ac_status=$?
52611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52612 (exit $ac_status); }; } &&
52613 { ac_try='test -s conftest$ac_exeext'
52614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52615 (eval $ac_try) 2>&5
52616 ac_status=$?
52617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52618 (exit $ac_status); }; }; then
52619 eval "$as_ac_var=yes"
52620 else
52621 echo "$as_me: failed program was:" >&5
52622 sed 's/^/| /' conftest.$ac_ext >&5
52624 eval "$as_ac_var=no"
52626 rm -f conftest.err conftest.$ac_objext \
52627 conftest$ac_exeext conftest.$ac_ext
52629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52631 if test `eval echo '${'$as_ac_var'}'` = yes; then
52632 cat >>confdefs.h <<_ACEOF
52633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52634 _ACEOF
52637 done
52642 CXXFLAGS="$ac_save_CXXFLAGS"
52645 # For showmanyc_helper().
52648 for ac_header in sys/ioctl.h sys/filio.h
52650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52652 echo "$as_me:$LINENO: checking for $ac_header" >&5
52653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52655 echo $ECHO_N "(cached) $ECHO_C" >&6
52657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52659 else
52660 # Is the header compilable?
52661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52663 cat >conftest.$ac_ext <<_ACEOF
52664 /* confdefs.h. */
52665 _ACEOF
52666 cat confdefs.h >>conftest.$ac_ext
52667 cat >>conftest.$ac_ext <<_ACEOF
52668 /* end confdefs.h. */
52669 $ac_includes_default
52670 #include <$ac_header>
52671 _ACEOF
52672 rm -f conftest.$ac_objext
52673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52674 (eval $ac_compile) 2>conftest.er1
52675 ac_status=$?
52676 grep -v '^ *+' conftest.er1 >conftest.err
52677 rm -f conftest.er1
52678 cat conftest.err >&5
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); } &&
52681 { ac_try='test -z "$ac_c_werror_flag"
52682 || test ! -s conftest.err'
52683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52684 (eval $ac_try) 2>&5
52685 ac_status=$?
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); }; } &&
52688 { ac_try='test -s conftest.$ac_objext'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52691 ac_status=$?
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; }; then
52694 ac_header_compiler=yes
52695 else
52696 echo "$as_me: failed program was:" >&5
52697 sed 's/^/| /' conftest.$ac_ext >&5
52699 ac_header_compiler=no
52701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52703 echo "${ECHO_T}$ac_header_compiler" >&6
52705 # Is the header present?
52706 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52708 cat >conftest.$ac_ext <<_ACEOF
52709 /* confdefs.h. */
52710 _ACEOF
52711 cat confdefs.h >>conftest.$ac_ext
52712 cat >>conftest.$ac_ext <<_ACEOF
52713 /* end confdefs.h. */
52714 #include <$ac_header>
52715 _ACEOF
52716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52718 ac_status=$?
52719 grep -v '^ *+' conftest.er1 >conftest.err
52720 rm -f conftest.er1
52721 cat conftest.err >&5
52722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52723 (exit $ac_status); } >/dev/null; then
52724 if test -s conftest.err; then
52725 ac_cpp_err=$ac_c_preproc_warn_flag
52726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52727 else
52728 ac_cpp_err=
52730 else
52731 ac_cpp_err=yes
52733 if test -z "$ac_cpp_err"; then
52734 ac_header_preproc=yes
52735 else
52736 echo "$as_me: failed program was:" >&5
52737 sed 's/^/| /' conftest.$ac_ext >&5
52739 ac_header_preproc=no
52741 rm -f conftest.err conftest.$ac_ext
52742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52743 echo "${ECHO_T}$ac_header_preproc" >&6
52745 # So? What about this header?
52746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52747 yes:no: )
52748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52751 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52752 ac_header_preproc=yes
52754 no:yes:* )
52755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52759 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52760 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52761 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52768 cat <<\_ASBOX
52769 ## ----------------------------------------- ##
52770 ## Report this to the package-unused lists. ##
52771 ## ----------------------------------------- ##
52772 _ASBOX
52774 sed "s/^/$as_me: WARNING: /" >&2
52776 esac
52777 echo "$as_me:$LINENO: checking for $ac_header" >&5
52778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52780 echo $ECHO_N "(cached) $ECHO_C" >&6
52781 else
52782 eval "$as_ac_Header=\$ac_header_preproc"
52784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52789 cat >>confdefs.h <<_ACEOF
52790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52791 _ACEOF
52795 done
52798 if test "${glibcxx_cv_POLL+set}" = set; then
52799 echo $ECHO_N "(cached) $ECHO_C" >&6
52800 else
52802 if test x$gcc_no_link = xyes; then
52803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52805 { (exit 1); exit 1; }; }
52807 cat >conftest.$ac_ext <<_ACEOF
52808 /* confdefs.h. */
52809 _ACEOF
52810 cat confdefs.h >>conftest.$ac_ext
52811 cat >>conftest.$ac_ext <<_ACEOF
52812 /* end confdefs.h. */
52813 #include <poll.h>
52815 main ()
52817 struct pollfd pfd[1];
52818 pfd[0].events = POLLIN;
52819 poll(pfd, 1, 0);
52821 return 0;
52823 _ACEOF
52824 rm -f conftest.$ac_objext conftest$ac_exeext
52825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52826 (eval $ac_link) 2>conftest.er1
52827 ac_status=$?
52828 grep -v '^ *+' conftest.er1 >conftest.err
52829 rm -f conftest.er1
52830 cat conftest.err >&5
52831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52832 (exit $ac_status); } &&
52833 { ac_try='test -z "$ac_c_werror_flag"
52834 || test ! -s conftest.err'
52835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52836 (eval $ac_try) 2>&5
52837 ac_status=$?
52838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839 (exit $ac_status); }; } &&
52840 { ac_try='test -s conftest$ac_exeext'
52841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52842 (eval $ac_try) 2>&5
52843 ac_status=$?
52844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52845 (exit $ac_status); }; }; then
52846 glibcxx_cv_POLL=yes
52847 else
52848 echo "$as_me: failed program was:" >&5
52849 sed 's/^/| /' conftest.$ac_ext >&5
52851 glibcxx_cv_POLL=no
52853 rm -f conftest.err conftest.$ac_objext \
52854 conftest$ac_exeext conftest.$ac_ext
52858 if test $glibcxx_cv_POLL = yes; then
52859 cat >>confdefs.h <<\_ACEOF
52860 #define HAVE_POLL 1
52861 _ACEOF
52866 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52867 echo $ECHO_N "(cached) $ECHO_C" >&6
52868 else
52870 if test x$gcc_no_link = xyes; then
52871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52873 { (exit 1); exit 1; }; }
52875 cat >conftest.$ac_ext <<_ACEOF
52876 /* confdefs.h. */
52877 _ACEOF
52878 cat confdefs.h >>conftest.$ac_ext
52879 cat >>conftest.$ac_ext <<_ACEOF
52880 /* end confdefs.h. */
52881 #include <sys/stat.h>
52883 main ()
52885 struct stat buffer;
52886 fstat(0, &buffer);
52887 S_ISREG(buffer.st_mode);
52889 return 0;
52891 _ACEOF
52892 rm -f conftest.$ac_objext conftest$ac_exeext
52893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52894 (eval $ac_link) 2>conftest.er1
52895 ac_status=$?
52896 grep -v '^ *+' conftest.er1 >conftest.err
52897 rm -f conftest.er1
52898 cat conftest.err >&5
52899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52900 (exit $ac_status); } &&
52901 { ac_try='test -z "$ac_c_werror_flag"
52902 || test ! -s conftest.err'
52903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52904 (eval $ac_try) 2>&5
52905 ac_status=$?
52906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907 (exit $ac_status); }; } &&
52908 { ac_try='test -s conftest$ac_exeext'
52909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52910 (eval $ac_try) 2>&5
52911 ac_status=$?
52912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52913 (exit $ac_status); }; }; then
52914 glibcxx_cv_S_ISREG=yes
52915 else
52916 echo "$as_me: failed program was:" >&5
52917 sed 's/^/| /' conftest.$ac_ext >&5
52919 glibcxx_cv_S_ISREG=no
52921 rm -f conftest.err conftest.$ac_objext \
52922 conftest$ac_exeext conftest.$ac_ext
52926 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52927 echo $ECHO_N "(cached) $ECHO_C" >&6
52928 else
52930 if test x$gcc_no_link = xyes; then
52931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52933 { (exit 1); exit 1; }; }
52935 cat >conftest.$ac_ext <<_ACEOF
52936 /* confdefs.h. */
52937 _ACEOF
52938 cat confdefs.h >>conftest.$ac_ext
52939 cat >>conftest.$ac_ext <<_ACEOF
52940 /* end confdefs.h. */
52941 #include <sys/stat.h>
52943 main ()
52945 struct stat buffer;
52946 fstat(0, &buffer);
52947 S_IFREG & buffer.st_mode;
52949 return 0;
52951 _ACEOF
52952 rm -f conftest.$ac_objext conftest$ac_exeext
52953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52954 (eval $ac_link) 2>conftest.er1
52955 ac_status=$?
52956 grep -v '^ *+' conftest.er1 >conftest.err
52957 rm -f conftest.er1
52958 cat conftest.err >&5
52959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52960 (exit $ac_status); } &&
52961 { ac_try='test -z "$ac_c_werror_flag"
52962 || test ! -s conftest.err'
52963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52964 (eval $ac_try) 2>&5
52965 ac_status=$?
52966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967 (exit $ac_status); }; } &&
52968 { ac_try='test -s conftest$ac_exeext'
52969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52970 (eval $ac_try) 2>&5
52971 ac_status=$?
52972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52973 (exit $ac_status); }; }; then
52974 glibcxx_cv_S_IFREG=yes
52975 else
52976 echo "$as_me: failed program was:" >&5
52977 sed 's/^/| /' conftest.$ac_ext >&5
52979 glibcxx_cv_S_IFREG=no
52981 rm -f conftest.err conftest.$ac_objext \
52982 conftest$ac_exeext conftest.$ac_ext
52986 if test $glibcxx_cv_S_ISREG = yes; then
52987 cat >>confdefs.h <<\_ACEOF
52988 #define HAVE_S_ISREG 1
52989 _ACEOF
52991 elif test $glibcxx_cv_S_IFREG = yes; then
52992 cat >>confdefs.h <<\_ACEOF
52993 #define HAVE_S_IFREG 1
52994 _ACEOF
52999 # For xsputn_2().
53001 for ac_header in sys/uio.h
53003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53005 echo "$as_me:$LINENO: checking for $ac_header" >&5
53006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53008 echo $ECHO_N "(cached) $ECHO_C" >&6
53010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53012 else
53013 # Is the header compilable?
53014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53016 cat >conftest.$ac_ext <<_ACEOF
53017 /* confdefs.h. */
53018 _ACEOF
53019 cat confdefs.h >>conftest.$ac_ext
53020 cat >>conftest.$ac_ext <<_ACEOF
53021 /* end confdefs.h. */
53022 $ac_includes_default
53023 #include <$ac_header>
53024 _ACEOF
53025 rm -f conftest.$ac_objext
53026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53027 (eval $ac_compile) 2>conftest.er1
53028 ac_status=$?
53029 grep -v '^ *+' conftest.er1 >conftest.err
53030 rm -f conftest.er1
53031 cat conftest.err >&5
53032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53033 (exit $ac_status); } &&
53034 { ac_try='test -z "$ac_c_werror_flag"
53035 || test ! -s conftest.err'
53036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53037 (eval $ac_try) 2>&5
53038 ac_status=$?
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); }; } &&
53041 { ac_try='test -s conftest.$ac_objext'
53042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53043 (eval $ac_try) 2>&5
53044 ac_status=$?
53045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53046 (exit $ac_status); }; }; then
53047 ac_header_compiler=yes
53048 else
53049 echo "$as_me: failed program was:" >&5
53050 sed 's/^/| /' conftest.$ac_ext >&5
53052 ac_header_compiler=no
53054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53056 echo "${ECHO_T}$ac_header_compiler" >&6
53058 # Is the header present?
53059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53061 cat >conftest.$ac_ext <<_ACEOF
53062 /* confdefs.h. */
53063 _ACEOF
53064 cat confdefs.h >>conftest.$ac_ext
53065 cat >>conftest.$ac_ext <<_ACEOF
53066 /* end confdefs.h. */
53067 #include <$ac_header>
53068 _ACEOF
53069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53071 ac_status=$?
53072 grep -v '^ *+' conftest.er1 >conftest.err
53073 rm -f conftest.er1
53074 cat conftest.err >&5
53075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076 (exit $ac_status); } >/dev/null; then
53077 if test -s conftest.err; then
53078 ac_cpp_err=$ac_c_preproc_warn_flag
53079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53080 else
53081 ac_cpp_err=
53083 else
53084 ac_cpp_err=yes
53086 if test -z "$ac_cpp_err"; then
53087 ac_header_preproc=yes
53088 else
53089 echo "$as_me: failed program was:" >&5
53090 sed 's/^/| /' conftest.$ac_ext >&5
53092 ac_header_preproc=no
53094 rm -f conftest.err conftest.$ac_ext
53095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53096 echo "${ECHO_T}$ac_header_preproc" >&6
53098 # So? What about this header?
53099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53100 yes:no: )
53101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53105 ac_header_preproc=yes
53107 no:yes:* )
53108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53121 cat <<\_ASBOX
53122 ## ----------------------------------------- ##
53123 ## Report this to the package-unused lists. ##
53124 ## ----------------------------------------- ##
53125 _ASBOX
53127 sed "s/^/$as_me: WARNING: /" >&2
53129 esac
53130 echo "$as_me:$LINENO: checking for $ac_header" >&5
53131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53133 echo $ECHO_N "(cached) $ECHO_C" >&6
53134 else
53135 eval "$as_ac_Header=\$ac_header_preproc"
53137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53142 cat >>confdefs.h <<_ACEOF
53143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53144 _ACEOF
53148 done
53151 if test "${glibcxx_cv_WRITEV+set}" = set; then
53152 echo $ECHO_N "(cached) $ECHO_C" >&6
53153 else
53155 if test x$gcc_no_link = xyes; then
53156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53158 { (exit 1); exit 1; }; }
53160 cat >conftest.$ac_ext <<_ACEOF
53161 /* confdefs.h. */
53162 _ACEOF
53163 cat confdefs.h >>conftest.$ac_ext
53164 cat >>conftest.$ac_ext <<_ACEOF
53165 /* end confdefs.h. */
53166 #include <sys/uio.h>
53168 main ()
53170 struct iovec iov[2];
53171 writev(0, iov, 0);
53173 return 0;
53175 _ACEOF
53176 rm -f conftest.$ac_objext conftest$ac_exeext
53177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53178 (eval $ac_link) 2>conftest.er1
53179 ac_status=$?
53180 grep -v '^ *+' conftest.er1 >conftest.err
53181 rm -f conftest.er1
53182 cat conftest.err >&5
53183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53184 (exit $ac_status); } &&
53185 { ac_try='test -z "$ac_c_werror_flag"
53186 || test ! -s conftest.err'
53187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53188 (eval $ac_try) 2>&5
53189 ac_status=$?
53190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191 (exit $ac_status); }; } &&
53192 { ac_try='test -s conftest$ac_exeext'
53193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53194 (eval $ac_try) 2>&5
53195 ac_status=$?
53196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53197 (exit $ac_status); }; }; then
53198 glibcxx_cv_WRITEV=yes
53199 else
53200 echo "$as_me: failed program was:" >&5
53201 sed 's/^/| /' conftest.$ac_ext >&5
53203 glibcxx_cv_WRITEV=no
53205 rm -f conftest.err conftest.$ac_objext \
53206 conftest$ac_exeext conftest.$ac_ext
53210 if test $glibcxx_cv_WRITEV = yes; then
53211 cat >>confdefs.h <<\_ACEOF
53212 #define HAVE_WRITEV 1
53213 _ACEOF
53218 cat >>confdefs.h <<\_ACEOF
53219 #define HAVE_LC_MESSAGES 1
53220 _ACEOF
53223 cat >conftest.$ac_ext <<_ACEOF
53224 /* confdefs.h. */
53225 _ACEOF
53226 cat confdefs.h >>conftest.$ac_ext
53227 cat >>conftest.$ac_ext <<_ACEOF
53228 /* end confdefs.h. */
53229 #include <setjmp.h>
53231 main ()
53233 sigjmp_buf env;
53234 while (! sigsetjmp (env, 1))
53235 siglongjmp (env, 1);
53238 return 0;
53240 _ACEOF
53241 rm -f conftest.$ac_objext
53242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53243 (eval $ac_compile) 2>conftest.er1
53244 ac_status=$?
53245 grep -v '^ *+' conftest.er1 >conftest.err
53246 rm -f conftest.er1
53247 cat conftest.err >&5
53248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53249 (exit $ac_status); } &&
53250 { ac_try='test -z "$ac_c_werror_flag"
53251 || test ! -s conftest.err'
53252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53253 (eval $ac_try) 2>&5
53254 ac_status=$?
53255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256 (exit $ac_status); }; } &&
53257 { ac_try='test -s conftest.$ac_objext'
53258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53259 (eval $ac_try) 2>&5
53260 ac_status=$?
53261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53262 (exit $ac_status); }; }; then
53264 cat >>confdefs.h <<\_ACEOF
53265 #define HAVE_SIGSETJMP 1
53266 _ACEOF
53268 else
53269 echo "$as_me: failed program was:" >&5
53270 sed 's/^/| /' conftest.$ac_ext >&5
53273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53275 cat >>confdefs.h <<\_ACEOF
53276 #define HAVE_MMAP 1
53277 _ACEOF
53281 *djgpp)
53302 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53303 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53304 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53305 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53309 echo "$as_me:$LINENO: checking for $ac_header" >&5
53310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53312 echo $ECHO_N "(cached) $ECHO_C" >&6
53314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53316 else
53317 # Is the header compilable?
53318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53320 cat >conftest.$ac_ext <<_ACEOF
53321 /* confdefs.h. */
53322 _ACEOF
53323 cat confdefs.h >>conftest.$ac_ext
53324 cat >>conftest.$ac_ext <<_ACEOF
53325 /* end confdefs.h. */
53326 $ac_includes_default
53327 #include <$ac_header>
53328 _ACEOF
53329 rm -f conftest.$ac_objext
53330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53331 (eval $ac_compile) 2>conftest.er1
53332 ac_status=$?
53333 grep -v '^ *+' conftest.er1 >conftest.err
53334 rm -f conftest.er1
53335 cat conftest.err >&5
53336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53337 (exit $ac_status); } &&
53338 { ac_try='test -z "$ac_c_werror_flag"
53339 || test ! -s conftest.err'
53340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53341 (eval $ac_try) 2>&5
53342 ac_status=$?
53343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53344 (exit $ac_status); }; } &&
53345 { ac_try='test -s conftest.$ac_objext'
53346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53347 (eval $ac_try) 2>&5
53348 ac_status=$?
53349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53350 (exit $ac_status); }; }; then
53351 ac_header_compiler=yes
53352 else
53353 echo "$as_me: failed program was:" >&5
53354 sed 's/^/| /' conftest.$ac_ext >&5
53356 ac_header_compiler=no
53358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53360 echo "${ECHO_T}$ac_header_compiler" >&6
53362 # Is the header present?
53363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53365 cat >conftest.$ac_ext <<_ACEOF
53366 /* confdefs.h. */
53367 _ACEOF
53368 cat confdefs.h >>conftest.$ac_ext
53369 cat >>conftest.$ac_ext <<_ACEOF
53370 /* end confdefs.h. */
53371 #include <$ac_header>
53372 _ACEOF
53373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53375 ac_status=$?
53376 grep -v '^ *+' conftest.er1 >conftest.err
53377 rm -f conftest.er1
53378 cat conftest.err >&5
53379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53380 (exit $ac_status); } >/dev/null; then
53381 if test -s conftest.err; then
53382 ac_cpp_err=$ac_c_preproc_warn_flag
53383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53384 else
53385 ac_cpp_err=
53387 else
53388 ac_cpp_err=yes
53390 if test -z "$ac_cpp_err"; then
53391 ac_header_preproc=yes
53392 else
53393 echo "$as_me: failed program was:" >&5
53394 sed 's/^/| /' conftest.$ac_ext >&5
53396 ac_header_preproc=no
53398 rm -f conftest.err conftest.$ac_ext
53399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53400 echo "${ECHO_T}$ac_header_preproc" >&6
53402 # So? What about this header?
53403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53404 yes:no: )
53405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53409 ac_header_preproc=yes
53411 no:yes:* )
53412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53425 cat <<\_ASBOX
53426 ## ----------------------------------------- ##
53427 ## Report this to the package-unused lists. ##
53428 ## ----------------------------------------- ##
53429 _ASBOX
53431 sed "s/^/$as_me: WARNING: /" >&2
53433 esac
53434 echo "$as_me:$LINENO: checking for $ac_header" >&5
53435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53437 echo $ECHO_N "(cached) $ECHO_C" >&6
53438 else
53439 eval "$as_ac_Header=\$ac_header_preproc"
53441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53446 cat >>confdefs.h <<_ACEOF
53447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53448 _ACEOF
53452 done
53455 # All these tests are for C++; save the language and the compiler flags.
53456 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53457 # found in GLIBCXX_CONFIGURE.
53460 ac_ext=cc
53461 ac_cpp='$CXXCPP $CPPFLAGS'
53462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53466 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53467 ac_save_CXXFLAGS="$CXXFLAGS"
53469 # Check for maintainer-mode bits.
53470 if test x"$USE_MAINTAINER_MODE" = xno; then
53471 WERROR=''
53472 else
53473 WERROR='-Werror'
53476 # Check for -ffunction-sections -fdata-sections
53477 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53478 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53479 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53480 cat >conftest.$ac_ext <<_ACEOF
53481 /* confdefs.h. */
53482 _ACEOF
53483 cat confdefs.h >>conftest.$ac_ext
53484 cat >>conftest.$ac_ext <<_ACEOF
53485 /* end confdefs.h. */
53488 main ()
53490 int foo;
53492 return 0;
53494 _ACEOF
53495 rm -f conftest.$ac_objext
53496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53497 (eval $ac_compile) 2>conftest.er1
53498 ac_status=$?
53499 grep -v '^ *+' conftest.er1 >conftest.err
53500 rm -f conftest.er1
53501 cat conftest.err >&5
53502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53503 (exit $ac_status); } &&
53504 { ac_try='test -z "$ac_cxx_werror_flag"
53505 || test ! -s conftest.err'
53506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53507 (eval $ac_try) 2>&5
53508 ac_status=$?
53509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510 (exit $ac_status); }; } &&
53511 { ac_try='test -s conftest.$ac_objext'
53512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53513 (eval $ac_try) 2>&5
53514 ac_status=$?
53515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516 (exit $ac_status); }; }; then
53517 ac_fdsections=yes
53518 else
53519 echo "$as_me: failed program was:" >&5
53520 sed 's/^/| /' conftest.$ac_ext >&5
53522 ac_fdsections=no
53524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53525 if test "$ac_test_CXXFLAGS" = set; then
53526 CXXFLAGS="$ac_save_CXXFLAGS"
53527 else
53528 # this is the suspicious part
53529 CXXFLAGS=''
53531 if test x"$ac_fdsections" = x"yes"; then
53532 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53534 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53535 echo "${ECHO_T}$ac_fdsections" >&6
53537 ac_ext=c
53538 ac_cpp='$CPP $CPPFLAGS'
53539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53547 # If we're not using GNU ld, then there's no point in even trying these
53548 # tests. Check for that first. We should have already tested for gld
53549 # by now (in libtool), but require it now just to be safe...
53550 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53551 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53555 # The name set by libtool depends on the version of libtool. Shame on us
53556 # for depending on an impl detail, but c'est la vie. Older versions used
53557 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53558 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53559 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53560 # set (hence we're using an older libtool), then set it.
53561 if test x${with_gnu_ld+set} != xset; then
53562 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53563 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53564 with_gnu_ld=no
53565 else
53566 with_gnu_ld=$ac_cv_prog_gnu_ld
53570 # Start by getting the version number. I think the libtool test already
53571 # does some of this, but throws away the result.
53573 ldver=`$LD --version 2>/dev/null | head -1 | \
53574 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53576 glibcxx_gnu_ld_version=`echo $ldver | \
53577 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53579 # Set --gc-sections.
53580 if test "$with_gnu_ld" = "notbroken"; then
53581 # GNU ld it is! Joy and bunny rabbits!
53583 # All these tests are for C++; save the language and the compiler flags.
53584 # Need to do this so that g++ won't try to link in libstdc++
53585 ac_test_CFLAGS="${CFLAGS+set}"
53586 ac_save_CFLAGS="$CFLAGS"
53587 CFLAGS='-x c++ -Wl,--gc-sections'
53589 # Check for -Wl,--gc-sections
53590 # XXX This test is broken at the moment, as symbols required for linking
53591 # are now in libsupc++ (not built yet). In addition, this test has
53592 # cored on solaris in the past. In addition, --gc-sections doesn't
53593 # really work at the moment (keeps on discarding used sections, first
53594 # .eh_frame and now some of the glibc sections for iconv).
53595 # Bzzzzt. Thanks for playing, maybe next time.
53596 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53598 if test "$cross_compiling" = yes; then
53599 ac_sectionLDflags=yes
53600 else
53601 cat >conftest.$ac_ext <<_ACEOF
53602 /* confdefs.h. */
53603 _ACEOF
53604 cat confdefs.h >>conftest.$ac_ext
53605 cat >>conftest.$ac_ext <<_ACEOF
53606 /* end confdefs.h. */
53608 int main(void)
53610 try { throw 1; }
53611 catch (...) { };
53612 return 0;
53615 _ACEOF
53616 rm -f conftest$ac_exeext
53617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53618 (eval $ac_link) 2>&5
53619 ac_status=$?
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53623 (eval $ac_try) 2>&5
53624 ac_status=$?
53625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53626 (exit $ac_status); }; }; then
53627 ac_sectionLDflags=yes
53628 else
53629 echo "$as_me: program exited with status $ac_status" >&5
53630 echo "$as_me: failed program was:" >&5
53631 sed 's/^/| /' conftest.$ac_ext >&5
53633 ( exit $ac_status )
53634 ac_sectionLDflags=no
53636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53638 if test "$ac_test_CFLAGS" = set; then
53639 CFLAGS="$ac_save_CFLAGS"
53640 else
53641 # this is the suspicious part
53642 CFLAGS=''
53644 if test "$ac_sectionLDflags" = "yes"; then
53645 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53647 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53648 echo "${ECHO_T}$ac_sectionLDflags" >&6
53651 # Set linker optimization flags.
53652 if test x"$with_gnu_ld" = x"yes"; then
53653 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53660 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53661 ac_save_CXXFLAGS="$CXXFLAGS"
53662 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53664 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53665 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53666 if test "${ac_cv_lib_m_sin+set}" = set; then
53667 echo $ECHO_N "(cached) $ECHO_C" >&6
53668 else
53669 ac_check_lib_save_LIBS=$LIBS
53670 LIBS="-lm $LIBS"
53671 if test x$gcc_no_link = xyes; then
53672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53674 { (exit 1); exit 1; }; }
53676 cat >conftest.$ac_ext <<_ACEOF
53677 /* confdefs.h. */
53678 _ACEOF
53679 cat confdefs.h >>conftest.$ac_ext
53680 cat >>conftest.$ac_ext <<_ACEOF
53681 /* end confdefs.h. */
53683 /* Override any gcc2 internal prototype to avoid an error. */
53684 #ifdef __cplusplus
53685 extern "C"
53686 #endif
53687 /* We use char because int might match the return type of a gcc2
53688 builtin and then its argument prototype would still apply. */
53689 char sin ();
53691 main ()
53693 sin ();
53695 return 0;
53697 _ACEOF
53698 rm -f conftest.$ac_objext conftest$ac_exeext
53699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53700 (eval $ac_link) 2>conftest.er1
53701 ac_status=$?
53702 grep -v '^ *+' conftest.er1 >conftest.err
53703 rm -f conftest.er1
53704 cat conftest.err >&5
53705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53706 (exit $ac_status); } &&
53707 { ac_try='test -z "$ac_c_werror_flag"
53708 || test ! -s conftest.err'
53709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53710 (eval $ac_try) 2>&5
53711 ac_status=$?
53712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53713 (exit $ac_status); }; } &&
53714 { ac_try='test -s conftest$ac_exeext'
53715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53716 (eval $ac_try) 2>&5
53717 ac_status=$?
53718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53719 (exit $ac_status); }; }; then
53720 ac_cv_lib_m_sin=yes
53721 else
53722 echo "$as_me: failed program was:" >&5
53723 sed 's/^/| /' conftest.$ac_ext >&5
53725 ac_cv_lib_m_sin=no
53727 rm -f conftest.err conftest.$ac_objext \
53728 conftest$ac_exeext conftest.$ac_ext
53729 LIBS=$ac_check_lib_save_LIBS
53731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53732 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53733 if test $ac_cv_lib_m_sin = yes; then
53734 libm="-lm"
53737 ac_save_LIBS="$LIBS"
53738 LIBS="$LIBS $libm"
53742 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53743 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53744 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53745 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53746 echo $ECHO_N "(cached) $ECHO_C" >&6
53747 else
53751 ac_ext=cc
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53757 cat >conftest.$ac_ext <<_ACEOF
53758 /* confdefs.h. */
53759 _ACEOF
53760 cat confdefs.h >>conftest.$ac_ext
53761 cat >>conftest.$ac_ext <<_ACEOF
53762 /* end confdefs.h. */
53763 #include <math.h>
53764 #ifdef HAVE_IEEEFP_H
53765 #include <ieeefp.h>
53766 #endif
53769 main ()
53771 isinf(0);
53773 return 0;
53775 _ACEOF
53776 rm -f conftest.$ac_objext
53777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53778 (eval $ac_compile) 2>conftest.er1
53779 ac_status=$?
53780 grep -v '^ *+' conftest.er1 >conftest.err
53781 rm -f conftest.er1
53782 cat conftest.err >&5
53783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53784 (exit $ac_status); } &&
53785 { ac_try='test -z "$ac_cxx_werror_flag"
53786 || test ! -s conftest.err'
53787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53788 (eval $ac_try) 2>&5
53789 ac_status=$?
53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791 (exit $ac_status); }; } &&
53792 { ac_try='test -s conftest.$ac_objext'
53793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53794 (eval $ac_try) 2>&5
53795 ac_status=$?
53796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797 (exit $ac_status); }; }; then
53798 glibcxx_cv_func_isinf_use=yes
53799 else
53800 echo "$as_me: failed program was:" >&5
53801 sed 's/^/| /' conftest.$ac_ext >&5
53803 glibcxx_cv_func_isinf_use=no
53805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53806 ac_ext=c
53807 ac_cpp='$CPP $CPPFLAGS'
53808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53816 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53817 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53819 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53821 for ac_func in isinf
53823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53824 echo "$as_me:$LINENO: checking for $ac_func" >&5
53825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53826 if eval "test \"\${$as_ac_var+set}\" = set"; then
53827 echo $ECHO_N "(cached) $ECHO_C" >&6
53828 else
53829 if test x$gcc_no_link = xyes; then
53830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53832 { (exit 1); exit 1; }; }
53834 cat >conftest.$ac_ext <<_ACEOF
53835 /* confdefs.h. */
53836 _ACEOF
53837 cat confdefs.h >>conftest.$ac_ext
53838 cat >>conftest.$ac_ext <<_ACEOF
53839 /* end confdefs.h. */
53840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53842 #define $ac_func innocuous_$ac_func
53844 /* System header to define __stub macros and hopefully few prototypes,
53845 which can conflict with char $ac_func (); below.
53846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53847 <limits.h> exists even on freestanding compilers. */
53849 #ifdef __STDC__
53850 # include <limits.h>
53851 #else
53852 # include <assert.h>
53853 #endif
53855 #undef $ac_func
53857 /* Override any gcc2 internal prototype to avoid an error. */
53858 #ifdef __cplusplus
53859 extern "C"
53861 #endif
53862 /* We use char because int might match the return type of a gcc2
53863 builtin and then its argument prototype would still apply. */
53864 char $ac_func ();
53865 /* The GNU C library defines this for functions which it implements
53866 to always fail with ENOSYS. Some functions are actually named
53867 something starting with __ and the normal name is an alias. */
53868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53869 choke me
53870 #else
53871 char (*f) () = $ac_func;
53872 #endif
53873 #ifdef __cplusplus
53875 #endif
53878 main ()
53880 return f != $ac_func;
53882 return 0;
53884 _ACEOF
53885 rm -f conftest.$ac_objext conftest$ac_exeext
53886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53887 (eval $ac_link) 2>conftest.er1
53888 ac_status=$?
53889 grep -v '^ *+' conftest.er1 >conftest.err
53890 rm -f conftest.er1
53891 cat conftest.err >&5
53892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53893 (exit $ac_status); } &&
53894 { ac_try='test -z "$ac_c_werror_flag"
53895 || test ! -s conftest.err'
53896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53897 (eval $ac_try) 2>&5
53898 ac_status=$?
53899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900 (exit $ac_status); }; } &&
53901 { ac_try='test -s conftest$ac_exeext'
53902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53903 (eval $ac_try) 2>&5
53904 ac_status=$?
53905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906 (exit $ac_status); }; }; then
53907 eval "$as_ac_var=yes"
53908 else
53909 echo "$as_me: failed program was:" >&5
53910 sed 's/^/| /' conftest.$ac_ext >&5
53912 eval "$as_ac_var=no"
53914 rm -f conftest.err conftest.$ac_objext \
53915 conftest$ac_exeext conftest.$ac_ext
53917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53919 if test `eval echo '${'$as_ac_var'}'` = yes; then
53920 cat >>confdefs.h <<_ACEOF
53921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53922 _ACEOF
53925 done
53927 else
53929 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53930 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53931 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53932 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53933 echo $ECHO_N "(cached) $ECHO_C" >&6
53934 else
53938 ac_ext=cc
53939 ac_cpp='$CXXCPP $CPPFLAGS'
53940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53944 cat >conftest.$ac_ext <<_ACEOF
53945 /* confdefs.h. */
53946 _ACEOF
53947 cat confdefs.h >>conftest.$ac_ext
53948 cat >>conftest.$ac_ext <<_ACEOF
53949 /* end confdefs.h. */
53950 #include <math.h>
53951 #ifdef HAVE_IEEEFP_H
53952 #include <ieeefp.h>
53953 #endif
53956 main ()
53958 _isinf(0);
53960 return 0;
53962 _ACEOF
53963 rm -f conftest.$ac_objext
53964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53965 (eval $ac_compile) 2>conftest.er1
53966 ac_status=$?
53967 grep -v '^ *+' conftest.er1 >conftest.err
53968 rm -f conftest.er1
53969 cat conftest.err >&5
53970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53971 (exit $ac_status); } &&
53972 { ac_try='test -z "$ac_cxx_werror_flag"
53973 || test ! -s conftest.err'
53974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53975 (eval $ac_try) 2>&5
53976 ac_status=$?
53977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53978 (exit $ac_status); }; } &&
53979 { ac_try='test -s conftest.$ac_objext'
53980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53981 (eval $ac_try) 2>&5
53982 ac_status=$?
53983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53984 (exit $ac_status); }; }; then
53985 glibcxx_cv_func__isinf_use=yes
53986 else
53987 echo "$as_me: failed program was:" >&5
53988 sed 's/^/| /' conftest.$ac_ext >&5
53990 glibcxx_cv_func__isinf_use=no
53992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53993 ac_ext=c
53994 ac_cpp='$CPP $CPPFLAGS'
53995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54004 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54006 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54008 for ac_func in _isinf
54010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54011 echo "$as_me:$LINENO: checking for $ac_func" >&5
54012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54013 if eval "test \"\${$as_ac_var+set}\" = set"; then
54014 echo $ECHO_N "(cached) $ECHO_C" >&6
54015 else
54016 if test x$gcc_no_link = xyes; then
54017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54019 { (exit 1); exit 1; }; }
54021 cat >conftest.$ac_ext <<_ACEOF
54022 /* confdefs.h. */
54023 _ACEOF
54024 cat confdefs.h >>conftest.$ac_ext
54025 cat >>conftest.$ac_ext <<_ACEOF
54026 /* end confdefs.h. */
54027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54029 #define $ac_func innocuous_$ac_func
54031 /* System header to define __stub macros and hopefully few prototypes,
54032 which can conflict with char $ac_func (); below.
54033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54034 <limits.h> exists even on freestanding compilers. */
54036 #ifdef __STDC__
54037 # include <limits.h>
54038 #else
54039 # include <assert.h>
54040 #endif
54042 #undef $ac_func
54044 /* Override any gcc2 internal prototype to avoid an error. */
54045 #ifdef __cplusplus
54046 extern "C"
54048 #endif
54049 /* We use char because int might match the return type of a gcc2
54050 builtin and then its argument prototype would still apply. */
54051 char $ac_func ();
54052 /* The GNU C library defines this for functions which it implements
54053 to always fail with ENOSYS. Some functions are actually named
54054 something starting with __ and the normal name is an alias. */
54055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54056 choke me
54057 #else
54058 char (*f) () = $ac_func;
54059 #endif
54060 #ifdef __cplusplus
54062 #endif
54065 main ()
54067 return f != $ac_func;
54069 return 0;
54071 _ACEOF
54072 rm -f conftest.$ac_objext conftest$ac_exeext
54073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54074 (eval $ac_link) 2>conftest.er1
54075 ac_status=$?
54076 grep -v '^ *+' conftest.er1 >conftest.err
54077 rm -f conftest.er1
54078 cat conftest.err >&5
54079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54080 (exit $ac_status); } &&
54081 { ac_try='test -z "$ac_c_werror_flag"
54082 || test ! -s conftest.err'
54083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54084 (eval $ac_try) 2>&5
54085 ac_status=$?
54086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54087 (exit $ac_status); }; } &&
54088 { ac_try='test -s conftest$ac_exeext'
54089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54090 (eval $ac_try) 2>&5
54091 ac_status=$?
54092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54093 (exit $ac_status); }; }; then
54094 eval "$as_ac_var=yes"
54095 else
54096 echo "$as_me: failed program was:" >&5
54097 sed 's/^/| /' conftest.$ac_ext >&5
54099 eval "$as_ac_var=no"
54101 rm -f conftest.err conftest.$ac_objext \
54102 conftest$ac_exeext conftest.$ac_ext
54104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54106 if test `eval echo '${'$as_ac_var'}'` = yes; then
54107 cat >>confdefs.h <<_ACEOF
54108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54109 _ACEOF
54112 done
54119 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54120 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54121 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54122 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54123 echo $ECHO_N "(cached) $ECHO_C" >&6
54124 else
54128 ac_ext=cc
54129 ac_cpp='$CXXCPP $CPPFLAGS'
54130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54134 cat >conftest.$ac_ext <<_ACEOF
54135 /* confdefs.h. */
54136 _ACEOF
54137 cat confdefs.h >>conftest.$ac_ext
54138 cat >>conftest.$ac_ext <<_ACEOF
54139 /* end confdefs.h. */
54140 #include <math.h>
54141 #ifdef HAVE_IEEEFP_H
54142 #include <ieeefp.h>
54143 #endif
54146 main ()
54148 isnan(0);
54150 return 0;
54152 _ACEOF
54153 rm -f conftest.$ac_objext
54154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54155 (eval $ac_compile) 2>conftest.er1
54156 ac_status=$?
54157 grep -v '^ *+' conftest.er1 >conftest.err
54158 rm -f conftest.er1
54159 cat conftest.err >&5
54160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161 (exit $ac_status); } &&
54162 { ac_try='test -z "$ac_cxx_werror_flag"
54163 || test ! -s conftest.err'
54164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54165 (eval $ac_try) 2>&5
54166 ac_status=$?
54167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54168 (exit $ac_status); }; } &&
54169 { ac_try='test -s conftest.$ac_objext'
54170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54171 (eval $ac_try) 2>&5
54172 ac_status=$?
54173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54174 (exit $ac_status); }; }; then
54175 glibcxx_cv_func_isnan_use=yes
54176 else
54177 echo "$as_me: failed program was:" >&5
54178 sed 's/^/| /' conftest.$ac_ext >&5
54180 glibcxx_cv_func_isnan_use=no
54182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54183 ac_ext=c
54184 ac_cpp='$CPP $CPPFLAGS'
54185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54194 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54196 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54198 for ac_func in isnan
54200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54201 echo "$as_me:$LINENO: checking for $ac_func" >&5
54202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54203 if eval "test \"\${$as_ac_var+set}\" = set"; then
54204 echo $ECHO_N "(cached) $ECHO_C" >&6
54205 else
54206 if test x$gcc_no_link = xyes; then
54207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54209 { (exit 1); exit 1; }; }
54211 cat >conftest.$ac_ext <<_ACEOF
54212 /* confdefs.h. */
54213 _ACEOF
54214 cat confdefs.h >>conftest.$ac_ext
54215 cat >>conftest.$ac_ext <<_ACEOF
54216 /* end confdefs.h. */
54217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54219 #define $ac_func innocuous_$ac_func
54221 /* System header to define __stub macros and hopefully few prototypes,
54222 which can conflict with char $ac_func (); below.
54223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54224 <limits.h> exists even on freestanding compilers. */
54226 #ifdef __STDC__
54227 # include <limits.h>
54228 #else
54229 # include <assert.h>
54230 #endif
54232 #undef $ac_func
54234 /* Override any gcc2 internal prototype to avoid an error. */
54235 #ifdef __cplusplus
54236 extern "C"
54238 #endif
54239 /* We use char because int might match the return type of a gcc2
54240 builtin and then its argument prototype would still apply. */
54241 char $ac_func ();
54242 /* The GNU C library defines this for functions which it implements
54243 to always fail with ENOSYS. Some functions are actually named
54244 something starting with __ and the normal name is an alias. */
54245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54246 choke me
54247 #else
54248 char (*f) () = $ac_func;
54249 #endif
54250 #ifdef __cplusplus
54252 #endif
54255 main ()
54257 return f != $ac_func;
54259 return 0;
54261 _ACEOF
54262 rm -f conftest.$ac_objext conftest$ac_exeext
54263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54264 (eval $ac_link) 2>conftest.er1
54265 ac_status=$?
54266 grep -v '^ *+' conftest.er1 >conftest.err
54267 rm -f conftest.er1
54268 cat conftest.err >&5
54269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54270 (exit $ac_status); } &&
54271 { ac_try='test -z "$ac_c_werror_flag"
54272 || test ! -s conftest.err'
54273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54274 (eval $ac_try) 2>&5
54275 ac_status=$?
54276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277 (exit $ac_status); }; } &&
54278 { ac_try='test -s conftest$ac_exeext'
54279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54280 (eval $ac_try) 2>&5
54281 ac_status=$?
54282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54283 (exit $ac_status); }; }; then
54284 eval "$as_ac_var=yes"
54285 else
54286 echo "$as_me: failed program was:" >&5
54287 sed 's/^/| /' conftest.$ac_ext >&5
54289 eval "$as_ac_var=no"
54291 rm -f conftest.err conftest.$ac_objext \
54292 conftest$ac_exeext conftest.$ac_ext
54294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54296 if test `eval echo '${'$as_ac_var'}'` = yes; then
54297 cat >>confdefs.h <<_ACEOF
54298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54299 _ACEOF
54302 done
54304 else
54306 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54307 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54308 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54309 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54310 echo $ECHO_N "(cached) $ECHO_C" >&6
54311 else
54315 ac_ext=cc
54316 ac_cpp='$CXXCPP $CPPFLAGS'
54317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54321 cat >conftest.$ac_ext <<_ACEOF
54322 /* confdefs.h. */
54323 _ACEOF
54324 cat confdefs.h >>conftest.$ac_ext
54325 cat >>conftest.$ac_ext <<_ACEOF
54326 /* end confdefs.h. */
54327 #include <math.h>
54328 #ifdef HAVE_IEEEFP_H
54329 #include <ieeefp.h>
54330 #endif
54333 main ()
54335 _isnan(0);
54337 return 0;
54339 _ACEOF
54340 rm -f conftest.$ac_objext
54341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54342 (eval $ac_compile) 2>conftest.er1
54343 ac_status=$?
54344 grep -v '^ *+' conftest.er1 >conftest.err
54345 rm -f conftest.er1
54346 cat conftest.err >&5
54347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54348 (exit $ac_status); } &&
54349 { ac_try='test -z "$ac_cxx_werror_flag"
54350 || test ! -s conftest.err'
54351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54352 (eval $ac_try) 2>&5
54353 ac_status=$?
54354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54355 (exit $ac_status); }; } &&
54356 { ac_try='test -s conftest.$ac_objext'
54357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54358 (eval $ac_try) 2>&5
54359 ac_status=$?
54360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54361 (exit $ac_status); }; }; then
54362 glibcxx_cv_func__isnan_use=yes
54363 else
54364 echo "$as_me: failed program was:" >&5
54365 sed 's/^/| /' conftest.$ac_ext >&5
54367 glibcxx_cv_func__isnan_use=no
54369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54370 ac_ext=c
54371 ac_cpp='$CPP $CPPFLAGS'
54372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54381 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54385 for ac_func in _isnan
54387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54388 echo "$as_me:$LINENO: checking for $ac_func" >&5
54389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54390 if eval "test \"\${$as_ac_var+set}\" = set"; then
54391 echo $ECHO_N "(cached) $ECHO_C" >&6
54392 else
54393 if test x$gcc_no_link = xyes; then
54394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54396 { (exit 1); exit 1; }; }
54398 cat >conftest.$ac_ext <<_ACEOF
54399 /* confdefs.h. */
54400 _ACEOF
54401 cat confdefs.h >>conftest.$ac_ext
54402 cat >>conftest.$ac_ext <<_ACEOF
54403 /* end confdefs.h. */
54404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54406 #define $ac_func innocuous_$ac_func
54408 /* System header to define __stub macros and hopefully few prototypes,
54409 which can conflict with char $ac_func (); below.
54410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54411 <limits.h> exists even on freestanding compilers. */
54413 #ifdef __STDC__
54414 # include <limits.h>
54415 #else
54416 # include <assert.h>
54417 #endif
54419 #undef $ac_func
54421 /* Override any gcc2 internal prototype to avoid an error. */
54422 #ifdef __cplusplus
54423 extern "C"
54425 #endif
54426 /* We use char because int might match the return type of a gcc2
54427 builtin and then its argument prototype would still apply. */
54428 char $ac_func ();
54429 /* The GNU C library defines this for functions which it implements
54430 to always fail with ENOSYS. Some functions are actually named
54431 something starting with __ and the normal name is an alias. */
54432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54433 choke me
54434 #else
54435 char (*f) () = $ac_func;
54436 #endif
54437 #ifdef __cplusplus
54439 #endif
54442 main ()
54444 return f != $ac_func;
54446 return 0;
54448 _ACEOF
54449 rm -f conftest.$ac_objext conftest$ac_exeext
54450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54451 (eval $ac_link) 2>conftest.er1
54452 ac_status=$?
54453 grep -v '^ *+' conftest.er1 >conftest.err
54454 rm -f conftest.er1
54455 cat conftest.err >&5
54456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54457 (exit $ac_status); } &&
54458 { ac_try='test -z "$ac_c_werror_flag"
54459 || test ! -s conftest.err'
54460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54461 (eval $ac_try) 2>&5
54462 ac_status=$?
54463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54464 (exit $ac_status); }; } &&
54465 { ac_try='test -s conftest$ac_exeext'
54466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54467 (eval $ac_try) 2>&5
54468 ac_status=$?
54469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54470 (exit $ac_status); }; }; then
54471 eval "$as_ac_var=yes"
54472 else
54473 echo "$as_me: failed program was:" >&5
54474 sed 's/^/| /' conftest.$ac_ext >&5
54476 eval "$as_ac_var=no"
54478 rm -f conftest.err conftest.$ac_objext \
54479 conftest$ac_exeext conftest.$ac_ext
54481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54483 if test `eval echo '${'$as_ac_var'}'` = yes; then
54484 cat >>confdefs.h <<_ACEOF
54485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54486 _ACEOF
54489 done
54496 echo "$as_me:$LINENO: checking for finite declaration" >&5
54497 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54498 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54499 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54500 echo $ECHO_N "(cached) $ECHO_C" >&6
54501 else
54505 ac_ext=cc
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54511 cat >conftest.$ac_ext <<_ACEOF
54512 /* confdefs.h. */
54513 _ACEOF
54514 cat confdefs.h >>conftest.$ac_ext
54515 cat >>conftest.$ac_ext <<_ACEOF
54516 /* end confdefs.h. */
54517 #include <math.h>
54518 #ifdef HAVE_IEEEFP_H
54519 #include <ieeefp.h>
54520 #endif
54523 main ()
54525 finite(0);
54527 return 0;
54529 _ACEOF
54530 rm -f conftest.$ac_objext
54531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54532 (eval $ac_compile) 2>conftest.er1
54533 ac_status=$?
54534 grep -v '^ *+' conftest.er1 >conftest.err
54535 rm -f conftest.er1
54536 cat conftest.err >&5
54537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54538 (exit $ac_status); } &&
54539 { ac_try='test -z "$ac_cxx_werror_flag"
54540 || test ! -s conftest.err'
54541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54542 (eval $ac_try) 2>&5
54543 ac_status=$?
54544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545 (exit $ac_status); }; } &&
54546 { ac_try='test -s conftest.$ac_objext'
54547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54548 (eval $ac_try) 2>&5
54549 ac_status=$?
54550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54551 (exit $ac_status); }; }; then
54552 glibcxx_cv_func_finite_use=yes
54553 else
54554 echo "$as_me: failed program was:" >&5
54555 sed 's/^/| /' conftest.$ac_ext >&5
54557 glibcxx_cv_func_finite_use=no
54559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54560 ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54571 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54573 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54575 for ac_func in finite
54577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54578 echo "$as_me:$LINENO: checking for $ac_func" >&5
54579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54580 if eval "test \"\${$as_ac_var+set}\" = set"; then
54581 echo $ECHO_N "(cached) $ECHO_C" >&6
54582 else
54583 if test x$gcc_no_link = xyes; then
54584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54586 { (exit 1); exit 1; }; }
54588 cat >conftest.$ac_ext <<_ACEOF
54589 /* confdefs.h. */
54590 _ACEOF
54591 cat confdefs.h >>conftest.$ac_ext
54592 cat >>conftest.$ac_ext <<_ACEOF
54593 /* end confdefs.h. */
54594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54596 #define $ac_func innocuous_$ac_func
54598 /* System header to define __stub macros and hopefully few prototypes,
54599 which can conflict with char $ac_func (); below.
54600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54601 <limits.h> exists even on freestanding compilers. */
54603 #ifdef __STDC__
54604 # include <limits.h>
54605 #else
54606 # include <assert.h>
54607 #endif
54609 #undef $ac_func
54611 /* Override any gcc2 internal prototype to avoid an error. */
54612 #ifdef __cplusplus
54613 extern "C"
54615 #endif
54616 /* We use char because int might match the return type of a gcc2
54617 builtin and then its argument prototype would still apply. */
54618 char $ac_func ();
54619 /* The GNU C library defines this for functions which it implements
54620 to always fail with ENOSYS. Some functions are actually named
54621 something starting with __ and the normal name is an alias. */
54622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54623 choke me
54624 #else
54625 char (*f) () = $ac_func;
54626 #endif
54627 #ifdef __cplusplus
54629 #endif
54632 main ()
54634 return f != $ac_func;
54636 return 0;
54638 _ACEOF
54639 rm -f conftest.$ac_objext conftest$ac_exeext
54640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54641 (eval $ac_link) 2>conftest.er1
54642 ac_status=$?
54643 grep -v '^ *+' conftest.er1 >conftest.err
54644 rm -f conftest.er1
54645 cat conftest.err >&5
54646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54647 (exit $ac_status); } &&
54648 { ac_try='test -z "$ac_c_werror_flag"
54649 || test ! -s conftest.err'
54650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54651 (eval $ac_try) 2>&5
54652 ac_status=$?
54653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654 (exit $ac_status); }; } &&
54655 { ac_try='test -s conftest$ac_exeext'
54656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54657 (eval $ac_try) 2>&5
54658 ac_status=$?
54659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54660 (exit $ac_status); }; }; then
54661 eval "$as_ac_var=yes"
54662 else
54663 echo "$as_me: failed program was:" >&5
54664 sed 's/^/| /' conftest.$ac_ext >&5
54666 eval "$as_ac_var=no"
54668 rm -f conftest.err conftest.$ac_objext \
54669 conftest$ac_exeext conftest.$ac_ext
54671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54673 if test `eval echo '${'$as_ac_var'}'` = yes; then
54674 cat >>confdefs.h <<_ACEOF
54675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54676 _ACEOF
54679 done
54681 else
54683 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54684 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54685 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54686 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54687 echo $ECHO_N "(cached) $ECHO_C" >&6
54688 else
54692 ac_ext=cc
54693 ac_cpp='$CXXCPP $CPPFLAGS'
54694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54698 cat >conftest.$ac_ext <<_ACEOF
54699 /* confdefs.h. */
54700 _ACEOF
54701 cat confdefs.h >>conftest.$ac_ext
54702 cat >>conftest.$ac_ext <<_ACEOF
54703 /* end confdefs.h. */
54704 #include <math.h>
54705 #ifdef HAVE_IEEEFP_H
54706 #include <ieeefp.h>
54707 #endif
54710 main ()
54712 _finite(0);
54714 return 0;
54716 _ACEOF
54717 rm -f conftest.$ac_objext
54718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54719 (eval $ac_compile) 2>conftest.er1
54720 ac_status=$?
54721 grep -v '^ *+' conftest.er1 >conftest.err
54722 rm -f conftest.er1
54723 cat conftest.err >&5
54724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54725 (exit $ac_status); } &&
54726 { ac_try='test -z "$ac_cxx_werror_flag"
54727 || test ! -s conftest.err'
54728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54729 (eval $ac_try) 2>&5
54730 ac_status=$?
54731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732 (exit $ac_status); }; } &&
54733 { ac_try='test -s conftest.$ac_objext'
54734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54735 (eval $ac_try) 2>&5
54736 ac_status=$?
54737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54738 (exit $ac_status); }; }; then
54739 glibcxx_cv_func__finite_use=yes
54740 else
54741 echo "$as_me: failed program was:" >&5
54742 sed 's/^/| /' conftest.$ac_ext >&5
54744 glibcxx_cv_func__finite_use=no
54746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54747 ac_ext=c
54748 ac_cpp='$CPP $CPPFLAGS'
54749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54758 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54760 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54762 for ac_func in _finite
54764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54765 echo "$as_me:$LINENO: checking for $ac_func" >&5
54766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54767 if eval "test \"\${$as_ac_var+set}\" = set"; then
54768 echo $ECHO_N "(cached) $ECHO_C" >&6
54769 else
54770 if test x$gcc_no_link = xyes; then
54771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54773 { (exit 1); exit 1; }; }
54775 cat >conftest.$ac_ext <<_ACEOF
54776 /* confdefs.h. */
54777 _ACEOF
54778 cat confdefs.h >>conftest.$ac_ext
54779 cat >>conftest.$ac_ext <<_ACEOF
54780 /* end confdefs.h. */
54781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54783 #define $ac_func innocuous_$ac_func
54785 /* System header to define __stub macros and hopefully few prototypes,
54786 which can conflict with char $ac_func (); below.
54787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54788 <limits.h> exists even on freestanding compilers. */
54790 #ifdef __STDC__
54791 # include <limits.h>
54792 #else
54793 # include <assert.h>
54794 #endif
54796 #undef $ac_func
54798 /* Override any gcc2 internal prototype to avoid an error. */
54799 #ifdef __cplusplus
54800 extern "C"
54802 #endif
54803 /* We use char because int might match the return type of a gcc2
54804 builtin and then its argument prototype would still apply. */
54805 char $ac_func ();
54806 /* The GNU C library defines this for functions which it implements
54807 to always fail with ENOSYS. Some functions are actually named
54808 something starting with __ and the normal name is an alias. */
54809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54810 choke me
54811 #else
54812 char (*f) () = $ac_func;
54813 #endif
54814 #ifdef __cplusplus
54816 #endif
54819 main ()
54821 return f != $ac_func;
54823 return 0;
54825 _ACEOF
54826 rm -f conftest.$ac_objext conftest$ac_exeext
54827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54828 (eval $ac_link) 2>conftest.er1
54829 ac_status=$?
54830 grep -v '^ *+' conftest.er1 >conftest.err
54831 rm -f conftest.er1
54832 cat conftest.err >&5
54833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54834 (exit $ac_status); } &&
54835 { ac_try='test -z "$ac_c_werror_flag"
54836 || test ! -s conftest.err'
54837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54838 (eval $ac_try) 2>&5
54839 ac_status=$?
54840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54841 (exit $ac_status); }; } &&
54842 { ac_try='test -s conftest$ac_exeext'
54843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54844 (eval $ac_try) 2>&5
54845 ac_status=$?
54846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54847 (exit $ac_status); }; }; then
54848 eval "$as_ac_var=yes"
54849 else
54850 echo "$as_me: failed program was:" >&5
54851 sed 's/^/| /' conftest.$ac_ext >&5
54853 eval "$as_ac_var=no"
54855 rm -f conftest.err conftest.$ac_objext \
54856 conftest$ac_exeext conftest.$ac_ext
54858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54860 if test `eval echo '${'$as_ac_var'}'` = yes; then
54861 cat >>confdefs.h <<_ACEOF
54862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54863 _ACEOF
54866 done
54873 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54874 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54875 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54876 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54877 echo $ECHO_N "(cached) $ECHO_C" >&6
54878 else
54882 ac_ext=cc
54883 ac_cpp='$CXXCPP $CPPFLAGS'
54884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54888 cat >conftest.$ac_ext <<_ACEOF
54889 /* confdefs.h. */
54890 _ACEOF
54891 cat confdefs.h >>conftest.$ac_ext
54892 cat >>conftest.$ac_ext <<_ACEOF
54893 /* end confdefs.h. */
54894 #include <math.h>
54896 main ()
54898 copysign(0, 0);
54900 return 0;
54902 _ACEOF
54903 rm -f conftest.$ac_objext
54904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54905 (eval $ac_compile) 2>conftest.er1
54906 ac_status=$?
54907 grep -v '^ *+' conftest.er1 >conftest.err
54908 rm -f conftest.er1
54909 cat conftest.err >&5
54910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54911 (exit $ac_status); } &&
54912 { ac_try='test -z "$ac_cxx_werror_flag"
54913 || test ! -s conftest.err'
54914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54915 (eval $ac_try) 2>&5
54916 ac_status=$?
54917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54918 (exit $ac_status); }; } &&
54919 { ac_try='test -s conftest.$ac_objext'
54920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54921 (eval $ac_try) 2>&5
54922 ac_status=$?
54923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54924 (exit $ac_status); }; }; then
54925 glibcxx_cv_func_copysign_use=yes
54926 else
54927 echo "$as_me: failed program was:" >&5
54928 sed 's/^/| /' conftest.$ac_ext >&5
54930 glibcxx_cv_func_copysign_use=no
54932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54933 ac_ext=c
54934 ac_cpp='$CPP $CPPFLAGS'
54935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54944 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54946 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54948 for ac_func in copysign
54950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54951 echo "$as_me:$LINENO: checking for $ac_func" >&5
54952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54953 if eval "test \"\${$as_ac_var+set}\" = set"; then
54954 echo $ECHO_N "(cached) $ECHO_C" >&6
54955 else
54956 if test x$gcc_no_link = xyes; then
54957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54959 { (exit 1); exit 1; }; }
54961 cat >conftest.$ac_ext <<_ACEOF
54962 /* confdefs.h. */
54963 _ACEOF
54964 cat confdefs.h >>conftest.$ac_ext
54965 cat >>conftest.$ac_ext <<_ACEOF
54966 /* end confdefs.h. */
54967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54969 #define $ac_func innocuous_$ac_func
54971 /* System header to define __stub macros and hopefully few prototypes,
54972 which can conflict with char $ac_func (); below.
54973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54974 <limits.h> exists even on freestanding compilers. */
54976 #ifdef __STDC__
54977 # include <limits.h>
54978 #else
54979 # include <assert.h>
54980 #endif
54982 #undef $ac_func
54984 /* Override any gcc2 internal prototype to avoid an error. */
54985 #ifdef __cplusplus
54986 extern "C"
54988 #endif
54989 /* We use char because int might match the return type of a gcc2
54990 builtin and then its argument prototype would still apply. */
54991 char $ac_func ();
54992 /* The GNU C library defines this for functions which it implements
54993 to always fail with ENOSYS. Some functions are actually named
54994 something starting with __ and the normal name is an alias. */
54995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54996 choke me
54997 #else
54998 char (*f) () = $ac_func;
54999 #endif
55000 #ifdef __cplusplus
55002 #endif
55005 main ()
55007 return f != $ac_func;
55009 return 0;
55011 _ACEOF
55012 rm -f conftest.$ac_objext conftest$ac_exeext
55013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55014 (eval $ac_link) 2>conftest.er1
55015 ac_status=$?
55016 grep -v '^ *+' conftest.er1 >conftest.err
55017 rm -f conftest.er1
55018 cat conftest.err >&5
55019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55020 (exit $ac_status); } &&
55021 { ac_try='test -z "$ac_c_werror_flag"
55022 || test ! -s conftest.err'
55023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55024 (eval $ac_try) 2>&5
55025 ac_status=$?
55026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55027 (exit $ac_status); }; } &&
55028 { ac_try='test -s conftest$ac_exeext'
55029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55030 (eval $ac_try) 2>&5
55031 ac_status=$?
55032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55033 (exit $ac_status); }; }; then
55034 eval "$as_ac_var=yes"
55035 else
55036 echo "$as_me: failed program was:" >&5
55037 sed 's/^/| /' conftest.$ac_ext >&5
55039 eval "$as_ac_var=no"
55041 rm -f conftest.err conftest.$ac_objext \
55042 conftest$ac_exeext conftest.$ac_ext
55044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55046 if test `eval echo '${'$as_ac_var'}'` = yes; then
55047 cat >>confdefs.h <<_ACEOF
55048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55049 _ACEOF
55052 done
55054 else
55056 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55057 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55058 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55059 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55060 echo $ECHO_N "(cached) $ECHO_C" >&6
55061 else
55065 ac_ext=cc
55066 ac_cpp='$CXXCPP $CPPFLAGS'
55067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55071 cat >conftest.$ac_ext <<_ACEOF
55072 /* confdefs.h. */
55073 _ACEOF
55074 cat confdefs.h >>conftest.$ac_ext
55075 cat >>conftest.$ac_ext <<_ACEOF
55076 /* end confdefs.h. */
55077 #include <math.h>
55079 main ()
55081 _copysign(0, 0);
55083 return 0;
55085 _ACEOF
55086 rm -f conftest.$ac_objext
55087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55088 (eval $ac_compile) 2>conftest.er1
55089 ac_status=$?
55090 grep -v '^ *+' conftest.er1 >conftest.err
55091 rm -f conftest.er1
55092 cat conftest.err >&5
55093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55094 (exit $ac_status); } &&
55095 { ac_try='test -z "$ac_cxx_werror_flag"
55096 || test ! -s conftest.err'
55097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55098 (eval $ac_try) 2>&5
55099 ac_status=$?
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); }; } &&
55102 { ac_try='test -s conftest.$ac_objext'
55103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55104 (eval $ac_try) 2>&5
55105 ac_status=$?
55106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55107 (exit $ac_status); }; }; then
55108 glibcxx_cv_func__copysign_use=yes
55109 else
55110 echo "$as_me: failed program was:" >&5
55111 sed 's/^/| /' conftest.$ac_ext >&5
55113 glibcxx_cv_func__copysign_use=no
55115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55116 ac_ext=c
55117 ac_cpp='$CPP $CPPFLAGS'
55118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55127 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55129 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55131 for ac_func in _copysign
55133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55134 echo "$as_me:$LINENO: checking for $ac_func" >&5
55135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55136 if eval "test \"\${$as_ac_var+set}\" = set"; then
55137 echo $ECHO_N "(cached) $ECHO_C" >&6
55138 else
55139 if test x$gcc_no_link = xyes; then
55140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55142 { (exit 1); exit 1; }; }
55144 cat >conftest.$ac_ext <<_ACEOF
55145 /* confdefs.h. */
55146 _ACEOF
55147 cat confdefs.h >>conftest.$ac_ext
55148 cat >>conftest.$ac_ext <<_ACEOF
55149 /* end confdefs.h. */
55150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55152 #define $ac_func innocuous_$ac_func
55154 /* System header to define __stub macros and hopefully few prototypes,
55155 which can conflict with char $ac_func (); below.
55156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55157 <limits.h> exists even on freestanding compilers. */
55159 #ifdef __STDC__
55160 # include <limits.h>
55161 #else
55162 # include <assert.h>
55163 #endif
55165 #undef $ac_func
55167 /* Override any gcc2 internal prototype to avoid an error. */
55168 #ifdef __cplusplus
55169 extern "C"
55171 #endif
55172 /* We use char because int might match the return type of a gcc2
55173 builtin and then its argument prototype would still apply. */
55174 char $ac_func ();
55175 /* The GNU C library defines this for functions which it implements
55176 to always fail with ENOSYS. Some functions are actually named
55177 something starting with __ and the normal name is an alias. */
55178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55179 choke me
55180 #else
55181 char (*f) () = $ac_func;
55182 #endif
55183 #ifdef __cplusplus
55185 #endif
55188 main ()
55190 return f != $ac_func;
55192 return 0;
55194 _ACEOF
55195 rm -f conftest.$ac_objext conftest$ac_exeext
55196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55197 (eval $ac_link) 2>conftest.er1
55198 ac_status=$?
55199 grep -v '^ *+' conftest.er1 >conftest.err
55200 rm -f conftest.er1
55201 cat conftest.err >&5
55202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55203 (exit $ac_status); } &&
55204 { ac_try='test -z "$ac_c_werror_flag"
55205 || test ! -s conftest.err'
55206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55207 (eval $ac_try) 2>&5
55208 ac_status=$?
55209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55210 (exit $ac_status); }; } &&
55211 { ac_try='test -s conftest$ac_exeext'
55212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55213 (eval $ac_try) 2>&5
55214 ac_status=$?
55215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55216 (exit $ac_status); }; }; then
55217 eval "$as_ac_var=yes"
55218 else
55219 echo "$as_me: failed program was:" >&5
55220 sed 's/^/| /' conftest.$ac_ext >&5
55222 eval "$as_ac_var=no"
55224 rm -f conftest.err conftest.$ac_objext \
55225 conftest$ac_exeext conftest.$ac_ext
55227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55229 if test `eval echo '${'$as_ac_var'}'` = yes; then
55230 cat >>confdefs.h <<_ACEOF
55231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55232 _ACEOF
55235 done
55242 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55243 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55244 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55245 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55246 echo $ECHO_N "(cached) $ECHO_C" >&6
55247 else
55251 ac_ext=cc
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55257 cat >conftest.$ac_ext <<_ACEOF
55258 /* confdefs.h. */
55259 _ACEOF
55260 cat confdefs.h >>conftest.$ac_ext
55261 cat >>conftest.$ac_ext <<_ACEOF
55262 /* end confdefs.h. */
55263 #include <math.h>
55265 main ()
55267 sincos(0, 0, 0);
55269 return 0;
55271 _ACEOF
55272 rm -f conftest.$ac_objext
55273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55274 (eval $ac_compile) 2>conftest.er1
55275 ac_status=$?
55276 grep -v '^ *+' conftest.er1 >conftest.err
55277 rm -f conftest.er1
55278 cat conftest.err >&5
55279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55280 (exit $ac_status); } &&
55281 { ac_try='test -z "$ac_cxx_werror_flag"
55282 || test ! -s conftest.err'
55283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55284 (eval $ac_try) 2>&5
55285 ac_status=$?
55286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287 (exit $ac_status); }; } &&
55288 { ac_try='test -s conftest.$ac_objext'
55289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55290 (eval $ac_try) 2>&5
55291 ac_status=$?
55292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55293 (exit $ac_status); }; }; then
55294 glibcxx_cv_func_sincos_use=yes
55295 else
55296 echo "$as_me: failed program was:" >&5
55297 sed 's/^/| /' conftest.$ac_ext >&5
55299 glibcxx_cv_func_sincos_use=no
55301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55302 ac_ext=c
55303 ac_cpp='$CPP $CPPFLAGS'
55304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55313 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55315 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55317 for ac_func in sincos
55319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55320 echo "$as_me:$LINENO: checking for $ac_func" >&5
55321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55322 if eval "test \"\${$as_ac_var+set}\" = set"; then
55323 echo $ECHO_N "(cached) $ECHO_C" >&6
55324 else
55325 if test x$gcc_no_link = xyes; then
55326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55328 { (exit 1); exit 1; }; }
55330 cat >conftest.$ac_ext <<_ACEOF
55331 /* confdefs.h. */
55332 _ACEOF
55333 cat confdefs.h >>conftest.$ac_ext
55334 cat >>conftest.$ac_ext <<_ACEOF
55335 /* end confdefs.h. */
55336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55338 #define $ac_func innocuous_$ac_func
55340 /* System header to define __stub macros and hopefully few prototypes,
55341 which can conflict with char $ac_func (); below.
55342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55343 <limits.h> exists even on freestanding compilers. */
55345 #ifdef __STDC__
55346 # include <limits.h>
55347 #else
55348 # include <assert.h>
55349 #endif
55351 #undef $ac_func
55353 /* Override any gcc2 internal prototype to avoid an error. */
55354 #ifdef __cplusplus
55355 extern "C"
55357 #endif
55358 /* We use char because int might match the return type of a gcc2
55359 builtin and then its argument prototype would still apply. */
55360 char $ac_func ();
55361 /* The GNU C library defines this for functions which it implements
55362 to always fail with ENOSYS. Some functions are actually named
55363 something starting with __ and the normal name is an alias. */
55364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55365 choke me
55366 #else
55367 char (*f) () = $ac_func;
55368 #endif
55369 #ifdef __cplusplus
55371 #endif
55374 main ()
55376 return f != $ac_func;
55378 return 0;
55380 _ACEOF
55381 rm -f conftest.$ac_objext conftest$ac_exeext
55382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55383 (eval $ac_link) 2>conftest.er1
55384 ac_status=$?
55385 grep -v '^ *+' conftest.er1 >conftest.err
55386 rm -f conftest.er1
55387 cat conftest.err >&5
55388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55389 (exit $ac_status); } &&
55390 { ac_try='test -z "$ac_c_werror_flag"
55391 || test ! -s conftest.err'
55392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55393 (eval $ac_try) 2>&5
55394 ac_status=$?
55395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396 (exit $ac_status); }; } &&
55397 { ac_try='test -s conftest$ac_exeext'
55398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55399 (eval $ac_try) 2>&5
55400 ac_status=$?
55401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55402 (exit $ac_status); }; }; then
55403 eval "$as_ac_var=yes"
55404 else
55405 echo "$as_me: failed program was:" >&5
55406 sed 's/^/| /' conftest.$ac_ext >&5
55408 eval "$as_ac_var=no"
55410 rm -f conftest.err conftest.$ac_objext \
55411 conftest$ac_exeext conftest.$ac_ext
55413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55415 if test `eval echo '${'$as_ac_var'}'` = yes; then
55416 cat >>confdefs.h <<_ACEOF
55417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55418 _ACEOF
55421 done
55423 else
55425 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55426 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55427 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55428 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55429 echo $ECHO_N "(cached) $ECHO_C" >&6
55430 else
55434 ac_ext=cc
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440 cat >conftest.$ac_ext <<_ACEOF
55441 /* confdefs.h. */
55442 _ACEOF
55443 cat confdefs.h >>conftest.$ac_ext
55444 cat >>conftest.$ac_ext <<_ACEOF
55445 /* end confdefs.h. */
55446 #include <math.h>
55448 main ()
55450 _sincos(0, 0, 0);
55452 return 0;
55454 _ACEOF
55455 rm -f conftest.$ac_objext
55456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55457 (eval $ac_compile) 2>conftest.er1
55458 ac_status=$?
55459 grep -v '^ *+' conftest.er1 >conftest.err
55460 rm -f conftest.er1
55461 cat conftest.err >&5
55462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463 (exit $ac_status); } &&
55464 { ac_try='test -z "$ac_cxx_werror_flag"
55465 || test ! -s conftest.err'
55466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55467 (eval $ac_try) 2>&5
55468 ac_status=$?
55469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470 (exit $ac_status); }; } &&
55471 { ac_try='test -s conftest.$ac_objext'
55472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55473 (eval $ac_try) 2>&5
55474 ac_status=$?
55475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55476 (exit $ac_status); }; }; then
55477 glibcxx_cv_func__sincos_use=yes
55478 else
55479 echo "$as_me: failed program was:" >&5
55480 sed 's/^/| /' conftest.$ac_ext >&5
55482 glibcxx_cv_func__sincos_use=no
55484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55485 ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55496 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55498 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55500 for ac_func in _sincos
55502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55503 echo "$as_me:$LINENO: checking for $ac_func" >&5
55504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55505 if eval "test \"\${$as_ac_var+set}\" = set"; then
55506 echo $ECHO_N "(cached) $ECHO_C" >&6
55507 else
55508 if test x$gcc_no_link = xyes; then
55509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55511 { (exit 1); exit 1; }; }
55513 cat >conftest.$ac_ext <<_ACEOF
55514 /* confdefs.h. */
55515 _ACEOF
55516 cat confdefs.h >>conftest.$ac_ext
55517 cat >>conftest.$ac_ext <<_ACEOF
55518 /* end confdefs.h. */
55519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55521 #define $ac_func innocuous_$ac_func
55523 /* System header to define __stub macros and hopefully few prototypes,
55524 which can conflict with char $ac_func (); below.
55525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55526 <limits.h> exists even on freestanding compilers. */
55528 #ifdef __STDC__
55529 # include <limits.h>
55530 #else
55531 # include <assert.h>
55532 #endif
55534 #undef $ac_func
55536 /* Override any gcc2 internal prototype to avoid an error. */
55537 #ifdef __cplusplus
55538 extern "C"
55540 #endif
55541 /* We use char because int might match the return type of a gcc2
55542 builtin and then its argument prototype would still apply. */
55543 char $ac_func ();
55544 /* The GNU C library defines this for functions which it implements
55545 to always fail with ENOSYS. Some functions are actually named
55546 something starting with __ and the normal name is an alias. */
55547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55548 choke me
55549 #else
55550 char (*f) () = $ac_func;
55551 #endif
55552 #ifdef __cplusplus
55554 #endif
55557 main ()
55559 return f != $ac_func;
55561 return 0;
55563 _ACEOF
55564 rm -f conftest.$ac_objext conftest$ac_exeext
55565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55566 (eval $ac_link) 2>conftest.er1
55567 ac_status=$?
55568 grep -v '^ *+' conftest.er1 >conftest.err
55569 rm -f conftest.er1
55570 cat conftest.err >&5
55571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55572 (exit $ac_status); } &&
55573 { ac_try='test -z "$ac_c_werror_flag"
55574 || test ! -s conftest.err'
55575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55576 (eval $ac_try) 2>&5
55577 ac_status=$?
55578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55579 (exit $ac_status); }; } &&
55580 { ac_try='test -s conftest$ac_exeext'
55581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55582 (eval $ac_try) 2>&5
55583 ac_status=$?
55584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585 (exit $ac_status); }; }; then
55586 eval "$as_ac_var=yes"
55587 else
55588 echo "$as_me: failed program was:" >&5
55589 sed 's/^/| /' conftest.$ac_ext >&5
55591 eval "$as_ac_var=no"
55593 rm -f conftest.err conftest.$ac_objext \
55594 conftest$ac_exeext conftest.$ac_ext
55596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55598 if test `eval echo '${'$as_ac_var'}'` = yes; then
55599 cat >>confdefs.h <<_ACEOF
55600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55601 _ACEOF
55604 done
55611 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55612 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55613 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55614 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55615 echo $ECHO_N "(cached) $ECHO_C" >&6
55616 else
55620 ac_ext=cc
55621 ac_cpp='$CXXCPP $CPPFLAGS'
55622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626 cat >conftest.$ac_ext <<_ACEOF
55627 /* confdefs.h. */
55628 _ACEOF
55629 cat confdefs.h >>conftest.$ac_ext
55630 cat >>conftest.$ac_ext <<_ACEOF
55631 /* end confdefs.h. */
55632 #include <math.h>
55633 #ifdef HAVE_IEEEFP_H
55634 #include <ieeefp.h>
55635 #endif
55638 main ()
55640 fpclass(0);
55642 return 0;
55644 _ACEOF
55645 rm -f conftest.$ac_objext
55646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55647 (eval $ac_compile) 2>conftest.er1
55648 ac_status=$?
55649 grep -v '^ *+' conftest.er1 >conftest.err
55650 rm -f conftest.er1
55651 cat conftest.err >&5
55652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55653 (exit $ac_status); } &&
55654 { ac_try='test -z "$ac_cxx_werror_flag"
55655 || test ! -s conftest.err'
55656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657 (eval $ac_try) 2>&5
55658 ac_status=$?
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); }; } &&
55661 { ac_try='test -s conftest.$ac_objext'
55662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55663 (eval $ac_try) 2>&5
55664 ac_status=$?
55665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55666 (exit $ac_status); }; }; then
55667 glibcxx_cv_func_fpclass_use=yes
55668 else
55669 echo "$as_me: failed program was:" >&5
55670 sed 's/^/| /' conftest.$ac_ext >&5
55672 glibcxx_cv_func_fpclass_use=no
55674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55675 ac_ext=c
55676 ac_cpp='$CPP $CPPFLAGS'
55677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55686 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55688 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55690 for ac_func in fpclass
55692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55693 echo "$as_me:$LINENO: checking for $ac_func" >&5
55694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55695 if eval "test \"\${$as_ac_var+set}\" = set"; then
55696 echo $ECHO_N "(cached) $ECHO_C" >&6
55697 else
55698 if test x$gcc_no_link = xyes; then
55699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55701 { (exit 1); exit 1; }; }
55703 cat >conftest.$ac_ext <<_ACEOF
55704 /* confdefs.h. */
55705 _ACEOF
55706 cat confdefs.h >>conftest.$ac_ext
55707 cat >>conftest.$ac_ext <<_ACEOF
55708 /* end confdefs.h. */
55709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55711 #define $ac_func innocuous_$ac_func
55713 /* System header to define __stub macros and hopefully few prototypes,
55714 which can conflict with char $ac_func (); below.
55715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55716 <limits.h> exists even on freestanding compilers. */
55718 #ifdef __STDC__
55719 # include <limits.h>
55720 #else
55721 # include <assert.h>
55722 #endif
55724 #undef $ac_func
55726 /* Override any gcc2 internal prototype to avoid an error. */
55727 #ifdef __cplusplus
55728 extern "C"
55730 #endif
55731 /* We use char because int might match the return type of a gcc2
55732 builtin and then its argument prototype would still apply. */
55733 char $ac_func ();
55734 /* The GNU C library defines this for functions which it implements
55735 to always fail with ENOSYS. Some functions are actually named
55736 something starting with __ and the normal name is an alias. */
55737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55738 choke me
55739 #else
55740 char (*f) () = $ac_func;
55741 #endif
55742 #ifdef __cplusplus
55744 #endif
55747 main ()
55749 return f != $ac_func;
55751 return 0;
55753 _ACEOF
55754 rm -f conftest.$ac_objext conftest$ac_exeext
55755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55756 (eval $ac_link) 2>conftest.er1
55757 ac_status=$?
55758 grep -v '^ *+' conftest.er1 >conftest.err
55759 rm -f conftest.er1
55760 cat conftest.err >&5
55761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55762 (exit $ac_status); } &&
55763 { ac_try='test -z "$ac_c_werror_flag"
55764 || test ! -s conftest.err'
55765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55766 (eval $ac_try) 2>&5
55767 ac_status=$?
55768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769 (exit $ac_status); }; } &&
55770 { ac_try='test -s conftest$ac_exeext'
55771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55772 (eval $ac_try) 2>&5
55773 ac_status=$?
55774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55775 (exit $ac_status); }; }; then
55776 eval "$as_ac_var=yes"
55777 else
55778 echo "$as_me: failed program was:" >&5
55779 sed 's/^/| /' conftest.$ac_ext >&5
55781 eval "$as_ac_var=no"
55783 rm -f conftest.err conftest.$ac_objext \
55784 conftest$ac_exeext conftest.$ac_ext
55786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55788 if test `eval echo '${'$as_ac_var'}'` = yes; then
55789 cat >>confdefs.h <<_ACEOF
55790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55791 _ACEOF
55794 done
55796 else
55798 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55799 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55800 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55801 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55802 echo $ECHO_N "(cached) $ECHO_C" >&6
55803 else
55807 ac_ext=cc
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813 cat >conftest.$ac_ext <<_ACEOF
55814 /* confdefs.h. */
55815 _ACEOF
55816 cat confdefs.h >>conftest.$ac_ext
55817 cat >>conftest.$ac_ext <<_ACEOF
55818 /* end confdefs.h. */
55819 #include <math.h>
55820 #ifdef HAVE_IEEEFP_H
55821 #include <ieeefp.h>
55822 #endif
55825 main ()
55827 _fpclass(0);
55829 return 0;
55831 _ACEOF
55832 rm -f conftest.$ac_objext
55833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55834 (eval $ac_compile) 2>conftest.er1
55835 ac_status=$?
55836 grep -v '^ *+' conftest.er1 >conftest.err
55837 rm -f conftest.er1
55838 cat conftest.err >&5
55839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840 (exit $ac_status); } &&
55841 { ac_try='test -z "$ac_cxx_werror_flag"
55842 || test ! -s conftest.err'
55843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55844 (eval $ac_try) 2>&5
55845 ac_status=$?
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); }; } &&
55848 { ac_try='test -s conftest.$ac_objext'
55849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850 (eval $ac_try) 2>&5
55851 ac_status=$?
55852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853 (exit $ac_status); }; }; then
55854 glibcxx_cv_func__fpclass_use=yes
55855 else
55856 echo "$as_me: failed program was:" >&5
55857 sed 's/^/| /' conftest.$ac_ext >&5
55859 glibcxx_cv_func__fpclass_use=no
55861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55862 ac_ext=c
55863 ac_cpp='$CPP $CPPFLAGS'
55864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55873 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55875 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55877 for ac_func in _fpclass
55879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55880 echo "$as_me:$LINENO: checking for $ac_func" >&5
55881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55882 if eval "test \"\${$as_ac_var+set}\" = set"; then
55883 echo $ECHO_N "(cached) $ECHO_C" >&6
55884 else
55885 if test x$gcc_no_link = xyes; then
55886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55888 { (exit 1); exit 1; }; }
55890 cat >conftest.$ac_ext <<_ACEOF
55891 /* confdefs.h. */
55892 _ACEOF
55893 cat confdefs.h >>conftest.$ac_ext
55894 cat >>conftest.$ac_ext <<_ACEOF
55895 /* end confdefs.h. */
55896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55898 #define $ac_func innocuous_$ac_func
55900 /* System header to define __stub macros and hopefully few prototypes,
55901 which can conflict with char $ac_func (); below.
55902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55903 <limits.h> exists even on freestanding compilers. */
55905 #ifdef __STDC__
55906 # include <limits.h>
55907 #else
55908 # include <assert.h>
55909 #endif
55911 #undef $ac_func
55913 /* Override any gcc2 internal prototype to avoid an error. */
55914 #ifdef __cplusplus
55915 extern "C"
55917 #endif
55918 /* We use char because int might match the return type of a gcc2
55919 builtin and then its argument prototype would still apply. */
55920 char $ac_func ();
55921 /* The GNU C library defines this for functions which it implements
55922 to always fail with ENOSYS. Some functions are actually named
55923 something starting with __ and the normal name is an alias. */
55924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55925 choke me
55926 #else
55927 char (*f) () = $ac_func;
55928 #endif
55929 #ifdef __cplusplus
55931 #endif
55934 main ()
55936 return f != $ac_func;
55938 return 0;
55940 _ACEOF
55941 rm -f conftest.$ac_objext conftest$ac_exeext
55942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55943 (eval $ac_link) 2>conftest.er1
55944 ac_status=$?
55945 grep -v '^ *+' conftest.er1 >conftest.err
55946 rm -f conftest.er1
55947 cat conftest.err >&5
55948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55949 (exit $ac_status); } &&
55950 { ac_try='test -z "$ac_c_werror_flag"
55951 || test ! -s conftest.err'
55952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55953 (eval $ac_try) 2>&5
55954 ac_status=$?
55955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956 (exit $ac_status); }; } &&
55957 { ac_try='test -s conftest$ac_exeext'
55958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55959 (eval $ac_try) 2>&5
55960 ac_status=$?
55961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55962 (exit $ac_status); }; }; then
55963 eval "$as_ac_var=yes"
55964 else
55965 echo "$as_me: failed program was:" >&5
55966 sed 's/^/| /' conftest.$ac_ext >&5
55968 eval "$as_ac_var=no"
55970 rm -f conftest.err conftest.$ac_objext \
55971 conftest$ac_exeext conftest.$ac_ext
55973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55975 if test `eval echo '${'$as_ac_var'}'` = yes; then
55976 cat >>confdefs.h <<_ACEOF
55977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55978 _ACEOF
55981 done
55988 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55989 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55990 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55991 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55992 echo $ECHO_N "(cached) $ECHO_C" >&6
55993 else
55997 ac_ext=cc
55998 ac_cpp='$CXXCPP $CPPFLAGS'
55999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003 cat >conftest.$ac_ext <<_ACEOF
56004 /* confdefs.h. */
56005 _ACEOF
56006 cat confdefs.h >>conftest.$ac_ext
56007 cat >>conftest.$ac_ext <<_ACEOF
56008 /* end confdefs.h. */
56009 #include <math.h>
56010 #ifdef HAVE_IEEEFP_H
56011 #include <ieeefp.h>
56012 #endif
56015 main ()
56017 qfpclass(0);
56019 return 0;
56021 _ACEOF
56022 rm -f conftest.$ac_objext
56023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56024 (eval $ac_compile) 2>conftest.er1
56025 ac_status=$?
56026 grep -v '^ *+' conftest.er1 >conftest.err
56027 rm -f conftest.er1
56028 cat conftest.err >&5
56029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030 (exit $ac_status); } &&
56031 { ac_try='test -z "$ac_cxx_werror_flag"
56032 || test ! -s conftest.err'
56033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56034 (eval $ac_try) 2>&5
56035 ac_status=$?
56036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037 (exit $ac_status); }; } &&
56038 { ac_try='test -s conftest.$ac_objext'
56039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56040 (eval $ac_try) 2>&5
56041 ac_status=$?
56042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56043 (exit $ac_status); }; }; then
56044 glibcxx_cv_func_qfpclass_use=yes
56045 else
56046 echo "$as_me: failed program was:" >&5
56047 sed 's/^/| /' conftest.$ac_ext >&5
56049 glibcxx_cv_func_qfpclass_use=no
56051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56052 ac_ext=c
56053 ac_cpp='$CPP $CPPFLAGS'
56054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56063 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56065 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56067 for ac_func in qfpclass
56069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56070 echo "$as_me:$LINENO: checking for $ac_func" >&5
56071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56072 if eval "test \"\${$as_ac_var+set}\" = set"; then
56073 echo $ECHO_N "(cached) $ECHO_C" >&6
56074 else
56075 if test x$gcc_no_link = xyes; then
56076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56078 { (exit 1); exit 1; }; }
56080 cat >conftest.$ac_ext <<_ACEOF
56081 /* confdefs.h. */
56082 _ACEOF
56083 cat confdefs.h >>conftest.$ac_ext
56084 cat >>conftest.$ac_ext <<_ACEOF
56085 /* end confdefs.h. */
56086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56088 #define $ac_func innocuous_$ac_func
56090 /* System header to define __stub macros and hopefully few prototypes,
56091 which can conflict with char $ac_func (); below.
56092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56093 <limits.h> exists even on freestanding compilers. */
56095 #ifdef __STDC__
56096 # include <limits.h>
56097 #else
56098 # include <assert.h>
56099 #endif
56101 #undef $ac_func
56103 /* Override any gcc2 internal prototype to avoid an error. */
56104 #ifdef __cplusplus
56105 extern "C"
56107 #endif
56108 /* We use char because int might match the return type of a gcc2
56109 builtin and then its argument prototype would still apply. */
56110 char $ac_func ();
56111 /* The GNU C library defines this for functions which it implements
56112 to always fail with ENOSYS. Some functions are actually named
56113 something starting with __ and the normal name is an alias. */
56114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56115 choke me
56116 #else
56117 char (*f) () = $ac_func;
56118 #endif
56119 #ifdef __cplusplus
56121 #endif
56124 main ()
56126 return f != $ac_func;
56128 return 0;
56130 _ACEOF
56131 rm -f conftest.$ac_objext conftest$ac_exeext
56132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56133 (eval $ac_link) 2>conftest.er1
56134 ac_status=$?
56135 grep -v '^ *+' conftest.er1 >conftest.err
56136 rm -f conftest.er1
56137 cat conftest.err >&5
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); } &&
56140 { ac_try='test -z "$ac_c_werror_flag"
56141 || test ! -s conftest.err'
56142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143 (eval $ac_try) 2>&5
56144 ac_status=$?
56145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146 (exit $ac_status); }; } &&
56147 { ac_try='test -s conftest$ac_exeext'
56148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56149 (eval $ac_try) 2>&5
56150 ac_status=$?
56151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56152 (exit $ac_status); }; }; then
56153 eval "$as_ac_var=yes"
56154 else
56155 echo "$as_me: failed program was:" >&5
56156 sed 's/^/| /' conftest.$ac_ext >&5
56158 eval "$as_ac_var=no"
56160 rm -f conftest.err conftest.$ac_objext \
56161 conftest$ac_exeext conftest.$ac_ext
56163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56165 if test `eval echo '${'$as_ac_var'}'` = yes; then
56166 cat >>confdefs.h <<_ACEOF
56167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56168 _ACEOF
56171 done
56173 else
56175 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56176 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56177 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56178 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56179 echo $ECHO_N "(cached) $ECHO_C" >&6
56180 else
56184 ac_ext=cc
56185 ac_cpp='$CXXCPP $CPPFLAGS'
56186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56190 cat >conftest.$ac_ext <<_ACEOF
56191 /* confdefs.h. */
56192 _ACEOF
56193 cat confdefs.h >>conftest.$ac_ext
56194 cat >>conftest.$ac_ext <<_ACEOF
56195 /* end confdefs.h. */
56196 #include <math.h>
56197 #ifdef HAVE_IEEEFP_H
56198 #include <ieeefp.h>
56199 #endif
56202 main ()
56204 _qfpclass(0);
56206 return 0;
56208 _ACEOF
56209 rm -f conftest.$ac_objext
56210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56211 (eval $ac_compile) 2>conftest.er1
56212 ac_status=$?
56213 grep -v '^ *+' conftest.er1 >conftest.err
56214 rm -f conftest.er1
56215 cat conftest.err >&5
56216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56217 (exit $ac_status); } &&
56218 { ac_try='test -z "$ac_cxx_werror_flag"
56219 || test ! -s conftest.err'
56220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56221 (eval $ac_try) 2>&5
56222 ac_status=$?
56223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56224 (exit $ac_status); }; } &&
56225 { ac_try='test -s conftest.$ac_objext'
56226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56227 (eval $ac_try) 2>&5
56228 ac_status=$?
56229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56230 (exit $ac_status); }; }; then
56231 glibcxx_cv_func__qfpclass_use=yes
56232 else
56233 echo "$as_me: failed program was:" >&5
56234 sed 's/^/| /' conftest.$ac_ext >&5
56236 glibcxx_cv_func__qfpclass_use=no
56238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56239 ac_ext=c
56240 ac_cpp='$CPP $CPPFLAGS'
56241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56250 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56252 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56254 for ac_func in _qfpclass
56256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56257 echo "$as_me:$LINENO: checking for $ac_func" >&5
56258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56259 if eval "test \"\${$as_ac_var+set}\" = set"; then
56260 echo $ECHO_N "(cached) $ECHO_C" >&6
56261 else
56262 if test x$gcc_no_link = xyes; then
56263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56265 { (exit 1); exit 1; }; }
56267 cat >conftest.$ac_ext <<_ACEOF
56268 /* confdefs.h. */
56269 _ACEOF
56270 cat confdefs.h >>conftest.$ac_ext
56271 cat >>conftest.$ac_ext <<_ACEOF
56272 /* end confdefs.h. */
56273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56275 #define $ac_func innocuous_$ac_func
56277 /* System header to define __stub macros and hopefully few prototypes,
56278 which can conflict with char $ac_func (); below.
56279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56280 <limits.h> exists even on freestanding compilers. */
56282 #ifdef __STDC__
56283 # include <limits.h>
56284 #else
56285 # include <assert.h>
56286 #endif
56288 #undef $ac_func
56290 /* Override any gcc2 internal prototype to avoid an error. */
56291 #ifdef __cplusplus
56292 extern "C"
56294 #endif
56295 /* We use char because int might match the return type of a gcc2
56296 builtin and then its argument prototype would still apply. */
56297 char $ac_func ();
56298 /* The GNU C library defines this for functions which it implements
56299 to always fail with ENOSYS. Some functions are actually named
56300 something starting with __ and the normal name is an alias. */
56301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56302 choke me
56303 #else
56304 char (*f) () = $ac_func;
56305 #endif
56306 #ifdef __cplusplus
56308 #endif
56311 main ()
56313 return f != $ac_func;
56315 return 0;
56317 _ACEOF
56318 rm -f conftest.$ac_objext conftest$ac_exeext
56319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56320 (eval $ac_link) 2>conftest.er1
56321 ac_status=$?
56322 grep -v '^ *+' conftest.er1 >conftest.err
56323 rm -f conftest.er1
56324 cat conftest.err >&5
56325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56326 (exit $ac_status); } &&
56327 { ac_try='test -z "$ac_c_werror_flag"
56328 || test ! -s conftest.err'
56329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56330 (eval $ac_try) 2>&5
56331 ac_status=$?
56332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56333 (exit $ac_status); }; } &&
56334 { ac_try='test -s conftest$ac_exeext'
56335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56336 (eval $ac_try) 2>&5
56337 ac_status=$?
56338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56339 (exit $ac_status); }; }; then
56340 eval "$as_ac_var=yes"
56341 else
56342 echo "$as_me: failed program was:" >&5
56343 sed 's/^/| /' conftest.$ac_ext >&5
56345 eval "$as_ac_var=no"
56347 rm -f conftest.err conftest.$ac_objext \
56348 conftest$ac_exeext conftest.$ac_ext
56350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56352 if test `eval echo '${'$as_ac_var'}'` = yes; then
56353 cat >>confdefs.h <<_ACEOF
56354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56355 _ACEOF
56358 done
56365 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56366 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56367 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56368 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56369 echo $ECHO_N "(cached) $ECHO_C" >&6
56370 else
56374 ac_ext=cc
56375 ac_cpp='$CXXCPP $CPPFLAGS'
56376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56380 cat >conftest.$ac_ext <<_ACEOF
56381 /* confdefs.h. */
56382 _ACEOF
56383 cat confdefs.h >>conftest.$ac_ext
56384 cat >>conftest.$ac_ext <<_ACEOF
56385 /* end confdefs.h. */
56386 #include <math.h>
56388 main ()
56390 hypot(0, 0);
56392 return 0;
56394 _ACEOF
56395 rm -f conftest.$ac_objext
56396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56397 (eval $ac_compile) 2>conftest.er1
56398 ac_status=$?
56399 grep -v '^ *+' conftest.er1 >conftest.err
56400 rm -f conftest.er1
56401 cat conftest.err >&5
56402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56403 (exit $ac_status); } &&
56404 { ac_try='test -z "$ac_cxx_werror_flag"
56405 || test ! -s conftest.err'
56406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56407 (eval $ac_try) 2>&5
56408 ac_status=$?
56409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56410 (exit $ac_status); }; } &&
56411 { ac_try='test -s conftest.$ac_objext'
56412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56413 (eval $ac_try) 2>&5
56414 ac_status=$?
56415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56416 (exit $ac_status); }; }; then
56417 glibcxx_cv_func_hypot_use=yes
56418 else
56419 echo "$as_me: failed program was:" >&5
56420 sed 's/^/| /' conftest.$ac_ext >&5
56422 glibcxx_cv_func_hypot_use=no
56424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56436 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56438 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56440 for ac_func in hypot
56442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56443 echo "$as_me:$LINENO: checking for $ac_func" >&5
56444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56445 if eval "test \"\${$as_ac_var+set}\" = set"; then
56446 echo $ECHO_N "(cached) $ECHO_C" >&6
56447 else
56448 if test x$gcc_no_link = xyes; then
56449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56451 { (exit 1); exit 1; }; }
56453 cat >conftest.$ac_ext <<_ACEOF
56454 /* confdefs.h. */
56455 _ACEOF
56456 cat confdefs.h >>conftest.$ac_ext
56457 cat >>conftest.$ac_ext <<_ACEOF
56458 /* end confdefs.h. */
56459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56461 #define $ac_func innocuous_$ac_func
56463 /* System header to define __stub macros and hopefully few prototypes,
56464 which can conflict with char $ac_func (); below.
56465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56466 <limits.h> exists even on freestanding compilers. */
56468 #ifdef __STDC__
56469 # include <limits.h>
56470 #else
56471 # include <assert.h>
56472 #endif
56474 #undef $ac_func
56476 /* Override any gcc2 internal prototype to avoid an error. */
56477 #ifdef __cplusplus
56478 extern "C"
56480 #endif
56481 /* We use char because int might match the return type of a gcc2
56482 builtin and then its argument prototype would still apply. */
56483 char $ac_func ();
56484 /* The GNU C library defines this for functions which it implements
56485 to always fail with ENOSYS. Some functions are actually named
56486 something starting with __ and the normal name is an alias. */
56487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56488 choke me
56489 #else
56490 char (*f) () = $ac_func;
56491 #endif
56492 #ifdef __cplusplus
56494 #endif
56497 main ()
56499 return f != $ac_func;
56501 return 0;
56503 _ACEOF
56504 rm -f conftest.$ac_objext conftest$ac_exeext
56505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56506 (eval $ac_link) 2>conftest.er1
56507 ac_status=$?
56508 grep -v '^ *+' conftest.er1 >conftest.err
56509 rm -f conftest.er1
56510 cat conftest.err >&5
56511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56512 (exit $ac_status); } &&
56513 { ac_try='test -z "$ac_c_werror_flag"
56514 || test ! -s conftest.err'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; } &&
56520 { ac_try='test -s conftest$ac_exeext'
56521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56522 (eval $ac_try) 2>&5
56523 ac_status=$?
56524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56525 (exit $ac_status); }; }; then
56526 eval "$as_ac_var=yes"
56527 else
56528 echo "$as_me: failed program was:" >&5
56529 sed 's/^/| /' conftest.$ac_ext >&5
56531 eval "$as_ac_var=no"
56533 rm -f conftest.err conftest.$ac_objext \
56534 conftest$ac_exeext conftest.$ac_ext
56536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56538 if test `eval echo '${'$as_ac_var'}'` = yes; then
56539 cat >>confdefs.h <<_ACEOF
56540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56541 _ACEOF
56544 done
56546 else
56548 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56549 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56550 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56551 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56552 echo $ECHO_N "(cached) $ECHO_C" >&6
56553 else
56557 ac_ext=cc
56558 ac_cpp='$CXXCPP $CPPFLAGS'
56559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563 cat >conftest.$ac_ext <<_ACEOF
56564 /* confdefs.h. */
56565 _ACEOF
56566 cat confdefs.h >>conftest.$ac_ext
56567 cat >>conftest.$ac_ext <<_ACEOF
56568 /* end confdefs.h. */
56569 #include <math.h>
56571 main ()
56573 _hypot(0, 0);
56575 return 0;
56577 _ACEOF
56578 rm -f conftest.$ac_objext
56579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56580 (eval $ac_compile) 2>conftest.er1
56581 ac_status=$?
56582 grep -v '^ *+' conftest.er1 >conftest.err
56583 rm -f conftest.er1
56584 cat conftest.err >&5
56585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56586 (exit $ac_status); } &&
56587 { ac_try='test -z "$ac_cxx_werror_flag"
56588 || test ! -s conftest.err'
56589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590 (eval $ac_try) 2>&5
56591 ac_status=$?
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); }; } &&
56594 { ac_try='test -s conftest.$ac_objext'
56595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56596 (eval $ac_try) 2>&5
56597 ac_status=$?
56598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56599 (exit $ac_status); }; }; then
56600 glibcxx_cv_func__hypot_use=yes
56601 else
56602 echo "$as_me: failed program was:" >&5
56603 sed 's/^/| /' conftest.$ac_ext >&5
56605 glibcxx_cv_func__hypot_use=no
56607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56619 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56621 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56623 for ac_func in _hypot
56625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56626 echo "$as_me:$LINENO: checking for $ac_func" >&5
56627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56628 if eval "test \"\${$as_ac_var+set}\" = set"; then
56629 echo $ECHO_N "(cached) $ECHO_C" >&6
56630 else
56631 if test x$gcc_no_link = xyes; then
56632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56634 { (exit 1); exit 1; }; }
56636 cat >conftest.$ac_ext <<_ACEOF
56637 /* confdefs.h. */
56638 _ACEOF
56639 cat confdefs.h >>conftest.$ac_ext
56640 cat >>conftest.$ac_ext <<_ACEOF
56641 /* end confdefs.h. */
56642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56644 #define $ac_func innocuous_$ac_func
56646 /* System header to define __stub macros and hopefully few prototypes,
56647 which can conflict with char $ac_func (); below.
56648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56649 <limits.h> exists even on freestanding compilers. */
56651 #ifdef __STDC__
56652 # include <limits.h>
56653 #else
56654 # include <assert.h>
56655 #endif
56657 #undef $ac_func
56659 /* Override any gcc2 internal prototype to avoid an error. */
56660 #ifdef __cplusplus
56661 extern "C"
56663 #endif
56664 /* We use char because int might match the return type of a gcc2
56665 builtin and then its argument prototype would still apply. */
56666 char $ac_func ();
56667 /* The GNU C library defines this for functions which it implements
56668 to always fail with ENOSYS. Some functions are actually named
56669 something starting with __ and the normal name is an alias. */
56670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56671 choke me
56672 #else
56673 char (*f) () = $ac_func;
56674 #endif
56675 #ifdef __cplusplus
56677 #endif
56680 main ()
56682 return f != $ac_func;
56684 return 0;
56686 _ACEOF
56687 rm -f conftest.$ac_objext conftest$ac_exeext
56688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56689 (eval $ac_link) 2>conftest.er1
56690 ac_status=$?
56691 grep -v '^ *+' conftest.er1 >conftest.err
56692 rm -f conftest.er1
56693 cat conftest.err >&5
56694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56695 (exit $ac_status); } &&
56696 { ac_try='test -z "$ac_c_werror_flag"
56697 || test ! -s conftest.err'
56698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56699 (eval $ac_try) 2>&5
56700 ac_status=$?
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); }; } &&
56703 { ac_try='test -s conftest$ac_exeext'
56704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705 (eval $ac_try) 2>&5
56706 ac_status=$?
56707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708 (exit $ac_status); }; }; then
56709 eval "$as_ac_var=yes"
56710 else
56711 echo "$as_me: failed program was:" >&5
56712 sed 's/^/| /' conftest.$ac_ext >&5
56714 eval "$as_ac_var=no"
56716 rm -f conftest.err conftest.$ac_objext \
56717 conftest$ac_exeext conftest.$ac_ext
56719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56721 if test `eval echo '${'$as_ac_var'}'` = yes; then
56722 cat >>confdefs.h <<_ACEOF
56723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56724 _ACEOF
56727 done
56734 echo "$as_me:$LINENO: checking for float trig functions" >&5
56735 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56736 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56737 echo $ECHO_N "(cached) $ECHO_C" >&6
56738 else
56742 ac_ext=cc
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56748 cat >conftest.$ac_ext <<_ACEOF
56749 /* confdefs.h. */
56750 _ACEOF
56751 cat confdefs.h >>conftest.$ac_ext
56752 cat >>conftest.$ac_ext <<_ACEOF
56753 /* end confdefs.h. */
56754 #include <math.h>
56756 main ()
56758 `for x in acosf asinf atanf \
56759 cosf sinf tanf \
56760 coshf sinhf tanhf; do echo "$x (0);"; done`
56762 return 0;
56764 _ACEOF
56765 rm -f conftest.$ac_objext
56766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56767 (eval $ac_compile) 2>conftest.er1
56768 ac_status=$?
56769 grep -v '^ *+' conftest.er1 >conftest.err
56770 rm -f conftest.er1
56771 cat conftest.err >&5
56772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56773 (exit $ac_status); } &&
56774 { ac_try='test -z "$ac_cxx_werror_flag"
56775 || test ! -s conftest.err'
56776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56777 (eval $ac_try) 2>&5
56778 ac_status=$?
56779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780 (exit $ac_status); }; } &&
56781 { ac_try='test -s conftest.$ac_objext'
56782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56783 (eval $ac_try) 2>&5
56784 ac_status=$?
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); }; }; then
56787 glibcxx_cv_func_float_trig_use=yes
56788 else
56789 echo "$as_me: failed program was:" >&5
56790 sed 's/^/| /' conftest.$ac_ext >&5
56792 glibcxx_cv_func_float_trig_use=no
56794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56795 ac_ext=c
56796 ac_cpp='$CPP $CPPFLAGS'
56797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56804 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56815 for ac_func in acosf asinf atanf \
56816 cosf sinf tanf \
56817 coshf sinhf tanhf
56819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56820 echo "$as_me:$LINENO: checking for $ac_func" >&5
56821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56822 if eval "test \"\${$as_ac_var+set}\" = set"; then
56823 echo $ECHO_N "(cached) $ECHO_C" >&6
56824 else
56825 if test x$gcc_no_link = xyes; then
56826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56828 { (exit 1); exit 1; }; }
56830 cat >conftest.$ac_ext <<_ACEOF
56831 /* confdefs.h. */
56832 _ACEOF
56833 cat confdefs.h >>conftest.$ac_ext
56834 cat >>conftest.$ac_ext <<_ACEOF
56835 /* end confdefs.h. */
56836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56838 #define $ac_func innocuous_$ac_func
56840 /* System header to define __stub macros and hopefully few prototypes,
56841 which can conflict with char $ac_func (); below.
56842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56843 <limits.h> exists even on freestanding compilers. */
56845 #ifdef __STDC__
56846 # include <limits.h>
56847 #else
56848 # include <assert.h>
56849 #endif
56851 #undef $ac_func
56853 /* Override any gcc2 internal prototype to avoid an error. */
56854 #ifdef __cplusplus
56855 extern "C"
56857 #endif
56858 /* We use char because int might match the return type of a gcc2
56859 builtin and then its argument prototype would still apply. */
56860 char $ac_func ();
56861 /* The GNU C library defines this for functions which it implements
56862 to always fail with ENOSYS. Some functions are actually named
56863 something starting with __ and the normal name is an alias. */
56864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56865 choke me
56866 #else
56867 char (*f) () = $ac_func;
56868 #endif
56869 #ifdef __cplusplus
56871 #endif
56874 main ()
56876 return f != $ac_func;
56878 return 0;
56880 _ACEOF
56881 rm -f conftest.$ac_objext conftest$ac_exeext
56882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56883 (eval $ac_link) 2>conftest.er1
56884 ac_status=$?
56885 grep -v '^ *+' conftest.er1 >conftest.err
56886 rm -f conftest.er1
56887 cat conftest.err >&5
56888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56889 (exit $ac_status); } &&
56890 { ac_try='test -z "$ac_c_werror_flag"
56891 || test ! -s conftest.err'
56892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56893 (eval $ac_try) 2>&5
56894 ac_status=$?
56895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896 (exit $ac_status); }; } &&
56897 { ac_try='test -s conftest$ac_exeext'
56898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56899 (eval $ac_try) 2>&5
56900 ac_status=$?
56901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56902 (exit $ac_status); }; }; then
56903 eval "$as_ac_var=yes"
56904 else
56905 echo "$as_me: failed program was:" >&5
56906 sed 's/^/| /' conftest.$ac_ext >&5
56908 eval "$as_ac_var=no"
56910 rm -f conftest.err conftest.$ac_objext \
56911 conftest$ac_exeext conftest.$ac_ext
56913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56915 if test `eval echo '${'$as_ac_var'}'` = yes; then
56916 cat >>confdefs.h <<_ACEOF
56917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56918 _ACEOF
56921 done
56926 echo "$as_me:$LINENO: checking for float round functions" >&5
56927 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56928 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56929 echo $ECHO_N "(cached) $ECHO_C" >&6
56930 else
56934 ac_ext=cc
56935 ac_cpp='$CXXCPP $CPPFLAGS'
56936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56940 cat >conftest.$ac_ext <<_ACEOF
56941 /* confdefs.h. */
56942 _ACEOF
56943 cat confdefs.h >>conftest.$ac_ext
56944 cat >>conftest.$ac_ext <<_ACEOF
56945 /* end confdefs.h. */
56946 #include <math.h>
56948 main ()
56950 `for x in ceilf floorf; do echo "$x (0);"; done`
56952 return 0;
56954 _ACEOF
56955 rm -f conftest.$ac_objext
56956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56957 (eval $ac_compile) 2>conftest.er1
56958 ac_status=$?
56959 grep -v '^ *+' conftest.er1 >conftest.err
56960 rm -f conftest.er1
56961 cat conftest.err >&5
56962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56963 (exit $ac_status); } &&
56964 { ac_try='test -z "$ac_cxx_werror_flag"
56965 || test ! -s conftest.err'
56966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56967 (eval $ac_try) 2>&5
56968 ac_status=$?
56969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970 (exit $ac_status); }; } &&
56971 { ac_try='test -s conftest.$ac_objext'
56972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56973 (eval $ac_try) 2>&5
56974 ac_status=$?
56975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976 (exit $ac_status); }; }; then
56977 glibcxx_cv_func_float_round_use=yes
56978 else
56979 echo "$as_me: failed program was:" >&5
56980 sed 's/^/| /' conftest.$ac_ext >&5
56982 glibcxx_cv_func_float_round_use=no
56984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56985 ac_ext=c
56986 ac_cpp='$CPP $CPPFLAGS'
56987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56994 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56995 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56998 for ac_func in ceilf floorf
57000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57001 echo "$as_me:$LINENO: checking for $ac_func" >&5
57002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57003 if eval "test \"\${$as_ac_var+set}\" = set"; then
57004 echo $ECHO_N "(cached) $ECHO_C" >&6
57005 else
57006 if test x$gcc_no_link = xyes; then
57007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57009 { (exit 1); exit 1; }; }
57011 cat >conftest.$ac_ext <<_ACEOF
57012 /* confdefs.h. */
57013 _ACEOF
57014 cat confdefs.h >>conftest.$ac_ext
57015 cat >>conftest.$ac_ext <<_ACEOF
57016 /* end confdefs.h. */
57017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57019 #define $ac_func innocuous_$ac_func
57021 /* System header to define __stub macros and hopefully few prototypes,
57022 which can conflict with char $ac_func (); below.
57023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57024 <limits.h> exists even on freestanding compilers. */
57026 #ifdef __STDC__
57027 # include <limits.h>
57028 #else
57029 # include <assert.h>
57030 #endif
57032 #undef $ac_func
57034 /* Override any gcc2 internal prototype to avoid an error. */
57035 #ifdef __cplusplus
57036 extern "C"
57038 #endif
57039 /* We use char because int might match the return type of a gcc2
57040 builtin and then its argument prototype would still apply. */
57041 char $ac_func ();
57042 /* The GNU C library defines this for functions which it implements
57043 to always fail with ENOSYS. Some functions are actually named
57044 something starting with __ and the normal name is an alias. */
57045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57046 choke me
57047 #else
57048 char (*f) () = $ac_func;
57049 #endif
57050 #ifdef __cplusplus
57052 #endif
57055 main ()
57057 return f != $ac_func;
57059 return 0;
57061 _ACEOF
57062 rm -f conftest.$ac_objext conftest$ac_exeext
57063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57064 (eval $ac_link) 2>conftest.er1
57065 ac_status=$?
57066 grep -v '^ *+' conftest.er1 >conftest.err
57067 rm -f conftest.er1
57068 cat conftest.err >&5
57069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57070 (exit $ac_status); } &&
57071 { ac_try='test -z "$ac_c_werror_flag"
57072 || test ! -s conftest.err'
57073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57074 (eval $ac_try) 2>&5
57075 ac_status=$?
57076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077 (exit $ac_status); }; } &&
57078 { ac_try='test -s conftest$ac_exeext'
57079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57080 (eval $ac_try) 2>&5
57081 ac_status=$?
57082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57083 (exit $ac_status); }; }; then
57084 eval "$as_ac_var=yes"
57085 else
57086 echo "$as_me: failed program was:" >&5
57087 sed 's/^/| /' conftest.$ac_ext >&5
57089 eval "$as_ac_var=no"
57091 rm -f conftest.err conftest.$ac_objext \
57092 conftest$ac_exeext conftest.$ac_ext
57094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57096 if test `eval echo '${'$as_ac_var'}'` = yes; then
57097 cat >>confdefs.h <<_ACEOF
57098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57099 _ACEOF
57102 done
57108 echo "$as_me:$LINENO: checking for expf declaration" >&5
57109 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57110 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57111 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57112 echo $ECHO_N "(cached) $ECHO_C" >&6
57113 else
57117 ac_ext=cc
57118 ac_cpp='$CXXCPP $CPPFLAGS'
57119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57123 cat >conftest.$ac_ext <<_ACEOF
57124 /* confdefs.h. */
57125 _ACEOF
57126 cat confdefs.h >>conftest.$ac_ext
57127 cat >>conftest.$ac_ext <<_ACEOF
57128 /* end confdefs.h. */
57129 #include <math.h>
57130 #ifdef HAVE_IEEEFP_H
57131 #include <ieeefp.h>
57132 #endif
57135 main ()
57137 expf(0);
57139 return 0;
57141 _ACEOF
57142 rm -f conftest.$ac_objext
57143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57144 (eval $ac_compile) 2>conftest.er1
57145 ac_status=$?
57146 grep -v '^ *+' conftest.er1 >conftest.err
57147 rm -f conftest.er1
57148 cat conftest.err >&5
57149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57150 (exit $ac_status); } &&
57151 { ac_try='test -z "$ac_cxx_werror_flag"
57152 || test ! -s conftest.err'
57153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57154 (eval $ac_try) 2>&5
57155 ac_status=$?
57156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57157 (exit $ac_status); }; } &&
57158 { ac_try='test -s conftest.$ac_objext'
57159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57160 (eval $ac_try) 2>&5
57161 ac_status=$?
57162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163 (exit $ac_status); }; }; then
57164 glibcxx_cv_func_expf_use=yes
57165 else
57166 echo "$as_me: failed program was:" >&5
57167 sed 's/^/| /' conftest.$ac_ext >&5
57169 glibcxx_cv_func_expf_use=no
57171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57183 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57185 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57187 for ac_func in expf
57189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57190 echo "$as_me:$LINENO: checking for $ac_func" >&5
57191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57192 if eval "test \"\${$as_ac_var+set}\" = set"; then
57193 echo $ECHO_N "(cached) $ECHO_C" >&6
57194 else
57195 if test x$gcc_no_link = xyes; then
57196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57198 { (exit 1); exit 1; }; }
57200 cat >conftest.$ac_ext <<_ACEOF
57201 /* confdefs.h. */
57202 _ACEOF
57203 cat confdefs.h >>conftest.$ac_ext
57204 cat >>conftest.$ac_ext <<_ACEOF
57205 /* end confdefs.h. */
57206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57208 #define $ac_func innocuous_$ac_func
57210 /* System header to define __stub macros and hopefully few prototypes,
57211 which can conflict with char $ac_func (); below.
57212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57213 <limits.h> exists even on freestanding compilers. */
57215 #ifdef __STDC__
57216 # include <limits.h>
57217 #else
57218 # include <assert.h>
57219 #endif
57221 #undef $ac_func
57223 /* Override any gcc2 internal prototype to avoid an error. */
57224 #ifdef __cplusplus
57225 extern "C"
57227 #endif
57228 /* We use char because int might match the return type of a gcc2
57229 builtin and then its argument prototype would still apply. */
57230 char $ac_func ();
57231 /* The GNU C library defines this for functions which it implements
57232 to always fail with ENOSYS. Some functions are actually named
57233 something starting with __ and the normal name is an alias. */
57234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57235 choke me
57236 #else
57237 char (*f) () = $ac_func;
57238 #endif
57239 #ifdef __cplusplus
57241 #endif
57244 main ()
57246 return f != $ac_func;
57248 return 0;
57250 _ACEOF
57251 rm -f conftest.$ac_objext conftest$ac_exeext
57252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57253 (eval $ac_link) 2>conftest.er1
57254 ac_status=$?
57255 grep -v '^ *+' conftest.er1 >conftest.err
57256 rm -f conftest.er1
57257 cat conftest.err >&5
57258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57259 (exit $ac_status); } &&
57260 { ac_try='test -z "$ac_c_werror_flag"
57261 || test ! -s conftest.err'
57262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57263 (eval $ac_try) 2>&5
57264 ac_status=$?
57265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57266 (exit $ac_status); }; } &&
57267 { ac_try='test -s conftest$ac_exeext'
57268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57269 (eval $ac_try) 2>&5
57270 ac_status=$?
57271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57272 (exit $ac_status); }; }; then
57273 eval "$as_ac_var=yes"
57274 else
57275 echo "$as_me: failed program was:" >&5
57276 sed 's/^/| /' conftest.$ac_ext >&5
57278 eval "$as_ac_var=no"
57280 rm -f conftest.err conftest.$ac_objext \
57281 conftest$ac_exeext conftest.$ac_ext
57283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57285 if test `eval echo '${'$as_ac_var'}'` = yes; then
57286 cat >>confdefs.h <<_ACEOF
57287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57288 _ACEOF
57291 done
57293 else
57295 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57296 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57297 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57298 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57299 echo $ECHO_N "(cached) $ECHO_C" >&6
57300 else
57304 ac_ext=cc
57305 ac_cpp='$CXXCPP $CPPFLAGS'
57306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57310 cat >conftest.$ac_ext <<_ACEOF
57311 /* confdefs.h. */
57312 _ACEOF
57313 cat confdefs.h >>conftest.$ac_ext
57314 cat >>conftest.$ac_ext <<_ACEOF
57315 /* end confdefs.h. */
57316 #include <math.h>
57317 #ifdef HAVE_IEEEFP_H
57318 #include <ieeefp.h>
57319 #endif
57322 main ()
57324 _expf(0);
57326 return 0;
57328 _ACEOF
57329 rm -f conftest.$ac_objext
57330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57331 (eval $ac_compile) 2>conftest.er1
57332 ac_status=$?
57333 grep -v '^ *+' conftest.er1 >conftest.err
57334 rm -f conftest.er1
57335 cat conftest.err >&5
57336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57337 (exit $ac_status); } &&
57338 { ac_try='test -z "$ac_cxx_werror_flag"
57339 || test ! -s conftest.err'
57340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57341 (eval $ac_try) 2>&5
57342 ac_status=$?
57343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57344 (exit $ac_status); }; } &&
57345 { ac_try='test -s conftest.$ac_objext'
57346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57347 (eval $ac_try) 2>&5
57348 ac_status=$?
57349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57350 (exit $ac_status); }; }; then
57351 glibcxx_cv_func__expf_use=yes
57352 else
57353 echo "$as_me: failed program was:" >&5
57354 sed 's/^/| /' conftest.$ac_ext >&5
57356 glibcxx_cv_func__expf_use=no
57358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57359 ac_ext=c
57360 ac_cpp='$CPP $CPPFLAGS'
57361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57370 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57372 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57374 for ac_func in _expf
57376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57377 echo "$as_me:$LINENO: checking for $ac_func" >&5
57378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57379 if eval "test \"\${$as_ac_var+set}\" = set"; then
57380 echo $ECHO_N "(cached) $ECHO_C" >&6
57381 else
57382 if test x$gcc_no_link = xyes; then
57383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57385 { (exit 1); exit 1; }; }
57387 cat >conftest.$ac_ext <<_ACEOF
57388 /* confdefs.h. */
57389 _ACEOF
57390 cat confdefs.h >>conftest.$ac_ext
57391 cat >>conftest.$ac_ext <<_ACEOF
57392 /* end confdefs.h. */
57393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57395 #define $ac_func innocuous_$ac_func
57397 /* System header to define __stub macros and hopefully few prototypes,
57398 which can conflict with char $ac_func (); below.
57399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57400 <limits.h> exists even on freestanding compilers. */
57402 #ifdef __STDC__
57403 # include <limits.h>
57404 #else
57405 # include <assert.h>
57406 #endif
57408 #undef $ac_func
57410 /* Override any gcc2 internal prototype to avoid an error. */
57411 #ifdef __cplusplus
57412 extern "C"
57414 #endif
57415 /* We use char because int might match the return type of a gcc2
57416 builtin and then its argument prototype would still apply. */
57417 char $ac_func ();
57418 /* The GNU C library defines this for functions which it implements
57419 to always fail with ENOSYS. Some functions are actually named
57420 something starting with __ and the normal name is an alias. */
57421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57422 choke me
57423 #else
57424 char (*f) () = $ac_func;
57425 #endif
57426 #ifdef __cplusplus
57428 #endif
57431 main ()
57433 return f != $ac_func;
57435 return 0;
57437 _ACEOF
57438 rm -f conftest.$ac_objext conftest$ac_exeext
57439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57440 (eval $ac_link) 2>conftest.er1
57441 ac_status=$?
57442 grep -v '^ *+' conftest.er1 >conftest.err
57443 rm -f conftest.er1
57444 cat conftest.err >&5
57445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446 (exit $ac_status); } &&
57447 { ac_try='test -z "$ac_c_werror_flag"
57448 || test ! -s conftest.err'
57449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57450 (eval $ac_try) 2>&5
57451 ac_status=$?
57452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57453 (exit $ac_status); }; } &&
57454 { ac_try='test -s conftest$ac_exeext'
57455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57456 (eval $ac_try) 2>&5
57457 ac_status=$?
57458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57459 (exit $ac_status); }; }; then
57460 eval "$as_ac_var=yes"
57461 else
57462 echo "$as_me: failed program was:" >&5
57463 sed 's/^/| /' conftest.$ac_ext >&5
57465 eval "$as_ac_var=no"
57467 rm -f conftest.err conftest.$ac_objext \
57468 conftest$ac_exeext conftest.$ac_ext
57470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57472 if test `eval echo '${'$as_ac_var'}'` = yes; then
57473 cat >>confdefs.h <<_ACEOF
57474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57475 _ACEOF
57478 done
57485 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57486 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57487 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57488 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57489 echo $ECHO_N "(cached) $ECHO_C" >&6
57490 else
57494 ac_ext=cc
57495 ac_cpp='$CXXCPP $CPPFLAGS'
57496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57500 cat >conftest.$ac_ext <<_ACEOF
57501 /* confdefs.h. */
57502 _ACEOF
57503 cat confdefs.h >>conftest.$ac_ext
57504 cat >>conftest.$ac_ext <<_ACEOF
57505 /* end confdefs.h. */
57506 #include <math.h>
57507 #ifdef HAVE_IEEEFP_H
57508 #include <ieeefp.h>
57509 #endif
57512 main ()
57514 isnanf(0);
57516 return 0;
57518 _ACEOF
57519 rm -f conftest.$ac_objext
57520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57521 (eval $ac_compile) 2>conftest.er1
57522 ac_status=$?
57523 grep -v '^ *+' conftest.er1 >conftest.err
57524 rm -f conftest.er1
57525 cat conftest.err >&5
57526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57527 (exit $ac_status); } &&
57528 { ac_try='test -z "$ac_cxx_werror_flag"
57529 || test ! -s conftest.err'
57530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57531 (eval $ac_try) 2>&5
57532 ac_status=$?
57533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57534 (exit $ac_status); }; } &&
57535 { ac_try='test -s conftest.$ac_objext'
57536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57537 (eval $ac_try) 2>&5
57538 ac_status=$?
57539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57540 (exit $ac_status); }; }; then
57541 glibcxx_cv_func_isnanf_use=yes
57542 else
57543 echo "$as_me: failed program was:" >&5
57544 sed 's/^/| /' conftest.$ac_ext >&5
57546 glibcxx_cv_func_isnanf_use=no
57548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57549 ac_ext=c
57550 ac_cpp='$CPP $CPPFLAGS'
57551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57560 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57562 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57564 for ac_func in isnanf
57566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57567 echo "$as_me:$LINENO: checking for $ac_func" >&5
57568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57569 if eval "test \"\${$as_ac_var+set}\" = set"; then
57570 echo $ECHO_N "(cached) $ECHO_C" >&6
57571 else
57572 if test x$gcc_no_link = xyes; then
57573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57575 { (exit 1); exit 1; }; }
57577 cat >conftest.$ac_ext <<_ACEOF
57578 /* confdefs.h. */
57579 _ACEOF
57580 cat confdefs.h >>conftest.$ac_ext
57581 cat >>conftest.$ac_ext <<_ACEOF
57582 /* end confdefs.h. */
57583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57585 #define $ac_func innocuous_$ac_func
57587 /* System header to define __stub macros and hopefully few prototypes,
57588 which can conflict with char $ac_func (); below.
57589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57590 <limits.h> exists even on freestanding compilers. */
57592 #ifdef __STDC__
57593 # include <limits.h>
57594 #else
57595 # include <assert.h>
57596 #endif
57598 #undef $ac_func
57600 /* Override any gcc2 internal prototype to avoid an error. */
57601 #ifdef __cplusplus
57602 extern "C"
57604 #endif
57605 /* We use char because int might match the return type of a gcc2
57606 builtin and then its argument prototype would still apply. */
57607 char $ac_func ();
57608 /* The GNU C library defines this for functions which it implements
57609 to always fail with ENOSYS. Some functions are actually named
57610 something starting with __ and the normal name is an alias. */
57611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57612 choke me
57613 #else
57614 char (*f) () = $ac_func;
57615 #endif
57616 #ifdef __cplusplus
57618 #endif
57621 main ()
57623 return f != $ac_func;
57625 return 0;
57627 _ACEOF
57628 rm -f conftest.$ac_objext conftest$ac_exeext
57629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57630 (eval $ac_link) 2>conftest.er1
57631 ac_status=$?
57632 grep -v '^ *+' conftest.er1 >conftest.err
57633 rm -f conftest.er1
57634 cat conftest.err >&5
57635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57636 (exit $ac_status); } &&
57637 { ac_try='test -z "$ac_c_werror_flag"
57638 || test ! -s conftest.err'
57639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57640 (eval $ac_try) 2>&5
57641 ac_status=$?
57642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643 (exit $ac_status); }; } &&
57644 { ac_try='test -s conftest$ac_exeext'
57645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57646 (eval $ac_try) 2>&5
57647 ac_status=$?
57648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57649 (exit $ac_status); }; }; then
57650 eval "$as_ac_var=yes"
57651 else
57652 echo "$as_me: failed program was:" >&5
57653 sed 's/^/| /' conftest.$ac_ext >&5
57655 eval "$as_ac_var=no"
57657 rm -f conftest.err conftest.$ac_objext \
57658 conftest$ac_exeext conftest.$ac_ext
57660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57662 if test `eval echo '${'$as_ac_var'}'` = yes; then
57663 cat >>confdefs.h <<_ACEOF
57664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57665 _ACEOF
57668 done
57670 else
57672 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57673 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57674 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57675 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57676 echo $ECHO_N "(cached) $ECHO_C" >&6
57677 else
57681 ac_ext=cc
57682 ac_cpp='$CXXCPP $CPPFLAGS'
57683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57687 cat >conftest.$ac_ext <<_ACEOF
57688 /* confdefs.h. */
57689 _ACEOF
57690 cat confdefs.h >>conftest.$ac_ext
57691 cat >>conftest.$ac_ext <<_ACEOF
57692 /* end confdefs.h. */
57693 #include <math.h>
57694 #ifdef HAVE_IEEEFP_H
57695 #include <ieeefp.h>
57696 #endif
57699 main ()
57701 _isnanf(0);
57703 return 0;
57705 _ACEOF
57706 rm -f conftest.$ac_objext
57707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57708 (eval $ac_compile) 2>conftest.er1
57709 ac_status=$?
57710 grep -v '^ *+' conftest.er1 >conftest.err
57711 rm -f conftest.er1
57712 cat conftest.err >&5
57713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57714 (exit $ac_status); } &&
57715 { ac_try='test -z "$ac_cxx_werror_flag"
57716 || test ! -s conftest.err'
57717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57718 (eval $ac_try) 2>&5
57719 ac_status=$?
57720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57721 (exit $ac_status); }; } &&
57722 { ac_try='test -s conftest.$ac_objext'
57723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57724 (eval $ac_try) 2>&5
57725 ac_status=$?
57726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57727 (exit $ac_status); }; }; then
57728 glibcxx_cv_func__isnanf_use=yes
57729 else
57730 echo "$as_me: failed program was:" >&5
57731 sed 's/^/| /' conftest.$ac_ext >&5
57733 glibcxx_cv_func__isnanf_use=no
57735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57736 ac_ext=c
57737 ac_cpp='$CPP $CPPFLAGS'
57738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57747 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57749 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57751 for ac_func in _isnanf
57753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57754 echo "$as_me:$LINENO: checking for $ac_func" >&5
57755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57756 if eval "test \"\${$as_ac_var+set}\" = set"; then
57757 echo $ECHO_N "(cached) $ECHO_C" >&6
57758 else
57759 if test x$gcc_no_link = xyes; then
57760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57762 { (exit 1); exit 1; }; }
57764 cat >conftest.$ac_ext <<_ACEOF
57765 /* confdefs.h. */
57766 _ACEOF
57767 cat confdefs.h >>conftest.$ac_ext
57768 cat >>conftest.$ac_ext <<_ACEOF
57769 /* end confdefs.h. */
57770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57772 #define $ac_func innocuous_$ac_func
57774 /* System header to define __stub macros and hopefully few prototypes,
57775 which can conflict with char $ac_func (); below.
57776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57777 <limits.h> exists even on freestanding compilers. */
57779 #ifdef __STDC__
57780 # include <limits.h>
57781 #else
57782 # include <assert.h>
57783 #endif
57785 #undef $ac_func
57787 /* Override any gcc2 internal prototype to avoid an error. */
57788 #ifdef __cplusplus
57789 extern "C"
57791 #endif
57792 /* We use char because int might match the return type of a gcc2
57793 builtin and then its argument prototype would still apply. */
57794 char $ac_func ();
57795 /* The GNU C library defines this for functions which it implements
57796 to always fail with ENOSYS. Some functions are actually named
57797 something starting with __ and the normal name is an alias. */
57798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57799 choke me
57800 #else
57801 char (*f) () = $ac_func;
57802 #endif
57803 #ifdef __cplusplus
57805 #endif
57808 main ()
57810 return f != $ac_func;
57812 return 0;
57814 _ACEOF
57815 rm -f conftest.$ac_objext conftest$ac_exeext
57816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57817 (eval $ac_link) 2>conftest.er1
57818 ac_status=$?
57819 grep -v '^ *+' conftest.er1 >conftest.err
57820 rm -f conftest.er1
57821 cat conftest.err >&5
57822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57823 (exit $ac_status); } &&
57824 { ac_try='test -z "$ac_c_werror_flag"
57825 || test ! -s conftest.err'
57826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57827 (eval $ac_try) 2>&5
57828 ac_status=$?
57829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830 (exit $ac_status); }; } &&
57831 { ac_try='test -s conftest$ac_exeext'
57832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57833 (eval $ac_try) 2>&5
57834 ac_status=$?
57835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57836 (exit $ac_status); }; }; then
57837 eval "$as_ac_var=yes"
57838 else
57839 echo "$as_me: failed program was:" >&5
57840 sed 's/^/| /' conftest.$ac_ext >&5
57842 eval "$as_ac_var=no"
57844 rm -f conftest.err conftest.$ac_objext \
57845 conftest$ac_exeext conftest.$ac_ext
57847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57849 if test `eval echo '${'$as_ac_var'}'` = yes; then
57850 cat >>confdefs.h <<_ACEOF
57851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57852 _ACEOF
57855 done
57862 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57863 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57864 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57865 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57866 echo $ECHO_N "(cached) $ECHO_C" >&6
57867 else
57871 ac_ext=cc
57872 ac_cpp='$CXXCPP $CPPFLAGS'
57873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57877 cat >conftest.$ac_ext <<_ACEOF
57878 /* confdefs.h. */
57879 _ACEOF
57880 cat confdefs.h >>conftest.$ac_ext
57881 cat >>conftest.$ac_ext <<_ACEOF
57882 /* end confdefs.h. */
57883 #include <math.h>
57884 #ifdef HAVE_IEEEFP_H
57885 #include <ieeefp.h>
57886 #endif
57889 main ()
57891 isinff(0);
57893 return 0;
57895 _ACEOF
57896 rm -f conftest.$ac_objext
57897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57898 (eval $ac_compile) 2>conftest.er1
57899 ac_status=$?
57900 grep -v '^ *+' conftest.er1 >conftest.err
57901 rm -f conftest.er1
57902 cat conftest.err >&5
57903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57904 (exit $ac_status); } &&
57905 { ac_try='test -z "$ac_cxx_werror_flag"
57906 || test ! -s conftest.err'
57907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57908 (eval $ac_try) 2>&5
57909 ac_status=$?
57910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57911 (exit $ac_status); }; } &&
57912 { ac_try='test -s conftest.$ac_objext'
57913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57914 (eval $ac_try) 2>&5
57915 ac_status=$?
57916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57917 (exit $ac_status); }; }; then
57918 glibcxx_cv_func_isinff_use=yes
57919 else
57920 echo "$as_me: failed program was:" >&5
57921 sed 's/^/| /' conftest.$ac_ext >&5
57923 glibcxx_cv_func_isinff_use=no
57925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57926 ac_ext=c
57927 ac_cpp='$CPP $CPPFLAGS'
57928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57937 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57939 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57941 for ac_func in isinff
57943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57944 echo "$as_me:$LINENO: checking for $ac_func" >&5
57945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57946 if eval "test \"\${$as_ac_var+set}\" = set"; then
57947 echo $ECHO_N "(cached) $ECHO_C" >&6
57948 else
57949 if test x$gcc_no_link = xyes; then
57950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57952 { (exit 1); exit 1; }; }
57954 cat >conftest.$ac_ext <<_ACEOF
57955 /* confdefs.h. */
57956 _ACEOF
57957 cat confdefs.h >>conftest.$ac_ext
57958 cat >>conftest.$ac_ext <<_ACEOF
57959 /* end confdefs.h. */
57960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57962 #define $ac_func innocuous_$ac_func
57964 /* System header to define __stub macros and hopefully few prototypes,
57965 which can conflict with char $ac_func (); below.
57966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57967 <limits.h> exists even on freestanding compilers. */
57969 #ifdef __STDC__
57970 # include <limits.h>
57971 #else
57972 # include <assert.h>
57973 #endif
57975 #undef $ac_func
57977 /* Override any gcc2 internal prototype to avoid an error. */
57978 #ifdef __cplusplus
57979 extern "C"
57981 #endif
57982 /* We use char because int might match the return type of a gcc2
57983 builtin and then its argument prototype would still apply. */
57984 char $ac_func ();
57985 /* The GNU C library defines this for functions which it implements
57986 to always fail with ENOSYS. Some functions are actually named
57987 something starting with __ and the normal name is an alias. */
57988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57989 choke me
57990 #else
57991 char (*f) () = $ac_func;
57992 #endif
57993 #ifdef __cplusplus
57995 #endif
57998 main ()
58000 return f != $ac_func;
58002 return 0;
58004 _ACEOF
58005 rm -f conftest.$ac_objext conftest$ac_exeext
58006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58007 (eval $ac_link) 2>conftest.er1
58008 ac_status=$?
58009 grep -v '^ *+' conftest.er1 >conftest.err
58010 rm -f conftest.er1
58011 cat conftest.err >&5
58012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58013 (exit $ac_status); } &&
58014 { ac_try='test -z "$ac_c_werror_flag"
58015 || test ! -s conftest.err'
58016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58017 (eval $ac_try) 2>&5
58018 ac_status=$?
58019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020 (exit $ac_status); }; } &&
58021 { ac_try='test -s conftest$ac_exeext'
58022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58023 (eval $ac_try) 2>&5
58024 ac_status=$?
58025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026 (exit $ac_status); }; }; then
58027 eval "$as_ac_var=yes"
58028 else
58029 echo "$as_me: failed program was:" >&5
58030 sed 's/^/| /' conftest.$ac_ext >&5
58032 eval "$as_ac_var=no"
58034 rm -f conftest.err conftest.$ac_objext \
58035 conftest$ac_exeext conftest.$ac_ext
58037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58039 if test `eval echo '${'$as_ac_var'}'` = yes; then
58040 cat >>confdefs.h <<_ACEOF
58041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58042 _ACEOF
58045 done
58047 else
58049 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58050 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58051 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58052 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58053 echo $ECHO_N "(cached) $ECHO_C" >&6
58054 else
58058 ac_ext=cc
58059 ac_cpp='$CXXCPP $CPPFLAGS'
58060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58064 cat >conftest.$ac_ext <<_ACEOF
58065 /* confdefs.h. */
58066 _ACEOF
58067 cat confdefs.h >>conftest.$ac_ext
58068 cat >>conftest.$ac_ext <<_ACEOF
58069 /* end confdefs.h. */
58070 #include <math.h>
58071 #ifdef HAVE_IEEEFP_H
58072 #include <ieeefp.h>
58073 #endif
58076 main ()
58078 _isinff(0);
58080 return 0;
58082 _ACEOF
58083 rm -f conftest.$ac_objext
58084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58085 (eval $ac_compile) 2>conftest.er1
58086 ac_status=$?
58087 grep -v '^ *+' conftest.er1 >conftest.err
58088 rm -f conftest.er1
58089 cat conftest.err >&5
58090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58091 (exit $ac_status); } &&
58092 { ac_try='test -z "$ac_cxx_werror_flag"
58093 || test ! -s conftest.err'
58094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58095 (eval $ac_try) 2>&5
58096 ac_status=$?
58097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58098 (exit $ac_status); }; } &&
58099 { ac_try='test -s conftest.$ac_objext'
58100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58101 (eval $ac_try) 2>&5
58102 ac_status=$?
58103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58104 (exit $ac_status); }; }; then
58105 glibcxx_cv_func__isinff_use=yes
58106 else
58107 echo "$as_me: failed program was:" >&5
58108 sed 's/^/| /' conftest.$ac_ext >&5
58110 glibcxx_cv_func__isinff_use=no
58112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58113 ac_ext=c
58114 ac_cpp='$CPP $CPPFLAGS'
58115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58124 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58126 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58128 for ac_func in _isinff
58130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58131 echo "$as_me:$LINENO: checking for $ac_func" >&5
58132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58133 if eval "test \"\${$as_ac_var+set}\" = set"; then
58134 echo $ECHO_N "(cached) $ECHO_C" >&6
58135 else
58136 if test x$gcc_no_link = xyes; then
58137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58139 { (exit 1); exit 1; }; }
58141 cat >conftest.$ac_ext <<_ACEOF
58142 /* confdefs.h. */
58143 _ACEOF
58144 cat confdefs.h >>conftest.$ac_ext
58145 cat >>conftest.$ac_ext <<_ACEOF
58146 /* end confdefs.h. */
58147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58149 #define $ac_func innocuous_$ac_func
58151 /* System header to define __stub macros and hopefully few prototypes,
58152 which can conflict with char $ac_func (); below.
58153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58154 <limits.h> exists even on freestanding compilers. */
58156 #ifdef __STDC__
58157 # include <limits.h>
58158 #else
58159 # include <assert.h>
58160 #endif
58162 #undef $ac_func
58164 /* Override any gcc2 internal prototype to avoid an error. */
58165 #ifdef __cplusplus
58166 extern "C"
58168 #endif
58169 /* We use char because int might match the return type of a gcc2
58170 builtin and then its argument prototype would still apply. */
58171 char $ac_func ();
58172 /* The GNU C library defines this for functions which it implements
58173 to always fail with ENOSYS. Some functions are actually named
58174 something starting with __ and the normal name is an alias. */
58175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58176 choke me
58177 #else
58178 char (*f) () = $ac_func;
58179 #endif
58180 #ifdef __cplusplus
58182 #endif
58185 main ()
58187 return f != $ac_func;
58189 return 0;
58191 _ACEOF
58192 rm -f conftest.$ac_objext conftest$ac_exeext
58193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58194 (eval $ac_link) 2>conftest.er1
58195 ac_status=$?
58196 grep -v '^ *+' conftest.er1 >conftest.err
58197 rm -f conftest.er1
58198 cat conftest.err >&5
58199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200 (exit $ac_status); } &&
58201 { ac_try='test -z "$ac_c_werror_flag"
58202 || test ! -s conftest.err'
58203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58204 (eval $ac_try) 2>&5
58205 ac_status=$?
58206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58207 (exit $ac_status); }; } &&
58208 { ac_try='test -s conftest$ac_exeext'
58209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58210 (eval $ac_try) 2>&5
58211 ac_status=$?
58212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58213 (exit $ac_status); }; }; then
58214 eval "$as_ac_var=yes"
58215 else
58216 echo "$as_me: failed program was:" >&5
58217 sed 's/^/| /' conftest.$ac_ext >&5
58219 eval "$as_ac_var=no"
58221 rm -f conftest.err conftest.$ac_objext \
58222 conftest$ac_exeext conftest.$ac_ext
58224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58226 if test `eval echo '${'$as_ac_var'}'` = yes; then
58227 cat >>confdefs.h <<_ACEOF
58228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58229 _ACEOF
58232 done
58239 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58240 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58241 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58242 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58243 echo $ECHO_N "(cached) $ECHO_C" >&6
58244 else
58248 ac_ext=cc
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat >conftest.$ac_ext <<_ACEOF
58255 /* confdefs.h. */
58256 _ACEOF
58257 cat confdefs.h >>conftest.$ac_ext
58258 cat >>conftest.$ac_ext <<_ACEOF
58259 /* end confdefs.h. */
58260 #include <math.h>
58262 main ()
58264 atan2f(0, 0);
58266 return 0;
58268 _ACEOF
58269 rm -f conftest.$ac_objext
58270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58271 (eval $ac_compile) 2>conftest.er1
58272 ac_status=$?
58273 grep -v '^ *+' conftest.er1 >conftest.err
58274 rm -f conftest.er1
58275 cat conftest.err >&5
58276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58277 (exit $ac_status); } &&
58278 { ac_try='test -z "$ac_cxx_werror_flag"
58279 || test ! -s conftest.err'
58280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58281 (eval $ac_try) 2>&5
58282 ac_status=$?
58283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58284 (exit $ac_status); }; } &&
58285 { ac_try='test -s conftest.$ac_objext'
58286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58287 (eval $ac_try) 2>&5
58288 ac_status=$?
58289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58290 (exit $ac_status); }; }; then
58291 glibcxx_cv_func_atan2f_use=yes
58292 else
58293 echo "$as_me: failed program was:" >&5
58294 sed 's/^/| /' conftest.$ac_ext >&5
58296 glibcxx_cv_func_atan2f_use=no
58298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58299 ac_ext=c
58300 ac_cpp='$CPP $CPPFLAGS'
58301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58310 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58312 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58314 for ac_func in atan2f
58316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58317 echo "$as_me:$LINENO: checking for $ac_func" >&5
58318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58319 if eval "test \"\${$as_ac_var+set}\" = set"; then
58320 echo $ECHO_N "(cached) $ECHO_C" >&6
58321 else
58322 if test x$gcc_no_link = xyes; then
58323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58325 { (exit 1); exit 1; }; }
58327 cat >conftest.$ac_ext <<_ACEOF
58328 /* confdefs.h. */
58329 _ACEOF
58330 cat confdefs.h >>conftest.$ac_ext
58331 cat >>conftest.$ac_ext <<_ACEOF
58332 /* end confdefs.h. */
58333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58335 #define $ac_func innocuous_$ac_func
58337 /* System header to define __stub macros and hopefully few prototypes,
58338 which can conflict with char $ac_func (); below.
58339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58340 <limits.h> exists even on freestanding compilers. */
58342 #ifdef __STDC__
58343 # include <limits.h>
58344 #else
58345 # include <assert.h>
58346 #endif
58348 #undef $ac_func
58350 /* Override any gcc2 internal prototype to avoid an error. */
58351 #ifdef __cplusplus
58352 extern "C"
58354 #endif
58355 /* We use char because int might match the return type of a gcc2
58356 builtin and then its argument prototype would still apply. */
58357 char $ac_func ();
58358 /* The GNU C library defines this for functions which it implements
58359 to always fail with ENOSYS. Some functions are actually named
58360 something starting with __ and the normal name is an alias. */
58361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58362 choke me
58363 #else
58364 char (*f) () = $ac_func;
58365 #endif
58366 #ifdef __cplusplus
58368 #endif
58371 main ()
58373 return f != $ac_func;
58375 return 0;
58377 _ACEOF
58378 rm -f conftest.$ac_objext conftest$ac_exeext
58379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58380 (eval $ac_link) 2>conftest.er1
58381 ac_status=$?
58382 grep -v '^ *+' conftest.er1 >conftest.err
58383 rm -f conftest.er1
58384 cat conftest.err >&5
58385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58386 (exit $ac_status); } &&
58387 { ac_try='test -z "$ac_c_werror_flag"
58388 || test ! -s conftest.err'
58389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58390 (eval $ac_try) 2>&5
58391 ac_status=$?
58392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58393 (exit $ac_status); }; } &&
58394 { ac_try='test -s conftest$ac_exeext'
58395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58396 (eval $ac_try) 2>&5
58397 ac_status=$?
58398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58399 (exit $ac_status); }; }; then
58400 eval "$as_ac_var=yes"
58401 else
58402 echo "$as_me: failed program was:" >&5
58403 sed 's/^/| /' conftest.$ac_ext >&5
58405 eval "$as_ac_var=no"
58407 rm -f conftest.err conftest.$ac_objext \
58408 conftest$ac_exeext conftest.$ac_ext
58410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58412 if test `eval echo '${'$as_ac_var'}'` = yes; then
58413 cat >>confdefs.h <<_ACEOF
58414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58415 _ACEOF
58418 done
58420 else
58422 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58423 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58424 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58425 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58426 echo $ECHO_N "(cached) $ECHO_C" >&6
58427 else
58431 ac_ext=cc
58432 ac_cpp='$CXXCPP $CPPFLAGS'
58433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58437 cat >conftest.$ac_ext <<_ACEOF
58438 /* confdefs.h. */
58439 _ACEOF
58440 cat confdefs.h >>conftest.$ac_ext
58441 cat >>conftest.$ac_ext <<_ACEOF
58442 /* end confdefs.h. */
58443 #include <math.h>
58445 main ()
58447 _atan2f(0, 0);
58449 return 0;
58451 _ACEOF
58452 rm -f conftest.$ac_objext
58453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58454 (eval $ac_compile) 2>conftest.er1
58455 ac_status=$?
58456 grep -v '^ *+' conftest.er1 >conftest.err
58457 rm -f conftest.er1
58458 cat conftest.err >&5
58459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58460 (exit $ac_status); } &&
58461 { ac_try='test -z "$ac_cxx_werror_flag"
58462 || test ! -s conftest.err'
58463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58464 (eval $ac_try) 2>&5
58465 ac_status=$?
58466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467 (exit $ac_status); }; } &&
58468 { ac_try='test -s conftest.$ac_objext'
58469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58470 (eval $ac_try) 2>&5
58471 ac_status=$?
58472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473 (exit $ac_status); }; }; then
58474 glibcxx_cv_func__atan2f_use=yes
58475 else
58476 echo "$as_me: failed program was:" >&5
58477 sed 's/^/| /' conftest.$ac_ext >&5
58479 glibcxx_cv_func__atan2f_use=no
58481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58482 ac_ext=c
58483 ac_cpp='$CPP $CPPFLAGS'
58484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58493 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58495 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58497 for ac_func in _atan2f
58499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58500 echo "$as_me:$LINENO: checking for $ac_func" >&5
58501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58502 if eval "test \"\${$as_ac_var+set}\" = set"; then
58503 echo $ECHO_N "(cached) $ECHO_C" >&6
58504 else
58505 if test x$gcc_no_link = xyes; then
58506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58508 { (exit 1); exit 1; }; }
58510 cat >conftest.$ac_ext <<_ACEOF
58511 /* confdefs.h. */
58512 _ACEOF
58513 cat confdefs.h >>conftest.$ac_ext
58514 cat >>conftest.$ac_ext <<_ACEOF
58515 /* end confdefs.h. */
58516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58518 #define $ac_func innocuous_$ac_func
58520 /* System header to define __stub macros and hopefully few prototypes,
58521 which can conflict with char $ac_func (); below.
58522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58523 <limits.h> exists even on freestanding compilers. */
58525 #ifdef __STDC__
58526 # include <limits.h>
58527 #else
58528 # include <assert.h>
58529 #endif
58531 #undef $ac_func
58533 /* Override any gcc2 internal prototype to avoid an error. */
58534 #ifdef __cplusplus
58535 extern "C"
58537 #endif
58538 /* We use char because int might match the return type of a gcc2
58539 builtin and then its argument prototype would still apply. */
58540 char $ac_func ();
58541 /* The GNU C library defines this for functions which it implements
58542 to always fail with ENOSYS. Some functions are actually named
58543 something starting with __ and the normal name is an alias. */
58544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58545 choke me
58546 #else
58547 char (*f) () = $ac_func;
58548 #endif
58549 #ifdef __cplusplus
58551 #endif
58554 main ()
58556 return f != $ac_func;
58558 return 0;
58560 _ACEOF
58561 rm -f conftest.$ac_objext conftest$ac_exeext
58562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58563 (eval $ac_link) 2>conftest.er1
58564 ac_status=$?
58565 grep -v '^ *+' conftest.er1 >conftest.err
58566 rm -f conftest.er1
58567 cat conftest.err >&5
58568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58569 (exit $ac_status); } &&
58570 { ac_try='test -z "$ac_c_werror_flag"
58571 || test ! -s conftest.err'
58572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58573 (eval $ac_try) 2>&5
58574 ac_status=$?
58575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58576 (exit $ac_status); }; } &&
58577 { ac_try='test -s conftest$ac_exeext'
58578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58579 (eval $ac_try) 2>&5
58580 ac_status=$?
58581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582 (exit $ac_status); }; }; then
58583 eval "$as_ac_var=yes"
58584 else
58585 echo "$as_me: failed program was:" >&5
58586 sed 's/^/| /' conftest.$ac_ext >&5
58588 eval "$as_ac_var=no"
58590 rm -f conftest.err conftest.$ac_objext \
58591 conftest$ac_exeext conftest.$ac_ext
58593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58595 if test `eval echo '${'$as_ac_var'}'` = yes; then
58596 cat >>confdefs.h <<_ACEOF
58597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58598 _ACEOF
58601 done
58608 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58609 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58610 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58611 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58612 echo $ECHO_N "(cached) $ECHO_C" >&6
58613 else
58617 ac_ext=cc
58618 ac_cpp='$CXXCPP $CPPFLAGS'
58619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58623 cat >conftest.$ac_ext <<_ACEOF
58624 /* confdefs.h. */
58625 _ACEOF
58626 cat confdefs.h >>conftest.$ac_ext
58627 cat >>conftest.$ac_ext <<_ACEOF
58628 /* end confdefs.h. */
58629 #include <math.h>
58630 #ifdef HAVE_IEEEFP_H
58631 #include <ieeefp.h>
58632 #endif
58635 main ()
58637 fabsf(0);
58639 return 0;
58641 _ACEOF
58642 rm -f conftest.$ac_objext
58643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58644 (eval $ac_compile) 2>conftest.er1
58645 ac_status=$?
58646 grep -v '^ *+' conftest.er1 >conftest.err
58647 rm -f conftest.er1
58648 cat conftest.err >&5
58649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58650 (exit $ac_status); } &&
58651 { ac_try='test -z "$ac_cxx_werror_flag"
58652 || test ! -s conftest.err'
58653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58654 (eval $ac_try) 2>&5
58655 ac_status=$?
58656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657 (exit $ac_status); }; } &&
58658 { ac_try='test -s conftest.$ac_objext'
58659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58660 (eval $ac_try) 2>&5
58661 ac_status=$?
58662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58663 (exit $ac_status); }; }; then
58664 glibcxx_cv_func_fabsf_use=yes
58665 else
58666 echo "$as_me: failed program was:" >&5
58667 sed 's/^/| /' conftest.$ac_ext >&5
58669 glibcxx_cv_func_fabsf_use=no
58671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58683 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58685 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58687 for ac_func in fabsf
58689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58690 echo "$as_me:$LINENO: checking for $ac_func" >&5
58691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58692 if eval "test \"\${$as_ac_var+set}\" = set"; then
58693 echo $ECHO_N "(cached) $ECHO_C" >&6
58694 else
58695 if test x$gcc_no_link = xyes; then
58696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58698 { (exit 1); exit 1; }; }
58700 cat >conftest.$ac_ext <<_ACEOF
58701 /* confdefs.h. */
58702 _ACEOF
58703 cat confdefs.h >>conftest.$ac_ext
58704 cat >>conftest.$ac_ext <<_ACEOF
58705 /* end confdefs.h. */
58706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58708 #define $ac_func innocuous_$ac_func
58710 /* System header to define __stub macros and hopefully few prototypes,
58711 which can conflict with char $ac_func (); below.
58712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58713 <limits.h> exists even on freestanding compilers. */
58715 #ifdef __STDC__
58716 # include <limits.h>
58717 #else
58718 # include <assert.h>
58719 #endif
58721 #undef $ac_func
58723 /* Override any gcc2 internal prototype to avoid an error. */
58724 #ifdef __cplusplus
58725 extern "C"
58727 #endif
58728 /* We use char because int might match the return type of a gcc2
58729 builtin and then its argument prototype would still apply. */
58730 char $ac_func ();
58731 /* The GNU C library defines this for functions which it implements
58732 to always fail with ENOSYS. Some functions are actually named
58733 something starting with __ and the normal name is an alias. */
58734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58735 choke me
58736 #else
58737 char (*f) () = $ac_func;
58738 #endif
58739 #ifdef __cplusplus
58741 #endif
58744 main ()
58746 return f != $ac_func;
58748 return 0;
58750 _ACEOF
58751 rm -f conftest.$ac_objext conftest$ac_exeext
58752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58753 (eval $ac_link) 2>conftest.er1
58754 ac_status=$?
58755 grep -v '^ *+' conftest.er1 >conftest.err
58756 rm -f conftest.er1
58757 cat conftest.err >&5
58758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58759 (exit $ac_status); } &&
58760 { ac_try='test -z "$ac_c_werror_flag"
58761 || test ! -s conftest.err'
58762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58763 (eval $ac_try) 2>&5
58764 ac_status=$?
58765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766 (exit $ac_status); }; } &&
58767 { ac_try='test -s conftest$ac_exeext'
58768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58769 (eval $ac_try) 2>&5
58770 ac_status=$?
58771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58772 (exit $ac_status); }; }; then
58773 eval "$as_ac_var=yes"
58774 else
58775 echo "$as_me: failed program was:" >&5
58776 sed 's/^/| /' conftest.$ac_ext >&5
58778 eval "$as_ac_var=no"
58780 rm -f conftest.err conftest.$ac_objext \
58781 conftest$ac_exeext conftest.$ac_ext
58783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58785 if test `eval echo '${'$as_ac_var'}'` = yes; then
58786 cat >>confdefs.h <<_ACEOF
58787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58788 _ACEOF
58791 done
58793 else
58795 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58796 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58797 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58798 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58799 echo $ECHO_N "(cached) $ECHO_C" >&6
58800 else
58804 ac_ext=cc
58805 ac_cpp='$CXXCPP $CPPFLAGS'
58806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58810 cat >conftest.$ac_ext <<_ACEOF
58811 /* confdefs.h. */
58812 _ACEOF
58813 cat confdefs.h >>conftest.$ac_ext
58814 cat >>conftest.$ac_ext <<_ACEOF
58815 /* end confdefs.h. */
58816 #include <math.h>
58817 #ifdef HAVE_IEEEFP_H
58818 #include <ieeefp.h>
58819 #endif
58822 main ()
58824 _fabsf(0);
58826 return 0;
58828 _ACEOF
58829 rm -f conftest.$ac_objext
58830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58831 (eval $ac_compile) 2>conftest.er1
58832 ac_status=$?
58833 grep -v '^ *+' conftest.er1 >conftest.err
58834 rm -f conftest.er1
58835 cat conftest.err >&5
58836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58837 (exit $ac_status); } &&
58838 { ac_try='test -z "$ac_cxx_werror_flag"
58839 || test ! -s conftest.err'
58840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58841 (eval $ac_try) 2>&5
58842 ac_status=$?
58843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58844 (exit $ac_status); }; } &&
58845 { ac_try='test -s conftest.$ac_objext'
58846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58847 (eval $ac_try) 2>&5
58848 ac_status=$?
58849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58850 (exit $ac_status); }; }; then
58851 glibcxx_cv_func__fabsf_use=yes
58852 else
58853 echo "$as_me: failed program was:" >&5
58854 sed 's/^/| /' conftest.$ac_ext >&5
58856 glibcxx_cv_func__fabsf_use=no
58858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58859 ac_ext=c
58860 ac_cpp='$CPP $CPPFLAGS'
58861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58869 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58870 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58874 for ac_func in _fabsf
58876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58877 echo "$as_me:$LINENO: checking for $ac_func" >&5
58878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58879 if eval "test \"\${$as_ac_var+set}\" = set"; then
58880 echo $ECHO_N "(cached) $ECHO_C" >&6
58881 else
58882 if test x$gcc_no_link = xyes; then
58883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58885 { (exit 1); exit 1; }; }
58887 cat >conftest.$ac_ext <<_ACEOF
58888 /* confdefs.h. */
58889 _ACEOF
58890 cat confdefs.h >>conftest.$ac_ext
58891 cat >>conftest.$ac_ext <<_ACEOF
58892 /* end confdefs.h. */
58893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58895 #define $ac_func innocuous_$ac_func
58897 /* System header to define __stub macros and hopefully few prototypes,
58898 which can conflict with char $ac_func (); below.
58899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58900 <limits.h> exists even on freestanding compilers. */
58902 #ifdef __STDC__
58903 # include <limits.h>
58904 #else
58905 # include <assert.h>
58906 #endif
58908 #undef $ac_func
58910 /* Override any gcc2 internal prototype to avoid an error. */
58911 #ifdef __cplusplus
58912 extern "C"
58914 #endif
58915 /* We use char because int might match the return type of a gcc2
58916 builtin and then its argument prototype would still apply. */
58917 char $ac_func ();
58918 /* The GNU C library defines this for functions which it implements
58919 to always fail with ENOSYS. Some functions are actually named
58920 something starting with __ and the normal name is an alias. */
58921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58922 choke me
58923 #else
58924 char (*f) () = $ac_func;
58925 #endif
58926 #ifdef __cplusplus
58928 #endif
58931 main ()
58933 return f != $ac_func;
58935 return 0;
58937 _ACEOF
58938 rm -f conftest.$ac_objext conftest$ac_exeext
58939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58940 (eval $ac_link) 2>conftest.er1
58941 ac_status=$?
58942 grep -v '^ *+' conftest.er1 >conftest.err
58943 rm -f conftest.er1
58944 cat conftest.err >&5
58945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58946 (exit $ac_status); } &&
58947 { ac_try='test -z "$ac_c_werror_flag"
58948 || test ! -s conftest.err'
58949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58950 (eval $ac_try) 2>&5
58951 ac_status=$?
58952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58953 (exit $ac_status); }; } &&
58954 { ac_try='test -s conftest$ac_exeext'
58955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58956 (eval $ac_try) 2>&5
58957 ac_status=$?
58958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58959 (exit $ac_status); }; }; then
58960 eval "$as_ac_var=yes"
58961 else
58962 echo "$as_me: failed program was:" >&5
58963 sed 's/^/| /' conftest.$ac_ext >&5
58965 eval "$as_ac_var=no"
58967 rm -f conftest.err conftest.$ac_objext \
58968 conftest$ac_exeext conftest.$ac_ext
58970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58972 if test `eval echo '${'$as_ac_var'}'` = yes; then
58973 cat >>confdefs.h <<_ACEOF
58974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58975 _ACEOF
58978 done
58985 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58986 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58987 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58988 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58989 echo $ECHO_N "(cached) $ECHO_C" >&6
58990 else
58994 ac_ext=cc
58995 ac_cpp='$CXXCPP $CPPFLAGS'
58996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59000 cat >conftest.$ac_ext <<_ACEOF
59001 /* confdefs.h. */
59002 _ACEOF
59003 cat confdefs.h >>conftest.$ac_ext
59004 cat >>conftest.$ac_ext <<_ACEOF
59005 /* end confdefs.h. */
59006 #include <math.h>
59008 main ()
59010 fmodf(0, 0);
59012 return 0;
59014 _ACEOF
59015 rm -f conftest.$ac_objext
59016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59017 (eval $ac_compile) 2>conftest.er1
59018 ac_status=$?
59019 grep -v '^ *+' conftest.er1 >conftest.err
59020 rm -f conftest.er1
59021 cat conftest.err >&5
59022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59023 (exit $ac_status); } &&
59024 { ac_try='test -z "$ac_cxx_werror_flag"
59025 || test ! -s conftest.err'
59026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59027 (eval $ac_try) 2>&5
59028 ac_status=$?
59029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59030 (exit $ac_status); }; } &&
59031 { ac_try='test -s conftest.$ac_objext'
59032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59033 (eval $ac_try) 2>&5
59034 ac_status=$?
59035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59036 (exit $ac_status); }; }; then
59037 glibcxx_cv_func_fmodf_use=yes
59038 else
59039 echo "$as_me: failed program was:" >&5
59040 sed 's/^/| /' conftest.$ac_ext >&5
59042 glibcxx_cv_func_fmodf_use=no
59044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59045 ac_ext=c
59046 ac_cpp='$CPP $CPPFLAGS'
59047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59056 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59058 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59060 for ac_func in fmodf
59062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59063 echo "$as_me:$LINENO: checking for $ac_func" >&5
59064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59065 if eval "test \"\${$as_ac_var+set}\" = set"; then
59066 echo $ECHO_N "(cached) $ECHO_C" >&6
59067 else
59068 if test x$gcc_no_link = xyes; then
59069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59071 { (exit 1); exit 1; }; }
59073 cat >conftest.$ac_ext <<_ACEOF
59074 /* confdefs.h. */
59075 _ACEOF
59076 cat confdefs.h >>conftest.$ac_ext
59077 cat >>conftest.$ac_ext <<_ACEOF
59078 /* end confdefs.h. */
59079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59081 #define $ac_func innocuous_$ac_func
59083 /* System header to define __stub macros and hopefully few prototypes,
59084 which can conflict with char $ac_func (); below.
59085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59086 <limits.h> exists even on freestanding compilers. */
59088 #ifdef __STDC__
59089 # include <limits.h>
59090 #else
59091 # include <assert.h>
59092 #endif
59094 #undef $ac_func
59096 /* Override any gcc2 internal prototype to avoid an error. */
59097 #ifdef __cplusplus
59098 extern "C"
59100 #endif
59101 /* We use char because int might match the return type of a gcc2
59102 builtin and then its argument prototype would still apply. */
59103 char $ac_func ();
59104 /* The GNU C library defines this for functions which it implements
59105 to always fail with ENOSYS. Some functions are actually named
59106 something starting with __ and the normal name is an alias. */
59107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59108 choke me
59109 #else
59110 char (*f) () = $ac_func;
59111 #endif
59112 #ifdef __cplusplus
59114 #endif
59117 main ()
59119 return f != $ac_func;
59121 return 0;
59123 _ACEOF
59124 rm -f conftest.$ac_objext conftest$ac_exeext
59125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59126 (eval $ac_link) 2>conftest.er1
59127 ac_status=$?
59128 grep -v '^ *+' conftest.er1 >conftest.err
59129 rm -f conftest.er1
59130 cat conftest.err >&5
59131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59132 (exit $ac_status); } &&
59133 { ac_try='test -z "$ac_c_werror_flag"
59134 || test ! -s conftest.err'
59135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59136 (eval $ac_try) 2>&5
59137 ac_status=$?
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); }; } &&
59140 { ac_try='test -s conftest$ac_exeext'
59141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59142 (eval $ac_try) 2>&5
59143 ac_status=$?
59144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59145 (exit $ac_status); }; }; then
59146 eval "$as_ac_var=yes"
59147 else
59148 echo "$as_me: failed program was:" >&5
59149 sed 's/^/| /' conftest.$ac_ext >&5
59151 eval "$as_ac_var=no"
59153 rm -f conftest.err conftest.$ac_objext \
59154 conftest$ac_exeext conftest.$ac_ext
59156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59158 if test `eval echo '${'$as_ac_var'}'` = yes; then
59159 cat >>confdefs.h <<_ACEOF
59160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59161 _ACEOF
59164 done
59166 else
59168 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59169 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59170 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59171 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59172 echo $ECHO_N "(cached) $ECHO_C" >&6
59173 else
59177 ac_ext=cc
59178 ac_cpp='$CXXCPP $CPPFLAGS'
59179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59183 cat >conftest.$ac_ext <<_ACEOF
59184 /* confdefs.h. */
59185 _ACEOF
59186 cat confdefs.h >>conftest.$ac_ext
59187 cat >>conftest.$ac_ext <<_ACEOF
59188 /* end confdefs.h. */
59189 #include <math.h>
59191 main ()
59193 _fmodf(0, 0);
59195 return 0;
59197 _ACEOF
59198 rm -f conftest.$ac_objext
59199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59200 (eval $ac_compile) 2>conftest.er1
59201 ac_status=$?
59202 grep -v '^ *+' conftest.er1 >conftest.err
59203 rm -f conftest.er1
59204 cat conftest.err >&5
59205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59206 (exit $ac_status); } &&
59207 { ac_try='test -z "$ac_cxx_werror_flag"
59208 || test ! -s conftest.err'
59209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59210 (eval $ac_try) 2>&5
59211 ac_status=$?
59212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213 (exit $ac_status); }; } &&
59214 { ac_try='test -s conftest.$ac_objext'
59215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59216 (eval $ac_try) 2>&5
59217 ac_status=$?
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); }; }; then
59220 glibcxx_cv_func__fmodf_use=yes
59221 else
59222 echo "$as_me: failed program was:" >&5
59223 sed 's/^/| /' conftest.$ac_ext >&5
59225 glibcxx_cv_func__fmodf_use=no
59227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59228 ac_ext=c
59229 ac_cpp='$CPP $CPPFLAGS'
59230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59239 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59241 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59243 for ac_func in _fmodf
59245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59246 echo "$as_me:$LINENO: checking for $ac_func" >&5
59247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59248 if eval "test \"\${$as_ac_var+set}\" = set"; then
59249 echo $ECHO_N "(cached) $ECHO_C" >&6
59250 else
59251 if test x$gcc_no_link = xyes; then
59252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59254 { (exit 1); exit 1; }; }
59256 cat >conftest.$ac_ext <<_ACEOF
59257 /* confdefs.h. */
59258 _ACEOF
59259 cat confdefs.h >>conftest.$ac_ext
59260 cat >>conftest.$ac_ext <<_ACEOF
59261 /* end confdefs.h. */
59262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59264 #define $ac_func innocuous_$ac_func
59266 /* System header to define __stub macros and hopefully few prototypes,
59267 which can conflict with char $ac_func (); below.
59268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59269 <limits.h> exists even on freestanding compilers. */
59271 #ifdef __STDC__
59272 # include <limits.h>
59273 #else
59274 # include <assert.h>
59275 #endif
59277 #undef $ac_func
59279 /* Override any gcc2 internal prototype to avoid an error. */
59280 #ifdef __cplusplus
59281 extern "C"
59283 #endif
59284 /* We use char because int might match the return type of a gcc2
59285 builtin and then its argument prototype would still apply. */
59286 char $ac_func ();
59287 /* The GNU C library defines this for functions which it implements
59288 to always fail with ENOSYS. Some functions are actually named
59289 something starting with __ and the normal name is an alias. */
59290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59291 choke me
59292 #else
59293 char (*f) () = $ac_func;
59294 #endif
59295 #ifdef __cplusplus
59297 #endif
59300 main ()
59302 return f != $ac_func;
59304 return 0;
59306 _ACEOF
59307 rm -f conftest.$ac_objext conftest$ac_exeext
59308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59309 (eval $ac_link) 2>conftest.er1
59310 ac_status=$?
59311 grep -v '^ *+' conftest.er1 >conftest.err
59312 rm -f conftest.er1
59313 cat conftest.err >&5
59314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59315 (exit $ac_status); } &&
59316 { ac_try='test -z "$ac_c_werror_flag"
59317 || test ! -s conftest.err'
59318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59319 (eval $ac_try) 2>&5
59320 ac_status=$?
59321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322 (exit $ac_status); }; } &&
59323 { ac_try='test -s conftest$ac_exeext'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; }; then
59329 eval "$as_ac_var=yes"
59330 else
59331 echo "$as_me: failed program was:" >&5
59332 sed 's/^/| /' conftest.$ac_ext >&5
59334 eval "$as_ac_var=no"
59336 rm -f conftest.err conftest.$ac_objext \
59337 conftest$ac_exeext conftest.$ac_ext
59339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59341 if test `eval echo '${'$as_ac_var'}'` = yes; then
59342 cat >>confdefs.h <<_ACEOF
59343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59344 _ACEOF
59347 done
59354 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59355 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59356 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59357 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59358 echo $ECHO_N "(cached) $ECHO_C" >&6
59359 else
59363 ac_ext=cc
59364 ac_cpp='$CXXCPP $CPPFLAGS'
59365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59369 cat >conftest.$ac_ext <<_ACEOF
59370 /* confdefs.h. */
59371 _ACEOF
59372 cat confdefs.h >>conftest.$ac_ext
59373 cat >>conftest.$ac_ext <<_ACEOF
59374 /* end confdefs.h. */
59375 #include <math.h>
59377 main ()
59379 frexpf(0, 0);
59381 return 0;
59383 _ACEOF
59384 rm -f conftest.$ac_objext
59385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59386 (eval $ac_compile) 2>conftest.er1
59387 ac_status=$?
59388 grep -v '^ *+' conftest.er1 >conftest.err
59389 rm -f conftest.er1
59390 cat conftest.err >&5
59391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59392 (exit $ac_status); } &&
59393 { ac_try='test -z "$ac_cxx_werror_flag"
59394 || test ! -s conftest.err'
59395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59396 (eval $ac_try) 2>&5
59397 ac_status=$?
59398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59399 (exit $ac_status); }; } &&
59400 { ac_try='test -s conftest.$ac_objext'
59401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59402 (eval $ac_try) 2>&5
59403 ac_status=$?
59404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59405 (exit $ac_status); }; }; then
59406 glibcxx_cv_func_frexpf_use=yes
59407 else
59408 echo "$as_me: failed program was:" >&5
59409 sed 's/^/| /' conftest.$ac_ext >&5
59411 glibcxx_cv_func_frexpf_use=no
59413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59414 ac_ext=c
59415 ac_cpp='$CPP $CPPFLAGS'
59416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59425 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59427 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59429 for ac_func in frexpf
59431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59432 echo "$as_me:$LINENO: checking for $ac_func" >&5
59433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59434 if eval "test \"\${$as_ac_var+set}\" = set"; then
59435 echo $ECHO_N "(cached) $ECHO_C" >&6
59436 else
59437 if test x$gcc_no_link = xyes; then
59438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59440 { (exit 1); exit 1; }; }
59442 cat >conftest.$ac_ext <<_ACEOF
59443 /* confdefs.h. */
59444 _ACEOF
59445 cat confdefs.h >>conftest.$ac_ext
59446 cat >>conftest.$ac_ext <<_ACEOF
59447 /* end confdefs.h. */
59448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59450 #define $ac_func innocuous_$ac_func
59452 /* System header to define __stub macros and hopefully few prototypes,
59453 which can conflict with char $ac_func (); below.
59454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59455 <limits.h> exists even on freestanding compilers. */
59457 #ifdef __STDC__
59458 # include <limits.h>
59459 #else
59460 # include <assert.h>
59461 #endif
59463 #undef $ac_func
59465 /* Override any gcc2 internal prototype to avoid an error. */
59466 #ifdef __cplusplus
59467 extern "C"
59469 #endif
59470 /* We use char because int might match the return type of a gcc2
59471 builtin and then its argument prototype would still apply. */
59472 char $ac_func ();
59473 /* The GNU C library defines this for functions which it implements
59474 to always fail with ENOSYS. Some functions are actually named
59475 something starting with __ and the normal name is an alias. */
59476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59477 choke me
59478 #else
59479 char (*f) () = $ac_func;
59480 #endif
59481 #ifdef __cplusplus
59483 #endif
59486 main ()
59488 return f != $ac_func;
59490 return 0;
59492 _ACEOF
59493 rm -f conftest.$ac_objext conftest$ac_exeext
59494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59495 (eval $ac_link) 2>conftest.er1
59496 ac_status=$?
59497 grep -v '^ *+' conftest.er1 >conftest.err
59498 rm -f conftest.er1
59499 cat conftest.err >&5
59500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59501 (exit $ac_status); } &&
59502 { ac_try='test -z "$ac_c_werror_flag"
59503 || test ! -s conftest.err'
59504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59505 (eval $ac_try) 2>&5
59506 ac_status=$?
59507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508 (exit $ac_status); }; } &&
59509 { ac_try='test -s conftest$ac_exeext'
59510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59511 (eval $ac_try) 2>&5
59512 ac_status=$?
59513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59514 (exit $ac_status); }; }; then
59515 eval "$as_ac_var=yes"
59516 else
59517 echo "$as_me: failed program was:" >&5
59518 sed 's/^/| /' conftest.$ac_ext >&5
59520 eval "$as_ac_var=no"
59522 rm -f conftest.err conftest.$ac_objext \
59523 conftest$ac_exeext conftest.$ac_ext
59525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59527 if test `eval echo '${'$as_ac_var'}'` = yes; then
59528 cat >>confdefs.h <<_ACEOF
59529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59530 _ACEOF
59533 done
59535 else
59537 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59538 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59539 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59540 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59541 echo $ECHO_N "(cached) $ECHO_C" >&6
59542 else
59546 ac_ext=cc
59547 ac_cpp='$CXXCPP $CPPFLAGS'
59548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59552 cat >conftest.$ac_ext <<_ACEOF
59553 /* confdefs.h. */
59554 _ACEOF
59555 cat confdefs.h >>conftest.$ac_ext
59556 cat >>conftest.$ac_ext <<_ACEOF
59557 /* end confdefs.h. */
59558 #include <math.h>
59560 main ()
59562 _frexpf(0, 0);
59564 return 0;
59566 _ACEOF
59567 rm -f conftest.$ac_objext
59568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59569 (eval $ac_compile) 2>conftest.er1
59570 ac_status=$?
59571 grep -v '^ *+' conftest.er1 >conftest.err
59572 rm -f conftest.er1
59573 cat conftest.err >&5
59574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59575 (exit $ac_status); } &&
59576 { ac_try='test -z "$ac_cxx_werror_flag"
59577 || test ! -s conftest.err'
59578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59579 (eval $ac_try) 2>&5
59580 ac_status=$?
59581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59582 (exit $ac_status); }; } &&
59583 { ac_try='test -s conftest.$ac_objext'
59584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59585 (eval $ac_try) 2>&5
59586 ac_status=$?
59587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59588 (exit $ac_status); }; }; then
59589 glibcxx_cv_func__frexpf_use=yes
59590 else
59591 echo "$as_me: failed program was:" >&5
59592 sed 's/^/| /' conftest.$ac_ext >&5
59594 glibcxx_cv_func__frexpf_use=no
59596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59597 ac_ext=c
59598 ac_cpp='$CPP $CPPFLAGS'
59599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59608 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59612 for ac_func in _frexpf
59614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59615 echo "$as_me:$LINENO: checking for $ac_func" >&5
59616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59617 if eval "test \"\${$as_ac_var+set}\" = set"; then
59618 echo $ECHO_N "(cached) $ECHO_C" >&6
59619 else
59620 if test x$gcc_no_link = xyes; then
59621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59623 { (exit 1); exit 1; }; }
59625 cat >conftest.$ac_ext <<_ACEOF
59626 /* confdefs.h. */
59627 _ACEOF
59628 cat confdefs.h >>conftest.$ac_ext
59629 cat >>conftest.$ac_ext <<_ACEOF
59630 /* end confdefs.h. */
59631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59633 #define $ac_func innocuous_$ac_func
59635 /* System header to define __stub macros and hopefully few prototypes,
59636 which can conflict with char $ac_func (); below.
59637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59638 <limits.h> exists even on freestanding compilers. */
59640 #ifdef __STDC__
59641 # include <limits.h>
59642 #else
59643 # include <assert.h>
59644 #endif
59646 #undef $ac_func
59648 /* Override any gcc2 internal prototype to avoid an error. */
59649 #ifdef __cplusplus
59650 extern "C"
59652 #endif
59653 /* We use char because int might match the return type of a gcc2
59654 builtin and then its argument prototype would still apply. */
59655 char $ac_func ();
59656 /* The GNU C library defines this for functions which it implements
59657 to always fail with ENOSYS. Some functions are actually named
59658 something starting with __ and the normal name is an alias. */
59659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59660 choke me
59661 #else
59662 char (*f) () = $ac_func;
59663 #endif
59664 #ifdef __cplusplus
59666 #endif
59669 main ()
59671 return f != $ac_func;
59673 return 0;
59675 _ACEOF
59676 rm -f conftest.$ac_objext conftest$ac_exeext
59677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59678 (eval $ac_link) 2>conftest.er1
59679 ac_status=$?
59680 grep -v '^ *+' conftest.er1 >conftest.err
59681 rm -f conftest.er1
59682 cat conftest.err >&5
59683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684 (exit $ac_status); } &&
59685 { ac_try='test -z "$ac_c_werror_flag"
59686 || test ! -s conftest.err'
59687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59688 (eval $ac_try) 2>&5
59689 ac_status=$?
59690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59691 (exit $ac_status); }; } &&
59692 { ac_try='test -s conftest$ac_exeext'
59693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59694 (eval $ac_try) 2>&5
59695 ac_status=$?
59696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59697 (exit $ac_status); }; }; then
59698 eval "$as_ac_var=yes"
59699 else
59700 echo "$as_me: failed program was:" >&5
59701 sed 's/^/| /' conftest.$ac_ext >&5
59703 eval "$as_ac_var=no"
59705 rm -f conftest.err conftest.$ac_objext \
59706 conftest$ac_exeext conftest.$ac_ext
59708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59710 if test `eval echo '${'$as_ac_var'}'` = yes; then
59711 cat >>confdefs.h <<_ACEOF
59712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59713 _ACEOF
59716 done
59723 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59724 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59725 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59726 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59727 echo $ECHO_N "(cached) $ECHO_C" >&6
59728 else
59732 ac_ext=cc
59733 ac_cpp='$CXXCPP $CPPFLAGS'
59734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59738 cat >conftest.$ac_ext <<_ACEOF
59739 /* confdefs.h. */
59740 _ACEOF
59741 cat confdefs.h >>conftest.$ac_ext
59742 cat >>conftest.$ac_ext <<_ACEOF
59743 /* end confdefs.h. */
59744 #include <math.h>
59746 main ()
59748 hypotf(0, 0);
59750 return 0;
59752 _ACEOF
59753 rm -f conftest.$ac_objext
59754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59755 (eval $ac_compile) 2>conftest.er1
59756 ac_status=$?
59757 grep -v '^ *+' conftest.er1 >conftest.err
59758 rm -f conftest.er1
59759 cat conftest.err >&5
59760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59761 (exit $ac_status); } &&
59762 { ac_try='test -z "$ac_cxx_werror_flag"
59763 || test ! -s conftest.err'
59764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59765 (eval $ac_try) 2>&5
59766 ac_status=$?
59767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59768 (exit $ac_status); }; } &&
59769 { ac_try='test -s conftest.$ac_objext'
59770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59771 (eval $ac_try) 2>&5
59772 ac_status=$?
59773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59774 (exit $ac_status); }; }; then
59775 glibcxx_cv_func_hypotf_use=yes
59776 else
59777 echo "$as_me: failed program was:" >&5
59778 sed 's/^/| /' conftest.$ac_ext >&5
59780 glibcxx_cv_func_hypotf_use=no
59782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59783 ac_ext=c
59784 ac_cpp='$CPP $CPPFLAGS'
59785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59794 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59796 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59798 for ac_func in hypotf
59800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59801 echo "$as_me:$LINENO: checking for $ac_func" >&5
59802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59803 if eval "test \"\${$as_ac_var+set}\" = set"; then
59804 echo $ECHO_N "(cached) $ECHO_C" >&6
59805 else
59806 if test x$gcc_no_link = xyes; then
59807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59809 { (exit 1); exit 1; }; }
59811 cat >conftest.$ac_ext <<_ACEOF
59812 /* confdefs.h. */
59813 _ACEOF
59814 cat confdefs.h >>conftest.$ac_ext
59815 cat >>conftest.$ac_ext <<_ACEOF
59816 /* end confdefs.h. */
59817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59819 #define $ac_func innocuous_$ac_func
59821 /* System header to define __stub macros and hopefully few prototypes,
59822 which can conflict with char $ac_func (); below.
59823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59824 <limits.h> exists even on freestanding compilers. */
59826 #ifdef __STDC__
59827 # include <limits.h>
59828 #else
59829 # include <assert.h>
59830 #endif
59832 #undef $ac_func
59834 /* Override any gcc2 internal prototype to avoid an error. */
59835 #ifdef __cplusplus
59836 extern "C"
59838 #endif
59839 /* We use char because int might match the return type of a gcc2
59840 builtin and then its argument prototype would still apply. */
59841 char $ac_func ();
59842 /* The GNU C library defines this for functions which it implements
59843 to always fail with ENOSYS. Some functions are actually named
59844 something starting with __ and the normal name is an alias. */
59845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59846 choke me
59847 #else
59848 char (*f) () = $ac_func;
59849 #endif
59850 #ifdef __cplusplus
59852 #endif
59855 main ()
59857 return f != $ac_func;
59859 return 0;
59861 _ACEOF
59862 rm -f conftest.$ac_objext conftest$ac_exeext
59863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59864 (eval $ac_link) 2>conftest.er1
59865 ac_status=$?
59866 grep -v '^ *+' conftest.er1 >conftest.err
59867 rm -f conftest.er1
59868 cat conftest.err >&5
59869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59870 (exit $ac_status); } &&
59871 { ac_try='test -z "$ac_c_werror_flag"
59872 || test ! -s conftest.err'
59873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59874 (eval $ac_try) 2>&5
59875 ac_status=$?
59876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59877 (exit $ac_status); }; } &&
59878 { ac_try='test -s conftest$ac_exeext'
59879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59880 (eval $ac_try) 2>&5
59881 ac_status=$?
59882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59883 (exit $ac_status); }; }; then
59884 eval "$as_ac_var=yes"
59885 else
59886 echo "$as_me: failed program was:" >&5
59887 sed 's/^/| /' conftest.$ac_ext >&5
59889 eval "$as_ac_var=no"
59891 rm -f conftest.err conftest.$ac_objext \
59892 conftest$ac_exeext conftest.$ac_ext
59894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59896 if test `eval echo '${'$as_ac_var'}'` = yes; then
59897 cat >>confdefs.h <<_ACEOF
59898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59899 _ACEOF
59902 done
59904 else
59906 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59907 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59908 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59909 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59910 echo $ECHO_N "(cached) $ECHO_C" >&6
59911 else
59915 ac_ext=cc
59916 ac_cpp='$CXXCPP $CPPFLAGS'
59917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59921 cat >conftest.$ac_ext <<_ACEOF
59922 /* confdefs.h. */
59923 _ACEOF
59924 cat confdefs.h >>conftest.$ac_ext
59925 cat >>conftest.$ac_ext <<_ACEOF
59926 /* end confdefs.h. */
59927 #include <math.h>
59929 main ()
59931 _hypotf(0, 0);
59933 return 0;
59935 _ACEOF
59936 rm -f conftest.$ac_objext
59937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59938 (eval $ac_compile) 2>conftest.er1
59939 ac_status=$?
59940 grep -v '^ *+' conftest.er1 >conftest.err
59941 rm -f conftest.er1
59942 cat conftest.err >&5
59943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944 (exit $ac_status); } &&
59945 { ac_try='test -z "$ac_cxx_werror_flag"
59946 || test ! -s conftest.err'
59947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59948 (eval $ac_try) 2>&5
59949 ac_status=$?
59950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59951 (exit $ac_status); }; } &&
59952 { ac_try='test -s conftest.$ac_objext'
59953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59954 (eval $ac_try) 2>&5
59955 ac_status=$?
59956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59957 (exit $ac_status); }; }; then
59958 glibcxx_cv_func__hypotf_use=yes
59959 else
59960 echo "$as_me: failed program was:" >&5
59961 sed 's/^/| /' conftest.$ac_ext >&5
59963 glibcxx_cv_func__hypotf_use=no
59965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59977 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59979 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59981 for ac_func in _hypotf
59983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59984 echo "$as_me:$LINENO: checking for $ac_func" >&5
59985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59986 if eval "test \"\${$as_ac_var+set}\" = set"; then
59987 echo $ECHO_N "(cached) $ECHO_C" >&6
59988 else
59989 if test x$gcc_no_link = xyes; then
59990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59992 { (exit 1); exit 1; }; }
59994 cat >conftest.$ac_ext <<_ACEOF
59995 /* confdefs.h. */
59996 _ACEOF
59997 cat confdefs.h >>conftest.$ac_ext
59998 cat >>conftest.$ac_ext <<_ACEOF
59999 /* end confdefs.h. */
60000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60002 #define $ac_func innocuous_$ac_func
60004 /* System header to define __stub macros and hopefully few prototypes,
60005 which can conflict with char $ac_func (); below.
60006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60007 <limits.h> exists even on freestanding compilers. */
60009 #ifdef __STDC__
60010 # include <limits.h>
60011 #else
60012 # include <assert.h>
60013 #endif
60015 #undef $ac_func
60017 /* Override any gcc2 internal prototype to avoid an error. */
60018 #ifdef __cplusplus
60019 extern "C"
60021 #endif
60022 /* We use char because int might match the return type of a gcc2
60023 builtin and then its argument prototype would still apply. */
60024 char $ac_func ();
60025 /* The GNU C library defines this for functions which it implements
60026 to always fail with ENOSYS. Some functions are actually named
60027 something starting with __ and the normal name is an alias. */
60028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60029 choke me
60030 #else
60031 char (*f) () = $ac_func;
60032 #endif
60033 #ifdef __cplusplus
60035 #endif
60038 main ()
60040 return f != $ac_func;
60042 return 0;
60044 _ACEOF
60045 rm -f conftest.$ac_objext conftest$ac_exeext
60046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60047 (eval $ac_link) 2>conftest.er1
60048 ac_status=$?
60049 grep -v '^ *+' conftest.er1 >conftest.err
60050 rm -f conftest.er1
60051 cat conftest.err >&5
60052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60053 (exit $ac_status); } &&
60054 { ac_try='test -z "$ac_c_werror_flag"
60055 || test ! -s conftest.err'
60056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60057 (eval $ac_try) 2>&5
60058 ac_status=$?
60059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60060 (exit $ac_status); }; } &&
60061 { ac_try='test -s conftest$ac_exeext'
60062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60063 (eval $ac_try) 2>&5
60064 ac_status=$?
60065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60066 (exit $ac_status); }; }; then
60067 eval "$as_ac_var=yes"
60068 else
60069 echo "$as_me: failed program was:" >&5
60070 sed 's/^/| /' conftest.$ac_ext >&5
60072 eval "$as_ac_var=no"
60074 rm -f conftest.err conftest.$ac_objext \
60075 conftest$ac_exeext conftest.$ac_ext
60077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60079 if test `eval echo '${'$as_ac_var'}'` = yes; then
60080 cat >>confdefs.h <<_ACEOF
60081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60082 _ACEOF
60085 done
60092 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60093 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60094 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60095 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60096 echo $ECHO_N "(cached) $ECHO_C" >&6
60097 else
60101 ac_ext=cc
60102 ac_cpp='$CXXCPP $CPPFLAGS'
60103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60107 cat >conftest.$ac_ext <<_ACEOF
60108 /* confdefs.h. */
60109 _ACEOF
60110 cat confdefs.h >>conftest.$ac_ext
60111 cat >>conftest.$ac_ext <<_ACEOF
60112 /* end confdefs.h. */
60113 #include <math.h>
60115 main ()
60117 ldexpf(0, 0);
60119 return 0;
60121 _ACEOF
60122 rm -f conftest.$ac_objext
60123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60124 (eval $ac_compile) 2>conftest.er1
60125 ac_status=$?
60126 grep -v '^ *+' conftest.er1 >conftest.err
60127 rm -f conftest.er1
60128 cat conftest.err >&5
60129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130 (exit $ac_status); } &&
60131 { ac_try='test -z "$ac_cxx_werror_flag"
60132 || test ! -s conftest.err'
60133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60134 (eval $ac_try) 2>&5
60135 ac_status=$?
60136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137 (exit $ac_status); }; } &&
60138 { ac_try='test -s conftest.$ac_objext'
60139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60140 (eval $ac_try) 2>&5
60141 ac_status=$?
60142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60143 (exit $ac_status); }; }; then
60144 glibcxx_cv_func_ldexpf_use=yes
60145 else
60146 echo "$as_me: failed program was:" >&5
60147 sed 's/^/| /' conftest.$ac_ext >&5
60149 glibcxx_cv_func_ldexpf_use=no
60151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60163 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60165 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60167 for ac_func in ldexpf
60169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60170 echo "$as_me:$LINENO: checking for $ac_func" >&5
60171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60172 if eval "test \"\${$as_ac_var+set}\" = set"; then
60173 echo $ECHO_N "(cached) $ECHO_C" >&6
60174 else
60175 if test x$gcc_no_link = xyes; then
60176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60178 { (exit 1); exit 1; }; }
60180 cat >conftest.$ac_ext <<_ACEOF
60181 /* confdefs.h. */
60182 _ACEOF
60183 cat confdefs.h >>conftest.$ac_ext
60184 cat >>conftest.$ac_ext <<_ACEOF
60185 /* end confdefs.h. */
60186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60188 #define $ac_func innocuous_$ac_func
60190 /* System header to define __stub macros and hopefully few prototypes,
60191 which can conflict with char $ac_func (); below.
60192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60193 <limits.h> exists even on freestanding compilers. */
60195 #ifdef __STDC__
60196 # include <limits.h>
60197 #else
60198 # include <assert.h>
60199 #endif
60201 #undef $ac_func
60203 /* Override any gcc2 internal prototype to avoid an error. */
60204 #ifdef __cplusplus
60205 extern "C"
60207 #endif
60208 /* We use char because int might match the return type of a gcc2
60209 builtin and then its argument prototype would still apply. */
60210 char $ac_func ();
60211 /* The GNU C library defines this for functions which it implements
60212 to always fail with ENOSYS. Some functions are actually named
60213 something starting with __ and the normal name is an alias. */
60214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60215 choke me
60216 #else
60217 char (*f) () = $ac_func;
60218 #endif
60219 #ifdef __cplusplus
60221 #endif
60224 main ()
60226 return f != $ac_func;
60228 return 0;
60230 _ACEOF
60231 rm -f conftest.$ac_objext conftest$ac_exeext
60232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60233 (eval $ac_link) 2>conftest.er1
60234 ac_status=$?
60235 grep -v '^ *+' conftest.er1 >conftest.err
60236 rm -f conftest.er1
60237 cat conftest.err >&5
60238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60239 (exit $ac_status); } &&
60240 { ac_try='test -z "$ac_c_werror_flag"
60241 || test ! -s conftest.err'
60242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60243 (eval $ac_try) 2>&5
60244 ac_status=$?
60245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246 (exit $ac_status); }; } &&
60247 { ac_try='test -s conftest$ac_exeext'
60248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60249 (eval $ac_try) 2>&5
60250 ac_status=$?
60251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60252 (exit $ac_status); }; }; then
60253 eval "$as_ac_var=yes"
60254 else
60255 echo "$as_me: failed program was:" >&5
60256 sed 's/^/| /' conftest.$ac_ext >&5
60258 eval "$as_ac_var=no"
60260 rm -f conftest.err conftest.$ac_objext \
60261 conftest$ac_exeext conftest.$ac_ext
60263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60265 if test `eval echo '${'$as_ac_var'}'` = yes; then
60266 cat >>confdefs.h <<_ACEOF
60267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60268 _ACEOF
60271 done
60273 else
60275 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60276 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60277 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60278 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60279 echo $ECHO_N "(cached) $ECHO_C" >&6
60280 else
60284 ac_ext=cc
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60290 cat >conftest.$ac_ext <<_ACEOF
60291 /* confdefs.h. */
60292 _ACEOF
60293 cat confdefs.h >>conftest.$ac_ext
60294 cat >>conftest.$ac_ext <<_ACEOF
60295 /* end confdefs.h. */
60296 #include <math.h>
60298 main ()
60300 _ldexpf(0, 0);
60302 return 0;
60304 _ACEOF
60305 rm -f conftest.$ac_objext
60306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60307 (eval $ac_compile) 2>conftest.er1
60308 ac_status=$?
60309 grep -v '^ *+' conftest.er1 >conftest.err
60310 rm -f conftest.er1
60311 cat conftest.err >&5
60312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60313 (exit $ac_status); } &&
60314 { ac_try='test -z "$ac_cxx_werror_flag"
60315 || test ! -s conftest.err'
60316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60317 (eval $ac_try) 2>&5
60318 ac_status=$?
60319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60320 (exit $ac_status); }; } &&
60321 { ac_try='test -s conftest.$ac_objext'
60322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60323 (eval $ac_try) 2>&5
60324 ac_status=$?
60325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60326 (exit $ac_status); }; }; then
60327 glibcxx_cv_func__ldexpf_use=yes
60328 else
60329 echo "$as_me: failed program was:" >&5
60330 sed 's/^/| /' conftest.$ac_ext >&5
60332 glibcxx_cv_func__ldexpf_use=no
60334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60346 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60348 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60350 for ac_func in _ldexpf
60352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60353 echo "$as_me:$LINENO: checking for $ac_func" >&5
60354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60355 if eval "test \"\${$as_ac_var+set}\" = set"; then
60356 echo $ECHO_N "(cached) $ECHO_C" >&6
60357 else
60358 if test x$gcc_no_link = xyes; then
60359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60361 { (exit 1); exit 1; }; }
60363 cat >conftest.$ac_ext <<_ACEOF
60364 /* confdefs.h. */
60365 _ACEOF
60366 cat confdefs.h >>conftest.$ac_ext
60367 cat >>conftest.$ac_ext <<_ACEOF
60368 /* end confdefs.h. */
60369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60371 #define $ac_func innocuous_$ac_func
60373 /* System header to define __stub macros and hopefully few prototypes,
60374 which can conflict with char $ac_func (); below.
60375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60376 <limits.h> exists even on freestanding compilers. */
60378 #ifdef __STDC__
60379 # include <limits.h>
60380 #else
60381 # include <assert.h>
60382 #endif
60384 #undef $ac_func
60386 /* Override any gcc2 internal prototype to avoid an error. */
60387 #ifdef __cplusplus
60388 extern "C"
60390 #endif
60391 /* We use char because int might match the return type of a gcc2
60392 builtin and then its argument prototype would still apply. */
60393 char $ac_func ();
60394 /* The GNU C library defines this for functions which it implements
60395 to always fail with ENOSYS. Some functions are actually named
60396 something starting with __ and the normal name is an alias. */
60397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60398 choke me
60399 #else
60400 char (*f) () = $ac_func;
60401 #endif
60402 #ifdef __cplusplus
60404 #endif
60407 main ()
60409 return f != $ac_func;
60411 return 0;
60413 _ACEOF
60414 rm -f conftest.$ac_objext conftest$ac_exeext
60415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60416 (eval $ac_link) 2>conftest.er1
60417 ac_status=$?
60418 grep -v '^ *+' conftest.er1 >conftest.err
60419 rm -f conftest.er1
60420 cat conftest.err >&5
60421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60422 (exit $ac_status); } &&
60423 { ac_try='test -z "$ac_c_werror_flag"
60424 || test ! -s conftest.err'
60425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60426 (eval $ac_try) 2>&5
60427 ac_status=$?
60428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429 (exit $ac_status); }; } &&
60430 { ac_try='test -s conftest$ac_exeext'
60431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60432 (eval $ac_try) 2>&5
60433 ac_status=$?
60434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60435 (exit $ac_status); }; }; then
60436 eval "$as_ac_var=yes"
60437 else
60438 echo "$as_me: failed program was:" >&5
60439 sed 's/^/| /' conftest.$ac_ext >&5
60441 eval "$as_ac_var=no"
60443 rm -f conftest.err conftest.$ac_objext \
60444 conftest$ac_exeext conftest.$ac_ext
60446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60448 if test `eval echo '${'$as_ac_var'}'` = yes; then
60449 cat >>confdefs.h <<_ACEOF
60450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60451 _ACEOF
60454 done
60461 echo "$as_me:$LINENO: checking for logf declaration" >&5
60462 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60463 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60464 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60465 echo $ECHO_N "(cached) $ECHO_C" >&6
60466 else
60470 ac_ext=cc
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476 cat >conftest.$ac_ext <<_ACEOF
60477 /* confdefs.h. */
60478 _ACEOF
60479 cat confdefs.h >>conftest.$ac_ext
60480 cat >>conftest.$ac_ext <<_ACEOF
60481 /* end confdefs.h. */
60482 #include <math.h>
60483 #ifdef HAVE_IEEEFP_H
60484 #include <ieeefp.h>
60485 #endif
60488 main ()
60490 logf(0);
60492 return 0;
60494 _ACEOF
60495 rm -f conftest.$ac_objext
60496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60497 (eval $ac_compile) 2>conftest.er1
60498 ac_status=$?
60499 grep -v '^ *+' conftest.er1 >conftest.err
60500 rm -f conftest.er1
60501 cat conftest.err >&5
60502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60503 (exit $ac_status); } &&
60504 { ac_try='test -z "$ac_cxx_werror_flag"
60505 || test ! -s conftest.err'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; } &&
60511 { ac_try='test -s conftest.$ac_objext'
60512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60513 (eval $ac_try) 2>&5
60514 ac_status=$?
60515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60516 (exit $ac_status); }; }; then
60517 glibcxx_cv_func_logf_use=yes
60518 else
60519 echo "$as_me: failed program was:" >&5
60520 sed 's/^/| /' conftest.$ac_ext >&5
60522 glibcxx_cv_func_logf_use=no
60524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60525 ac_ext=c
60526 ac_cpp='$CPP $CPPFLAGS'
60527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60536 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60538 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60540 for ac_func in logf
60542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60543 echo "$as_me:$LINENO: checking for $ac_func" >&5
60544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60545 if eval "test \"\${$as_ac_var+set}\" = set"; then
60546 echo $ECHO_N "(cached) $ECHO_C" >&6
60547 else
60548 if test x$gcc_no_link = xyes; then
60549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60551 { (exit 1); exit 1; }; }
60553 cat >conftest.$ac_ext <<_ACEOF
60554 /* confdefs.h. */
60555 _ACEOF
60556 cat confdefs.h >>conftest.$ac_ext
60557 cat >>conftest.$ac_ext <<_ACEOF
60558 /* end confdefs.h. */
60559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60561 #define $ac_func innocuous_$ac_func
60563 /* System header to define __stub macros and hopefully few prototypes,
60564 which can conflict with char $ac_func (); below.
60565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60566 <limits.h> exists even on freestanding compilers. */
60568 #ifdef __STDC__
60569 # include <limits.h>
60570 #else
60571 # include <assert.h>
60572 #endif
60574 #undef $ac_func
60576 /* Override any gcc2 internal prototype to avoid an error. */
60577 #ifdef __cplusplus
60578 extern "C"
60580 #endif
60581 /* We use char because int might match the return type of a gcc2
60582 builtin and then its argument prototype would still apply. */
60583 char $ac_func ();
60584 /* The GNU C library defines this for functions which it implements
60585 to always fail with ENOSYS. Some functions are actually named
60586 something starting with __ and the normal name is an alias. */
60587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60588 choke me
60589 #else
60590 char (*f) () = $ac_func;
60591 #endif
60592 #ifdef __cplusplus
60594 #endif
60597 main ()
60599 return f != $ac_func;
60601 return 0;
60603 _ACEOF
60604 rm -f conftest.$ac_objext conftest$ac_exeext
60605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60606 (eval $ac_link) 2>conftest.er1
60607 ac_status=$?
60608 grep -v '^ *+' conftest.er1 >conftest.err
60609 rm -f conftest.er1
60610 cat conftest.err >&5
60611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60612 (exit $ac_status); } &&
60613 { ac_try='test -z "$ac_c_werror_flag"
60614 || test ! -s conftest.err'
60615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60616 (eval $ac_try) 2>&5
60617 ac_status=$?
60618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619 (exit $ac_status); }; } &&
60620 { ac_try='test -s conftest$ac_exeext'
60621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60622 (eval $ac_try) 2>&5
60623 ac_status=$?
60624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60625 (exit $ac_status); }; }; then
60626 eval "$as_ac_var=yes"
60627 else
60628 echo "$as_me: failed program was:" >&5
60629 sed 's/^/| /' conftest.$ac_ext >&5
60631 eval "$as_ac_var=no"
60633 rm -f conftest.err conftest.$ac_objext \
60634 conftest$ac_exeext conftest.$ac_ext
60636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60638 if test `eval echo '${'$as_ac_var'}'` = yes; then
60639 cat >>confdefs.h <<_ACEOF
60640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60641 _ACEOF
60644 done
60646 else
60648 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60649 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60650 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60651 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60652 echo $ECHO_N "(cached) $ECHO_C" >&6
60653 else
60657 ac_ext=cc
60658 ac_cpp='$CXXCPP $CPPFLAGS'
60659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60663 cat >conftest.$ac_ext <<_ACEOF
60664 /* confdefs.h. */
60665 _ACEOF
60666 cat confdefs.h >>conftest.$ac_ext
60667 cat >>conftest.$ac_ext <<_ACEOF
60668 /* end confdefs.h. */
60669 #include <math.h>
60670 #ifdef HAVE_IEEEFP_H
60671 #include <ieeefp.h>
60672 #endif
60675 main ()
60677 _logf(0);
60679 return 0;
60681 _ACEOF
60682 rm -f conftest.$ac_objext
60683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60684 (eval $ac_compile) 2>conftest.er1
60685 ac_status=$?
60686 grep -v '^ *+' conftest.er1 >conftest.err
60687 rm -f conftest.er1
60688 cat conftest.err >&5
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); } &&
60691 { ac_try='test -z "$ac_cxx_werror_flag"
60692 || test ! -s conftest.err'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; } &&
60698 { ac_try='test -s conftest.$ac_objext'
60699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60700 (eval $ac_try) 2>&5
60701 ac_status=$?
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); }; }; then
60704 glibcxx_cv_func__logf_use=yes
60705 else
60706 echo "$as_me: failed program was:" >&5
60707 sed 's/^/| /' conftest.$ac_ext >&5
60709 glibcxx_cv_func__logf_use=no
60711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60712 ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60723 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60725 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60727 for ac_func in _logf
60729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60730 echo "$as_me:$LINENO: checking for $ac_func" >&5
60731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60732 if eval "test \"\${$as_ac_var+set}\" = set"; then
60733 echo $ECHO_N "(cached) $ECHO_C" >&6
60734 else
60735 if test x$gcc_no_link = xyes; then
60736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60738 { (exit 1); exit 1; }; }
60740 cat >conftest.$ac_ext <<_ACEOF
60741 /* confdefs.h. */
60742 _ACEOF
60743 cat confdefs.h >>conftest.$ac_ext
60744 cat >>conftest.$ac_ext <<_ACEOF
60745 /* end confdefs.h. */
60746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60748 #define $ac_func innocuous_$ac_func
60750 /* System header to define __stub macros and hopefully few prototypes,
60751 which can conflict with char $ac_func (); below.
60752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60753 <limits.h> exists even on freestanding compilers. */
60755 #ifdef __STDC__
60756 # include <limits.h>
60757 #else
60758 # include <assert.h>
60759 #endif
60761 #undef $ac_func
60763 /* Override any gcc2 internal prototype to avoid an error. */
60764 #ifdef __cplusplus
60765 extern "C"
60767 #endif
60768 /* We use char because int might match the return type of a gcc2
60769 builtin and then its argument prototype would still apply. */
60770 char $ac_func ();
60771 /* The GNU C library defines this for functions which it implements
60772 to always fail with ENOSYS. Some functions are actually named
60773 something starting with __ and the normal name is an alias. */
60774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60775 choke me
60776 #else
60777 char (*f) () = $ac_func;
60778 #endif
60779 #ifdef __cplusplus
60781 #endif
60784 main ()
60786 return f != $ac_func;
60788 return 0;
60790 _ACEOF
60791 rm -f conftest.$ac_objext conftest$ac_exeext
60792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60793 (eval $ac_link) 2>conftest.er1
60794 ac_status=$?
60795 grep -v '^ *+' conftest.er1 >conftest.err
60796 rm -f conftest.er1
60797 cat conftest.err >&5
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); } &&
60800 { ac_try='test -z "$ac_c_werror_flag"
60801 || test ! -s conftest.err'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; } &&
60807 { ac_try='test -s conftest$ac_exeext'
60808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809 (eval $ac_try) 2>&5
60810 ac_status=$?
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); }; }; then
60813 eval "$as_ac_var=yes"
60814 else
60815 echo "$as_me: failed program was:" >&5
60816 sed 's/^/| /' conftest.$ac_ext >&5
60818 eval "$as_ac_var=no"
60820 rm -f conftest.err conftest.$ac_objext \
60821 conftest$ac_exeext conftest.$ac_ext
60823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60825 if test `eval echo '${'$as_ac_var'}'` = yes; then
60826 cat >>confdefs.h <<_ACEOF
60827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60828 _ACEOF
60831 done
60838 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60839 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60840 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60841 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60842 echo $ECHO_N "(cached) $ECHO_C" >&6
60843 else
60847 ac_ext=cc
60848 ac_cpp='$CXXCPP $CPPFLAGS'
60849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60853 cat >conftest.$ac_ext <<_ACEOF
60854 /* confdefs.h. */
60855 _ACEOF
60856 cat confdefs.h >>conftest.$ac_ext
60857 cat >>conftest.$ac_ext <<_ACEOF
60858 /* end confdefs.h. */
60859 #include <math.h>
60860 #ifdef HAVE_IEEEFP_H
60861 #include <ieeefp.h>
60862 #endif
60865 main ()
60867 log10f(0);
60869 return 0;
60871 _ACEOF
60872 rm -f conftest.$ac_objext
60873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60874 (eval $ac_compile) 2>conftest.er1
60875 ac_status=$?
60876 grep -v '^ *+' conftest.er1 >conftest.err
60877 rm -f conftest.er1
60878 cat conftest.err >&5
60879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880 (exit $ac_status); } &&
60881 { ac_try='test -z "$ac_cxx_werror_flag"
60882 || test ! -s conftest.err'
60883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60884 (eval $ac_try) 2>&5
60885 ac_status=$?
60886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60887 (exit $ac_status); }; } &&
60888 { ac_try='test -s conftest.$ac_objext'
60889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60890 (eval $ac_try) 2>&5
60891 ac_status=$?
60892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60893 (exit $ac_status); }; }; then
60894 glibcxx_cv_func_log10f_use=yes
60895 else
60896 echo "$as_me: failed program was:" >&5
60897 sed 's/^/| /' conftest.$ac_ext >&5
60899 glibcxx_cv_func_log10f_use=no
60901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60902 ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60913 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60915 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60917 for ac_func in log10f
60919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60920 echo "$as_me:$LINENO: checking for $ac_func" >&5
60921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60922 if eval "test \"\${$as_ac_var+set}\" = set"; then
60923 echo $ECHO_N "(cached) $ECHO_C" >&6
60924 else
60925 if test x$gcc_no_link = xyes; then
60926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60928 { (exit 1); exit 1; }; }
60930 cat >conftest.$ac_ext <<_ACEOF
60931 /* confdefs.h. */
60932 _ACEOF
60933 cat confdefs.h >>conftest.$ac_ext
60934 cat >>conftest.$ac_ext <<_ACEOF
60935 /* end confdefs.h. */
60936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60938 #define $ac_func innocuous_$ac_func
60940 /* System header to define __stub macros and hopefully few prototypes,
60941 which can conflict with char $ac_func (); below.
60942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60943 <limits.h> exists even on freestanding compilers. */
60945 #ifdef __STDC__
60946 # include <limits.h>
60947 #else
60948 # include <assert.h>
60949 #endif
60951 #undef $ac_func
60953 /* Override any gcc2 internal prototype to avoid an error. */
60954 #ifdef __cplusplus
60955 extern "C"
60957 #endif
60958 /* We use char because int might match the return type of a gcc2
60959 builtin and then its argument prototype would still apply. */
60960 char $ac_func ();
60961 /* The GNU C library defines this for functions which it implements
60962 to always fail with ENOSYS. Some functions are actually named
60963 something starting with __ and the normal name is an alias. */
60964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60965 choke me
60966 #else
60967 char (*f) () = $ac_func;
60968 #endif
60969 #ifdef __cplusplus
60971 #endif
60974 main ()
60976 return f != $ac_func;
60978 return 0;
60980 _ACEOF
60981 rm -f conftest.$ac_objext conftest$ac_exeext
60982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60983 (eval $ac_link) 2>conftest.er1
60984 ac_status=$?
60985 grep -v '^ *+' conftest.er1 >conftest.err
60986 rm -f conftest.er1
60987 cat conftest.err >&5
60988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60989 (exit $ac_status); } &&
60990 { ac_try='test -z "$ac_c_werror_flag"
60991 || test ! -s conftest.err'
60992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60993 (eval $ac_try) 2>&5
60994 ac_status=$?
60995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60996 (exit $ac_status); }; } &&
60997 { ac_try='test -s conftest$ac_exeext'
60998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60999 (eval $ac_try) 2>&5
61000 ac_status=$?
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); }; }; then
61003 eval "$as_ac_var=yes"
61004 else
61005 echo "$as_me: failed program was:" >&5
61006 sed 's/^/| /' conftest.$ac_ext >&5
61008 eval "$as_ac_var=no"
61010 rm -f conftest.err conftest.$ac_objext \
61011 conftest$ac_exeext conftest.$ac_ext
61013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61015 if test `eval echo '${'$as_ac_var'}'` = yes; then
61016 cat >>confdefs.h <<_ACEOF
61017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61018 _ACEOF
61021 done
61023 else
61025 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61026 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61027 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61028 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61029 echo $ECHO_N "(cached) $ECHO_C" >&6
61030 else
61034 ac_ext=cc
61035 ac_cpp='$CXXCPP $CPPFLAGS'
61036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61040 cat >conftest.$ac_ext <<_ACEOF
61041 /* confdefs.h. */
61042 _ACEOF
61043 cat confdefs.h >>conftest.$ac_ext
61044 cat >>conftest.$ac_ext <<_ACEOF
61045 /* end confdefs.h. */
61046 #include <math.h>
61047 #ifdef HAVE_IEEEFP_H
61048 #include <ieeefp.h>
61049 #endif
61052 main ()
61054 _log10f(0);
61056 return 0;
61058 _ACEOF
61059 rm -f conftest.$ac_objext
61060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61061 (eval $ac_compile) 2>conftest.er1
61062 ac_status=$?
61063 grep -v '^ *+' conftest.er1 >conftest.err
61064 rm -f conftest.er1
61065 cat conftest.err >&5
61066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067 (exit $ac_status); } &&
61068 { ac_try='test -z "$ac_cxx_werror_flag"
61069 || test ! -s conftest.err'
61070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61071 (eval $ac_try) 2>&5
61072 ac_status=$?
61073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61074 (exit $ac_status); }; } &&
61075 { ac_try='test -s conftest.$ac_objext'
61076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61077 (eval $ac_try) 2>&5
61078 ac_status=$?
61079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61080 (exit $ac_status); }; }; then
61081 glibcxx_cv_func__log10f_use=yes
61082 else
61083 echo "$as_me: failed program was:" >&5
61084 sed 's/^/| /' conftest.$ac_ext >&5
61086 glibcxx_cv_func__log10f_use=no
61088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61089 ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61100 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61102 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61104 for ac_func in _log10f
61106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61107 echo "$as_me:$LINENO: checking for $ac_func" >&5
61108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61109 if eval "test \"\${$as_ac_var+set}\" = set"; then
61110 echo $ECHO_N "(cached) $ECHO_C" >&6
61111 else
61112 if test x$gcc_no_link = xyes; then
61113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61115 { (exit 1); exit 1; }; }
61117 cat >conftest.$ac_ext <<_ACEOF
61118 /* confdefs.h. */
61119 _ACEOF
61120 cat confdefs.h >>conftest.$ac_ext
61121 cat >>conftest.$ac_ext <<_ACEOF
61122 /* end confdefs.h. */
61123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61125 #define $ac_func innocuous_$ac_func
61127 /* System header to define __stub macros and hopefully few prototypes,
61128 which can conflict with char $ac_func (); below.
61129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61130 <limits.h> exists even on freestanding compilers. */
61132 #ifdef __STDC__
61133 # include <limits.h>
61134 #else
61135 # include <assert.h>
61136 #endif
61138 #undef $ac_func
61140 /* Override any gcc2 internal prototype to avoid an error. */
61141 #ifdef __cplusplus
61142 extern "C"
61144 #endif
61145 /* We use char because int might match the return type of a gcc2
61146 builtin and then its argument prototype would still apply. */
61147 char $ac_func ();
61148 /* The GNU C library defines this for functions which it implements
61149 to always fail with ENOSYS. Some functions are actually named
61150 something starting with __ and the normal name is an alias. */
61151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61152 choke me
61153 #else
61154 char (*f) () = $ac_func;
61155 #endif
61156 #ifdef __cplusplus
61158 #endif
61161 main ()
61163 return f != $ac_func;
61165 return 0;
61167 _ACEOF
61168 rm -f conftest.$ac_objext conftest$ac_exeext
61169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61170 (eval $ac_link) 2>conftest.er1
61171 ac_status=$?
61172 grep -v '^ *+' conftest.er1 >conftest.err
61173 rm -f conftest.er1
61174 cat conftest.err >&5
61175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176 (exit $ac_status); } &&
61177 { ac_try='test -z "$ac_c_werror_flag"
61178 || test ! -s conftest.err'
61179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61180 (eval $ac_try) 2>&5
61181 ac_status=$?
61182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183 (exit $ac_status); }; } &&
61184 { ac_try='test -s conftest$ac_exeext'
61185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186 (eval $ac_try) 2>&5
61187 ac_status=$?
61188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189 (exit $ac_status); }; }; then
61190 eval "$as_ac_var=yes"
61191 else
61192 echo "$as_me: failed program was:" >&5
61193 sed 's/^/| /' conftest.$ac_ext >&5
61195 eval "$as_ac_var=no"
61197 rm -f conftest.err conftest.$ac_objext \
61198 conftest$ac_exeext conftest.$ac_ext
61200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61202 if test `eval echo '${'$as_ac_var'}'` = yes; then
61203 cat >>confdefs.h <<_ACEOF
61204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61205 _ACEOF
61208 done
61215 echo "$as_me:$LINENO: checking for modff declaration" >&5
61216 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61217 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61218 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61219 echo $ECHO_N "(cached) $ECHO_C" >&6
61220 else
61224 ac_ext=cc
61225 ac_cpp='$CXXCPP $CPPFLAGS'
61226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61230 cat >conftest.$ac_ext <<_ACEOF
61231 /* confdefs.h. */
61232 _ACEOF
61233 cat confdefs.h >>conftest.$ac_ext
61234 cat >>conftest.$ac_ext <<_ACEOF
61235 /* end confdefs.h. */
61236 #include <math.h>
61238 main ()
61240 modff(0, 0);
61242 return 0;
61244 _ACEOF
61245 rm -f conftest.$ac_objext
61246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61247 (eval $ac_compile) 2>conftest.er1
61248 ac_status=$?
61249 grep -v '^ *+' conftest.er1 >conftest.err
61250 rm -f conftest.er1
61251 cat conftest.err >&5
61252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253 (exit $ac_status); } &&
61254 { ac_try='test -z "$ac_cxx_werror_flag"
61255 || test ! -s conftest.err'
61256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61257 (eval $ac_try) 2>&5
61258 ac_status=$?
61259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61260 (exit $ac_status); }; } &&
61261 { ac_try='test -s conftest.$ac_objext'
61262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61263 (eval $ac_try) 2>&5
61264 ac_status=$?
61265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61266 (exit $ac_status); }; }; then
61267 glibcxx_cv_func_modff_use=yes
61268 else
61269 echo "$as_me: failed program was:" >&5
61270 sed 's/^/| /' conftest.$ac_ext >&5
61272 glibcxx_cv_func_modff_use=no
61274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61275 ac_ext=c
61276 ac_cpp='$CPP $CPPFLAGS'
61277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61286 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61288 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61290 for ac_func in modff
61292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61293 echo "$as_me:$LINENO: checking for $ac_func" >&5
61294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61295 if eval "test \"\${$as_ac_var+set}\" = set"; then
61296 echo $ECHO_N "(cached) $ECHO_C" >&6
61297 else
61298 if test x$gcc_no_link = xyes; then
61299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61301 { (exit 1); exit 1; }; }
61303 cat >conftest.$ac_ext <<_ACEOF
61304 /* confdefs.h. */
61305 _ACEOF
61306 cat confdefs.h >>conftest.$ac_ext
61307 cat >>conftest.$ac_ext <<_ACEOF
61308 /* end confdefs.h. */
61309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61311 #define $ac_func innocuous_$ac_func
61313 /* System header to define __stub macros and hopefully few prototypes,
61314 which can conflict with char $ac_func (); below.
61315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61316 <limits.h> exists even on freestanding compilers. */
61318 #ifdef __STDC__
61319 # include <limits.h>
61320 #else
61321 # include <assert.h>
61322 #endif
61324 #undef $ac_func
61326 /* Override any gcc2 internal prototype to avoid an error. */
61327 #ifdef __cplusplus
61328 extern "C"
61330 #endif
61331 /* We use char because int might match the return type of a gcc2
61332 builtin and then its argument prototype would still apply. */
61333 char $ac_func ();
61334 /* The GNU C library defines this for functions which it implements
61335 to always fail with ENOSYS. Some functions are actually named
61336 something starting with __ and the normal name is an alias. */
61337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61338 choke me
61339 #else
61340 char (*f) () = $ac_func;
61341 #endif
61342 #ifdef __cplusplus
61344 #endif
61347 main ()
61349 return f != $ac_func;
61351 return 0;
61353 _ACEOF
61354 rm -f conftest.$ac_objext conftest$ac_exeext
61355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61356 (eval $ac_link) 2>conftest.er1
61357 ac_status=$?
61358 grep -v '^ *+' conftest.er1 >conftest.err
61359 rm -f conftest.er1
61360 cat conftest.err >&5
61361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362 (exit $ac_status); } &&
61363 { ac_try='test -z "$ac_c_werror_flag"
61364 || test ! -s conftest.err'
61365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61366 (eval $ac_try) 2>&5
61367 ac_status=$?
61368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369 (exit $ac_status); }; } &&
61370 { ac_try='test -s conftest$ac_exeext'
61371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61372 (eval $ac_try) 2>&5
61373 ac_status=$?
61374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375 (exit $ac_status); }; }; then
61376 eval "$as_ac_var=yes"
61377 else
61378 echo "$as_me: failed program was:" >&5
61379 sed 's/^/| /' conftest.$ac_ext >&5
61381 eval "$as_ac_var=no"
61383 rm -f conftest.err conftest.$ac_objext \
61384 conftest$ac_exeext conftest.$ac_ext
61386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61388 if test `eval echo '${'$as_ac_var'}'` = yes; then
61389 cat >>confdefs.h <<_ACEOF
61390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61391 _ACEOF
61394 done
61396 else
61398 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61399 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61400 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61401 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61402 echo $ECHO_N "(cached) $ECHO_C" >&6
61403 else
61407 ac_ext=cc
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413 cat >conftest.$ac_ext <<_ACEOF
61414 /* confdefs.h. */
61415 _ACEOF
61416 cat confdefs.h >>conftest.$ac_ext
61417 cat >>conftest.$ac_ext <<_ACEOF
61418 /* end confdefs.h. */
61419 #include <math.h>
61421 main ()
61423 _modff(0, 0);
61425 return 0;
61427 _ACEOF
61428 rm -f conftest.$ac_objext
61429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61430 (eval $ac_compile) 2>conftest.er1
61431 ac_status=$?
61432 grep -v '^ *+' conftest.er1 >conftest.err
61433 rm -f conftest.er1
61434 cat conftest.err >&5
61435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61436 (exit $ac_status); } &&
61437 { ac_try='test -z "$ac_cxx_werror_flag"
61438 || test ! -s conftest.err'
61439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61440 (eval $ac_try) 2>&5
61441 ac_status=$?
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); }; } &&
61444 { ac_try='test -s conftest.$ac_objext'
61445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446 (eval $ac_try) 2>&5
61447 ac_status=$?
61448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449 (exit $ac_status); }; }; then
61450 glibcxx_cv_func__modff_use=yes
61451 else
61452 echo "$as_me: failed program was:" >&5
61453 sed 's/^/| /' conftest.$ac_ext >&5
61455 glibcxx_cv_func__modff_use=no
61457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61458 ac_ext=c
61459 ac_cpp='$CPP $CPPFLAGS'
61460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61469 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61471 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61473 for ac_func in _modff
61475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61476 echo "$as_me:$LINENO: checking for $ac_func" >&5
61477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61478 if eval "test \"\${$as_ac_var+set}\" = set"; then
61479 echo $ECHO_N "(cached) $ECHO_C" >&6
61480 else
61481 if test x$gcc_no_link = xyes; then
61482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61484 { (exit 1); exit 1; }; }
61486 cat >conftest.$ac_ext <<_ACEOF
61487 /* confdefs.h. */
61488 _ACEOF
61489 cat confdefs.h >>conftest.$ac_ext
61490 cat >>conftest.$ac_ext <<_ACEOF
61491 /* end confdefs.h. */
61492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61494 #define $ac_func innocuous_$ac_func
61496 /* System header to define __stub macros and hopefully few prototypes,
61497 which can conflict with char $ac_func (); below.
61498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61499 <limits.h> exists even on freestanding compilers. */
61501 #ifdef __STDC__
61502 # include <limits.h>
61503 #else
61504 # include <assert.h>
61505 #endif
61507 #undef $ac_func
61509 /* Override any gcc2 internal prototype to avoid an error. */
61510 #ifdef __cplusplus
61511 extern "C"
61513 #endif
61514 /* We use char because int might match the return type of a gcc2
61515 builtin and then its argument prototype would still apply. */
61516 char $ac_func ();
61517 /* The GNU C library defines this for functions which it implements
61518 to always fail with ENOSYS. Some functions are actually named
61519 something starting with __ and the normal name is an alias. */
61520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61521 choke me
61522 #else
61523 char (*f) () = $ac_func;
61524 #endif
61525 #ifdef __cplusplus
61527 #endif
61530 main ()
61532 return f != $ac_func;
61534 return 0;
61536 _ACEOF
61537 rm -f conftest.$ac_objext conftest$ac_exeext
61538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61539 (eval $ac_link) 2>conftest.er1
61540 ac_status=$?
61541 grep -v '^ *+' conftest.er1 >conftest.err
61542 rm -f conftest.er1
61543 cat conftest.err >&5
61544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545 (exit $ac_status); } &&
61546 { ac_try='test -z "$ac_c_werror_flag"
61547 || test ! -s conftest.err'
61548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61549 (eval $ac_try) 2>&5
61550 ac_status=$?
61551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552 (exit $ac_status); }; } &&
61553 { ac_try='test -s conftest$ac_exeext'
61554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61555 (eval $ac_try) 2>&5
61556 ac_status=$?
61557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61558 (exit $ac_status); }; }; then
61559 eval "$as_ac_var=yes"
61560 else
61561 echo "$as_me: failed program was:" >&5
61562 sed 's/^/| /' conftest.$ac_ext >&5
61564 eval "$as_ac_var=no"
61566 rm -f conftest.err conftest.$ac_objext \
61567 conftest$ac_exeext conftest.$ac_ext
61569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61571 if test `eval echo '${'$as_ac_var'}'` = yes; then
61572 cat >>confdefs.h <<_ACEOF
61573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61574 _ACEOF
61577 done
61584 echo "$as_me:$LINENO: checking for powf declaration" >&5
61585 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61586 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61587 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61588 echo $ECHO_N "(cached) $ECHO_C" >&6
61589 else
61593 ac_ext=cc
61594 ac_cpp='$CXXCPP $CPPFLAGS'
61595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599 cat >conftest.$ac_ext <<_ACEOF
61600 /* confdefs.h. */
61601 _ACEOF
61602 cat confdefs.h >>conftest.$ac_ext
61603 cat >>conftest.$ac_ext <<_ACEOF
61604 /* end confdefs.h. */
61605 #include <math.h>
61607 main ()
61609 powf(0, 0);
61611 return 0;
61613 _ACEOF
61614 rm -f conftest.$ac_objext
61615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61616 (eval $ac_compile) 2>conftest.er1
61617 ac_status=$?
61618 grep -v '^ *+' conftest.er1 >conftest.err
61619 rm -f conftest.er1
61620 cat conftest.err >&5
61621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61622 (exit $ac_status); } &&
61623 { ac_try='test -z "$ac_cxx_werror_flag"
61624 || test ! -s conftest.err'
61625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61626 (eval $ac_try) 2>&5
61627 ac_status=$?
61628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61629 (exit $ac_status); }; } &&
61630 { ac_try='test -s conftest.$ac_objext'
61631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61632 (eval $ac_try) 2>&5
61633 ac_status=$?
61634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61635 (exit $ac_status); }; }; then
61636 glibcxx_cv_func_powf_use=yes
61637 else
61638 echo "$as_me: failed program was:" >&5
61639 sed 's/^/| /' conftest.$ac_ext >&5
61641 glibcxx_cv_func_powf_use=no
61643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61644 ac_ext=c
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61655 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61657 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61659 for ac_func in powf
61661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61662 echo "$as_me:$LINENO: checking for $ac_func" >&5
61663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61664 if eval "test \"\${$as_ac_var+set}\" = set"; then
61665 echo $ECHO_N "(cached) $ECHO_C" >&6
61666 else
61667 if test x$gcc_no_link = xyes; then
61668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61670 { (exit 1); exit 1; }; }
61672 cat >conftest.$ac_ext <<_ACEOF
61673 /* confdefs.h. */
61674 _ACEOF
61675 cat confdefs.h >>conftest.$ac_ext
61676 cat >>conftest.$ac_ext <<_ACEOF
61677 /* end confdefs.h. */
61678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61680 #define $ac_func innocuous_$ac_func
61682 /* System header to define __stub macros and hopefully few prototypes,
61683 which can conflict with char $ac_func (); below.
61684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61685 <limits.h> exists even on freestanding compilers. */
61687 #ifdef __STDC__
61688 # include <limits.h>
61689 #else
61690 # include <assert.h>
61691 #endif
61693 #undef $ac_func
61695 /* Override any gcc2 internal prototype to avoid an error. */
61696 #ifdef __cplusplus
61697 extern "C"
61699 #endif
61700 /* We use char because int might match the return type of a gcc2
61701 builtin and then its argument prototype would still apply. */
61702 char $ac_func ();
61703 /* The GNU C library defines this for functions which it implements
61704 to always fail with ENOSYS. Some functions are actually named
61705 something starting with __ and the normal name is an alias. */
61706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61707 choke me
61708 #else
61709 char (*f) () = $ac_func;
61710 #endif
61711 #ifdef __cplusplus
61713 #endif
61716 main ()
61718 return f != $ac_func;
61720 return 0;
61722 _ACEOF
61723 rm -f conftest.$ac_objext conftest$ac_exeext
61724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61725 (eval $ac_link) 2>conftest.er1
61726 ac_status=$?
61727 grep -v '^ *+' conftest.er1 >conftest.err
61728 rm -f conftest.er1
61729 cat conftest.err >&5
61730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61731 (exit $ac_status); } &&
61732 { ac_try='test -z "$ac_c_werror_flag"
61733 || test ! -s conftest.err'
61734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61735 (eval $ac_try) 2>&5
61736 ac_status=$?
61737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738 (exit $ac_status); }; } &&
61739 { ac_try='test -s conftest$ac_exeext'
61740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61741 (eval $ac_try) 2>&5
61742 ac_status=$?
61743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61744 (exit $ac_status); }; }; then
61745 eval "$as_ac_var=yes"
61746 else
61747 echo "$as_me: failed program was:" >&5
61748 sed 's/^/| /' conftest.$ac_ext >&5
61750 eval "$as_ac_var=no"
61752 rm -f conftest.err conftest.$ac_objext \
61753 conftest$ac_exeext conftest.$ac_ext
61755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61757 if test `eval echo '${'$as_ac_var'}'` = yes; then
61758 cat >>confdefs.h <<_ACEOF
61759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61760 _ACEOF
61763 done
61765 else
61767 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61768 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61769 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61770 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61771 echo $ECHO_N "(cached) $ECHO_C" >&6
61772 else
61776 ac_ext=cc
61777 ac_cpp='$CXXCPP $CPPFLAGS'
61778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61782 cat >conftest.$ac_ext <<_ACEOF
61783 /* confdefs.h. */
61784 _ACEOF
61785 cat confdefs.h >>conftest.$ac_ext
61786 cat >>conftest.$ac_ext <<_ACEOF
61787 /* end confdefs.h. */
61788 #include <math.h>
61790 main ()
61792 _powf(0, 0);
61794 return 0;
61796 _ACEOF
61797 rm -f conftest.$ac_objext
61798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61799 (eval $ac_compile) 2>conftest.er1
61800 ac_status=$?
61801 grep -v '^ *+' conftest.er1 >conftest.err
61802 rm -f conftest.er1
61803 cat conftest.err >&5
61804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61805 (exit $ac_status); } &&
61806 { ac_try='test -z "$ac_cxx_werror_flag"
61807 || test ! -s conftest.err'
61808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61809 (eval $ac_try) 2>&5
61810 ac_status=$?
61811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812 (exit $ac_status); }; } &&
61813 { ac_try='test -s conftest.$ac_objext'
61814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61815 (eval $ac_try) 2>&5
61816 ac_status=$?
61817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61818 (exit $ac_status); }; }; then
61819 glibcxx_cv_func__powf_use=yes
61820 else
61821 echo "$as_me: failed program was:" >&5
61822 sed 's/^/| /' conftest.$ac_ext >&5
61824 glibcxx_cv_func__powf_use=no
61826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61827 ac_ext=c
61828 ac_cpp='$CPP $CPPFLAGS'
61829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61838 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61840 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61842 for ac_func in _powf
61844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61845 echo "$as_me:$LINENO: checking for $ac_func" >&5
61846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61847 if eval "test \"\${$as_ac_var+set}\" = set"; then
61848 echo $ECHO_N "(cached) $ECHO_C" >&6
61849 else
61850 if test x$gcc_no_link = xyes; then
61851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61853 { (exit 1); exit 1; }; }
61855 cat >conftest.$ac_ext <<_ACEOF
61856 /* confdefs.h. */
61857 _ACEOF
61858 cat confdefs.h >>conftest.$ac_ext
61859 cat >>conftest.$ac_ext <<_ACEOF
61860 /* end confdefs.h. */
61861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61863 #define $ac_func innocuous_$ac_func
61865 /* System header to define __stub macros and hopefully few prototypes,
61866 which can conflict with char $ac_func (); below.
61867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61868 <limits.h> exists even on freestanding compilers. */
61870 #ifdef __STDC__
61871 # include <limits.h>
61872 #else
61873 # include <assert.h>
61874 #endif
61876 #undef $ac_func
61878 /* Override any gcc2 internal prototype to avoid an error. */
61879 #ifdef __cplusplus
61880 extern "C"
61882 #endif
61883 /* We use char because int might match the return type of a gcc2
61884 builtin and then its argument prototype would still apply. */
61885 char $ac_func ();
61886 /* The GNU C library defines this for functions which it implements
61887 to always fail with ENOSYS. Some functions are actually named
61888 something starting with __ and the normal name is an alias. */
61889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61890 choke me
61891 #else
61892 char (*f) () = $ac_func;
61893 #endif
61894 #ifdef __cplusplus
61896 #endif
61899 main ()
61901 return f != $ac_func;
61903 return 0;
61905 _ACEOF
61906 rm -f conftest.$ac_objext conftest$ac_exeext
61907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61908 (eval $ac_link) 2>conftest.er1
61909 ac_status=$?
61910 grep -v '^ *+' conftest.er1 >conftest.err
61911 rm -f conftest.er1
61912 cat conftest.err >&5
61913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61914 (exit $ac_status); } &&
61915 { ac_try='test -z "$ac_c_werror_flag"
61916 || test ! -s conftest.err'
61917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61918 (eval $ac_try) 2>&5
61919 ac_status=$?
61920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921 (exit $ac_status); }; } &&
61922 { ac_try='test -s conftest$ac_exeext'
61923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61924 (eval $ac_try) 2>&5
61925 ac_status=$?
61926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61927 (exit $ac_status); }; }; then
61928 eval "$as_ac_var=yes"
61929 else
61930 echo "$as_me: failed program was:" >&5
61931 sed 's/^/| /' conftest.$ac_ext >&5
61933 eval "$as_ac_var=no"
61935 rm -f conftest.err conftest.$ac_objext \
61936 conftest$ac_exeext conftest.$ac_ext
61938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61940 if test `eval echo '${'$as_ac_var'}'` = yes; then
61941 cat >>confdefs.h <<_ACEOF
61942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61943 _ACEOF
61946 done
61953 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61954 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61955 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61956 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61957 echo $ECHO_N "(cached) $ECHO_C" >&6
61958 else
61962 ac_ext=cc
61963 ac_cpp='$CXXCPP $CPPFLAGS'
61964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61968 cat >conftest.$ac_ext <<_ACEOF
61969 /* confdefs.h. */
61970 _ACEOF
61971 cat confdefs.h >>conftest.$ac_ext
61972 cat >>conftest.$ac_ext <<_ACEOF
61973 /* end confdefs.h. */
61974 #include <math.h>
61975 #ifdef HAVE_IEEEFP_H
61976 #include <ieeefp.h>
61977 #endif
61980 main ()
61982 sqrtf(0);
61984 return 0;
61986 _ACEOF
61987 rm -f conftest.$ac_objext
61988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61989 (eval $ac_compile) 2>conftest.er1
61990 ac_status=$?
61991 grep -v '^ *+' conftest.er1 >conftest.err
61992 rm -f conftest.er1
61993 cat conftest.err >&5
61994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995 (exit $ac_status); } &&
61996 { ac_try='test -z "$ac_cxx_werror_flag"
61997 || test ! -s conftest.err'
61998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61999 (eval $ac_try) 2>&5
62000 ac_status=$?
62001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002 (exit $ac_status); }; } &&
62003 { ac_try='test -s conftest.$ac_objext'
62004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62005 (eval $ac_try) 2>&5
62006 ac_status=$?
62007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62008 (exit $ac_status); }; }; then
62009 glibcxx_cv_func_sqrtf_use=yes
62010 else
62011 echo "$as_me: failed program was:" >&5
62012 sed 's/^/| /' conftest.$ac_ext >&5
62014 glibcxx_cv_func_sqrtf_use=no
62016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62017 ac_ext=c
62018 ac_cpp='$CPP $CPPFLAGS'
62019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62028 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62030 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62032 for ac_func in sqrtf
62034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62035 echo "$as_me:$LINENO: checking for $ac_func" >&5
62036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62037 if eval "test \"\${$as_ac_var+set}\" = set"; then
62038 echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62040 if test x$gcc_no_link = xyes; then
62041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62043 { (exit 1); exit 1; }; }
62045 cat >conftest.$ac_ext <<_ACEOF
62046 /* confdefs.h. */
62047 _ACEOF
62048 cat confdefs.h >>conftest.$ac_ext
62049 cat >>conftest.$ac_ext <<_ACEOF
62050 /* end confdefs.h. */
62051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62053 #define $ac_func innocuous_$ac_func
62055 /* System header to define __stub macros and hopefully few prototypes,
62056 which can conflict with char $ac_func (); below.
62057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62058 <limits.h> exists even on freestanding compilers. */
62060 #ifdef __STDC__
62061 # include <limits.h>
62062 #else
62063 # include <assert.h>
62064 #endif
62066 #undef $ac_func
62068 /* Override any gcc2 internal prototype to avoid an error. */
62069 #ifdef __cplusplus
62070 extern "C"
62072 #endif
62073 /* We use char because int might match the return type of a gcc2
62074 builtin and then its argument prototype would still apply. */
62075 char $ac_func ();
62076 /* The GNU C library defines this for functions which it implements
62077 to always fail with ENOSYS. Some functions are actually named
62078 something starting with __ and the normal name is an alias. */
62079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62080 choke me
62081 #else
62082 char (*f) () = $ac_func;
62083 #endif
62084 #ifdef __cplusplus
62086 #endif
62089 main ()
62091 return f != $ac_func;
62093 return 0;
62095 _ACEOF
62096 rm -f conftest.$ac_objext conftest$ac_exeext
62097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62098 (eval $ac_link) 2>conftest.er1
62099 ac_status=$?
62100 grep -v '^ *+' conftest.er1 >conftest.err
62101 rm -f conftest.er1
62102 cat conftest.err >&5
62103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62104 (exit $ac_status); } &&
62105 { ac_try='test -z "$ac_c_werror_flag"
62106 || test ! -s conftest.err'
62107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62108 (eval $ac_try) 2>&5
62109 ac_status=$?
62110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62111 (exit $ac_status); }; } &&
62112 { ac_try='test -s conftest$ac_exeext'
62113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62114 (eval $ac_try) 2>&5
62115 ac_status=$?
62116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62117 (exit $ac_status); }; }; then
62118 eval "$as_ac_var=yes"
62119 else
62120 echo "$as_me: failed program was:" >&5
62121 sed 's/^/| /' conftest.$ac_ext >&5
62123 eval "$as_ac_var=no"
62125 rm -f conftest.err conftest.$ac_objext \
62126 conftest$ac_exeext conftest.$ac_ext
62128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62130 if test `eval echo '${'$as_ac_var'}'` = yes; then
62131 cat >>confdefs.h <<_ACEOF
62132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62133 _ACEOF
62136 done
62138 else
62140 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62141 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62142 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62143 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62144 echo $ECHO_N "(cached) $ECHO_C" >&6
62145 else
62149 ac_ext=cc
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155 cat >conftest.$ac_ext <<_ACEOF
62156 /* confdefs.h. */
62157 _ACEOF
62158 cat confdefs.h >>conftest.$ac_ext
62159 cat >>conftest.$ac_ext <<_ACEOF
62160 /* end confdefs.h. */
62161 #include <math.h>
62162 #ifdef HAVE_IEEEFP_H
62163 #include <ieeefp.h>
62164 #endif
62167 main ()
62169 _sqrtf(0);
62171 return 0;
62173 _ACEOF
62174 rm -f conftest.$ac_objext
62175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62176 (eval $ac_compile) 2>conftest.er1
62177 ac_status=$?
62178 grep -v '^ *+' conftest.er1 >conftest.err
62179 rm -f conftest.er1
62180 cat conftest.err >&5
62181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62182 (exit $ac_status); } &&
62183 { ac_try='test -z "$ac_cxx_werror_flag"
62184 || test ! -s conftest.err'
62185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62186 (eval $ac_try) 2>&5
62187 ac_status=$?
62188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62189 (exit $ac_status); }; } &&
62190 { ac_try='test -s conftest.$ac_objext'
62191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62192 (eval $ac_try) 2>&5
62193 ac_status=$?
62194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62195 (exit $ac_status); }; }; then
62196 glibcxx_cv_func__sqrtf_use=yes
62197 else
62198 echo "$as_me: failed program was:" >&5
62199 sed 's/^/| /' conftest.$ac_ext >&5
62201 glibcxx_cv_func__sqrtf_use=no
62203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62204 ac_ext=c
62205 ac_cpp='$CPP $CPPFLAGS'
62206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62215 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62217 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62219 for ac_func in _sqrtf
62221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62222 echo "$as_me:$LINENO: checking for $ac_func" >&5
62223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62224 if eval "test \"\${$as_ac_var+set}\" = set"; then
62225 echo $ECHO_N "(cached) $ECHO_C" >&6
62226 else
62227 if test x$gcc_no_link = xyes; then
62228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62230 { (exit 1); exit 1; }; }
62232 cat >conftest.$ac_ext <<_ACEOF
62233 /* confdefs.h. */
62234 _ACEOF
62235 cat confdefs.h >>conftest.$ac_ext
62236 cat >>conftest.$ac_ext <<_ACEOF
62237 /* end confdefs.h. */
62238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62240 #define $ac_func innocuous_$ac_func
62242 /* System header to define __stub macros and hopefully few prototypes,
62243 which can conflict with char $ac_func (); below.
62244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62245 <limits.h> exists even on freestanding compilers. */
62247 #ifdef __STDC__
62248 # include <limits.h>
62249 #else
62250 # include <assert.h>
62251 #endif
62253 #undef $ac_func
62255 /* Override any gcc2 internal prototype to avoid an error. */
62256 #ifdef __cplusplus
62257 extern "C"
62259 #endif
62260 /* We use char because int might match the return type of a gcc2
62261 builtin and then its argument prototype would still apply. */
62262 char $ac_func ();
62263 /* The GNU C library defines this for functions which it implements
62264 to always fail with ENOSYS. Some functions are actually named
62265 something starting with __ and the normal name is an alias. */
62266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62267 choke me
62268 #else
62269 char (*f) () = $ac_func;
62270 #endif
62271 #ifdef __cplusplus
62273 #endif
62276 main ()
62278 return f != $ac_func;
62280 return 0;
62282 _ACEOF
62283 rm -f conftest.$ac_objext conftest$ac_exeext
62284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62285 (eval $ac_link) 2>conftest.er1
62286 ac_status=$?
62287 grep -v '^ *+' conftest.er1 >conftest.err
62288 rm -f conftest.er1
62289 cat conftest.err >&5
62290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62291 (exit $ac_status); } &&
62292 { ac_try='test -z "$ac_c_werror_flag"
62293 || test ! -s conftest.err'
62294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62295 (eval $ac_try) 2>&5
62296 ac_status=$?
62297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298 (exit $ac_status); }; } &&
62299 { ac_try='test -s conftest$ac_exeext'
62300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301 (eval $ac_try) 2>&5
62302 ac_status=$?
62303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304 (exit $ac_status); }; }; then
62305 eval "$as_ac_var=yes"
62306 else
62307 echo "$as_me: failed program was:" >&5
62308 sed 's/^/| /' conftest.$ac_ext >&5
62310 eval "$as_ac_var=no"
62312 rm -f conftest.err conftest.$ac_objext \
62313 conftest$ac_exeext conftest.$ac_ext
62315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62317 if test `eval echo '${'$as_ac_var'}'` = yes; then
62318 cat >>confdefs.h <<_ACEOF
62319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62320 _ACEOF
62323 done
62330 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62331 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62333 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62334 echo $ECHO_N "(cached) $ECHO_C" >&6
62335 else
62339 ac_ext=cc
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345 cat >conftest.$ac_ext <<_ACEOF
62346 /* confdefs.h. */
62347 _ACEOF
62348 cat confdefs.h >>conftest.$ac_ext
62349 cat >>conftest.$ac_ext <<_ACEOF
62350 /* end confdefs.h. */
62351 #include <math.h>
62353 main ()
62355 sincosf(0, 0, 0);
62357 return 0;
62359 _ACEOF
62360 rm -f conftest.$ac_objext
62361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62362 (eval $ac_compile) 2>conftest.er1
62363 ac_status=$?
62364 grep -v '^ *+' conftest.er1 >conftest.err
62365 rm -f conftest.er1
62366 cat conftest.err >&5
62367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62368 (exit $ac_status); } &&
62369 { ac_try='test -z "$ac_cxx_werror_flag"
62370 || test ! -s conftest.err'
62371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62372 (eval $ac_try) 2>&5
62373 ac_status=$?
62374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62375 (exit $ac_status); }; } &&
62376 { ac_try='test -s conftest.$ac_objext'
62377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62378 (eval $ac_try) 2>&5
62379 ac_status=$?
62380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62381 (exit $ac_status); }; }; then
62382 glibcxx_cv_func_sincosf_use=yes
62383 else
62384 echo "$as_me: failed program was:" >&5
62385 sed 's/^/| /' conftest.$ac_ext >&5
62387 glibcxx_cv_func_sincosf_use=no
62389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62401 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62403 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62405 for ac_func in sincosf
62407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62408 echo "$as_me:$LINENO: checking for $ac_func" >&5
62409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62410 if eval "test \"\${$as_ac_var+set}\" = set"; then
62411 echo $ECHO_N "(cached) $ECHO_C" >&6
62412 else
62413 if test x$gcc_no_link = xyes; then
62414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62416 { (exit 1); exit 1; }; }
62418 cat >conftest.$ac_ext <<_ACEOF
62419 /* confdefs.h. */
62420 _ACEOF
62421 cat confdefs.h >>conftest.$ac_ext
62422 cat >>conftest.$ac_ext <<_ACEOF
62423 /* end confdefs.h. */
62424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62426 #define $ac_func innocuous_$ac_func
62428 /* System header to define __stub macros and hopefully few prototypes,
62429 which can conflict with char $ac_func (); below.
62430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62431 <limits.h> exists even on freestanding compilers. */
62433 #ifdef __STDC__
62434 # include <limits.h>
62435 #else
62436 # include <assert.h>
62437 #endif
62439 #undef $ac_func
62441 /* Override any gcc2 internal prototype to avoid an error. */
62442 #ifdef __cplusplus
62443 extern "C"
62445 #endif
62446 /* We use char because int might match the return type of a gcc2
62447 builtin and then its argument prototype would still apply. */
62448 char $ac_func ();
62449 /* The GNU C library defines this for functions which it implements
62450 to always fail with ENOSYS. Some functions are actually named
62451 something starting with __ and the normal name is an alias. */
62452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62453 choke me
62454 #else
62455 char (*f) () = $ac_func;
62456 #endif
62457 #ifdef __cplusplus
62459 #endif
62462 main ()
62464 return f != $ac_func;
62466 return 0;
62468 _ACEOF
62469 rm -f conftest.$ac_objext conftest$ac_exeext
62470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62471 (eval $ac_link) 2>conftest.er1
62472 ac_status=$?
62473 grep -v '^ *+' conftest.er1 >conftest.err
62474 rm -f conftest.er1
62475 cat conftest.err >&5
62476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477 (exit $ac_status); } &&
62478 { ac_try='test -z "$ac_c_werror_flag"
62479 || test ! -s conftest.err'
62480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62481 (eval $ac_try) 2>&5
62482 ac_status=$?
62483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62484 (exit $ac_status); }; } &&
62485 { ac_try='test -s conftest$ac_exeext'
62486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62487 (eval $ac_try) 2>&5
62488 ac_status=$?
62489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62490 (exit $ac_status); }; }; then
62491 eval "$as_ac_var=yes"
62492 else
62493 echo "$as_me: failed program was:" >&5
62494 sed 's/^/| /' conftest.$ac_ext >&5
62496 eval "$as_ac_var=no"
62498 rm -f conftest.err conftest.$ac_objext \
62499 conftest$ac_exeext conftest.$ac_ext
62501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62503 if test `eval echo '${'$as_ac_var'}'` = yes; then
62504 cat >>confdefs.h <<_ACEOF
62505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62506 _ACEOF
62509 done
62511 else
62513 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62514 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62515 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62516 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62517 echo $ECHO_N "(cached) $ECHO_C" >&6
62518 else
62522 ac_ext=cc
62523 ac_cpp='$CXXCPP $CPPFLAGS'
62524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62528 cat >conftest.$ac_ext <<_ACEOF
62529 /* confdefs.h. */
62530 _ACEOF
62531 cat confdefs.h >>conftest.$ac_ext
62532 cat >>conftest.$ac_ext <<_ACEOF
62533 /* end confdefs.h. */
62534 #include <math.h>
62536 main ()
62538 _sincosf(0, 0, 0);
62540 return 0;
62542 _ACEOF
62543 rm -f conftest.$ac_objext
62544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62545 (eval $ac_compile) 2>conftest.er1
62546 ac_status=$?
62547 grep -v '^ *+' conftest.er1 >conftest.err
62548 rm -f conftest.er1
62549 cat conftest.err >&5
62550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62551 (exit $ac_status); } &&
62552 { ac_try='test -z "$ac_cxx_werror_flag"
62553 || test ! -s conftest.err'
62554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62555 (eval $ac_try) 2>&5
62556 ac_status=$?
62557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62558 (exit $ac_status); }; } &&
62559 { ac_try='test -s conftest.$ac_objext'
62560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62561 (eval $ac_try) 2>&5
62562 ac_status=$?
62563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62564 (exit $ac_status); }; }; then
62565 glibcxx_cv_func__sincosf_use=yes
62566 else
62567 echo "$as_me: failed program was:" >&5
62568 sed 's/^/| /' conftest.$ac_ext >&5
62570 glibcxx_cv_func__sincosf_use=no
62572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62584 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62586 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62588 for ac_func in _sincosf
62590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62591 echo "$as_me:$LINENO: checking for $ac_func" >&5
62592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62593 if eval "test \"\${$as_ac_var+set}\" = set"; then
62594 echo $ECHO_N "(cached) $ECHO_C" >&6
62595 else
62596 if test x$gcc_no_link = xyes; then
62597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62599 { (exit 1); exit 1; }; }
62601 cat >conftest.$ac_ext <<_ACEOF
62602 /* confdefs.h. */
62603 _ACEOF
62604 cat confdefs.h >>conftest.$ac_ext
62605 cat >>conftest.$ac_ext <<_ACEOF
62606 /* end confdefs.h. */
62607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62609 #define $ac_func innocuous_$ac_func
62611 /* System header to define __stub macros and hopefully few prototypes,
62612 which can conflict with char $ac_func (); below.
62613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62614 <limits.h> exists even on freestanding compilers. */
62616 #ifdef __STDC__
62617 # include <limits.h>
62618 #else
62619 # include <assert.h>
62620 #endif
62622 #undef $ac_func
62624 /* Override any gcc2 internal prototype to avoid an error. */
62625 #ifdef __cplusplus
62626 extern "C"
62628 #endif
62629 /* We use char because int might match the return type of a gcc2
62630 builtin and then its argument prototype would still apply. */
62631 char $ac_func ();
62632 /* The GNU C library defines this for functions which it implements
62633 to always fail with ENOSYS. Some functions are actually named
62634 something starting with __ and the normal name is an alias. */
62635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62636 choke me
62637 #else
62638 char (*f) () = $ac_func;
62639 #endif
62640 #ifdef __cplusplus
62642 #endif
62645 main ()
62647 return f != $ac_func;
62649 return 0;
62651 _ACEOF
62652 rm -f conftest.$ac_objext conftest$ac_exeext
62653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62654 (eval $ac_link) 2>conftest.er1
62655 ac_status=$?
62656 grep -v '^ *+' conftest.er1 >conftest.err
62657 rm -f conftest.er1
62658 cat conftest.err >&5
62659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62660 (exit $ac_status); } &&
62661 { ac_try='test -z "$ac_c_werror_flag"
62662 || test ! -s conftest.err'
62663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62664 (eval $ac_try) 2>&5
62665 ac_status=$?
62666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667 (exit $ac_status); }; } &&
62668 { ac_try='test -s conftest$ac_exeext'
62669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62670 (eval $ac_try) 2>&5
62671 ac_status=$?
62672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62673 (exit $ac_status); }; }; then
62674 eval "$as_ac_var=yes"
62675 else
62676 echo "$as_me: failed program was:" >&5
62677 sed 's/^/| /' conftest.$ac_ext >&5
62679 eval "$as_ac_var=no"
62681 rm -f conftest.err conftest.$ac_objext \
62682 conftest$ac_exeext conftest.$ac_ext
62684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62686 if test `eval echo '${'$as_ac_var'}'` = yes; then
62687 cat >>confdefs.h <<_ACEOF
62688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62689 _ACEOF
62692 done
62699 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62700 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62701 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62702 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62703 echo $ECHO_N "(cached) $ECHO_C" >&6
62704 else
62708 ac_ext=cc
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62714 cat >conftest.$ac_ext <<_ACEOF
62715 /* confdefs.h. */
62716 _ACEOF
62717 cat confdefs.h >>conftest.$ac_ext
62718 cat >>conftest.$ac_ext <<_ACEOF
62719 /* end confdefs.h. */
62720 #include <math.h>
62721 #ifdef HAVE_IEEEFP_H
62722 #include <ieeefp.h>
62723 #endif
62726 main ()
62728 finitef(0);
62730 return 0;
62732 _ACEOF
62733 rm -f conftest.$ac_objext
62734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62735 (eval $ac_compile) 2>conftest.er1
62736 ac_status=$?
62737 grep -v '^ *+' conftest.er1 >conftest.err
62738 rm -f conftest.er1
62739 cat conftest.err >&5
62740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62741 (exit $ac_status); } &&
62742 { ac_try='test -z "$ac_cxx_werror_flag"
62743 || test ! -s conftest.err'
62744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62745 (eval $ac_try) 2>&5
62746 ac_status=$?
62747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748 (exit $ac_status); }; } &&
62749 { ac_try='test -s conftest.$ac_objext'
62750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62751 (eval $ac_try) 2>&5
62752 ac_status=$?
62753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62754 (exit $ac_status); }; }; then
62755 glibcxx_cv_func_finitef_use=yes
62756 else
62757 echo "$as_me: failed program was:" >&5
62758 sed 's/^/| /' conftest.$ac_ext >&5
62760 glibcxx_cv_func_finitef_use=no
62762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62763 ac_ext=c
62764 ac_cpp='$CPP $CPPFLAGS'
62765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62774 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62776 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62778 for ac_func in finitef
62780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62781 echo "$as_me:$LINENO: checking for $ac_func" >&5
62782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62783 if eval "test \"\${$as_ac_var+set}\" = set"; then
62784 echo $ECHO_N "(cached) $ECHO_C" >&6
62785 else
62786 if test x$gcc_no_link = xyes; then
62787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62789 { (exit 1); exit 1; }; }
62791 cat >conftest.$ac_ext <<_ACEOF
62792 /* confdefs.h. */
62793 _ACEOF
62794 cat confdefs.h >>conftest.$ac_ext
62795 cat >>conftest.$ac_ext <<_ACEOF
62796 /* end confdefs.h. */
62797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62799 #define $ac_func innocuous_$ac_func
62801 /* System header to define __stub macros and hopefully few prototypes,
62802 which can conflict with char $ac_func (); below.
62803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62804 <limits.h> exists even on freestanding compilers. */
62806 #ifdef __STDC__
62807 # include <limits.h>
62808 #else
62809 # include <assert.h>
62810 #endif
62812 #undef $ac_func
62814 /* Override any gcc2 internal prototype to avoid an error. */
62815 #ifdef __cplusplus
62816 extern "C"
62818 #endif
62819 /* We use char because int might match the return type of a gcc2
62820 builtin and then its argument prototype would still apply. */
62821 char $ac_func ();
62822 /* The GNU C library defines this for functions which it implements
62823 to always fail with ENOSYS. Some functions are actually named
62824 something starting with __ and the normal name is an alias. */
62825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62826 choke me
62827 #else
62828 char (*f) () = $ac_func;
62829 #endif
62830 #ifdef __cplusplus
62832 #endif
62835 main ()
62837 return f != $ac_func;
62839 return 0;
62841 _ACEOF
62842 rm -f conftest.$ac_objext conftest$ac_exeext
62843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62844 (eval $ac_link) 2>conftest.er1
62845 ac_status=$?
62846 grep -v '^ *+' conftest.er1 >conftest.err
62847 rm -f conftest.er1
62848 cat conftest.err >&5
62849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62850 (exit $ac_status); } &&
62851 { ac_try='test -z "$ac_c_werror_flag"
62852 || test ! -s conftest.err'
62853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62854 (eval $ac_try) 2>&5
62855 ac_status=$?
62856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62857 (exit $ac_status); }; } &&
62858 { ac_try='test -s conftest$ac_exeext'
62859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62860 (eval $ac_try) 2>&5
62861 ac_status=$?
62862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62863 (exit $ac_status); }; }; then
62864 eval "$as_ac_var=yes"
62865 else
62866 echo "$as_me: failed program was:" >&5
62867 sed 's/^/| /' conftest.$ac_ext >&5
62869 eval "$as_ac_var=no"
62871 rm -f conftest.err conftest.$ac_objext \
62872 conftest$ac_exeext conftest.$ac_ext
62874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62876 if test `eval echo '${'$as_ac_var'}'` = yes; then
62877 cat >>confdefs.h <<_ACEOF
62878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62879 _ACEOF
62882 done
62884 else
62886 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62887 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62888 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62889 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62890 echo $ECHO_N "(cached) $ECHO_C" >&6
62891 else
62895 ac_ext=cc
62896 ac_cpp='$CXXCPP $CPPFLAGS'
62897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62901 cat >conftest.$ac_ext <<_ACEOF
62902 /* confdefs.h. */
62903 _ACEOF
62904 cat confdefs.h >>conftest.$ac_ext
62905 cat >>conftest.$ac_ext <<_ACEOF
62906 /* end confdefs.h. */
62907 #include <math.h>
62908 #ifdef HAVE_IEEEFP_H
62909 #include <ieeefp.h>
62910 #endif
62913 main ()
62915 _finitef(0);
62917 return 0;
62919 _ACEOF
62920 rm -f conftest.$ac_objext
62921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62922 (eval $ac_compile) 2>conftest.er1
62923 ac_status=$?
62924 grep -v '^ *+' conftest.er1 >conftest.err
62925 rm -f conftest.er1
62926 cat conftest.err >&5
62927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62928 (exit $ac_status); } &&
62929 { ac_try='test -z "$ac_cxx_werror_flag"
62930 || test ! -s conftest.err'
62931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62932 (eval $ac_try) 2>&5
62933 ac_status=$?
62934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62935 (exit $ac_status); }; } &&
62936 { ac_try='test -s conftest.$ac_objext'
62937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62938 (eval $ac_try) 2>&5
62939 ac_status=$?
62940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62941 (exit $ac_status); }; }; then
62942 glibcxx_cv_func__finitef_use=yes
62943 else
62944 echo "$as_me: failed program was:" >&5
62945 sed 's/^/| /' conftest.$ac_ext >&5
62947 glibcxx_cv_func__finitef_use=no
62949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62950 ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62961 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62963 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62965 for ac_func in _finitef
62967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62968 echo "$as_me:$LINENO: checking for $ac_func" >&5
62969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62970 if eval "test \"\${$as_ac_var+set}\" = set"; then
62971 echo $ECHO_N "(cached) $ECHO_C" >&6
62972 else
62973 if test x$gcc_no_link = xyes; then
62974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976 { (exit 1); exit 1; }; }
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h. */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h. */
62984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62986 #define $ac_func innocuous_$ac_func
62988 /* System header to define __stub macros and hopefully few prototypes,
62989 which can conflict with char $ac_func (); below.
62990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62991 <limits.h> exists even on freestanding compilers. */
62993 #ifdef __STDC__
62994 # include <limits.h>
62995 #else
62996 # include <assert.h>
62997 #endif
62999 #undef $ac_func
63001 /* Override any gcc2 internal prototype to avoid an error. */
63002 #ifdef __cplusplus
63003 extern "C"
63005 #endif
63006 /* We use char because int might match the return type of a gcc2
63007 builtin and then its argument prototype would still apply. */
63008 char $ac_func ();
63009 /* The GNU C library defines this for functions which it implements
63010 to always fail with ENOSYS. Some functions are actually named
63011 something starting with __ and the normal name is an alias. */
63012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63013 choke me
63014 #else
63015 char (*f) () = $ac_func;
63016 #endif
63017 #ifdef __cplusplus
63019 #endif
63022 main ()
63024 return f != $ac_func;
63026 return 0;
63028 _ACEOF
63029 rm -f conftest.$ac_objext conftest$ac_exeext
63030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63031 (eval $ac_link) 2>conftest.er1
63032 ac_status=$?
63033 grep -v '^ *+' conftest.er1 >conftest.err
63034 rm -f conftest.er1
63035 cat conftest.err >&5
63036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63037 (exit $ac_status); } &&
63038 { ac_try='test -z "$ac_c_werror_flag"
63039 || test ! -s conftest.err'
63040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63041 (eval $ac_try) 2>&5
63042 ac_status=$?
63043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044 (exit $ac_status); }; } &&
63045 { ac_try='test -s conftest$ac_exeext'
63046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63047 (eval $ac_try) 2>&5
63048 ac_status=$?
63049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63050 (exit $ac_status); }; }; then
63051 eval "$as_ac_var=yes"
63052 else
63053 echo "$as_me: failed program was:" >&5
63054 sed 's/^/| /' conftest.$ac_ext >&5
63056 eval "$as_ac_var=no"
63058 rm -f conftest.err conftest.$ac_objext \
63059 conftest$ac_exeext conftest.$ac_ext
63061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63063 if test `eval echo '${'$as_ac_var'}'` = yes; then
63064 cat >>confdefs.h <<_ACEOF
63065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63066 _ACEOF
63069 done
63076 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63077 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63078 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63079 echo $ECHO_N "(cached) $ECHO_C" >&6
63080 else
63084 ac_ext=cc
63085 ac_cpp='$CXXCPP $CPPFLAGS'
63086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63090 cat >conftest.$ac_ext <<_ACEOF
63091 /* confdefs.h. */
63092 _ACEOF
63093 cat confdefs.h >>conftest.$ac_ext
63094 cat >>conftest.$ac_ext <<_ACEOF
63095 /* end confdefs.h. */
63096 #include <math.h>
63098 main ()
63100 `for x in acosl asinl atanl \
63101 cosl sinl tanl \
63102 coshl sinhl tanhl; do echo "$x (0);"; done`
63104 return 0;
63106 _ACEOF
63107 rm -f conftest.$ac_objext
63108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63109 (eval $ac_compile) 2>conftest.er1
63110 ac_status=$?
63111 grep -v '^ *+' conftest.er1 >conftest.err
63112 rm -f conftest.er1
63113 cat conftest.err >&5
63114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63115 (exit $ac_status); } &&
63116 { ac_try='test -z "$ac_cxx_werror_flag"
63117 || test ! -s conftest.err'
63118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63119 (eval $ac_try) 2>&5
63120 ac_status=$?
63121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63122 (exit $ac_status); }; } &&
63123 { ac_try='test -s conftest.$ac_objext'
63124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63125 (eval $ac_try) 2>&5
63126 ac_status=$?
63127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63128 (exit $ac_status); }; }; then
63129 glibcxx_cv_func_long_double_trig_use=yes
63130 else
63131 echo "$as_me: failed program was:" >&5
63132 sed 's/^/| /' conftest.$ac_ext >&5
63134 glibcxx_cv_func_long_double_trig_use=no
63136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63137 ac_ext=c
63138 ac_cpp='$CPP $CPPFLAGS'
63139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63146 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63147 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63157 for ac_func in acosl asinl atanl \
63158 cosl sinl tanl \
63159 coshl sinhl tanhl
63161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63162 echo "$as_me:$LINENO: checking for $ac_func" >&5
63163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63164 if eval "test \"\${$as_ac_var+set}\" = set"; then
63165 echo $ECHO_N "(cached) $ECHO_C" >&6
63166 else
63167 if test x$gcc_no_link = xyes; then
63168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63170 { (exit 1); exit 1; }; }
63172 cat >conftest.$ac_ext <<_ACEOF
63173 /* confdefs.h. */
63174 _ACEOF
63175 cat confdefs.h >>conftest.$ac_ext
63176 cat >>conftest.$ac_ext <<_ACEOF
63177 /* end confdefs.h. */
63178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63180 #define $ac_func innocuous_$ac_func
63182 /* System header to define __stub macros and hopefully few prototypes,
63183 which can conflict with char $ac_func (); below.
63184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63185 <limits.h> exists even on freestanding compilers. */
63187 #ifdef __STDC__
63188 # include <limits.h>
63189 #else
63190 # include <assert.h>
63191 #endif
63193 #undef $ac_func
63195 /* Override any gcc2 internal prototype to avoid an error. */
63196 #ifdef __cplusplus
63197 extern "C"
63199 #endif
63200 /* We use char because int might match the return type of a gcc2
63201 builtin and then its argument prototype would still apply. */
63202 char $ac_func ();
63203 /* The GNU C library defines this for functions which it implements
63204 to always fail with ENOSYS. Some functions are actually named
63205 something starting with __ and the normal name is an alias. */
63206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63207 choke me
63208 #else
63209 char (*f) () = $ac_func;
63210 #endif
63211 #ifdef __cplusplus
63213 #endif
63216 main ()
63218 return f != $ac_func;
63220 return 0;
63222 _ACEOF
63223 rm -f conftest.$ac_objext conftest$ac_exeext
63224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63225 (eval $ac_link) 2>conftest.er1
63226 ac_status=$?
63227 grep -v '^ *+' conftest.er1 >conftest.err
63228 rm -f conftest.er1
63229 cat conftest.err >&5
63230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63231 (exit $ac_status); } &&
63232 { ac_try='test -z "$ac_c_werror_flag"
63233 || test ! -s conftest.err'
63234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63235 (eval $ac_try) 2>&5
63236 ac_status=$?
63237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63238 (exit $ac_status); }; } &&
63239 { ac_try='test -s conftest$ac_exeext'
63240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63241 (eval $ac_try) 2>&5
63242 ac_status=$?
63243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63244 (exit $ac_status); }; }; then
63245 eval "$as_ac_var=yes"
63246 else
63247 echo "$as_me: failed program was:" >&5
63248 sed 's/^/| /' conftest.$ac_ext >&5
63250 eval "$as_ac_var=no"
63252 rm -f conftest.err conftest.$ac_objext \
63253 conftest$ac_exeext conftest.$ac_ext
63255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63257 if test `eval echo '${'$as_ac_var'}'` = yes; then
63258 cat >>confdefs.h <<_ACEOF
63259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63260 _ACEOF
63263 done
63268 echo "$as_me:$LINENO: checking for long double round functions" >&5
63269 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63270 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63271 echo $ECHO_N "(cached) $ECHO_C" >&6
63272 else
63276 ac_ext=cc
63277 ac_cpp='$CXXCPP $CPPFLAGS'
63278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63282 cat >conftest.$ac_ext <<_ACEOF
63283 /* confdefs.h. */
63284 _ACEOF
63285 cat confdefs.h >>conftest.$ac_ext
63286 cat >>conftest.$ac_ext <<_ACEOF
63287 /* end confdefs.h. */
63288 #include <math.h>
63290 main ()
63292 `for x in ceill floorl; do echo "$x (0);"; done`
63294 return 0;
63296 _ACEOF
63297 rm -f conftest.$ac_objext
63298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63299 (eval $ac_compile) 2>conftest.er1
63300 ac_status=$?
63301 grep -v '^ *+' conftest.er1 >conftest.err
63302 rm -f conftest.er1
63303 cat conftest.err >&5
63304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63305 (exit $ac_status); } &&
63306 { ac_try='test -z "$ac_cxx_werror_flag"
63307 || test ! -s conftest.err'
63308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63309 (eval $ac_try) 2>&5
63310 ac_status=$?
63311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63312 (exit $ac_status); }; } &&
63313 { ac_try='test -s conftest.$ac_objext'
63314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63315 (eval $ac_try) 2>&5
63316 ac_status=$?
63317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63318 (exit $ac_status); }; }; then
63319 glibcxx_cv_func_long_double_round_use=yes
63320 else
63321 echo "$as_me: failed program was:" >&5
63322 sed 's/^/| /' conftest.$ac_ext >&5
63324 glibcxx_cv_func_long_double_round_use=no
63326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63327 ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63336 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63337 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63340 for ac_func in ceill floorl
63342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63343 echo "$as_me:$LINENO: checking for $ac_func" >&5
63344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63345 if eval "test \"\${$as_ac_var+set}\" = set"; then
63346 echo $ECHO_N "(cached) $ECHO_C" >&6
63347 else
63348 if test x$gcc_no_link = xyes; then
63349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63351 { (exit 1); exit 1; }; }
63353 cat >conftest.$ac_ext <<_ACEOF
63354 /* confdefs.h. */
63355 _ACEOF
63356 cat confdefs.h >>conftest.$ac_ext
63357 cat >>conftest.$ac_ext <<_ACEOF
63358 /* end confdefs.h. */
63359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63361 #define $ac_func innocuous_$ac_func
63363 /* System header to define __stub macros and hopefully few prototypes,
63364 which can conflict with char $ac_func (); below.
63365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63366 <limits.h> exists even on freestanding compilers. */
63368 #ifdef __STDC__
63369 # include <limits.h>
63370 #else
63371 # include <assert.h>
63372 #endif
63374 #undef $ac_func
63376 /* Override any gcc2 internal prototype to avoid an error. */
63377 #ifdef __cplusplus
63378 extern "C"
63380 #endif
63381 /* We use char because int might match the return type of a gcc2
63382 builtin and then its argument prototype would still apply. */
63383 char $ac_func ();
63384 /* The GNU C library defines this for functions which it implements
63385 to always fail with ENOSYS. Some functions are actually named
63386 something starting with __ and the normal name is an alias. */
63387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63388 choke me
63389 #else
63390 char (*f) () = $ac_func;
63391 #endif
63392 #ifdef __cplusplus
63394 #endif
63397 main ()
63399 return f != $ac_func;
63401 return 0;
63403 _ACEOF
63404 rm -f conftest.$ac_objext conftest$ac_exeext
63405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63406 (eval $ac_link) 2>conftest.er1
63407 ac_status=$?
63408 grep -v '^ *+' conftest.er1 >conftest.err
63409 rm -f conftest.er1
63410 cat conftest.err >&5
63411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63412 (exit $ac_status); } &&
63413 { ac_try='test -z "$ac_c_werror_flag"
63414 || test ! -s conftest.err'
63415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63416 (eval $ac_try) 2>&5
63417 ac_status=$?
63418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419 (exit $ac_status); }; } &&
63420 { ac_try='test -s conftest$ac_exeext'
63421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63422 (eval $ac_try) 2>&5
63423 ac_status=$?
63424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63425 (exit $ac_status); }; }; then
63426 eval "$as_ac_var=yes"
63427 else
63428 echo "$as_me: failed program was:" >&5
63429 sed 's/^/| /' conftest.$ac_ext >&5
63431 eval "$as_ac_var=no"
63433 rm -f conftest.err conftest.$ac_objext \
63434 conftest$ac_exeext conftest.$ac_ext
63436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63438 if test `eval echo '${'$as_ac_var'}'` = yes; then
63439 cat >>confdefs.h <<_ACEOF
63440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63441 _ACEOF
63444 done
63450 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63451 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63452 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63453 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63454 echo $ECHO_N "(cached) $ECHO_C" >&6
63455 else
63459 ac_ext=cc
63460 ac_cpp='$CXXCPP $CPPFLAGS'
63461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63465 cat >conftest.$ac_ext <<_ACEOF
63466 /* confdefs.h. */
63467 _ACEOF
63468 cat confdefs.h >>conftest.$ac_ext
63469 cat >>conftest.$ac_ext <<_ACEOF
63470 /* end confdefs.h. */
63471 #include <math.h>
63472 #ifdef HAVE_IEEEFP_H
63473 #include <ieeefp.h>
63474 #endif
63477 main ()
63479 isnanl(0);
63481 return 0;
63483 _ACEOF
63484 rm -f conftest.$ac_objext
63485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63486 (eval $ac_compile) 2>conftest.er1
63487 ac_status=$?
63488 grep -v '^ *+' conftest.er1 >conftest.err
63489 rm -f conftest.er1
63490 cat conftest.err >&5
63491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63492 (exit $ac_status); } &&
63493 { ac_try='test -z "$ac_cxx_werror_flag"
63494 || test ! -s conftest.err'
63495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63496 (eval $ac_try) 2>&5
63497 ac_status=$?
63498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63499 (exit $ac_status); }; } &&
63500 { ac_try='test -s conftest.$ac_objext'
63501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63502 (eval $ac_try) 2>&5
63503 ac_status=$?
63504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63505 (exit $ac_status); }; }; then
63506 glibcxx_cv_func_isnanl_use=yes
63507 else
63508 echo "$as_me: failed program was:" >&5
63509 sed 's/^/| /' conftest.$ac_ext >&5
63511 glibcxx_cv_func_isnanl_use=no
63513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63514 ac_ext=c
63515 ac_cpp='$CPP $CPPFLAGS'
63516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63525 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63527 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63529 for ac_func in isnanl
63531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63532 echo "$as_me:$LINENO: checking for $ac_func" >&5
63533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63534 if eval "test \"\${$as_ac_var+set}\" = set"; then
63535 echo $ECHO_N "(cached) $ECHO_C" >&6
63536 else
63537 if test x$gcc_no_link = xyes; then
63538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63540 { (exit 1); exit 1; }; }
63542 cat >conftest.$ac_ext <<_ACEOF
63543 /* confdefs.h. */
63544 _ACEOF
63545 cat confdefs.h >>conftest.$ac_ext
63546 cat >>conftest.$ac_ext <<_ACEOF
63547 /* end confdefs.h. */
63548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63550 #define $ac_func innocuous_$ac_func
63552 /* System header to define __stub macros and hopefully few prototypes,
63553 which can conflict with char $ac_func (); below.
63554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63555 <limits.h> exists even on freestanding compilers. */
63557 #ifdef __STDC__
63558 # include <limits.h>
63559 #else
63560 # include <assert.h>
63561 #endif
63563 #undef $ac_func
63565 /* Override any gcc2 internal prototype to avoid an error. */
63566 #ifdef __cplusplus
63567 extern "C"
63569 #endif
63570 /* We use char because int might match the return type of a gcc2
63571 builtin and then its argument prototype would still apply. */
63572 char $ac_func ();
63573 /* The GNU C library defines this for functions which it implements
63574 to always fail with ENOSYS. Some functions are actually named
63575 something starting with __ and the normal name is an alias. */
63576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63577 choke me
63578 #else
63579 char (*f) () = $ac_func;
63580 #endif
63581 #ifdef __cplusplus
63583 #endif
63586 main ()
63588 return f != $ac_func;
63590 return 0;
63592 _ACEOF
63593 rm -f conftest.$ac_objext conftest$ac_exeext
63594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63595 (eval $ac_link) 2>conftest.er1
63596 ac_status=$?
63597 grep -v '^ *+' conftest.er1 >conftest.err
63598 rm -f conftest.er1
63599 cat conftest.err >&5
63600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63601 (exit $ac_status); } &&
63602 { ac_try='test -z "$ac_c_werror_flag"
63603 || test ! -s conftest.err'
63604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63605 (eval $ac_try) 2>&5
63606 ac_status=$?
63607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608 (exit $ac_status); }; } &&
63609 { ac_try='test -s conftest$ac_exeext'
63610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63611 (eval $ac_try) 2>&5
63612 ac_status=$?
63613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63614 (exit $ac_status); }; }; then
63615 eval "$as_ac_var=yes"
63616 else
63617 echo "$as_me: failed program was:" >&5
63618 sed 's/^/| /' conftest.$ac_ext >&5
63620 eval "$as_ac_var=no"
63622 rm -f conftest.err conftest.$ac_objext \
63623 conftest$ac_exeext conftest.$ac_ext
63625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63627 if test `eval echo '${'$as_ac_var'}'` = yes; then
63628 cat >>confdefs.h <<_ACEOF
63629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63630 _ACEOF
63633 done
63635 else
63637 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63638 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63639 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63640 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63641 echo $ECHO_N "(cached) $ECHO_C" >&6
63642 else
63646 ac_ext=cc
63647 ac_cpp='$CXXCPP $CPPFLAGS'
63648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63652 cat >conftest.$ac_ext <<_ACEOF
63653 /* confdefs.h. */
63654 _ACEOF
63655 cat confdefs.h >>conftest.$ac_ext
63656 cat >>conftest.$ac_ext <<_ACEOF
63657 /* end confdefs.h. */
63658 #include <math.h>
63659 #ifdef HAVE_IEEEFP_H
63660 #include <ieeefp.h>
63661 #endif
63664 main ()
63666 _isnanl(0);
63668 return 0;
63670 _ACEOF
63671 rm -f conftest.$ac_objext
63672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63673 (eval $ac_compile) 2>conftest.er1
63674 ac_status=$?
63675 grep -v '^ *+' conftest.er1 >conftest.err
63676 rm -f conftest.er1
63677 cat conftest.err >&5
63678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63679 (exit $ac_status); } &&
63680 { ac_try='test -z "$ac_cxx_werror_flag"
63681 || test ! -s conftest.err'
63682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63683 (eval $ac_try) 2>&5
63684 ac_status=$?
63685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63686 (exit $ac_status); }; } &&
63687 { ac_try='test -s conftest.$ac_objext'
63688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63689 (eval $ac_try) 2>&5
63690 ac_status=$?
63691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63692 (exit $ac_status); }; }; then
63693 glibcxx_cv_func__isnanl_use=yes
63694 else
63695 echo "$as_me: failed program was:" >&5
63696 sed 's/^/| /' conftest.$ac_ext >&5
63698 glibcxx_cv_func__isnanl_use=no
63700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63701 ac_ext=c
63702 ac_cpp='$CPP $CPPFLAGS'
63703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63712 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63714 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63716 for ac_func in _isnanl
63718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63719 echo "$as_me:$LINENO: checking for $ac_func" >&5
63720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63721 if eval "test \"\${$as_ac_var+set}\" = set"; then
63722 echo $ECHO_N "(cached) $ECHO_C" >&6
63723 else
63724 if test x$gcc_no_link = xyes; then
63725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63727 { (exit 1); exit 1; }; }
63729 cat >conftest.$ac_ext <<_ACEOF
63730 /* confdefs.h. */
63731 _ACEOF
63732 cat confdefs.h >>conftest.$ac_ext
63733 cat >>conftest.$ac_ext <<_ACEOF
63734 /* end confdefs.h. */
63735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63737 #define $ac_func innocuous_$ac_func
63739 /* System header to define __stub macros and hopefully few prototypes,
63740 which can conflict with char $ac_func (); below.
63741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63742 <limits.h> exists even on freestanding compilers. */
63744 #ifdef __STDC__
63745 # include <limits.h>
63746 #else
63747 # include <assert.h>
63748 #endif
63750 #undef $ac_func
63752 /* Override any gcc2 internal prototype to avoid an error. */
63753 #ifdef __cplusplus
63754 extern "C"
63756 #endif
63757 /* We use char because int might match the return type of a gcc2
63758 builtin and then its argument prototype would still apply. */
63759 char $ac_func ();
63760 /* The GNU C library defines this for functions which it implements
63761 to always fail with ENOSYS. Some functions are actually named
63762 something starting with __ and the normal name is an alias. */
63763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63764 choke me
63765 #else
63766 char (*f) () = $ac_func;
63767 #endif
63768 #ifdef __cplusplus
63770 #endif
63773 main ()
63775 return f != $ac_func;
63777 return 0;
63779 _ACEOF
63780 rm -f conftest.$ac_objext conftest$ac_exeext
63781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63782 (eval $ac_link) 2>conftest.er1
63783 ac_status=$?
63784 grep -v '^ *+' conftest.er1 >conftest.err
63785 rm -f conftest.er1
63786 cat conftest.err >&5
63787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63788 (exit $ac_status); } &&
63789 { ac_try='test -z "$ac_c_werror_flag"
63790 || test ! -s conftest.err'
63791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63792 (eval $ac_try) 2>&5
63793 ac_status=$?
63794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63795 (exit $ac_status); }; } &&
63796 { ac_try='test -s conftest$ac_exeext'
63797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63798 (eval $ac_try) 2>&5
63799 ac_status=$?
63800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63801 (exit $ac_status); }; }; then
63802 eval "$as_ac_var=yes"
63803 else
63804 echo "$as_me: failed program was:" >&5
63805 sed 's/^/| /' conftest.$ac_ext >&5
63807 eval "$as_ac_var=no"
63809 rm -f conftest.err conftest.$ac_objext \
63810 conftest$ac_exeext conftest.$ac_ext
63812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63814 if test `eval echo '${'$as_ac_var'}'` = yes; then
63815 cat >>confdefs.h <<_ACEOF
63816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63817 _ACEOF
63820 done
63827 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63828 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63829 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63830 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63831 echo $ECHO_N "(cached) $ECHO_C" >&6
63832 else
63836 ac_ext=cc
63837 ac_cpp='$CXXCPP $CPPFLAGS'
63838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63842 cat >conftest.$ac_ext <<_ACEOF
63843 /* confdefs.h. */
63844 _ACEOF
63845 cat confdefs.h >>conftest.$ac_ext
63846 cat >>conftest.$ac_ext <<_ACEOF
63847 /* end confdefs.h. */
63848 #include <math.h>
63849 #ifdef HAVE_IEEEFP_H
63850 #include <ieeefp.h>
63851 #endif
63854 main ()
63856 isinfl(0);
63858 return 0;
63860 _ACEOF
63861 rm -f conftest.$ac_objext
63862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63863 (eval $ac_compile) 2>conftest.er1
63864 ac_status=$?
63865 grep -v '^ *+' conftest.er1 >conftest.err
63866 rm -f conftest.er1
63867 cat conftest.err >&5
63868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63869 (exit $ac_status); } &&
63870 { ac_try='test -z "$ac_cxx_werror_flag"
63871 || test ! -s conftest.err'
63872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63873 (eval $ac_try) 2>&5
63874 ac_status=$?
63875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63876 (exit $ac_status); }; } &&
63877 { ac_try='test -s conftest.$ac_objext'
63878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63879 (eval $ac_try) 2>&5
63880 ac_status=$?
63881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63882 (exit $ac_status); }; }; then
63883 glibcxx_cv_func_isinfl_use=yes
63884 else
63885 echo "$as_me: failed program was:" >&5
63886 sed 's/^/| /' conftest.$ac_ext >&5
63888 glibcxx_cv_func_isinfl_use=no
63890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63891 ac_ext=c
63892 ac_cpp='$CPP $CPPFLAGS'
63893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63902 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63904 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63906 for ac_func in isinfl
63908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63909 echo "$as_me:$LINENO: checking for $ac_func" >&5
63910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63911 if eval "test \"\${$as_ac_var+set}\" = set"; then
63912 echo $ECHO_N "(cached) $ECHO_C" >&6
63913 else
63914 if test x$gcc_no_link = xyes; then
63915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63917 { (exit 1); exit 1; }; }
63919 cat >conftest.$ac_ext <<_ACEOF
63920 /* confdefs.h. */
63921 _ACEOF
63922 cat confdefs.h >>conftest.$ac_ext
63923 cat >>conftest.$ac_ext <<_ACEOF
63924 /* end confdefs.h. */
63925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63927 #define $ac_func innocuous_$ac_func
63929 /* System header to define __stub macros and hopefully few prototypes,
63930 which can conflict with char $ac_func (); below.
63931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63932 <limits.h> exists even on freestanding compilers. */
63934 #ifdef __STDC__
63935 # include <limits.h>
63936 #else
63937 # include <assert.h>
63938 #endif
63940 #undef $ac_func
63942 /* Override any gcc2 internal prototype to avoid an error. */
63943 #ifdef __cplusplus
63944 extern "C"
63946 #endif
63947 /* We use char because int might match the return type of a gcc2
63948 builtin and then its argument prototype would still apply. */
63949 char $ac_func ();
63950 /* The GNU C library defines this for functions which it implements
63951 to always fail with ENOSYS. Some functions are actually named
63952 something starting with __ and the normal name is an alias. */
63953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63954 choke me
63955 #else
63956 char (*f) () = $ac_func;
63957 #endif
63958 #ifdef __cplusplus
63960 #endif
63963 main ()
63965 return f != $ac_func;
63967 return 0;
63969 _ACEOF
63970 rm -f conftest.$ac_objext conftest$ac_exeext
63971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63972 (eval $ac_link) 2>conftest.er1
63973 ac_status=$?
63974 grep -v '^ *+' conftest.er1 >conftest.err
63975 rm -f conftest.er1
63976 cat conftest.err >&5
63977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63978 (exit $ac_status); } &&
63979 { ac_try='test -z "$ac_c_werror_flag"
63980 || test ! -s conftest.err'
63981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63982 (eval $ac_try) 2>&5
63983 ac_status=$?
63984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985 (exit $ac_status); }; } &&
63986 { ac_try='test -s conftest$ac_exeext'
63987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63988 (eval $ac_try) 2>&5
63989 ac_status=$?
63990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63991 (exit $ac_status); }; }; then
63992 eval "$as_ac_var=yes"
63993 else
63994 echo "$as_me: failed program was:" >&5
63995 sed 's/^/| /' conftest.$ac_ext >&5
63997 eval "$as_ac_var=no"
63999 rm -f conftest.err conftest.$ac_objext \
64000 conftest$ac_exeext conftest.$ac_ext
64002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64004 if test `eval echo '${'$as_ac_var'}'` = yes; then
64005 cat >>confdefs.h <<_ACEOF
64006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64007 _ACEOF
64010 done
64012 else
64014 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64015 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64016 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64017 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64018 echo $ECHO_N "(cached) $ECHO_C" >&6
64019 else
64023 ac_ext=cc
64024 ac_cpp='$CXXCPP $CPPFLAGS'
64025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64029 cat >conftest.$ac_ext <<_ACEOF
64030 /* confdefs.h. */
64031 _ACEOF
64032 cat confdefs.h >>conftest.$ac_ext
64033 cat >>conftest.$ac_ext <<_ACEOF
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 #ifdef HAVE_IEEEFP_H
64037 #include <ieeefp.h>
64038 #endif
64041 main ()
64043 _isinfl(0);
64045 return 0;
64047 _ACEOF
64048 rm -f conftest.$ac_objext
64049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64050 (eval $ac_compile) 2>conftest.er1
64051 ac_status=$?
64052 grep -v '^ *+' conftest.er1 >conftest.err
64053 rm -f conftest.er1
64054 cat conftest.err >&5
64055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056 (exit $ac_status); } &&
64057 { ac_try='test -z "$ac_cxx_werror_flag"
64058 || test ! -s conftest.err'
64059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060 (eval $ac_try) 2>&5
64061 ac_status=$?
64062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063 (exit $ac_status); }; } &&
64064 { ac_try='test -s conftest.$ac_objext'
64065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64066 (eval $ac_try) 2>&5
64067 ac_status=$?
64068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069 (exit $ac_status); }; }; then
64070 glibcxx_cv_func__isinfl_use=yes
64071 else
64072 echo "$as_me: failed program was:" >&5
64073 sed 's/^/| /' conftest.$ac_ext >&5
64075 glibcxx_cv_func__isinfl_use=no
64077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64078 ac_ext=c
64079 ac_cpp='$CPP $CPPFLAGS'
64080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64089 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64093 for ac_func in _isinfl
64095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64096 echo "$as_me:$LINENO: checking for $ac_func" >&5
64097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64098 if eval "test \"\${$as_ac_var+set}\" = set"; then
64099 echo $ECHO_N "(cached) $ECHO_C" >&6
64100 else
64101 if test x$gcc_no_link = xyes; then
64102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64104 { (exit 1); exit 1; }; }
64106 cat >conftest.$ac_ext <<_ACEOF
64107 /* confdefs.h. */
64108 _ACEOF
64109 cat confdefs.h >>conftest.$ac_ext
64110 cat >>conftest.$ac_ext <<_ACEOF
64111 /* end confdefs.h. */
64112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64114 #define $ac_func innocuous_$ac_func
64116 /* System header to define __stub macros and hopefully few prototypes,
64117 which can conflict with char $ac_func (); below.
64118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64119 <limits.h> exists even on freestanding compilers. */
64121 #ifdef __STDC__
64122 # include <limits.h>
64123 #else
64124 # include <assert.h>
64125 #endif
64127 #undef $ac_func
64129 /* Override any gcc2 internal prototype to avoid an error. */
64130 #ifdef __cplusplus
64131 extern "C"
64133 #endif
64134 /* We use char because int might match the return type of a gcc2
64135 builtin and then its argument prototype would still apply. */
64136 char $ac_func ();
64137 /* The GNU C library defines this for functions which it implements
64138 to always fail with ENOSYS. Some functions are actually named
64139 something starting with __ and the normal name is an alias. */
64140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64141 choke me
64142 #else
64143 char (*f) () = $ac_func;
64144 #endif
64145 #ifdef __cplusplus
64147 #endif
64150 main ()
64152 return f != $ac_func;
64154 return 0;
64156 _ACEOF
64157 rm -f conftest.$ac_objext conftest$ac_exeext
64158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64159 (eval $ac_link) 2>conftest.er1
64160 ac_status=$?
64161 grep -v '^ *+' conftest.er1 >conftest.err
64162 rm -f conftest.er1
64163 cat conftest.err >&5
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); } &&
64166 { ac_try='test -z "$ac_c_werror_flag"
64167 || test ! -s conftest.err'
64168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64169 (eval $ac_try) 2>&5
64170 ac_status=$?
64171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64172 (exit $ac_status); }; } &&
64173 { ac_try='test -s conftest$ac_exeext'
64174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64175 (eval $ac_try) 2>&5
64176 ac_status=$?
64177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64178 (exit $ac_status); }; }; then
64179 eval "$as_ac_var=yes"
64180 else
64181 echo "$as_me: failed program was:" >&5
64182 sed 's/^/| /' conftest.$ac_ext >&5
64184 eval "$as_ac_var=no"
64186 rm -f conftest.err conftest.$ac_objext \
64187 conftest$ac_exeext conftest.$ac_ext
64189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64191 if test `eval echo '${'$as_ac_var'}'` = yes; then
64192 cat >>confdefs.h <<_ACEOF
64193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64194 _ACEOF
64197 done
64204 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64205 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64206 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64207 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64208 echo $ECHO_N "(cached) $ECHO_C" >&6
64209 else
64213 ac_ext=cc
64214 ac_cpp='$CXXCPP $CPPFLAGS'
64215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64219 cat >conftest.$ac_ext <<_ACEOF
64220 /* confdefs.h. */
64221 _ACEOF
64222 cat confdefs.h >>conftest.$ac_ext
64223 cat >>conftest.$ac_ext <<_ACEOF
64224 /* end confdefs.h. */
64225 #include <math.h>
64227 main ()
64229 copysignl(0, 0);
64231 return 0;
64233 _ACEOF
64234 rm -f conftest.$ac_objext
64235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64236 (eval $ac_compile) 2>conftest.er1
64237 ac_status=$?
64238 grep -v '^ *+' conftest.er1 >conftest.err
64239 rm -f conftest.er1
64240 cat conftest.err >&5
64241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242 (exit $ac_status); } &&
64243 { ac_try='test -z "$ac_cxx_werror_flag"
64244 || test ! -s conftest.err'
64245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64246 (eval $ac_try) 2>&5
64247 ac_status=$?
64248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249 (exit $ac_status); }; } &&
64250 { ac_try='test -s conftest.$ac_objext'
64251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64252 (eval $ac_try) 2>&5
64253 ac_status=$?
64254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255 (exit $ac_status); }; }; then
64256 glibcxx_cv_func_copysignl_use=yes
64257 else
64258 echo "$as_me: failed program was:" >&5
64259 sed 's/^/| /' conftest.$ac_ext >&5
64261 glibcxx_cv_func_copysignl_use=no
64263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64264 ac_ext=c
64265 ac_cpp='$CPP $CPPFLAGS'
64266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64275 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64277 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64279 for ac_func in copysignl
64281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64282 echo "$as_me:$LINENO: checking for $ac_func" >&5
64283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64284 if eval "test \"\${$as_ac_var+set}\" = set"; then
64285 echo $ECHO_N "(cached) $ECHO_C" >&6
64286 else
64287 if test x$gcc_no_link = xyes; then
64288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64290 { (exit 1); exit 1; }; }
64292 cat >conftest.$ac_ext <<_ACEOF
64293 /* confdefs.h. */
64294 _ACEOF
64295 cat confdefs.h >>conftest.$ac_ext
64296 cat >>conftest.$ac_ext <<_ACEOF
64297 /* end confdefs.h. */
64298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64300 #define $ac_func innocuous_$ac_func
64302 /* System header to define __stub macros and hopefully few prototypes,
64303 which can conflict with char $ac_func (); below.
64304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64305 <limits.h> exists even on freestanding compilers. */
64307 #ifdef __STDC__
64308 # include <limits.h>
64309 #else
64310 # include <assert.h>
64311 #endif
64313 #undef $ac_func
64315 /* Override any gcc2 internal prototype to avoid an error. */
64316 #ifdef __cplusplus
64317 extern "C"
64319 #endif
64320 /* We use char because int might match the return type of a gcc2
64321 builtin and then its argument prototype would still apply. */
64322 char $ac_func ();
64323 /* The GNU C library defines this for functions which it implements
64324 to always fail with ENOSYS. Some functions are actually named
64325 something starting with __ and the normal name is an alias. */
64326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64327 choke me
64328 #else
64329 char (*f) () = $ac_func;
64330 #endif
64331 #ifdef __cplusplus
64333 #endif
64336 main ()
64338 return f != $ac_func;
64340 return 0;
64342 _ACEOF
64343 rm -f conftest.$ac_objext conftest$ac_exeext
64344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64345 (eval $ac_link) 2>conftest.er1
64346 ac_status=$?
64347 grep -v '^ *+' conftest.er1 >conftest.err
64348 rm -f conftest.er1
64349 cat conftest.err >&5
64350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351 (exit $ac_status); } &&
64352 { ac_try='test -z "$ac_c_werror_flag"
64353 || test ! -s conftest.err'
64354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355 (eval $ac_try) 2>&5
64356 ac_status=$?
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); }; } &&
64359 { ac_try='test -s conftest$ac_exeext'
64360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64361 (eval $ac_try) 2>&5
64362 ac_status=$?
64363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64364 (exit $ac_status); }; }; then
64365 eval "$as_ac_var=yes"
64366 else
64367 echo "$as_me: failed program was:" >&5
64368 sed 's/^/| /' conftest.$ac_ext >&5
64370 eval "$as_ac_var=no"
64372 rm -f conftest.err conftest.$ac_objext \
64373 conftest$ac_exeext conftest.$ac_ext
64375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64377 if test `eval echo '${'$as_ac_var'}'` = yes; then
64378 cat >>confdefs.h <<_ACEOF
64379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64380 _ACEOF
64383 done
64385 else
64387 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64388 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64389 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64390 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64391 echo $ECHO_N "(cached) $ECHO_C" >&6
64392 else
64396 ac_ext=cc
64397 ac_cpp='$CXXCPP $CPPFLAGS'
64398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64402 cat >conftest.$ac_ext <<_ACEOF
64403 /* confdefs.h. */
64404 _ACEOF
64405 cat confdefs.h >>conftest.$ac_ext
64406 cat >>conftest.$ac_ext <<_ACEOF
64407 /* end confdefs.h. */
64408 #include <math.h>
64410 main ()
64412 _copysignl(0, 0);
64414 return 0;
64416 _ACEOF
64417 rm -f conftest.$ac_objext
64418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64419 (eval $ac_compile) 2>conftest.er1
64420 ac_status=$?
64421 grep -v '^ *+' conftest.er1 >conftest.err
64422 rm -f conftest.er1
64423 cat conftest.err >&5
64424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64425 (exit $ac_status); } &&
64426 { ac_try='test -z "$ac_cxx_werror_flag"
64427 || test ! -s conftest.err'
64428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64429 (eval $ac_try) 2>&5
64430 ac_status=$?
64431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64432 (exit $ac_status); }; } &&
64433 { ac_try='test -s conftest.$ac_objext'
64434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64435 (eval $ac_try) 2>&5
64436 ac_status=$?
64437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64438 (exit $ac_status); }; }; then
64439 glibcxx_cv_func__copysignl_use=yes
64440 else
64441 echo "$as_me: failed program was:" >&5
64442 sed 's/^/| /' conftest.$ac_ext >&5
64444 glibcxx_cv_func__copysignl_use=no
64446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64447 ac_ext=c
64448 ac_cpp='$CPP $CPPFLAGS'
64449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64458 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64460 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64462 for ac_func in _copysignl
64464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64465 echo "$as_me:$LINENO: checking for $ac_func" >&5
64466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64467 if eval "test \"\${$as_ac_var+set}\" = set"; then
64468 echo $ECHO_N "(cached) $ECHO_C" >&6
64469 else
64470 if test x$gcc_no_link = xyes; then
64471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64473 { (exit 1); exit 1; }; }
64475 cat >conftest.$ac_ext <<_ACEOF
64476 /* confdefs.h. */
64477 _ACEOF
64478 cat confdefs.h >>conftest.$ac_ext
64479 cat >>conftest.$ac_ext <<_ACEOF
64480 /* end confdefs.h. */
64481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64483 #define $ac_func innocuous_$ac_func
64485 /* System header to define __stub macros and hopefully few prototypes,
64486 which can conflict with char $ac_func (); below.
64487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64488 <limits.h> exists even on freestanding compilers. */
64490 #ifdef __STDC__
64491 # include <limits.h>
64492 #else
64493 # include <assert.h>
64494 #endif
64496 #undef $ac_func
64498 /* Override any gcc2 internal prototype to avoid an error. */
64499 #ifdef __cplusplus
64500 extern "C"
64502 #endif
64503 /* We use char because int might match the return type of a gcc2
64504 builtin and then its argument prototype would still apply. */
64505 char $ac_func ();
64506 /* The GNU C library defines this for functions which it implements
64507 to always fail with ENOSYS. Some functions are actually named
64508 something starting with __ and the normal name is an alias. */
64509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64510 choke me
64511 #else
64512 char (*f) () = $ac_func;
64513 #endif
64514 #ifdef __cplusplus
64516 #endif
64519 main ()
64521 return f != $ac_func;
64523 return 0;
64525 _ACEOF
64526 rm -f conftest.$ac_objext conftest$ac_exeext
64527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64528 (eval $ac_link) 2>conftest.er1
64529 ac_status=$?
64530 grep -v '^ *+' conftest.er1 >conftest.err
64531 rm -f conftest.er1
64532 cat conftest.err >&5
64533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64534 (exit $ac_status); } &&
64535 { ac_try='test -z "$ac_c_werror_flag"
64536 || test ! -s conftest.err'
64537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64538 (eval $ac_try) 2>&5
64539 ac_status=$?
64540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541 (exit $ac_status); }; } &&
64542 { ac_try='test -s conftest$ac_exeext'
64543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64544 (eval $ac_try) 2>&5
64545 ac_status=$?
64546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64547 (exit $ac_status); }; }; then
64548 eval "$as_ac_var=yes"
64549 else
64550 echo "$as_me: failed program was:" >&5
64551 sed 's/^/| /' conftest.$ac_ext >&5
64553 eval "$as_ac_var=no"
64555 rm -f conftest.err conftest.$ac_objext \
64556 conftest$ac_exeext conftest.$ac_ext
64558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64560 if test `eval echo '${'$as_ac_var'}'` = yes; then
64561 cat >>confdefs.h <<_ACEOF
64562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64563 _ACEOF
64566 done
64573 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64574 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64575 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64576 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64577 echo $ECHO_N "(cached) $ECHO_C" >&6
64578 else
64582 ac_ext=cc
64583 ac_cpp='$CXXCPP $CPPFLAGS'
64584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64588 cat >conftest.$ac_ext <<_ACEOF
64589 /* confdefs.h. */
64590 _ACEOF
64591 cat confdefs.h >>conftest.$ac_ext
64592 cat >>conftest.$ac_ext <<_ACEOF
64593 /* end confdefs.h. */
64594 #include <math.h>
64596 main ()
64598 atan2l(0, 0);
64600 return 0;
64602 _ACEOF
64603 rm -f conftest.$ac_objext
64604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64605 (eval $ac_compile) 2>conftest.er1
64606 ac_status=$?
64607 grep -v '^ *+' conftest.er1 >conftest.err
64608 rm -f conftest.er1
64609 cat conftest.err >&5
64610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64611 (exit $ac_status); } &&
64612 { ac_try='test -z "$ac_cxx_werror_flag"
64613 || test ! -s conftest.err'
64614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64615 (eval $ac_try) 2>&5
64616 ac_status=$?
64617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64618 (exit $ac_status); }; } &&
64619 { ac_try='test -s conftest.$ac_objext'
64620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64621 (eval $ac_try) 2>&5
64622 ac_status=$?
64623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64624 (exit $ac_status); }; }; then
64625 glibcxx_cv_func_atan2l_use=yes
64626 else
64627 echo "$as_me: failed program was:" >&5
64628 sed 's/^/| /' conftest.$ac_ext >&5
64630 glibcxx_cv_func_atan2l_use=no
64632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64633 ac_ext=c
64634 ac_cpp='$CPP $CPPFLAGS'
64635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64644 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64648 for ac_func in atan2l
64650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64651 echo "$as_me:$LINENO: checking for $ac_func" >&5
64652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64653 if eval "test \"\${$as_ac_var+set}\" = set"; then
64654 echo $ECHO_N "(cached) $ECHO_C" >&6
64655 else
64656 if test x$gcc_no_link = xyes; then
64657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64659 { (exit 1); exit 1; }; }
64661 cat >conftest.$ac_ext <<_ACEOF
64662 /* confdefs.h. */
64663 _ACEOF
64664 cat confdefs.h >>conftest.$ac_ext
64665 cat >>conftest.$ac_ext <<_ACEOF
64666 /* end confdefs.h. */
64667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64669 #define $ac_func innocuous_$ac_func
64671 /* System header to define __stub macros and hopefully few prototypes,
64672 which can conflict with char $ac_func (); below.
64673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64674 <limits.h> exists even on freestanding compilers. */
64676 #ifdef __STDC__
64677 # include <limits.h>
64678 #else
64679 # include <assert.h>
64680 #endif
64682 #undef $ac_func
64684 /* Override any gcc2 internal prototype to avoid an error. */
64685 #ifdef __cplusplus
64686 extern "C"
64688 #endif
64689 /* We use char because int might match the return type of a gcc2
64690 builtin and then its argument prototype would still apply. */
64691 char $ac_func ();
64692 /* The GNU C library defines this for functions which it implements
64693 to always fail with ENOSYS. Some functions are actually named
64694 something starting with __ and the normal name is an alias. */
64695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64696 choke me
64697 #else
64698 char (*f) () = $ac_func;
64699 #endif
64700 #ifdef __cplusplus
64702 #endif
64705 main ()
64707 return f != $ac_func;
64709 return 0;
64711 _ACEOF
64712 rm -f conftest.$ac_objext conftest$ac_exeext
64713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64714 (eval $ac_link) 2>conftest.er1
64715 ac_status=$?
64716 grep -v '^ *+' conftest.er1 >conftest.err
64717 rm -f conftest.er1
64718 cat conftest.err >&5
64719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64720 (exit $ac_status); } &&
64721 { ac_try='test -z "$ac_c_werror_flag"
64722 || test ! -s conftest.err'
64723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64724 (eval $ac_try) 2>&5
64725 ac_status=$?
64726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64727 (exit $ac_status); }; } &&
64728 { ac_try='test -s conftest$ac_exeext'
64729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64730 (eval $ac_try) 2>&5
64731 ac_status=$?
64732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64733 (exit $ac_status); }; }; then
64734 eval "$as_ac_var=yes"
64735 else
64736 echo "$as_me: failed program was:" >&5
64737 sed 's/^/| /' conftest.$ac_ext >&5
64739 eval "$as_ac_var=no"
64741 rm -f conftest.err conftest.$ac_objext \
64742 conftest$ac_exeext conftest.$ac_ext
64744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64746 if test `eval echo '${'$as_ac_var'}'` = yes; then
64747 cat >>confdefs.h <<_ACEOF
64748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64749 _ACEOF
64752 done
64754 else
64756 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64757 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64758 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64759 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64760 echo $ECHO_N "(cached) $ECHO_C" >&6
64761 else
64765 ac_ext=cc
64766 ac_cpp='$CXXCPP $CPPFLAGS'
64767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64771 cat >conftest.$ac_ext <<_ACEOF
64772 /* confdefs.h. */
64773 _ACEOF
64774 cat confdefs.h >>conftest.$ac_ext
64775 cat >>conftest.$ac_ext <<_ACEOF
64776 /* end confdefs.h. */
64777 #include <math.h>
64779 main ()
64781 _atan2l(0, 0);
64783 return 0;
64785 _ACEOF
64786 rm -f conftest.$ac_objext
64787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64788 (eval $ac_compile) 2>conftest.er1
64789 ac_status=$?
64790 grep -v '^ *+' conftest.er1 >conftest.err
64791 rm -f conftest.er1
64792 cat conftest.err >&5
64793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64794 (exit $ac_status); } &&
64795 { ac_try='test -z "$ac_cxx_werror_flag"
64796 || test ! -s conftest.err'
64797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64798 (eval $ac_try) 2>&5
64799 ac_status=$?
64800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64801 (exit $ac_status); }; } &&
64802 { ac_try='test -s conftest.$ac_objext'
64803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64804 (eval $ac_try) 2>&5
64805 ac_status=$?
64806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64807 (exit $ac_status); }; }; then
64808 glibcxx_cv_func__atan2l_use=yes
64809 else
64810 echo "$as_me: failed program was:" >&5
64811 sed 's/^/| /' conftest.$ac_ext >&5
64813 glibcxx_cv_func__atan2l_use=no
64815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64816 ac_ext=c
64817 ac_cpp='$CPP $CPPFLAGS'
64818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64827 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64829 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64831 for ac_func in _atan2l
64833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64834 echo "$as_me:$LINENO: checking for $ac_func" >&5
64835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64836 if eval "test \"\${$as_ac_var+set}\" = set"; then
64837 echo $ECHO_N "(cached) $ECHO_C" >&6
64838 else
64839 if test x$gcc_no_link = xyes; then
64840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64842 { (exit 1); exit 1; }; }
64844 cat >conftest.$ac_ext <<_ACEOF
64845 /* confdefs.h. */
64846 _ACEOF
64847 cat confdefs.h >>conftest.$ac_ext
64848 cat >>conftest.$ac_ext <<_ACEOF
64849 /* end confdefs.h. */
64850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64852 #define $ac_func innocuous_$ac_func
64854 /* System header to define __stub macros and hopefully few prototypes,
64855 which can conflict with char $ac_func (); below.
64856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64857 <limits.h> exists even on freestanding compilers. */
64859 #ifdef __STDC__
64860 # include <limits.h>
64861 #else
64862 # include <assert.h>
64863 #endif
64865 #undef $ac_func
64867 /* Override any gcc2 internal prototype to avoid an error. */
64868 #ifdef __cplusplus
64869 extern "C"
64871 #endif
64872 /* We use char because int might match the return type of a gcc2
64873 builtin and then its argument prototype would still apply. */
64874 char $ac_func ();
64875 /* The GNU C library defines this for functions which it implements
64876 to always fail with ENOSYS. Some functions are actually named
64877 something starting with __ and the normal name is an alias. */
64878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64879 choke me
64880 #else
64881 char (*f) () = $ac_func;
64882 #endif
64883 #ifdef __cplusplus
64885 #endif
64888 main ()
64890 return f != $ac_func;
64892 return 0;
64894 _ACEOF
64895 rm -f conftest.$ac_objext conftest$ac_exeext
64896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64897 (eval $ac_link) 2>conftest.er1
64898 ac_status=$?
64899 grep -v '^ *+' conftest.er1 >conftest.err
64900 rm -f conftest.er1
64901 cat conftest.err >&5
64902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64903 (exit $ac_status); } &&
64904 { ac_try='test -z "$ac_c_werror_flag"
64905 || test ! -s conftest.err'
64906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64907 (eval $ac_try) 2>&5
64908 ac_status=$?
64909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64910 (exit $ac_status); }; } &&
64911 { ac_try='test -s conftest$ac_exeext'
64912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64913 (eval $ac_try) 2>&5
64914 ac_status=$?
64915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64916 (exit $ac_status); }; }; then
64917 eval "$as_ac_var=yes"
64918 else
64919 echo "$as_me: failed program was:" >&5
64920 sed 's/^/| /' conftest.$ac_ext >&5
64922 eval "$as_ac_var=no"
64924 rm -f conftest.err conftest.$ac_objext \
64925 conftest$ac_exeext conftest.$ac_ext
64927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64929 if test `eval echo '${'$as_ac_var'}'` = yes; then
64930 cat >>confdefs.h <<_ACEOF
64931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64932 _ACEOF
64935 done
64942 echo "$as_me:$LINENO: checking for expl declaration" >&5
64943 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64945 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64946 echo $ECHO_N "(cached) $ECHO_C" >&6
64947 else
64951 ac_ext=cc
64952 ac_cpp='$CXXCPP $CPPFLAGS'
64953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64957 cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h. */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h. */
64963 #include <math.h>
64964 #ifdef HAVE_IEEEFP_H
64965 #include <ieeefp.h>
64966 #endif
64969 main ()
64971 expl(0);
64973 return 0;
64975 _ACEOF
64976 rm -f conftest.$ac_objext
64977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64978 (eval $ac_compile) 2>conftest.er1
64979 ac_status=$?
64980 grep -v '^ *+' conftest.er1 >conftest.err
64981 rm -f conftest.er1
64982 cat conftest.err >&5
64983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64984 (exit $ac_status); } &&
64985 { ac_try='test -z "$ac_cxx_werror_flag"
64986 || test ! -s conftest.err'
64987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64988 (eval $ac_try) 2>&5
64989 ac_status=$?
64990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64991 (exit $ac_status); }; } &&
64992 { ac_try='test -s conftest.$ac_objext'
64993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64994 (eval $ac_try) 2>&5
64995 ac_status=$?
64996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64997 (exit $ac_status); }; }; then
64998 glibcxx_cv_func_expl_use=yes
64999 else
65000 echo "$as_me: failed program was:" >&5
65001 sed 's/^/| /' conftest.$ac_ext >&5
65003 glibcxx_cv_func_expl_use=no
65005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65006 ac_ext=c
65007 ac_cpp='$CPP $CPPFLAGS'
65008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65017 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65021 for ac_func in expl
65023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65024 echo "$as_me:$LINENO: checking for $ac_func" >&5
65025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65026 if eval "test \"\${$as_ac_var+set}\" = set"; then
65027 echo $ECHO_N "(cached) $ECHO_C" >&6
65028 else
65029 if test x$gcc_no_link = xyes; then
65030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65032 { (exit 1); exit 1; }; }
65034 cat >conftest.$ac_ext <<_ACEOF
65035 /* confdefs.h. */
65036 _ACEOF
65037 cat confdefs.h >>conftest.$ac_ext
65038 cat >>conftest.$ac_ext <<_ACEOF
65039 /* end confdefs.h. */
65040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65042 #define $ac_func innocuous_$ac_func
65044 /* System header to define __stub macros and hopefully few prototypes,
65045 which can conflict with char $ac_func (); below.
65046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65047 <limits.h> exists even on freestanding compilers. */
65049 #ifdef __STDC__
65050 # include <limits.h>
65051 #else
65052 # include <assert.h>
65053 #endif
65055 #undef $ac_func
65057 /* Override any gcc2 internal prototype to avoid an error. */
65058 #ifdef __cplusplus
65059 extern "C"
65061 #endif
65062 /* We use char because int might match the return type of a gcc2
65063 builtin and then its argument prototype would still apply. */
65064 char $ac_func ();
65065 /* The GNU C library defines this for functions which it implements
65066 to always fail with ENOSYS. Some functions are actually named
65067 something starting with __ and the normal name is an alias. */
65068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65069 choke me
65070 #else
65071 char (*f) () = $ac_func;
65072 #endif
65073 #ifdef __cplusplus
65075 #endif
65078 main ()
65080 return f != $ac_func;
65082 return 0;
65084 _ACEOF
65085 rm -f conftest.$ac_objext conftest$ac_exeext
65086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65087 (eval $ac_link) 2>conftest.er1
65088 ac_status=$?
65089 grep -v '^ *+' conftest.er1 >conftest.err
65090 rm -f conftest.er1
65091 cat conftest.err >&5
65092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65093 (exit $ac_status); } &&
65094 { ac_try='test -z "$ac_c_werror_flag"
65095 || test ! -s conftest.err'
65096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65097 (eval $ac_try) 2>&5
65098 ac_status=$?
65099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100 (exit $ac_status); }; } &&
65101 { ac_try='test -s conftest$ac_exeext'
65102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65103 (eval $ac_try) 2>&5
65104 ac_status=$?
65105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65106 (exit $ac_status); }; }; then
65107 eval "$as_ac_var=yes"
65108 else
65109 echo "$as_me: failed program was:" >&5
65110 sed 's/^/| /' conftest.$ac_ext >&5
65112 eval "$as_ac_var=no"
65114 rm -f conftest.err conftest.$ac_objext \
65115 conftest$ac_exeext conftest.$ac_ext
65117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65119 if test `eval echo '${'$as_ac_var'}'` = yes; then
65120 cat >>confdefs.h <<_ACEOF
65121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65122 _ACEOF
65125 done
65127 else
65129 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65130 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65131 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65132 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65133 echo $ECHO_N "(cached) $ECHO_C" >&6
65134 else
65138 ac_ext=cc
65139 ac_cpp='$CXXCPP $CPPFLAGS'
65140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65144 cat >conftest.$ac_ext <<_ACEOF
65145 /* confdefs.h. */
65146 _ACEOF
65147 cat confdefs.h >>conftest.$ac_ext
65148 cat >>conftest.$ac_ext <<_ACEOF
65149 /* end confdefs.h. */
65150 #include <math.h>
65151 #ifdef HAVE_IEEEFP_H
65152 #include <ieeefp.h>
65153 #endif
65156 main ()
65158 _expl(0);
65160 return 0;
65162 _ACEOF
65163 rm -f conftest.$ac_objext
65164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65165 (eval $ac_compile) 2>conftest.er1
65166 ac_status=$?
65167 grep -v '^ *+' conftest.er1 >conftest.err
65168 rm -f conftest.er1
65169 cat conftest.err >&5
65170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171 (exit $ac_status); } &&
65172 { ac_try='test -z "$ac_cxx_werror_flag"
65173 || test ! -s conftest.err'
65174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65175 (eval $ac_try) 2>&5
65176 ac_status=$?
65177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65178 (exit $ac_status); }; } &&
65179 { ac_try='test -s conftest.$ac_objext'
65180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65181 (eval $ac_try) 2>&5
65182 ac_status=$?
65183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65184 (exit $ac_status); }; }; then
65185 glibcxx_cv_func__expl_use=yes
65186 else
65187 echo "$as_me: failed program was:" >&5
65188 sed 's/^/| /' conftest.$ac_ext >&5
65190 glibcxx_cv_func__expl_use=no
65192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65193 ac_ext=c
65194 ac_cpp='$CPP $CPPFLAGS'
65195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65204 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65206 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65208 for ac_func in _expl
65210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65211 echo "$as_me:$LINENO: checking for $ac_func" >&5
65212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65213 if eval "test \"\${$as_ac_var+set}\" = set"; then
65214 echo $ECHO_N "(cached) $ECHO_C" >&6
65215 else
65216 if test x$gcc_no_link = xyes; then
65217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65219 { (exit 1); exit 1; }; }
65221 cat >conftest.$ac_ext <<_ACEOF
65222 /* confdefs.h. */
65223 _ACEOF
65224 cat confdefs.h >>conftest.$ac_ext
65225 cat >>conftest.$ac_ext <<_ACEOF
65226 /* end confdefs.h. */
65227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65229 #define $ac_func innocuous_$ac_func
65231 /* System header to define __stub macros and hopefully few prototypes,
65232 which can conflict with char $ac_func (); below.
65233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65234 <limits.h> exists even on freestanding compilers. */
65236 #ifdef __STDC__
65237 # include <limits.h>
65238 #else
65239 # include <assert.h>
65240 #endif
65242 #undef $ac_func
65244 /* Override any gcc2 internal prototype to avoid an error. */
65245 #ifdef __cplusplus
65246 extern "C"
65248 #endif
65249 /* We use char because int might match the return type of a gcc2
65250 builtin and then its argument prototype would still apply. */
65251 char $ac_func ();
65252 /* The GNU C library defines this for functions which it implements
65253 to always fail with ENOSYS. Some functions are actually named
65254 something starting with __ and the normal name is an alias. */
65255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65256 choke me
65257 #else
65258 char (*f) () = $ac_func;
65259 #endif
65260 #ifdef __cplusplus
65262 #endif
65265 main ()
65267 return f != $ac_func;
65269 return 0;
65271 _ACEOF
65272 rm -f conftest.$ac_objext conftest$ac_exeext
65273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65274 (eval $ac_link) 2>conftest.er1
65275 ac_status=$?
65276 grep -v '^ *+' conftest.er1 >conftest.err
65277 rm -f conftest.er1
65278 cat conftest.err >&5
65279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65280 (exit $ac_status); } &&
65281 { ac_try='test -z "$ac_c_werror_flag"
65282 || test ! -s conftest.err'
65283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65284 (eval $ac_try) 2>&5
65285 ac_status=$?
65286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287 (exit $ac_status); }; } &&
65288 { ac_try='test -s conftest$ac_exeext'
65289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65290 (eval $ac_try) 2>&5
65291 ac_status=$?
65292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65293 (exit $ac_status); }; }; then
65294 eval "$as_ac_var=yes"
65295 else
65296 echo "$as_me: failed program was:" >&5
65297 sed 's/^/| /' conftest.$ac_ext >&5
65299 eval "$as_ac_var=no"
65301 rm -f conftest.err conftest.$ac_objext \
65302 conftest$ac_exeext conftest.$ac_ext
65304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65306 if test `eval echo '${'$as_ac_var'}'` = yes; then
65307 cat >>confdefs.h <<_ACEOF
65308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65309 _ACEOF
65312 done
65319 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65320 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65321 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65322 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65323 echo $ECHO_N "(cached) $ECHO_C" >&6
65324 else
65328 ac_ext=cc
65329 ac_cpp='$CXXCPP $CPPFLAGS'
65330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65334 cat >conftest.$ac_ext <<_ACEOF
65335 /* confdefs.h. */
65336 _ACEOF
65337 cat confdefs.h >>conftest.$ac_ext
65338 cat >>conftest.$ac_ext <<_ACEOF
65339 /* end confdefs.h. */
65340 #include <math.h>
65341 #ifdef HAVE_IEEEFP_H
65342 #include <ieeefp.h>
65343 #endif
65346 main ()
65348 fabsl(0);
65350 return 0;
65352 _ACEOF
65353 rm -f conftest.$ac_objext
65354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65355 (eval $ac_compile) 2>conftest.er1
65356 ac_status=$?
65357 grep -v '^ *+' conftest.er1 >conftest.err
65358 rm -f conftest.er1
65359 cat conftest.err >&5
65360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65361 (exit $ac_status); } &&
65362 { ac_try='test -z "$ac_cxx_werror_flag"
65363 || test ! -s conftest.err'
65364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65365 (eval $ac_try) 2>&5
65366 ac_status=$?
65367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65368 (exit $ac_status); }; } &&
65369 { ac_try='test -s conftest.$ac_objext'
65370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65371 (eval $ac_try) 2>&5
65372 ac_status=$?
65373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65374 (exit $ac_status); }; }; then
65375 glibcxx_cv_func_fabsl_use=yes
65376 else
65377 echo "$as_me: failed program was:" >&5
65378 sed 's/^/| /' conftest.$ac_ext >&5
65380 glibcxx_cv_func_fabsl_use=no
65382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65383 ac_ext=c
65384 ac_cpp='$CPP $CPPFLAGS'
65385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65394 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65396 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65398 for ac_func in fabsl
65400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65401 echo "$as_me:$LINENO: checking for $ac_func" >&5
65402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65403 if eval "test \"\${$as_ac_var+set}\" = set"; then
65404 echo $ECHO_N "(cached) $ECHO_C" >&6
65405 else
65406 if test x$gcc_no_link = xyes; then
65407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65409 { (exit 1); exit 1; }; }
65411 cat >conftest.$ac_ext <<_ACEOF
65412 /* confdefs.h. */
65413 _ACEOF
65414 cat confdefs.h >>conftest.$ac_ext
65415 cat >>conftest.$ac_ext <<_ACEOF
65416 /* end confdefs.h. */
65417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65419 #define $ac_func innocuous_$ac_func
65421 /* System header to define __stub macros and hopefully few prototypes,
65422 which can conflict with char $ac_func (); below.
65423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65424 <limits.h> exists even on freestanding compilers. */
65426 #ifdef __STDC__
65427 # include <limits.h>
65428 #else
65429 # include <assert.h>
65430 #endif
65432 #undef $ac_func
65434 /* Override any gcc2 internal prototype to avoid an error. */
65435 #ifdef __cplusplus
65436 extern "C"
65438 #endif
65439 /* We use char because int might match the return type of a gcc2
65440 builtin and then its argument prototype would still apply. */
65441 char $ac_func ();
65442 /* The GNU C library defines this for functions which it implements
65443 to always fail with ENOSYS. Some functions are actually named
65444 something starting with __ and the normal name is an alias. */
65445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65446 choke me
65447 #else
65448 char (*f) () = $ac_func;
65449 #endif
65450 #ifdef __cplusplus
65452 #endif
65455 main ()
65457 return f != $ac_func;
65459 return 0;
65461 _ACEOF
65462 rm -f conftest.$ac_objext conftest$ac_exeext
65463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65464 (eval $ac_link) 2>conftest.er1
65465 ac_status=$?
65466 grep -v '^ *+' conftest.er1 >conftest.err
65467 rm -f conftest.er1
65468 cat conftest.err >&5
65469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65470 (exit $ac_status); } &&
65471 { ac_try='test -z "$ac_c_werror_flag"
65472 || test ! -s conftest.err'
65473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65474 (eval $ac_try) 2>&5
65475 ac_status=$?
65476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477 (exit $ac_status); }; } &&
65478 { ac_try='test -s conftest$ac_exeext'
65479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65480 (eval $ac_try) 2>&5
65481 ac_status=$?
65482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65483 (exit $ac_status); }; }; then
65484 eval "$as_ac_var=yes"
65485 else
65486 echo "$as_me: failed program was:" >&5
65487 sed 's/^/| /' conftest.$ac_ext >&5
65489 eval "$as_ac_var=no"
65491 rm -f conftest.err conftest.$ac_objext \
65492 conftest$ac_exeext conftest.$ac_ext
65494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65496 if test `eval echo '${'$as_ac_var'}'` = yes; then
65497 cat >>confdefs.h <<_ACEOF
65498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65499 _ACEOF
65502 done
65504 else
65506 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65507 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65508 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65509 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65510 echo $ECHO_N "(cached) $ECHO_C" >&6
65511 else
65515 ac_ext=cc
65516 ac_cpp='$CXXCPP $CPPFLAGS'
65517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65521 cat >conftest.$ac_ext <<_ACEOF
65522 /* confdefs.h. */
65523 _ACEOF
65524 cat confdefs.h >>conftest.$ac_ext
65525 cat >>conftest.$ac_ext <<_ACEOF
65526 /* end confdefs.h. */
65527 #include <math.h>
65528 #ifdef HAVE_IEEEFP_H
65529 #include <ieeefp.h>
65530 #endif
65533 main ()
65535 _fabsl(0);
65537 return 0;
65539 _ACEOF
65540 rm -f conftest.$ac_objext
65541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65542 (eval $ac_compile) 2>conftest.er1
65543 ac_status=$?
65544 grep -v '^ *+' conftest.er1 >conftest.err
65545 rm -f conftest.er1
65546 cat conftest.err >&5
65547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65548 (exit $ac_status); } &&
65549 { ac_try='test -z "$ac_cxx_werror_flag"
65550 || test ! -s conftest.err'
65551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65552 (eval $ac_try) 2>&5
65553 ac_status=$?
65554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65555 (exit $ac_status); }; } &&
65556 { ac_try='test -s conftest.$ac_objext'
65557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65558 (eval $ac_try) 2>&5
65559 ac_status=$?
65560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65561 (exit $ac_status); }; }; then
65562 glibcxx_cv_func__fabsl_use=yes
65563 else
65564 echo "$as_me: failed program was:" >&5
65565 sed 's/^/| /' conftest.$ac_ext >&5
65567 glibcxx_cv_func__fabsl_use=no
65569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65570 ac_ext=c
65571 ac_cpp='$CPP $CPPFLAGS'
65572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65581 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65583 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65585 for ac_func in _fabsl
65587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65588 echo "$as_me:$LINENO: checking for $ac_func" >&5
65589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65590 if eval "test \"\${$as_ac_var+set}\" = set"; then
65591 echo $ECHO_N "(cached) $ECHO_C" >&6
65592 else
65593 if test x$gcc_no_link = xyes; then
65594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65596 { (exit 1); exit 1; }; }
65598 cat >conftest.$ac_ext <<_ACEOF
65599 /* confdefs.h. */
65600 _ACEOF
65601 cat confdefs.h >>conftest.$ac_ext
65602 cat >>conftest.$ac_ext <<_ACEOF
65603 /* end confdefs.h. */
65604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65606 #define $ac_func innocuous_$ac_func
65608 /* System header to define __stub macros and hopefully few prototypes,
65609 which can conflict with char $ac_func (); below.
65610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65611 <limits.h> exists even on freestanding compilers. */
65613 #ifdef __STDC__
65614 # include <limits.h>
65615 #else
65616 # include <assert.h>
65617 #endif
65619 #undef $ac_func
65621 /* Override any gcc2 internal prototype to avoid an error. */
65622 #ifdef __cplusplus
65623 extern "C"
65625 #endif
65626 /* We use char because int might match the return type of a gcc2
65627 builtin and then its argument prototype would still apply. */
65628 char $ac_func ();
65629 /* The GNU C library defines this for functions which it implements
65630 to always fail with ENOSYS. Some functions are actually named
65631 something starting with __ and the normal name is an alias. */
65632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65633 choke me
65634 #else
65635 char (*f) () = $ac_func;
65636 #endif
65637 #ifdef __cplusplus
65639 #endif
65642 main ()
65644 return f != $ac_func;
65646 return 0;
65648 _ACEOF
65649 rm -f conftest.$ac_objext conftest$ac_exeext
65650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65651 (eval $ac_link) 2>conftest.er1
65652 ac_status=$?
65653 grep -v '^ *+' conftest.er1 >conftest.err
65654 rm -f conftest.er1
65655 cat conftest.err >&5
65656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657 (exit $ac_status); } &&
65658 { ac_try='test -z "$ac_c_werror_flag"
65659 || test ! -s conftest.err'
65660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65661 (eval $ac_try) 2>&5
65662 ac_status=$?
65663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65664 (exit $ac_status); }; } &&
65665 { ac_try='test -s conftest$ac_exeext'
65666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65667 (eval $ac_try) 2>&5
65668 ac_status=$?
65669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65670 (exit $ac_status); }; }; then
65671 eval "$as_ac_var=yes"
65672 else
65673 echo "$as_me: failed program was:" >&5
65674 sed 's/^/| /' conftest.$ac_ext >&5
65676 eval "$as_ac_var=no"
65678 rm -f conftest.err conftest.$ac_objext \
65679 conftest$ac_exeext conftest.$ac_ext
65681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65683 if test `eval echo '${'$as_ac_var'}'` = yes; then
65684 cat >>confdefs.h <<_ACEOF
65685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65686 _ACEOF
65689 done
65696 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65697 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65698 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65699 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65700 echo $ECHO_N "(cached) $ECHO_C" >&6
65701 else
65705 ac_ext=cc
65706 ac_cpp='$CXXCPP $CPPFLAGS'
65707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65711 cat >conftest.$ac_ext <<_ACEOF
65712 /* confdefs.h. */
65713 _ACEOF
65714 cat confdefs.h >>conftest.$ac_ext
65715 cat >>conftest.$ac_ext <<_ACEOF
65716 /* end confdefs.h. */
65717 #include <math.h>
65719 main ()
65721 fmodl(0, 0);
65723 return 0;
65725 _ACEOF
65726 rm -f conftest.$ac_objext
65727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65728 (eval $ac_compile) 2>conftest.er1
65729 ac_status=$?
65730 grep -v '^ *+' conftest.er1 >conftest.err
65731 rm -f conftest.er1
65732 cat conftest.err >&5
65733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65734 (exit $ac_status); } &&
65735 { ac_try='test -z "$ac_cxx_werror_flag"
65736 || test ! -s conftest.err'
65737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65738 (eval $ac_try) 2>&5
65739 ac_status=$?
65740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741 (exit $ac_status); }; } &&
65742 { ac_try='test -s conftest.$ac_objext'
65743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65744 (eval $ac_try) 2>&5
65745 ac_status=$?
65746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65747 (exit $ac_status); }; }; then
65748 glibcxx_cv_func_fmodl_use=yes
65749 else
65750 echo "$as_me: failed program was:" >&5
65751 sed 's/^/| /' conftest.$ac_ext >&5
65753 glibcxx_cv_func_fmodl_use=no
65755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65756 ac_ext=c
65757 ac_cpp='$CPP $CPPFLAGS'
65758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65767 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65769 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65771 for ac_func in fmodl
65773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65774 echo "$as_me:$LINENO: checking for $ac_func" >&5
65775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65776 if eval "test \"\${$as_ac_var+set}\" = set"; then
65777 echo $ECHO_N "(cached) $ECHO_C" >&6
65778 else
65779 if test x$gcc_no_link = xyes; then
65780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65782 { (exit 1); exit 1; }; }
65784 cat >conftest.$ac_ext <<_ACEOF
65785 /* confdefs.h. */
65786 _ACEOF
65787 cat confdefs.h >>conftest.$ac_ext
65788 cat >>conftest.$ac_ext <<_ACEOF
65789 /* end confdefs.h. */
65790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65792 #define $ac_func innocuous_$ac_func
65794 /* System header to define __stub macros and hopefully few prototypes,
65795 which can conflict with char $ac_func (); below.
65796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65797 <limits.h> exists even on freestanding compilers. */
65799 #ifdef __STDC__
65800 # include <limits.h>
65801 #else
65802 # include <assert.h>
65803 #endif
65805 #undef $ac_func
65807 /* Override any gcc2 internal prototype to avoid an error. */
65808 #ifdef __cplusplus
65809 extern "C"
65811 #endif
65812 /* We use char because int might match the return type of a gcc2
65813 builtin and then its argument prototype would still apply. */
65814 char $ac_func ();
65815 /* The GNU C library defines this for functions which it implements
65816 to always fail with ENOSYS. Some functions are actually named
65817 something starting with __ and the normal name is an alias. */
65818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65819 choke me
65820 #else
65821 char (*f) () = $ac_func;
65822 #endif
65823 #ifdef __cplusplus
65825 #endif
65828 main ()
65830 return f != $ac_func;
65832 return 0;
65834 _ACEOF
65835 rm -f conftest.$ac_objext conftest$ac_exeext
65836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65837 (eval $ac_link) 2>conftest.er1
65838 ac_status=$?
65839 grep -v '^ *+' conftest.er1 >conftest.err
65840 rm -f conftest.er1
65841 cat conftest.err >&5
65842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65843 (exit $ac_status); } &&
65844 { ac_try='test -z "$ac_c_werror_flag"
65845 || test ! -s conftest.err'
65846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65847 (eval $ac_try) 2>&5
65848 ac_status=$?
65849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65850 (exit $ac_status); }; } &&
65851 { ac_try='test -s conftest$ac_exeext'
65852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65853 (eval $ac_try) 2>&5
65854 ac_status=$?
65855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65856 (exit $ac_status); }; }; then
65857 eval "$as_ac_var=yes"
65858 else
65859 echo "$as_me: failed program was:" >&5
65860 sed 's/^/| /' conftest.$ac_ext >&5
65862 eval "$as_ac_var=no"
65864 rm -f conftest.err conftest.$ac_objext \
65865 conftest$ac_exeext conftest.$ac_ext
65867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65869 if test `eval echo '${'$as_ac_var'}'` = yes; then
65870 cat >>confdefs.h <<_ACEOF
65871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65872 _ACEOF
65875 done
65877 else
65879 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65880 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65881 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65882 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65883 echo $ECHO_N "(cached) $ECHO_C" >&6
65884 else
65888 ac_ext=cc
65889 ac_cpp='$CXXCPP $CPPFLAGS'
65890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65894 cat >conftest.$ac_ext <<_ACEOF
65895 /* confdefs.h. */
65896 _ACEOF
65897 cat confdefs.h >>conftest.$ac_ext
65898 cat >>conftest.$ac_ext <<_ACEOF
65899 /* end confdefs.h. */
65900 #include <math.h>
65902 main ()
65904 _fmodl(0, 0);
65906 return 0;
65908 _ACEOF
65909 rm -f conftest.$ac_objext
65910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65911 (eval $ac_compile) 2>conftest.er1
65912 ac_status=$?
65913 grep -v '^ *+' conftest.er1 >conftest.err
65914 rm -f conftest.er1
65915 cat conftest.err >&5
65916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917 (exit $ac_status); } &&
65918 { ac_try='test -z "$ac_cxx_werror_flag"
65919 || test ! -s conftest.err'
65920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65921 (eval $ac_try) 2>&5
65922 ac_status=$?
65923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924 (exit $ac_status); }; } &&
65925 { ac_try='test -s conftest.$ac_objext'
65926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65927 (eval $ac_try) 2>&5
65928 ac_status=$?
65929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65930 (exit $ac_status); }; }; then
65931 glibcxx_cv_func__fmodl_use=yes
65932 else
65933 echo "$as_me: failed program was:" >&5
65934 sed 's/^/| /' conftest.$ac_ext >&5
65936 glibcxx_cv_func__fmodl_use=no
65938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65939 ac_ext=c
65940 ac_cpp='$CPP $CPPFLAGS'
65941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65950 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65952 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65954 for ac_func in _fmodl
65956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 echo "$as_me:$LINENO: checking for $ac_func" >&5
65958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65959 if eval "test \"\${$as_ac_var+set}\" = set"; then
65960 echo $ECHO_N "(cached) $ECHO_C" >&6
65961 else
65962 if test x$gcc_no_link = xyes; then
65963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65965 { (exit 1); exit 1; }; }
65967 cat >conftest.$ac_ext <<_ACEOF
65968 /* confdefs.h. */
65969 _ACEOF
65970 cat confdefs.h >>conftest.$ac_ext
65971 cat >>conftest.$ac_ext <<_ACEOF
65972 /* end confdefs.h. */
65973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65975 #define $ac_func innocuous_$ac_func
65977 /* System header to define __stub macros and hopefully few prototypes,
65978 which can conflict with char $ac_func (); below.
65979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65980 <limits.h> exists even on freestanding compilers. */
65982 #ifdef __STDC__
65983 # include <limits.h>
65984 #else
65985 # include <assert.h>
65986 #endif
65988 #undef $ac_func
65990 /* Override any gcc2 internal prototype to avoid an error. */
65991 #ifdef __cplusplus
65992 extern "C"
65994 #endif
65995 /* We use char because int might match the return type of a gcc2
65996 builtin and then its argument prototype would still apply. */
65997 char $ac_func ();
65998 /* The GNU C library defines this for functions which it implements
65999 to always fail with ENOSYS. Some functions are actually named
66000 something starting with __ and the normal name is an alias. */
66001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66002 choke me
66003 #else
66004 char (*f) () = $ac_func;
66005 #endif
66006 #ifdef __cplusplus
66008 #endif
66011 main ()
66013 return f != $ac_func;
66015 return 0;
66017 _ACEOF
66018 rm -f conftest.$ac_objext conftest$ac_exeext
66019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66020 (eval $ac_link) 2>conftest.er1
66021 ac_status=$?
66022 grep -v '^ *+' conftest.er1 >conftest.err
66023 rm -f conftest.er1
66024 cat conftest.err >&5
66025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026 (exit $ac_status); } &&
66027 { ac_try='test -z "$ac_c_werror_flag"
66028 || test ! -s conftest.err'
66029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66030 (eval $ac_try) 2>&5
66031 ac_status=$?
66032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033 (exit $ac_status); }; } &&
66034 { ac_try='test -s conftest$ac_exeext'
66035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66036 (eval $ac_try) 2>&5
66037 ac_status=$?
66038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039 (exit $ac_status); }; }; then
66040 eval "$as_ac_var=yes"
66041 else
66042 echo "$as_me: failed program was:" >&5
66043 sed 's/^/| /' conftest.$ac_ext >&5
66045 eval "$as_ac_var=no"
66047 rm -f conftest.err conftest.$ac_objext \
66048 conftest$ac_exeext conftest.$ac_ext
66050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66052 if test `eval echo '${'$as_ac_var'}'` = yes; then
66053 cat >>confdefs.h <<_ACEOF
66054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66055 _ACEOF
66058 done
66065 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66066 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66067 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66068 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66069 echo $ECHO_N "(cached) $ECHO_C" >&6
66070 else
66074 ac_ext=cc
66075 ac_cpp='$CXXCPP $CPPFLAGS'
66076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66080 cat >conftest.$ac_ext <<_ACEOF
66081 /* confdefs.h. */
66082 _ACEOF
66083 cat confdefs.h >>conftest.$ac_ext
66084 cat >>conftest.$ac_ext <<_ACEOF
66085 /* end confdefs.h. */
66086 #include <math.h>
66088 main ()
66090 frexpl(0, 0);
66092 return 0;
66094 _ACEOF
66095 rm -f conftest.$ac_objext
66096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66097 (eval $ac_compile) 2>conftest.er1
66098 ac_status=$?
66099 grep -v '^ *+' conftest.er1 >conftest.err
66100 rm -f conftest.er1
66101 cat conftest.err >&5
66102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66103 (exit $ac_status); } &&
66104 { ac_try='test -z "$ac_cxx_werror_flag"
66105 || test ! -s conftest.err'
66106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66107 (eval $ac_try) 2>&5
66108 ac_status=$?
66109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110 (exit $ac_status); }; } &&
66111 { ac_try='test -s conftest.$ac_objext'
66112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66113 (eval $ac_try) 2>&5
66114 ac_status=$?
66115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66116 (exit $ac_status); }; }; then
66117 glibcxx_cv_func_frexpl_use=yes
66118 else
66119 echo "$as_me: failed program was:" >&5
66120 sed 's/^/| /' conftest.$ac_ext >&5
66122 glibcxx_cv_func_frexpl_use=no
66124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66125 ac_ext=c
66126 ac_cpp='$CPP $CPPFLAGS'
66127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66136 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66140 for ac_func in frexpl
66142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66143 echo "$as_me:$LINENO: checking for $ac_func" >&5
66144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66145 if eval "test \"\${$as_ac_var+set}\" = set"; then
66146 echo $ECHO_N "(cached) $ECHO_C" >&6
66147 else
66148 if test x$gcc_no_link = xyes; then
66149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66151 { (exit 1); exit 1; }; }
66153 cat >conftest.$ac_ext <<_ACEOF
66154 /* confdefs.h. */
66155 _ACEOF
66156 cat confdefs.h >>conftest.$ac_ext
66157 cat >>conftest.$ac_ext <<_ACEOF
66158 /* end confdefs.h. */
66159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66161 #define $ac_func innocuous_$ac_func
66163 /* System header to define __stub macros and hopefully few prototypes,
66164 which can conflict with char $ac_func (); below.
66165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66166 <limits.h> exists even on freestanding compilers. */
66168 #ifdef __STDC__
66169 # include <limits.h>
66170 #else
66171 # include <assert.h>
66172 #endif
66174 #undef $ac_func
66176 /* Override any gcc2 internal prototype to avoid an error. */
66177 #ifdef __cplusplus
66178 extern "C"
66180 #endif
66181 /* We use char because int might match the return type of a gcc2
66182 builtin and then its argument prototype would still apply. */
66183 char $ac_func ();
66184 /* The GNU C library defines this for functions which it implements
66185 to always fail with ENOSYS. Some functions are actually named
66186 something starting with __ and the normal name is an alias. */
66187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66188 choke me
66189 #else
66190 char (*f) () = $ac_func;
66191 #endif
66192 #ifdef __cplusplus
66194 #endif
66197 main ()
66199 return f != $ac_func;
66201 return 0;
66203 _ACEOF
66204 rm -f conftest.$ac_objext conftest$ac_exeext
66205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66206 (eval $ac_link) 2>conftest.er1
66207 ac_status=$?
66208 grep -v '^ *+' conftest.er1 >conftest.err
66209 rm -f conftest.er1
66210 cat conftest.err >&5
66211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66212 (exit $ac_status); } &&
66213 { ac_try='test -z "$ac_c_werror_flag"
66214 || test ! -s conftest.err'
66215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66216 (eval $ac_try) 2>&5
66217 ac_status=$?
66218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66219 (exit $ac_status); }; } &&
66220 { ac_try='test -s conftest$ac_exeext'
66221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66222 (eval $ac_try) 2>&5
66223 ac_status=$?
66224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66225 (exit $ac_status); }; }; then
66226 eval "$as_ac_var=yes"
66227 else
66228 echo "$as_me: failed program was:" >&5
66229 sed 's/^/| /' conftest.$ac_ext >&5
66231 eval "$as_ac_var=no"
66233 rm -f conftest.err conftest.$ac_objext \
66234 conftest$ac_exeext conftest.$ac_ext
66236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66238 if test `eval echo '${'$as_ac_var'}'` = yes; then
66239 cat >>confdefs.h <<_ACEOF
66240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66241 _ACEOF
66244 done
66246 else
66248 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66249 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66250 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66251 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66252 echo $ECHO_N "(cached) $ECHO_C" >&6
66253 else
66257 ac_ext=cc
66258 ac_cpp='$CXXCPP $CPPFLAGS'
66259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66263 cat >conftest.$ac_ext <<_ACEOF
66264 /* confdefs.h. */
66265 _ACEOF
66266 cat confdefs.h >>conftest.$ac_ext
66267 cat >>conftest.$ac_ext <<_ACEOF
66268 /* end confdefs.h. */
66269 #include <math.h>
66271 main ()
66273 _frexpl(0, 0);
66275 return 0;
66277 _ACEOF
66278 rm -f conftest.$ac_objext
66279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66280 (eval $ac_compile) 2>conftest.er1
66281 ac_status=$?
66282 grep -v '^ *+' conftest.er1 >conftest.err
66283 rm -f conftest.er1
66284 cat conftest.err >&5
66285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66286 (exit $ac_status); } &&
66287 { ac_try='test -z "$ac_cxx_werror_flag"
66288 || test ! -s conftest.err'
66289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290 (eval $ac_try) 2>&5
66291 ac_status=$?
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); }; } &&
66294 { ac_try='test -s conftest.$ac_objext'
66295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66296 (eval $ac_try) 2>&5
66297 ac_status=$?
66298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66299 (exit $ac_status); }; }; then
66300 glibcxx_cv_func__frexpl_use=yes
66301 else
66302 echo "$as_me: failed program was:" >&5
66303 sed 's/^/| /' conftest.$ac_ext >&5
66305 glibcxx_cv_func__frexpl_use=no
66307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66308 ac_ext=c
66309 ac_cpp='$CPP $CPPFLAGS'
66310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66318 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66319 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66321 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66323 for ac_func in _frexpl
66325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66326 echo "$as_me:$LINENO: checking for $ac_func" >&5
66327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66328 if eval "test \"\${$as_ac_var+set}\" = set"; then
66329 echo $ECHO_N "(cached) $ECHO_C" >&6
66330 else
66331 if test x$gcc_no_link = xyes; then
66332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66334 { (exit 1); exit 1; }; }
66336 cat >conftest.$ac_ext <<_ACEOF
66337 /* confdefs.h. */
66338 _ACEOF
66339 cat confdefs.h >>conftest.$ac_ext
66340 cat >>conftest.$ac_ext <<_ACEOF
66341 /* end confdefs.h. */
66342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66344 #define $ac_func innocuous_$ac_func
66346 /* System header to define __stub macros and hopefully few prototypes,
66347 which can conflict with char $ac_func (); below.
66348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66349 <limits.h> exists even on freestanding compilers. */
66351 #ifdef __STDC__
66352 # include <limits.h>
66353 #else
66354 # include <assert.h>
66355 #endif
66357 #undef $ac_func
66359 /* Override any gcc2 internal prototype to avoid an error. */
66360 #ifdef __cplusplus
66361 extern "C"
66363 #endif
66364 /* We use char because int might match the return type of a gcc2
66365 builtin and then its argument prototype would still apply. */
66366 char $ac_func ();
66367 /* The GNU C library defines this for functions which it implements
66368 to always fail with ENOSYS. Some functions are actually named
66369 something starting with __ and the normal name is an alias. */
66370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66371 choke me
66372 #else
66373 char (*f) () = $ac_func;
66374 #endif
66375 #ifdef __cplusplus
66377 #endif
66380 main ()
66382 return f != $ac_func;
66384 return 0;
66386 _ACEOF
66387 rm -f conftest.$ac_objext conftest$ac_exeext
66388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66389 (eval $ac_link) 2>conftest.er1
66390 ac_status=$?
66391 grep -v '^ *+' conftest.er1 >conftest.err
66392 rm -f conftest.er1
66393 cat conftest.err >&5
66394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66395 (exit $ac_status); } &&
66396 { ac_try='test -z "$ac_c_werror_flag"
66397 || test ! -s conftest.err'
66398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66399 (eval $ac_try) 2>&5
66400 ac_status=$?
66401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402 (exit $ac_status); }; } &&
66403 { ac_try='test -s conftest$ac_exeext'
66404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66405 (eval $ac_try) 2>&5
66406 ac_status=$?
66407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66408 (exit $ac_status); }; }; then
66409 eval "$as_ac_var=yes"
66410 else
66411 echo "$as_me: failed program was:" >&5
66412 sed 's/^/| /' conftest.$ac_ext >&5
66414 eval "$as_ac_var=no"
66416 rm -f conftest.err conftest.$ac_objext \
66417 conftest$ac_exeext conftest.$ac_ext
66419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66421 if test `eval echo '${'$as_ac_var'}'` = yes; then
66422 cat >>confdefs.h <<_ACEOF
66423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66424 _ACEOF
66427 done
66434 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66435 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66436 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66437 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66438 echo $ECHO_N "(cached) $ECHO_C" >&6
66439 else
66443 ac_ext=cc
66444 ac_cpp='$CXXCPP $CPPFLAGS'
66445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66449 cat >conftest.$ac_ext <<_ACEOF
66450 /* confdefs.h. */
66451 _ACEOF
66452 cat confdefs.h >>conftest.$ac_ext
66453 cat >>conftest.$ac_ext <<_ACEOF
66454 /* end confdefs.h. */
66455 #include <math.h>
66457 main ()
66459 hypotl(0, 0);
66461 return 0;
66463 _ACEOF
66464 rm -f conftest.$ac_objext
66465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66466 (eval $ac_compile) 2>conftest.er1
66467 ac_status=$?
66468 grep -v '^ *+' conftest.er1 >conftest.err
66469 rm -f conftest.er1
66470 cat conftest.err >&5
66471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66472 (exit $ac_status); } &&
66473 { ac_try='test -z "$ac_cxx_werror_flag"
66474 || test ! -s conftest.err'
66475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66476 (eval $ac_try) 2>&5
66477 ac_status=$?
66478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66479 (exit $ac_status); }; } &&
66480 { ac_try='test -s conftest.$ac_objext'
66481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66482 (eval $ac_try) 2>&5
66483 ac_status=$?
66484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66485 (exit $ac_status); }; }; then
66486 glibcxx_cv_func_hypotl_use=yes
66487 else
66488 echo "$as_me: failed program was:" >&5
66489 sed 's/^/| /' conftest.$ac_ext >&5
66491 glibcxx_cv_func_hypotl_use=no
66493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66494 ac_ext=c
66495 ac_cpp='$CPP $CPPFLAGS'
66496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66505 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66507 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66509 for ac_func in hypotl
66511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66512 echo "$as_me:$LINENO: checking for $ac_func" >&5
66513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66514 if eval "test \"\${$as_ac_var+set}\" = set"; then
66515 echo $ECHO_N "(cached) $ECHO_C" >&6
66516 else
66517 if test x$gcc_no_link = xyes; then
66518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66520 { (exit 1); exit 1; }; }
66522 cat >conftest.$ac_ext <<_ACEOF
66523 /* confdefs.h. */
66524 _ACEOF
66525 cat confdefs.h >>conftest.$ac_ext
66526 cat >>conftest.$ac_ext <<_ACEOF
66527 /* end confdefs.h. */
66528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66530 #define $ac_func innocuous_$ac_func
66532 /* System header to define __stub macros and hopefully few prototypes,
66533 which can conflict with char $ac_func (); below.
66534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66535 <limits.h> exists even on freestanding compilers. */
66537 #ifdef __STDC__
66538 # include <limits.h>
66539 #else
66540 # include <assert.h>
66541 #endif
66543 #undef $ac_func
66545 /* Override any gcc2 internal prototype to avoid an error. */
66546 #ifdef __cplusplus
66547 extern "C"
66549 #endif
66550 /* We use char because int might match the return type of a gcc2
66551 builtin and then its argument prototype would still apply. */
66552 char $ac_func ();
66553 /* The GNU C library defines this for functions which it implements
66554 to always fail with ENOSYS. Some functions are actually named
66555 something starting with __ and the normal name is an alias. */
66556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66557 choke me
66558 #else
66559 char (*f) () = $ac_func;
66560 #endif
66561 #ifdef __cplusplus
66563 #endif
66566 main ()
66568 return f != $ac_func;
66570 return 0;
66572 _ACEOF
66573 rm -f conftest.$ac_objext conftest$ac_exeext
66574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66575 (eval $ac_link) 2>conftest.er1
66576 ac_status=$?
66577 grep -v '^ *+' conftest.er1 >conftest.err
66578 rm -f conftest.er1
66579 cat conftest.err >&5
66580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66581 (exit $ac_status); } &&
66582 { ac_try='test -z "$ac_c_werror_flag"
66583 || test ! -s conftest.err'
66584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66585 (eval $ac_try) 2>&5
66586 ac_status=$?
66587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66588 (exit $ac_status); }; } &&
66589 { ac_try='test -s conftest$ac_exeext'
66590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66591 (eval $ac_try) 2>&5
66592 ac_status=$?
66593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66594 (exit $ac_status); }; }; then
66595 eval "$as_ac_var=yes"
66596 else
66597 echo "$as_me: failed program was:" >&5
66598 sed 's/^/| /' conftest.$ac_ext >&5
66600 eval "$as_ac_var=no"
66602 rm -f conftest.err conftest.$ac_objext \
66603 conftest$ac_exeext conftest.$ac_ext
66605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66607 if test `eval echo '${'$as_ac_var'}'` = yes; then
66608 cat >>confdefs.h <<_ACEOF
66609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66610 _ACEOF
66613 done
66615 else
66617 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66618 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66619 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66620 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66621 echo $ECHO_N "(cached) $ECHO_C" >&6
66622 else
66626 ac_ext=cc
66627 ac_cpp='$CXXCPP $CPPFLAGS'
66628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66632 cat >conftest.$ac_ext <<_ACEOF
66633 /* confdefs.h. */
66634 _ACEOF
66635 cat confdefs.h >>conftest.$ac_ext
66636 cat >>conftest.$ac_ext <<_ACEOF
66637 /* end confdefs.h. */
66638 #include <math.h>
66640 main ()
66642 _hypotl(0, 0);
66644 return 0;
66646 _ACEOF
66647 rm -f conftest.$ac_objext
66648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66649 (eval $ac_compile) 2>conftest.er1
66650 ac_status=$?
66651 grep -v '^ *+' conftest.er1 >conftest.err
66652 rm -f conftest.er1
66653 cat conftest.err >&5
66654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66655 (exit $ac_status); } &&
66656 { ac_try='test -z "$ac_cxx_werror_flag"
66657 || test ! -s conftest.err'
66658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66659 (eval $ac_try) 2>&5
66660 ac_status=$?
66661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66662 (exit $ac_status); }; } &&
66663 { ac_try='test -s conftest.$ac_objext'
66664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66665 (eval $ac_try) 2>&5
66666 ac_status=$?
66667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66668 (exit $ac_status); }; }; then
66669 glibcxx_cv_func__hypotl_use=yes
66670 else
66671 echo "$as_me: failed program was:" >&5
66672 sed 's/^/| /' conftest.$ac_ext >&5
66674 glibcxx_cv_func__hypotl_use=no
66676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66677 ac_ext=c
66678 ac_cpp='$CPP $CPPFLAGS'
66679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66688 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66690 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66692 for ac_func in _hypotl
66694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66695 echo "$as_me:$LINENO: checking for $ac_func" >&5
66696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66697 if eval "test \"\${$as_ac_var+set}\" = set"; then
66698 echo $ECHO_N "(cached) $ECHO_C" >&6
66699 else
66700 if test x$gcc_no_link = xyes; then
66701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66703 { (exit 1); exit 1; }; }
66705 cat >conftest.$ac_ext <<_ACEOF
66706 /* confdefs.h. */
66707 _ACEOF
66708 cat confdefs.h >>conftest.$ac_ext
66709 cat >>conftest.$ac_ext <<_ACEOF
66710 /* end confdefs.h. */
66711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66713 #define $ac_func innocuous_$ac_func
66715 /* System header to define __stub macros and hopefully few prototypes,
66716 which can conflict with char $ac_func (); below.
66717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66718 <limits.h> exists even on freestanding compilers. */
66720 #ifdef __STDC__
66721 # include <limits.h>
66722 #else
66723 # include <assert.h>
66724 #endif
66726 #undef $ac_func
66728 /* Override any gcc2 internal prototype to avoid an error. */
66729 #ifdef __cplusplus
66730 extern "C"
66732 #endif
66733 /* We use char because int might match the return type of a gcc2
66734 builtin and then its argument prototype would still apply. */
66735 char $ac_func ();
66736 /* The GNU C library defines this for functions which it implements
66737 to always fail with ENOSYS. Some functions are actually named
66738 something starting with __ and the normal name is an alias. */
66739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66740 choke me
66741 #else
66742 char (*f) () = $ac_func;
66743 #endif
66744 #ifdef __cplusplus
66746 #endif
66749 main ()
66751 return f != $ac_func;
66753 return 0;
66755 _ACEOF
66756 rm -f conftest.$ac_objext conftest$ac_exeext
66757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66758 (eval $ac_link) 2>conftest.er1
66759 ac_status=$?
66760 grep -v '^ *+' conftest.er1 >conftest.err
66761 rm -f conftest.er1
66762 cat conftest.err >&5
66763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66764 (exit $ac_status); } &&
66765 { ac_try='test -z "$ac_c_werror_flag"
66766 || test ! -s conftest.err'
66767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66768 (eval $ac_try) 2>&5
66769 ac_status=$?
66770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66771 (exit $ac_status); }; } &&
66772 { ac_try='test -s conftest$ac_exeext'
66773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66774 (eval $ac_try) 2>&5
66775 ac_status=$?
66776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66777 (exit $ac_status); }; }; then
66778 eval "$as_ac_var=yes"
66779 else
66780 echo "$as_me: failed program was:" >&5
66781 sed 's/^/| /' conftest.$ac_ext >&5
66783 eval "$as_ac_var=no"
66785 rm -f conftest.err conftest.$ac_objext \
66786 conftest$ac_exeext conftest.$ac_ext
66788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66790 if test `eval echo '${'$as_ac_var'}'` = yes; then
66791 cat >>confdefs.h <<_ACEOF
66792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66793 _ACEOF
66796 done
66803 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66804 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66805 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66806 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66807 echo $ECHO_N "(cached) $ECHO_C" >&6
66808 else
66812 ac_ext=cc
66813 ac_cpp='$CXXCPP $CPPFLAGS'
66814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66818 cat >conftest.$ac_ext <<_ACEOF
66819 /* confdefs.h. */
66820 _ACEOF
66821 cat confdefs.h >>conftest.$ac_ext
66822 cat >>conftest.$ac_ext <<_ACEOF
66823 /* end confdefs.h. */
66824 #include <math.h>
66826 main ()
66828 ldexpl(0, 0);
66830 return 0;
66832 _ACEOF
66833 rm -f conftest.$ac_objext
66834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66835 (eval $ac_compile) 2>conftest.er1
66836 ac_status=$?
66837 grep -v '^ *+' conftest.er1 >conftest.err
66838 rm -f conftest.er1
66839 cat conftest.err >&5
66840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66841 (exit $ac_status); } &&
66842 { ac_try='test -z "$ac_cxx_werror_flag"
66843 || test ! -s conftest.err'
66844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66845 (eval $ac_try) 2>&5
66846 ac_status=$?
66847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848 (exit $ac_status); }; } &&
66849 { ac_try='test -s conftest.$ac_objext'
66850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66851 (eval $ac_try) 2>&5
66852 ac_status=$?
66853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66854 (exit $ac_status); }; }; then
66855 glibcxx_cv_func_ldexpl_use=yes
66856 else
66857 echo "$as_me: failed program was:" >&5
66858 sed 's/^/| /' conftest.$ac_ext >&5
66860 glibcxx_cv_func_ldexpl_use=no
66862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66863 ac_ext=c
66864 ac_cpp='$CPP $CPPFLAGS'
66865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66874 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66876 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66878 for ac_func in ldexpl
66880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66881 echo "$as_me:$LINENO: checking for $ac_func" >&5
66882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66883 if eval "test \"\${$as_ac_var+set}\" = set"; then
66884 echo $ECHO_N "(cached) $ECHO_C" >&6
66885 else
66886 if test x$gcc_no_link = xyes; then
66887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66889 { (exit 1); exit 1; }; }
66891 cat >conftest.$ac_ext <<_ACEOF
66892 /* confdefs.h. */
66893 _ACEOF
66894 cat confdefs.h >>conftest.$ac_ext
66895 cat >>conftest.$ac_ext <<_ACEOF
66896 /* end confdefs.h. */
66897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66899 #define $ac_func innocuous_$ac_func
66901 /* System header to define __stub macros and hopefully few prototypes,
66902 which can conflict with char $ac_func (); below.
66903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66904 <limits.h> exists even on freestanding compilers. */
66906 #ifdef __STDC__
66907 # include <limits.h>
66908 #else
66909 # include <assert.h>
66910 #endif
66912 #undef $ac_func
66914 /* Override any gcc2 internal prototype to avoid an error. */
66915 #ifdef __cplusplus
66916 extern "C"
66918 #endif
66919 /* We use char because int might match the return type of a gcc2
66920 builtin and then its argument prototype would still apply. */
66921 char $ac_func ();
66922 /* The GNU C library defines this for functions which it implements
66923 to always fail with ENOSYS. Some functions are actually named
66924 something starting with __ and the normal name is an alias. */
66925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66926 choke me
66927 #else
66928 char (*f) () = $ac_func;
66929 #endif
66930 #ifdef __cplusplus
66932 #endif
66935 main ()
66937 return f != $ac_func;
66939 return 0;
66941 _ACEOF
66942 rm -f conftest.$ac_objext conftest$ac_exeext
66943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66944 (eval $ac_link) 2>conftest.er1
66945 ac_status=$?
66946 grep -v '^ *+' conftest.er1 >conftest.err
66947 rm -f conftest.er1
66948 cat conftest.err >&5
66949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950 (exit $ac_status); } &&
66951 { ac_try='test -z "$ac_c_werror_flag"
66952 || test ! -s conftest.err'
66953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66954 (eval $ac_try) 2>&5
66955 ac_status=$?
66956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957 (exit $ac_status); }; } &&
66958 { ac_try='test -s conftest$ac_exeext'
66959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66960 (eval $ac_try) 2>&5
66961 ac_status=$?
66962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66963 (exit $ac_status); }; }; then
66964 eval "$as_ac_var=yes"
66965 else
66966 echo "$as_me: failed program was:" >&5
66967 sed 's/^/| /' conftest.$ac_ext >&5
66969 eval "$as_ac_var=no"
66971 rm -f conftest.err conftest.$ac_objext \
66972 conftest$ac_exeext conftest.$ac_ext
66974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66976 if test `eval echo '${'$as_ac_var'}'` = yes; then
66977 cat >>confdefs.h <<_ACEOF
66978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66979 _ACEOF
66982 done
66984 else
66986 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66987 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66988 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66989 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66990 echo $ECHO_N "(cached) $ECHO_C" >&6
66991 else
66995 ac_ext=cc
66996 ac_cpp='$CXXCPP $CPPFLAGS'
66997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67001 cat >conftest.$ac_ext <<_ACEOF
67002 /* confdefs.h. */
67003 _ACEOF
67004 cat confdefs.h >>conftest.$ac_ext
67005 cat >>conftest.$ac_ext <<_ACEOF
67006 /* end confdefs.h. */
67007 #include <math.h>
67009 main ()
67011 _ldexpl(0, 0);
67013 return 0;
67015 _ACEOF
67016 rm -f conftest.$ac_objext
67017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67018 (eval $ac_compile) 2>conftest.er1
67019 ac_status=$?
67020 grep -v '^ *+' conftest.er1 >conftest.err
67021 rm -f conftest.er1
67022 cat conftest.err >&5
67023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67024 (exit $ac_status); } &&
67025 { ac_try='test -z "$ac_cxx_werror_flag"
67026 || test ! -s conftest.err'
67027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67028 (eval $ac_try) 2>&5
67029 ac_status=$?
67030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031 (exit $ac_status); }; } &&
67032 { ac_try='test -s conftest.$ac_objext'
67033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67034 (eval $ac_try) 2>&5
67035 ac_status=$?
67036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67037 (exit $ac_status); }; }; then
67038 glibcxx_cv_func__ldexpl_use=yes
67039 else
67040 echo "$as_me: failed program was:" >&5
67041 sed 's/^/| /' conftest.$ac_ext >&5
67043 glibcxx_cv_func__ldexpl_use=no
67045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67057 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67059 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67061 for ac_func in _ldexpl
67063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67064 echo "$as_me:$LINENO: checking for $ac_func" >&5
67065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67066 if eval "test \"\${$as_ac_var+set}\" = set"; then
67067 echo $ECHO_N "(cached) $ECHO_C" >&6
67068 else
67069 if test x$gcc_no_link = xyes; then
67070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67072 { (exit 1); exit 1; }; }
67074 cat >conftest.$ac_ext <<_ACEOF
67075 /* confdefs.h. */
67076 _ACEOF
67077 cat confdefs.h >>conftest.$ac_ext
67078 cat >>conftest.$ac_ext <<_ACEOF
67079 /* end confdefs.h. */
67080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67082 #define $ac_func innocuous_$ac_func
67084 /* System header to define __stub macros and hopefully few prototypes,
67085 which can conflict with char $ac_func (); below.
67086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67087 <limits.h> exists even on freestanding compilers. */
67089 #ifdef __STDC__
67090 # include <limits.h>
67091 #else
67092 # include <assert.h>
67093 #endif
67095 #undef $ac_func
67097 /* Override any gcc2 internal prototype to avoid an error. */
67098 #ifdef __cplusplus
67099 extern "C"
67101 #endif
67102 /* We use char because int might match the return type of a gcc2
67103 builtin and then its argument prototype would still apply. */
67104 char $ac_func ();
67105 /* The GNU C library defines this for functions which it implements
67106 to always fail with ENOSYS. Some functions are actually named
67107 something starting with __ and the normal name is an alias. */
67108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67109 choke me
67110 #else
67111 char (*f) () = $ac_func;
67112 #endif
67113 #ifdef __cplusplus
67115 #endif
67118 main ()
67120 return f != $ac_func;
67122 return 0;
67124 _ACEOF
67125 rm -f conftest.$ac_objext conftest$ac_exeext
67126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67127 (eval $ac_link) 2>conftest.er1
67128 ac_status=$?
67129 grep -v '^ *+' conftest.er1 >conftest.err
67130 rm -f conftest.er1
67131 cat conftest.err >&5
67132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67133 (exit $ac_status); } &&
67134 { ac_try='test -z "$ac_c_werror_flag"
67135 || test ! -s conftest.err'
67136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67137 (eval $ac_try) 2>&5
67138 ac_status=$?
67139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67140 (exit $ac_status); }; } &&
67141 { ac_try='test -s conftest$ac_exeext'
67142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67143 (eval $ac_try) 2>&5
67144 ac_status=$?
67145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67146 (exit $ac_status); }; }; then
67147 eval "$as_ac_var=yes"
67148 else
67149 echo "$as_me: failed program was:" >&5
67150 sed 's/^/| /' conftest.$ac_ext >&5
67152 eval "$as_ac_var=no"
67154 rm -f conftest.err conftest.$ac_objext \
67155 conftest$ac_exeext conftest.$ac_ext
67157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67159 if test `eval echo '${'$as_ac_var'}'` = yes; then
67160 cat >>confdefs.h <<_ACEOF
67161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67162 _ACEOF
67165 done
67172 echo "$as_me:$LINENO: checking for logl declaration" >&5
67173 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67174 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67175 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67176 echo $ECHO_N "(cached) $ECHO_C" >&6
67177 else
67181 ac_ext=cc
67182 ac_cpp='$CXXCPP $CPPFLAGS'
67183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67187 cat >conftest.$ac_ext <<_ACEOF
67188 /* confdefs.h. */
67189 _ACEOF
67190 cat confdefs.h >>conftest.$ac_ext
67191 cat >>conftest.$ac_ext <<_ACEOF
67192 /* end confdefs.h. */
67193 #include <math.h>
67194 #ifdef HAVE_IEEEFP_H
67195 #include <ieeefp.h>
67196 #endif
67199 main ()
67201 logl(0);
67203 return 0;
67205 _ACEOF
67206 rm -f conftest.$ac_objext
67207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67208 (eval $ac_compile) 2>conftest.er1
67209 ac_status=$?
67210 grep -v '^ *+' conftest.er1 >conftest.err
67211 rm -f conftest.er1
67212 cat conftest.err >&5
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); } &&
67215 { ac_try='test -z "$ac_cxx_werror_flag"
67216 || test ! -s conftest.err'
67217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67218 (eval $ac_try) 2>&5
67219 ac_status=$?
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); }; } &&
67222 { ac_try='test -s conftest.$ac_objext'
67223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67224 (eval $ac_try) 2>&5
67225 ac_status=$?
67226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67227 (exit $ac_status); }; }; then
67228 glibcxx_cv_func_logl_use=yes
67229 else
67230 echo "$as_me: failed program was:" >&5
67231 sed 's/^/| /' conftest.$ac_ext >&5
67233 glibcxx_cv_func_logl_use=no
67235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67236 ac_ext=c
67237 ac_cpp='$CPP $CPPFLAGS'
67238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67247 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67249 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67251 for ac_func in logl
67253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67254 echo "$as_me:$LINENO: checking for $ac_func" >&5
67255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67256 if eval "test \"\${$as_ac_var+set}\" = set"; then
67257 echo $ECHO_N "(cached) $ECHO_C" >&6
67258 else
67259 if test x$gcc_no_link = xyes; then
67260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67262 { (exit 1); exit 1; }; }
67264 cat >conftest.$ac_ext <<_ACEOF
67265 /* confdefs.h. */
67266 _ACEOF
67267 cat confdefs.h >>conftest.$ac_ext
67268 cat >>conftest.$ac_ext <<_ACEOF
67269 /* end confdefs.h. */
67270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67272 #define $ac_func innocuous_$ac_func
67274 /* System header to define __stub macros and hopefully few prototypes,
67275 which can conflict with char $ac_func (); below.
67276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67277 <limits.h> exists even on freestanding compilers. */
67279 #ifdef __STDC__
67280 # include <limits.h>
67281 #else
67282 # include <assert.h>
67283 #endif
67285 #undef $ac_func
67287 /* Override any gcc2 internal prototype to avoid an error. */
67288 #ifdef __cplusplus
67289 extern "C"
67291 #endif
67292 /* We use char because int might match the return type of a gcc2
67293 builtin and then its argument prototype would still apply. */
67294 char $ac_func ();
67295 /* The GNU C library defines this for functions which it implements
67296 to always fail with ENOSYS. Some functions are actually named
67297 something starting with __ and the normal name is an alias. */
67298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67299 choke me
67300 #else
67301 char (*f) () = $ac_func;
67302 #endif
67303 #ifdef __cplusplus
67305 #endif
67308 main ()
67310 return f != $ac_func;
67312 return 0;
67314 _ACEOF
67315 rm -f conftest.$ac_objext conftest$ac_exeext
67316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67317 (eval $ac_link) 2>conftest.er1
67318 ac_status=$?
67319 grep -v '^ *+' conftest.er1 >conftest.err
67320 rm -f conftest.er1
67321 cat conftest.err >&5
67322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67323 (exit $ac_status); } &&
67324 { ac_try='test -z "$ac_c_werror_flag"
67325 || test ! -s conftest.err'
67326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67327 (eval $ac_try) 2>&5
67328 ac_status=$?
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); }; } &&
67331 { ac_try='test -s conftest$ac_exeext'
67332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67333 (eval $ac_try) 2>&5
67334 ac_status=$?
67335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67336 (exit $ac_status); }; }; then
67337 eval "$as_ac_var=yes"
67338 else
67339 echo "$as_me: failed program was:" >&5
67340 sed 's/^/| /' conftest.$ac_ext >&5
67342 eval "$as_ac_var=no"
67344 rm -f conftest.err conftest.$ac_objext \
67345 conftest$ac_exeext conftest.$ac_ext
67347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67349 if test `eval echo '${'$as_ac_var'}'` = yes; then
67350 cat >>confdefs.h <<_ACEOF
67351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67352 _ACEOF
67355 done
67357 else
67359 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67360 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67361 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67362 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67363 echo $ECHO_N "(cached) $ECHO_C" >&6
67364 else
67368 ac_ext=cc
67369 ac_cpp='$CXXCPP $CPPFLAGS'
67370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67374 cat >conftest.$ac_ext <<_ACEOF
67375 /* confdefs.h. */
67376 _ACEOF
67377 cat confdefs.h >>conftest.$ac_ext
67378 cat >>conftest.$ac_ext <<_ACEOF
67379 /* end confdefs.h. */
67380 #include <math.h>
67381 #ifdef HAVE_IEEEFP_H
67382 #include <ieeefp.h>
67383 #endif
67386 main ()
67388 _logl(0);
67390 return 0;
67392 _ACEOF
67393 rm -f conftest.$ac_objext
67394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67395 (eval $ac_compile) 2>conftest.er1
67396 ac_status=$?
67397 grep -v '^ *+' conftest.er1 >conftest.err
67398 rm -f conftest.er1
67399 cat conftest.err >&5
67400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67401 (exit $ac_status); } &&
67402 { ac_try='test -z "$ac_cxx_werror_flag"
67403 || test ! -s conftest.err'
67404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67405 (eval $ac_try) 2>&5
67406 ac_status=$?
67407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67408 (exit $ac_status); }; } &&
67409 { ac_try='test -s conftest.$ac_objext'
67410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67411 (eval $ac_try) 2>&5
67412 ac_status=$?
67413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67414 (exit $ac_status); }; }; then
67415 glibcxx_cv_func__logl_use=yes
67416 else
67417 echo "$as_me: failed program was:" >&5
67418 sed 's/^/| /' conftest.$ac_ext >&5
67420 glibcxx_cv_func__logl_use=no
67422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67423 ac_ext=c
67424 ac_cpp='$CPP $CPPFLAGS'
67425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67434 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67436 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67438 for ac_func in _logl
67440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67441 echo "$as_me:$LINENO: checking for $ac_func" >&5
67442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67443 if eval "test \"\${$as_ac_var+set}\" = set"; then
67444 echo $ECHO_N "(cached) $ECHO_C" >&6
67445 else
67446 if test x$gcc_no_link = xyes; then
67447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67449 { (exit 1); exit 1; }; }
67451 cat >conftest.$ac_ext <<_ACEOF
67452 /* confdefs.h. */
67453 _ACEOF
67454 cat confdefs.h >>conftest.$ac_ext
67455 cat >>conftest.$ac_ext <<_ACEOF
67456 /* end confdefs.h. */
67457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67459 #define $ac_func innocuous_$ac_func
67461 /* System header to define __stub macros and hopefully few prototypes,
67462 which can conflict with char $ac_func (); below.
67463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67464 <limits.h> exists even on freestanding compilers. */
67466 #ifdef __STDC__
67467 # include <limits.h>
67468 #else
67469 # include <assert.h>
67470 #endif
67472 #undef $ac_func
67474 /* Override any gcc2 internal prototype to avoid an error. */
67475 #ifdef __cplusplus
67476 extern "C"
67478 #endif
67479 /* We use char because int might match the return type of a gcc2
67480 builtin and then its argument prototype would still apply. */
67481 char $ac_func ();
67482 /* The GNU C library defines this for functions which it implements
67483 to always fail with ENOSYS. Some functions are actually named
67484 something starting with __ and the normal name is an alias. */
67485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67486 choke me
67487 #else
67488 char (*f) () = $ac_func;
67489 #endif
67490 #ifdef __cplusplus
67492 #endif
67495 main ()
67497 return f != $ac_func;
67499 return 0;
67501 _ACEOF
67502 rm -f conftest.$ac_objext conftest$ac_exeext
67503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67504 (eval $ac_link) 2>conftest.er1
67505 ac_status=$?
67506 grep -v '^ *+' conftest.er1 >conftest.err
67507 rm -f conftest.er1
67508 cat conftest.err >&5
67509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67510 (exit $ac_status); } &&
67511 { ac_try='test -z "$ac_c_werror_flag"
67512 || test ! -s conftest.err'
67513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67514 (eval $ac_try) 2>&5
67515 ac_status=$?
67516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517 (exit $ac_status); }; } &&
67518 { ac_try='test -s conftest$ac_exeext'
67519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67520 (eval $ac_try) 2>&5
67521 ac_status=$?
67522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523 (exit $ac_status); }; }; then
67524 eval "$as_ac_var=yes"
67525 else
67526 echo "$as_me: failed program was:" >&5
67527 sed 's/^/| /' conftest.$ac_ext >&5
67529 eval "$as_ac_var=no"
67531 rm -f conftest.err conftest.$ac_objext \
67532 conftest$ac_exeext conftest.$ac_ext
67534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67536 if test `eval echo '${'$as_ac_var'}'` = yes; then
67537 cat >>confdefs.h <<_ACEOF
67538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67539 _ACEOF
67542 done
67549 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67550 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67551 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67552 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67553 echo $ECHO_N "(cached) $ECHO_C" >&6
67554 else
67558 ac_ext=cc
67559 ac_cpp='$CXXCPP $CPPFLAGS'
67560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67564 cat >conftest.$ac_ext <<_ACEOF
67565 /* confdefs.h. */
67566 _ACEOF
67567 cat confdefs.h >>conftest.$ac_ext
67568 cat >>conftest.$ac_ext <<_ACEOF
67569 /* end confdefs.h. */
67570 #include <math.h>
67571 #ifdef HAVE_IEEEFP_H
67572 #include <ieeefp.h>
67573 #endif
67576 main ()
67578 log10l(0);
67580 return 0;
67582 _ACEOF
67583 rm -f conftest.$ac_objext
67584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67585 (eval $ac_compile) 2>conftest.er1
67586 ac_status=$?
67587 grep -v '^ *+' conftest.er1 >conftest.err
67588 rm -f conftest.er1
67589 cat conftest.err >&5
67590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67591 (exit $ac_status); } &&
67592 { ac_try='test -z "$ac_cxx_werror_flag"
67593 || test ! -s conftest.err'
67594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67595 (eval $ac_try) 2>&5
67596 ac_status=$?
67597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67598 (exit $ac_status); }; } &&
67599 { ac_try='test -s conftest.$ac_objext'
67600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67601 (eval $ac_try) 2>&5
67602 ac_status=$?
67603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67604 (exit $ac_status); }; }; then
67605 glibcxx_cv_func_log10l_use=yes
67606 else
67607 echo "$as_me: failed program was:" >&5
67608 sed 's/^/| /' conftest.$ac_ext >&5
67610 glibcxx_cv_func_log10l_use=no
67612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67613 ac_ext=c
67614 ac_cpp='$CPP $CPPFLAGS'
67615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67624 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67626 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67628 for ac_func in log10l
67630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67631 echo "$as_me:$LINENO: checking for $ac_func" >&5
67632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67633 if eval "test \"\${$as_ac_var+set}\" = set"; then
67634 echo $ECHO_N "(cached) $ECHO_C" >&6
67635 else
67636 if test x$gcc_no_link = xyes; then
67637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67639 { (exit 1); exit 1; }; }
67641 cat >conftest.$ac_ext <<_ACEOF
67642 /* confdefs.h. */
67643 _ACEOF
67644 cat confdefs.h >>conftest.$ac_ext
67645 cat >>conftest.$ac_ext <<_ACEOF
67646 /* end confdefs.h. */
67647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67649 #define $ac_func innocuous_$ac_func
67651 /* System header to define __stub macros and hopefully few prototypes,
67652 which can conflict with char $ac_func (); below.
67653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67654 <limits.h> exists even on freestanding compilers. */
67656 #ifdef __STDC__
67657 # include <limits.h>
67658 #else
67659 # include <assert.h>
67660 #endif
67662 #undef $ac_func
67664 /* Override any gcc2 internal prototype to avoid an error. */
67665 #ifdef __cplusplus
67666 extern "C"
67668 #endif
67669 /* We use char because int might match the return type of a gcc2
67670 builtin and then its argument prototype would still apply. */
67671 char $ac_func ();
67672 /* The GNU C library defines this for functions which it implements
67673 to always fail with ENOSYS. Some functions are actually named
67674 something starting with __ and the normal name is an alias. */
67675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67676 choke me
67677 #else
67678 char (*f) () = $ac_func;
67679 #endif
67680 #ifdef __cplusplus
67682 #endif
67685 main ()
67687 return f != $ac_func;
67689 return 0;
67691 _ACEOF
67692 rm -f conftest.$ac_objext conftest$ac_exeext
67693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67694 (eval $ac_link) 2>conftest.er1
67695 ac_status=$?
67696 grep -v '^ *+' conftest.er1 >conftest.err
67697 rm -f conftest.er1
67698 cat conftest.err >&5
67699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67700 (exit $ac_status); } &&
67701 { ac_try='test -z "$ac_c_werror_flag"
67702 || test ! -s conftest.err'
67703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67704 (eval $ac_try) 2>&5
67705 ac_status=$?
67706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707 (exit $ac_status); }; } &&
67708 { ac_try='test -s conftest$ac_exeext'
67709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67710 (eval $ac_try) 2>&5
67711 ac_status=$?
67712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67713 (exit $ac_status); }; }; then
67714 eval "$as_ac_var=yes"
67715 else
67716 echo "$as_me: failed program was:" >&5
67717 sed 's/^/| /' conftest.$ac_ext >&5
67719 eval "$as_ac_var=no"
67721 rm -f conftest.err conftest.$ac_objext \
67722 conftest$ac_exeext conftest.$ac_ext
67724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67726 if test `eval echo '${'$as_ac_var'}'` = yes; then
67727 cat >>confdefs.h <<_ACEOF
67728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67729 _ACEOF
67732 done
67734 else
67736 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67737 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67738 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67739 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67740 echo $ECHO_N "(cached) $ECHO_C" >&6
67741 else
67745 ac_ext=cc
67746 ac_cpp='$CXXCPP $CPPFLAGS'
67747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67751 cat >conftest.$ac_ext <<_ACEOF
67752 /* confdefs.h. */
67753 _ACEOF
67754 cat confdefs.h >>conftest.$ac_ext
67755 cat >>conftest.$ac_ext <<_ACEOF
67756 /* end confdefs.h. */
67757 #include <math.h>
67758 #ifdef HAVE_IEEEFP_H
67759 #include <ieeefp.h>
67760 #endif
67763 main ()
67765 _log10l(0);
67767 return 0;
67769 _ACEOF
67770 rm -f conftest.$ac_objext
67771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67772 (eval $ac_compile) 2>conftest.er1
67773 ac_status=$?
67774 grep -v '^ *+' conftest.er1 >conftest.err
67775 rm -f conftest.er1
67776 cat conftest.err >&5
67777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67778 (exit $ac_status); } &&
67779 { ac_try='test -z "$ac_cxx_werror_flag"
67780 || test ! -s conftest.err'
67781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67782 (eval $ac_try) 2>&5
67783 ac_status=$?
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); }; } &&
67786 { ac_try='test -s conftest.$ac_objext'
67787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67788 (eval $ac_try) 2>&5
67789 ac_status=$?
67790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67791 (exit $ac_status); }; }; then
67792 glibcxx_cv_func__log10l_use=yes
67793 else
67794 echo "$as_me: failed program was:" >&5
67795 sed 's/^/| /' conftest.$ac_ext >&5
67797 glibcxx_cv_func__log10l_use=no
67799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67800 ac_ext=c
67801 ac_cpp='$CPP $CPPFLAGS'
67802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67811 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67815 for ac_func in _log10l
67817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67818 echo "$as_me:$LINENO: checking for $ac_func" >&5
67819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67820 if eval "test \"\${$as_ac_var+set}\" = set"; then
67821 echo $ECHO_N "(cached) $ECHO_C" >&6
67822 else
67823 if test x$gcc_no_link = xyes; then
67824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67826 { (exit 1); exit 1; }; }
67828 cat >conftest.$ac_ext <<_ACEOF
67829 /* confdefs.h. */
67830 _ACEOF
67831 cat confdefs.h >>conftest.$ac_ext
67832 cat >>conftest.$ac_ext <<_ACEOF
67833 /* end confdefs.h. */
67834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67836 #define $ac_func innocuous_$ac_func
67838 /* System header to define __stub macros and hopefully few prototypes,
67839 which can conflict with char $ac_func (); below.
67840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67841 <limits.h> exists even on freestanding compilers. */
67843 #ifdef __STDC__
67844 # include <limits.h>
67845 #else
67846 # include <assert.h>
67847 #endif
67849 #undef $ac_func
67851 /* Override any gcc2 internal prototype to avoid an error. */
67852 #ifdef __cplusplus
67853 extern "C"
67855 #endif
67856 /* We use char because int might match the return type of a gcc2
67857 builtin and then its argument prototype would still apply. */
67858 char $ac_func ();
67859 /* The GNU C library defines this for functions which it implements
67860 to always fail with ENOSYS. Some functions are actually named
67861 something starting with __ and the normal name is an alias. */
67862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67863 choke me
67864 #else
67865 char (*f) () = $ac_func;
67866 #endif
67867 #ifdef __cplusplus
67869 #endif
67872 main ()
67874 return f != $ac_func;
67876 return 0;
67878 _ACEOF
67879 rm -f conftest.$ac_objext conftest$ac_exeext
67880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67881 (eval $ac_link) 2>conftest.er1
67882 ac_status=$?
67883 grep -v '^ *+' conftest.er1 >conftest.err
67884 rm -f conftest.er1
67885 cat conftest.err >&5
67886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887 (exit $ac_status); } &&
67888 { ac_try='test -z "$ac_c_werror_flag"
67889 || test ! -s conftest.err'
67890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67891 (eval $ac_try) 2>&5
67892 ac_status=$?
67893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894 (exit $ac_status); }; } &&
67895 { ac_try='test -s conftest$ac_exeext'
67896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67897 (eval $ac_try) 2>&5
67898 ac_status=$?
67899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67900 (exit $ac_status); }; }; then
67901 eval "$as_ac_var=yes"
67902 else
67903 echo "$as_me: failed program was:" >&5
67904 sed 's/^/| /' conftest.$ac_ext >&5
67906 eval "$as_ac_var=no"
67908 rm -f conftest.err conftest.$ac_objext \
67909 conftest$ac_exeext conftest.$ac_ext
67911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67913 if test `eval echo '${'$as_ac_var'}'` = yes; then
67914 cat >>confdefs.h <<_ACEOF
67915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67916 _ACEOF
67919 done
67926 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67927 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67928 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67929 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67930 echo $ECHO_N "(cached) $ECHO_C" >&6
67931 else
67935 ac_ext=cc
67936 ac_cpp='$CXXCPP $CPPFLAGS'
67937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67941 cat >conftest.$ac_ext <<_ACEOF
67942 /* confdefs.h. */
67943 _ACEOF
67944 cat confdefs.h >>conftest.$ac_ext
67945 cat >>conftest.$ac_ext <<_ACEOF
67946 /* end confdefs.h. */
67947 #include <math.h>
67949 main ()
67951 modfl(0, 0);
67953 return 0;
67955 _ACEOF
67956 rm -f conftest.$ac_objext
67957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67958 (eval $ac_compile) 2>conftest.er1
67959 ac_status=$?
67960 grep -v '^ *+' conftest.er1 >conftest.err
67961 rm -f conftest.er1
67962 cat conftest.err >&5
67963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67964 (exit $ac_status); } &&
67965 { ac_try='test -z "$ac_cxx_werror_flag"
67966 || test ! -s conftest.err'
67967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67968 (eval $ac_try) 2>&5
67969 ac_status=$?
67970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67971 (exit $ac_status); }; } &&
67972 { ac_try='test -s conftest.$ac_objext'
67973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67974 (eval $ac_try) 2>&5
67975 ac_status=$?
67976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67977 (exit $ac_status); }; }; then
67978 glibcxx_cv_func_modfl_use=yes
67979 else
67980 echo "$as_me: failed program was:" >&5
67981 sed 's/^/| /' conftest.$ac_ext >&5
67983 glibcxx_cv_func_modfl_use=no
67985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67986 ac_ext=c
67987 ac_cpp='$CPP $CPPFLAGS'
67988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67997 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67999 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68001 for ac_func in modfl
68003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68004 echo "$as_me:$LINENO: checking for $ac_func" >&5
68005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68006 if eval "test \"\${$as_ac_var+set}\" = set"; then
68007 echo $ECHO_N "(cached) $ECHO_C" >&6
68008 else
68009 if test x$gcc_no_link = xyes; then
68010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68012 { (exit 1); exit 1; }; }
68014 cat >conftest.$ac_ext <<_ACEOF
68015 /* confdefs.h. */
68016 _ACEOF
68017 cat confdefs.h >>conftest.$ac_ext
68018 cat >>conftest.$ac_ext <<_ACEOF
68019 /* end confdefs.h. */
68020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68022 #define $ac_func innocuous_$ac_func
68024 /* System header to define __stub macros and hopefully few prototypes,
68025 which can conflict with char $ac_func (); below.
68026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68027 <limits.h> exists even on freestanding compilers. */
68029 #ifdef __STDC__
68030 # include <limits.h>
68031 #else
68032 # include <assert.h>
68033 #endif
68035 #undef $ac_func
68037 /* Override any gcc2 internal prototype to avoid an error. */
68038 #ifdef __cplusplus
68039 extern "C"
68041 #endif
68042 /* We use char because int might match the return type of a gcc2
68043 builtin and then its argument prototype would still apply. */
68044 char $ac_func ();
68045 /* The GNU C library defines this for functions which it implements
68046 to always fail with ENOSYS. Some functions are actually named
68047 something starting with __ and the normal name is an alias. */
68048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68049 choke me
68050 #else
68051 char (*f) () = $ac_func;
68052 #endif
68053 #ifdef __cplusplus
68055 #endif
68058 main ()
68060 return f != $ac_func;
68062 return 0;
68064 _ACEOF
68065 rm -f conftest.$ac_objext conftest$ac_exeext
68066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68067 (eval $ac_link) 2>conftest.er1
68068 ac_status=$?
68069 grep -v '^ *+' conftest.er1 >conftest.err
68070 rm -f conftest.er1
68071 cat conftest.err >&5
68072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68073 (exit $ac_status); } &&
68074 { ac_try='test -z "$ac_c_werror_flag"
68075 || test ! -s conftest.err'
68076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68077 (eval $ac_try) 2>&5
68078 ac_status=$?
68079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68080 (exit $ac_status); }; } &&
68081 { ac_try='test -s conftest$ac_exeext'
68082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68083 (eval $ac_try) 2>&5
68084 ac_status=$?
68085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68086 (exit $ac_status); }; }; then
68087 eval "$as_ac_var=yes"
68088 else
68089 echo "$as_me: failed program was:" >&5
68090 sed 's/^/| /' conftest.$ac_ext >&5
68092 eval "$as_ac_var=no"
68094 rm -f conftest.err conftest.$ac_objext \
68095 conftest$ac_exeext conftest.$ac_ext
68097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68099 if test `eval echo '${'$as_ac_var'}'` = yes; then
68100 cat >>confdefs.h <<_ACEOF
68101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68102 _ACEOF
68105 done
68107 else
68109 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68110 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68111 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68112 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68113 echo $ECHO_N "(cached) $ECHO_C" >&6
68114 else
68118 ac_ext=cc
68119 ac_cpp='$CXXCPP $CPPFLAGS'
68120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124 cat >conftest.$ac_ext <<_ACEOF
68125 /* confdefs.h. */
68126 _ACEOF
68127 cat confdefs.h >>conftest.$ac_ext
68128 cat >>conftest.$ac_ext <<_ACEOF
68129 /* end confdefs.h. */
68130 #include <math.h>
68132 main ()
68134 _modfl(0, 0);
68136 return 0;
68138 _ACEOF
68139 rm -f conftest.$ac_objext
68140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68141 (eval $ac_compile) 2>conftest.er1
68142 ac_status=$?
68143 grep -v '^ *+' conftest.er1 >conftest.err
68144 rm -f conftest.er1
68145 cat conftest.err >&5
68146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68147 (exit $ac_status); } &&
68148 { ac_try='test -z "$ac_cxx_werror_flag"
68149 || test ! -s conftest.err'
68150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68151 (eval $ac_try) 2>&5
68152 ac_status=$?
68153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154 (exit $ac_status); }; } &&
68155 { ac_try='test -s conftest.$ac_objext'
68156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68157 (eval $ac_try) 2>&5
68158 ac_status=$?
68159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68160 (exit $ac_status); }; }; then
68161 glibcxx_cv_func__modfl_use=yes
68162 else
68163 echo "$as_me: failed program was:" >&5
68164 sed 's/^/| /' conftest.$ac_ext >&5
68166 glibcxx_cv_func__modfl_use=no
68168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68169 ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68180 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68182 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68184 for ac_func in _modfl
68186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68187 echo "$as_me:$LINENO: checking for $ac_func" >&5
68188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68189 if eval "test \"\${$as_ac_var+set}\" = set"; then
68190 echo $ECHO_N "(cached) $ECHO_C" >&6
68191 else
68192 if test x$gcc_no_link = xyes; then
68193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68195 { (exit 1); exit 1; }; }
68197 cat >conftest.$ac_ext <<_ACEOF
68198 /* confdefs.h. */
68199 _ACEOF
68200 cat confdefs.h >>conftest.$ac_ext
68201 cat >>conftest.$ac_ext <<_ACEOF
68202 /* end confdefs.h. */
68203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68205 #define $ac_func innocuous_$ac_func
68207 /* System header to define __stub macros and hopefully few prototypes,
68208 which can conflict with char $ac_func (); below.
68209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68210 <limits.h> exists even on freestanding compilers. */
68212 #ifdef __STDC__
68213 # include <limits.h>
68214 #else
68215 # include <assert.h>
68216 #endif
68218 #undef $ac_func
68220 /* Override any gcc2 internal prototype to avoid an error. */
68221 #ifdef __cplusplus
68222 extern "C"
68224 #endif
68225 /* We use char because int might match the return type of a gcc2
68226 builtin and then its argument prototype would still apply. */
68227 char $ac_func ();
68228 /* The GNU C library defines this for functions which it implements
68229 to always fail with ENOSYS. Some functions are actually named
68230 something starting with __ and the normal name is an alias. */
68231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68232 choke me
68233 #else
68234 char (*f) () = $ac_func;
68235 #endif
68236 #ifdef __cplusplus
68238 #endif
68241 main ()
68243 return f != $ac_func;
68245 return 0;
68247 _ACEOF
68248 rm -f conftest.$ac_objext conftest$ac_exeext
68249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68250 (eval $ac_link) 2>conftest.er1
68251 ac_status=$?
68252 grep -v '^ *+' conftest.er1 >conftest.err
68253 rm -f conftest.er1
68254 cat conftest.err >&5
68255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256 (exit $ac_status); } &&
68257 { ac_try='test -z "$ac_c_werror_flag"
68258 || test ! -s conftest.err'
68259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68260 (eval $ac_try) 2>&5
68261 ac_status=$?
68262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263 (exit $ac_status); }; } &&
68264 { ac_try='test -s conftest$ac_exeext'
68265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68266 (eval $ac_try) 2>&5
68267 ac_status=$?
68268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68269 (exit $ac_status); }; }; then
68270 eval "$as_ac_var=yes"
68271 else
68272 echo "$as_me: failed program was:" >&5
68273 sed 's/^/| /' conftest.$ac_ext >&5
68275 eval "$as_ac_var=no"
68277 rm -f conftest.err conftest.$ac_objext \
68278 conftest$ac_exeext conftest.$ac_ext
68280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68282 if test `eval echo '${'$as_ac_var'}'` = yes; then
68283 cat >>confdefs.h <<_ACEOF
68284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68285 _ACEOF
68288 done
68295 echo "$as_me:$LINENO: checking for powl declaration" >&5
68296 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68297 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68298 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68299 echo $ECHO_N "(cached) $ECHO_C" >&6
68300 else
68304 ac_ext=cc
68305 ac_cpp='$CXXCPP $CPPFLAGS'
68306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68310 cat >conftest.$ac_ext <<_ACEOF
68311 /* confdefs.h. */
68312 _ACEOF
68313 cat confdefs.h >>conftest.$ac_ext
68314 cat >>conftest.$ac_ext <<_ACEOF
68315 /* end confdefs.h. */
68316 #include <math.h>
68318 main ()
68320 powl(0, 0);
68322 return 0;
68324 _ACEOF
68325 rm -f conftest.$ac_objext
68326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68327 (eval $ac_compile) 2>conftest.er1
68328 ac_status=$?
68329 grep -v '^ *+' conftest.er1 >conftest.err
68330 rm -f conftest.er1
68331 cat conftest.err >&5
68332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68333 (exit $ac_status); } &&
68334 { ac_try='test -z "$ac_cxx_werror_flag"
68335 || test ! -s conftest.err'
68336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68337 (eval $ac_try) 2>&5
68338 ac_status=$?
68339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68340 (exit $ac_status); }; } &&
68341 { ac_try='test -s conftest.$ac_objext'
68342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68343 (eval $ac_try) 2>&5
68344 ac_status=$?
68345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68346 (exit $ac_status); }; }; then
68347 glibcxx_cv_func_powl_use=yes
68348 else
68349 echo "$as_me: failed program was:" >&5
68350 sed 's/^/| /' conftest.$ac_ext >&5
68352 glibcxx_cv_func_powl_use=no
68354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68355 ac_ext=c
68356 ac_cpp='$CPP $CPPFLAGS'
68357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68366 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68368 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68370 for ac_func in powl
68372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68373 echo "$as_me:$LINENO: checking for $ac_func" >&5
68374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68375 if eval "test \"\${$as_ac_var+set}\" = set"; then
68376 echo $ECHO_N "(cached) $ECHO_C" >&6
68377 else
68378 if test x$gcc_no_link = xyes; then
68379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68381 { (exit 1); exit 1; }; }
68383 cat >conftest.$ac_ext <<_ACEOF
68384 /* confdefs.h. */
68385 _ACEOF
68386 cat confdefs.h >>conftest.$ac_ext
68387 cat >>conftest.$ac_ext <<_ACEOF
68388 /* end confdefs.h. */
68389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68391 #define $ac_func innocuous_$ac_func
68393 /* System header to define __stub macros and hopefully few prototypes,
68394 which can conflict with char $ac_func (); below.
68395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68396 <limits.h> exists even on freestanding compilers. */
68398 #ifdef __STDC__
68399 # include <limits.h>
68400 #else
68401 # include <assert.h>
68402 #endif
68404 #undef $ac_func
68406 /* Override any gcc2 internal prototype to avoid an error. */
68407 #ifdef __cplusplus
68408 extern "C"
68410 #endif
68411 /* We use char because int might match the return type of a gcc2
68412 builtin and then its argument prototype would still apply. */
68413 char $ac_func ();
68414 /* The GNU C library defines this for functions which it implements
68415 to always fail with ENOSYS. Some functions are actually named
68416 something starting with __ and the normal name is an alias. */
68417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68418 choke me
68419 #else
68420 char (*f) () = $ac_func;
68421 #endif
68422 #ifdef __cplusplus
68424 #endif
68427 main ()
68429 return f != $ac_func;
68431 return 0;
68433 _ACEOF
68434 rm -f conftest.$ac_objext conftest$ac_exeext
68435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68436 (eval $ac_link) 2>conftest.er1
68437 ac_status=$?
68438 grep -v '^ *+' conftest.er1 >conftest.err
68439 rm -f conftest.er1
68440 cat conftest.err >&5
68441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442 (exit $ac_status); } &&
68443 { ac_try='test -z "$ac_c_werror_flag"
68444 || test ! -s conftest.err'
68445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68446 (eval $ac_try) 2>&5
68447 ac_status=$?
68448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68449 (exit $ac_status); }; } &&
68450 { ac_try='test -s conftest$ac_exeext'
68451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68452 (eval $ac_try) 2>&5
68453 ac_status=$?
68454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68455 (exit $ac_status); }; }; then
68456 eval "$as_ac_var=yes"
68457 else
68458 echo "$as_me: failed program was:" >&5
68459 sed 's/^/| /' conftest.$ac_ext >&5
68461 eval "$as_ac_var=no"
68463 rm -f conftest.err conftest.$ac_objext \
68464 conftest$ac_exeext conftest.$ac_ext
68466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68468 if test `eval echo '${'$as_ac_var'}'` = yes; then
68469 cat >>confdefs.h <<_ACEOF
68470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68471 _ACEOF
68474 done
68476 else
68478 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68479 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68480 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68481 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68482 echo $ECHO_N "(cached) $ECHO_C" >&6
68483 else
68487 ac_ext=cc
68488 ac_cpp='$CXXCPP $CPPFLAGS'
68489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68493 cat >conftest.$ac_ext <<_ACEOF
68494 /* confdefs.h. */
68495 _ACEOF
68496 cat confdefs.h >>conftest.$ac_ext
68497 cat >>conftest.$ac_ext <<_ACEOF
68498 /* end confdefs.h. */
68499 #include <math.h>
68501 main ()
68503 _powl(0, 0);
68505 return 0;
68507 _ACEOF
68508 rm -f conftest.$ac_objext
68509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68510 (eval $ac_compile) 2>conftest.er1
68511 ac_status=$?
68512 grep -v '^ *+' conftest.er1 >conftest.err
68513 rm -f conftest.er1
68514 cat conftest.err >&5
68515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516 (exit $ac_status); } &&
68517 { ac_try='test -z "$ac_cxx_werror_flag"
68518 || test ! -s conftest.err'
68519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68520 (eval $ac_try) 2>&5
68521 ac_status=$?
68522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523 (exit $ac_status); }; } &&
68524 { ac_try='test -s conftest.$ac_objext'
68525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68526 (eval $ac_try) 2>&5
68527 ac_status=$?
68528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68529 (exit $ac_status); }; }; then
68530 glibcxx_cv_func__powl_use=yes
68531 else
68532 echo "$as_me: failed program was:" >&5
68533 sed 's/^/| /' conftest.$ac_ext >&5
68535 glibcxx_cv_func__powl_use=no
68537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68538 ac_ext=c
68539 ac_cpp='$CPP $CPPFLAGS'
68540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68549 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68551 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68553 for ac_func in _powl
68555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68556 echo "$as_me:$LINENO: checking for $ac_func" >&5
68557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68558 if eval "test \"\${$as_ac_var+set}\" = set"; then
68559 echo $ECHO_N "(cached) $ECHO_C" >&6
68560 else
68561 if test x$gcc_no_link = xyes; then
68562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68564 { (exit 1); exit 1; }; }
68566 cat >conftest.$ac_ext <<_ACEOF
68567 /* confdefs.h. */
68568 _ACEOF
68569 cat confdefs.h >>conftest.$ac_ext
68570 cat >>conftest.$ac_ext <<_ACEOF
68571 /* end confdefs.h. */
68572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68574 #define $ac_func innocuous_$ac_func
68576 /* System header to define __stub macros and hopefully few prototypes,
68577 which can conflict with char $ac_func (); below.
68578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68579 <limits.h> exists even on freestanding compilers. */
68581 #ifdef __STDC__
68582 # include <limits.h>
68583 #else
68584 # include <assert.h>
68585 #endif
68587 #undef $ac_func
68589 /* Override any gcc2 internal prototype to avoid an error. */
68590 #ifdef __cplusplus
68591 extern "C"
68593 #endif
68594 /* We use char because int might match the return type of a gcc2
68595 builtin and then its argument prototype would still apply. */
68596 char $ac_func ();
68597 /* The GNU C library defines this for functions which it implements
68598 to always fail with ENOSYS. Some functions are actually named
68599 something starting with __ and the normal name is an alias. */
68600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68601 choke me
68602 #else
68603 char (*f) () = $ac_func;
68604 #endif
68605 #ifdef __cplusplus
68607 #endif
68610 main ()
68612 return f != $ac_func;
68614 return 0;
68616 _ACEOF
68617 rm -f conftest.$ac_objext conftest$ac_exeext
68618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68619 (eval $ac_link) 2>conftest.er1
68620 ac_status=$?
68621 grep -v '^ *+' conftest.er1 >conftest.err
68622 rm -f conftest.er1
68623 cat conftest.err >&5
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); } &&
68626 { ac_try='test -z "$ac_c_werror_flag"
68627 || test ! -s conftest.err'
68628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68629 (eval $ac_try) 2>&5
68630 ac_status=$?
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); }; } &&
68633 { ac_try='test -s conftest$ac_exeext'
68634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68635 (eval $ac_try) 2>&5
68636 ac_status=$?
68637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68638 (exit $ac_status); }; }; then
68639 eval "$as_ac_var=yes"
68640 else
68641 echo "$as_me: failed program was:" >&5
68642 sed 's/^/| /' conftest.$ac_ext >&5
68644 eval "$as_ac_var=no"
68646 rm -f conftest.err conftest.$ac_objext \
68647 conftest$ac_exeext conftest.$ac_ext
68649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68651 if test `eval echo '${'$as_ac_var'}'` = yes; then
68652 cat >>confdefs.h <<_ACEOF
68653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68654 _ACEOF
68657 done
68664 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68665 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68666 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68667 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68668 echo $ECHO_N "(cached) $ECHO_C" >&6
68669 else
68673 ac_ext=cc
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68679 cat >conftest.$ac_ext <<_ACEOF
68680 /* confdefs.h. */
68681 _ACEOF
68682 cat confdefs.h >>conftest.$ac_ext
68683 cat >>conftest.$ac_ext <<_ACEOF
68684 /* end confdefs.h. */
68685 #include <math.h>
68686 #ifdef HAVE_IEEEFP_H
68687 #include <ieeefp.h>
68688 #endif
68691 main ()
68693 sqrtl(0);
68695 return 0;
68697 _ACEOF
68698 rm -f conftest.$ac_objext
68699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68700 (eval $ac_compile) 2>conftest.er1
68701 ac_status=$?
68702 grep -v '^ *+' conftest.er1 >conftest.err
68703 rm -f conftest.er1
68704 cat conftest.err >&5
68705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68706 (exit $ac_status); } &&
68707 { ac_try='test -z "$ac_cxx_werror_flag"
68708 || test ! -s conftest.err'
68709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68710 (eval $ac_try) 2>&5
68711 ac_status=$?
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); }; } &&
68714 { ac_try='test -s conftest.$ac_objext'
68715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68716 (eval $ac_try) 2>&5
68717 ac_status=$?
68718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68719 (exit $ac_status); }; }; then
68720 glibcxx_cv_func_sqrtl_use=yes
68721 else
68722 echo "$as_me: failed program was:" >&5
68723 sed 's/^/| /' conftest.$ac_ext >&5
68725 glibcxx_cv_func_sqrtl_use=no
68727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68728 ac_ext=c
68729 ac_cpp='$CPP $CPPFLAGS'
68730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68739 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68741 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68743 for ac_func in sqrtl
68745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68746 echo "$as_me:$LINENO: checking for $ac_func" >&5
68747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68748 if eval "test \"\${$as_ac_var+set}\" = set"; then
68749 echo $ECHO_N "(cached) $ECHO_C" >&6
68750 else
68751 if test x$gcc_no_link = xyes; then
68752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68754 { (exit 1); exit 1; }; }
68756 cat >conftest.$ac_ext <<_ACEOF
68757 /* confdefs.h. */
68758 _ACEOF
68759 cat confdefs.h >>conftest.$ac_ext
68760 cat >>conftest.$ac_ext <<_ACEOF
68761 /* end confdefs.h. */
68762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68764 #define $ac_func innocuous_$ac_func
68766 /* System header to define __stub macros and hopefully few prototypes,
68767 which can conflict with char $ac_func (); below.
68768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68769 <limits.h> exists even on freestanding compilers. */
68771 #ifdef __STDC__
68772 # include <limits.h>
68773 #else
68774 # include <assert.h>
68775 #endif
68777 #undef $ac_func
68779 /* Override any gcc2 internal prototype to avoid an error. */
68780 #ifdef __cplusplus
68781 extern "C"
68783 #endif
68784 /* We use char because int might match the return type of a gcc2
68785 builtin and then its argument prototype would still apply. */
68786 char $ac_func ();
68787 /* The GNU C library defines this for functions which it implements
68788 to always fail with ENOSYS. Some functions are actually named
68789 something starting with __ and the normal name is an alias. */
68790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68791 choke me
68792 #else
68793 char (*f) () = $ac_func;
68794 #endif
68795 #ifdef __cplusplus
68797 #endif
68800 main ()
68802 return f != $ac_func;
68804 return 0;
68806 _ACEOF
68807 rm -f conftest.$ac_objext conftest$ac_exeext
68808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68809 (eval $ac_link) 2>conftest.er1
68810 ac_status=$?
68811 grep -v '^ *+' conftest.er1 >conftest.err
68812 rm -f conftest.er1
68813 cat conftest.err >&5
68814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68815 (exit $ac_status); } &&
68816 { ac_try='test -z "$ac_c_werror_flag"
68817 || test ! -s conftest.err'
68818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68819 (eval $ac_try) 2>&5
68820 ac_status=$?
68821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822 (exit $ac_status); }; } &&
68823 { ac_try='test -s conftest$ac_exeext'
68824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68825 (eval $ac_try) 2>&5
68826 ac_status=$?
68827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68828 (exit $ac_status); }; }; then
68829 eval "$as_ac_var=yes"
68830 else
68831 echo "$as_me: failed program was:" >&5
68832 sed 's/^/| /' conftest.$ac_ext >&5
68834 eval "$as_ac_var=no"
68836 rm -f conftest.err conftest.$ac_objext \
68837 conftest$ac_exeext conftest.$ac_ext
68839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68841 if test `eval echo '${'$as_ac_var'}'` = yes; then
68842 cat >>confdefs.h <<_ACEOF
68843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68844 _ACEOF
68847 done
68849 else
68851 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68852 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68853 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68854 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68855 echo $ECHO_N "(cached) $ECHO_C" >&6
68856 else
68860 ac_ext=cc
68861 ac_cpp='$CXXCPP $CPPFLAGS'
68862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68866 cat >conftest.$ac_ext <<_ACEOF
68867 /* confdefs.h. */
68868 _ACEOF
68869 cat confdefs.h >>conftest.$ac_ext
68870 cat >>conftest.$ac_ext <<_ACEOF
68871 /* end confdefs.h. */
68872 #include <math.h>
68873 #ifdef HAVE_IEEEFP_H
68874 #include <ieeefp.h>
68875 #endif
68878 main ()
68880 _sqrtl(0);
68882 return 0;
68884 _ACEOF
68885 rm -f conftest.$ac_objext
68886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68887 (eval $ac_compile) 2>conftest.er1
68888 ac_status=$?
68889 grep -v '^ *+' conftest.er1 >conftest.err
68890 rm -f conftest.er1
68891 cat conftest.err >&5
68892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68893 (exit $ac_status); } &&
68894 { ac_try='test -z "$ac_cxx_werror_flag"
68895 || test ! -s conftest.err'
68896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68897 (eval $ac_try) 2>&5
68898 ac_status=$?
68899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900 (exit $ac_status); }; } &&
68901 { ac_try='test -s conftest.$ac_objext'
68902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68903 (eval $ac_try) 2>&5
68904 ac_status=$?
68905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68906 (exit $ac_status); }; }; then
68907 glibcxx_cv_func__sqrtl_use=yes
68908 else
68909 echo "$as_me: failed program was:" >&5
68910 sed 's/^/| /' conftest.$ac_ext >&5
68912 glibcxx_cv_func__sqrtl_use=no
68914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68915 ac_ext=c
68916 ac_cpp='$CPP $CPPFLAGS'
68917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68926 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68928 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68930 for ac_func in _sqrtl
68932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68933 echo "$as_me:$LINENO: checking for $ac_func" >&5
68934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68935 if eval "test \"\${$as_ac_var+set}\" = set"; then
68936 echo $ECHO_N "(cached) $ECHO_C" >&6
68937 else
68938 if test x$gcc_no_link = xyes; then
68939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68941 { (exit 1); exit 1; }; }
68943 cat >conftest.$ac_ext <<_ACEOF
68944 /* confdefs.h. */
68945 _ACEOF
68946 cat confdefs.h >>conftest.$ac_ext
68947 cat >>conftest.$ac_ext <<_ACEOF
68948 /* end confdefs.h. */
68949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68951 #define $ac_func innocuous_$ac_func
68953 /* System header to define __stub macros and hopefully few prototypes,
68954 which can conflict with char $ac_func (); below.
68955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68956 <limits.h> exists even on freestanding compilers. */
68958 #ifdef __STDC__
68959 # include <limits.h>
68960 #else
68961 # include <assert.h>
68962 #endif
68964 #undef $ac_func
68966 /* Override any gcc2 internal prototype to avoid an error. */
68967 #ifdef __cplusplus
68968 extern "C"
68970 #endif
68971 /* We use char because int might match the return type of a gcc2
68972 builtin and then its argument prototype would still apply. */
68973 char $ac_func ();
68974 /* The GNU C library defines this for functions which it implements
68975 to always fail with ENOSYS. Some functions are actually named
68976 something starting with __ and the normal name is an alias. */
68977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68978 choke me
68979 #else
68980 char (*f) () = $ac_func;
68981 #endif
68982 #ifdef __cplusplus
68984 #endif
68987 main ()
68989 return f != $ac_func;
68991 return 0;
68993 _ACEOF
68994 rm -f conftest.$ac_objext conftest$ac_exeext
68995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68996 (eval $ac_link) 2>conftest.er1
68997 ac_status=$?
68998 grep -v '^ *+' conftest.er1 >conftest.err
68999 rm -f conftest.er1
69000 cat conftest.err >&5
69001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69002 (exit $ac_status); } &&
69003 { ac_try='test -z "$ac_c_werror_flag"
69004 || test ! -s conftest.err'
69005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69006 (eval $ac_try) 2>&5
69007 ac_status=$?
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); }; } &&
69010 { ac_try='test -s conftest$ac_exeext'
69011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69012 (eval $ac_try) 2>&5
69013 ac_status=$?
69014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69015 (exit $ac_status); }; }; then
69016 eval "$as_ac_var=yes"
69017 else
69018 echo "$as_me: failed program was:" >&5
69019 sed 's/^/| /' conftest.$ac_ext >&5
69021 eval "$as_ac_var=no"
69023 rm -f conftest.err conftest.$ac_objext \
69024 conftest$ac_exeext conftest.$ac_ext
69026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69028 if test `eval echo '${'$as_ac_var'}'` = yes; then
69029 cat >>confdefs.h <<_ACEOF
69030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69031 _ACEOF
69034 done
69041 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69042 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69043 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69044 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69045 echo $ECHO_N "(cached) $ECHO_C" >&6
69046 else
69050 ac_ext=cc
69051 ac_cpp='$CXXCPP $CPPFLAGS'
69052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69056 cat >conftest.$ac_ext <<_ACEOF
69057 /* confdefs.h. */
69058 _ACEOF
69059 cat confdefs.h >>conftest.$ac_ext
69060 cat >>conftest.$ac_ext <<_ACEOF
69061 /* end confdefs.h. */
69062 #include <math.h>
69064 main ()
69066 sincosl(0, 0, 0);
69068 return 0;
69070 _ACEOF
69071 rm -f conftest.$ac_objext
69072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69073 (eval $ac_compile) 2>conftest.er1
69074 ac_status=$?
69075 grep -v '^ *+' conftest.er1 >conftest.err
69076 rm -f conftest.er1
69077 cat conftest.err >&5
69078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69079 (exit $ac_status); } &&
69080 { ac_try='test -z "$ac_cxx_werror_flag"
69081 || test ! -s conftest.err'
69082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69083 (eval $ac_try) 2>&5
69084 ac_status=$?
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); }; } &&
69087 { ac_try='test -s conftest.$ac_objext'
69088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69089 (eval $ac_try) 2>&5
69090 ac_status=$?
69091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69092 (exit $ac_status); }; }; then
69093 glibcxx_cv_func_sincosl_use=yes
69094 else
69095 echo "$as_me: failed program was:" >&5
69096 sed 's/^/| /' conftest.$ac_ext >&5
69098 glibcxx_cv_func_sincosl_use=no
69100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69101 ac_ext=c
69102 ac_cpp='$CPP $CPPFLAGS'
69103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69112 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69114 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69116 for ac_func in sincosl
69118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69119 echo "$as_me:$LINENO: checking for $ac_func" >&5
69120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69121 if eval "test \"\${$as_ac_var+set}\" = set"; then
69122 echo $ECHO_N "(cached) $ECHO_C" >&6
69123 else
69124 if test x$gcc_no_link = xyes; then
69125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69127 { (exit 1); exit 1; }; }
69129 cat >conftest.$ac_ext <<_ACEOF
69130 /* confdefs.h. */
69131 _ACEOF
69132 cat confdefs.h >>conftest.$ac_ext
69133 cat >>conftest.$ac_ext <<_ACEOF
69134 /* end confdefs.h. */
69135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69137 #define $ac_func innocuous_$ac_func
69139 /* System header to define __stub macros and hopefully few prototypes,
69140 which can conflict with char $ac_func (); below.
69141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69142 <limits.h> exists even on freestanding compilers. */
69144 #ifdef __STDC__
69145 # include <limits.h>
69146 #else
69147 # include <assert.h>
69148 #endif
69150 #undef $ac_func
69152 /* Override any gcc2 internal prototype to avoid an error. */
69153 #ifdef __cplusplus
69154 extern "C"
69156 #endif
69157 /* We use char because int might match the return type of a gcc2
69158 builtin and then its argument prototype would still apply. */
69159 char $ac_func ();
69160 /* The GNU C library defines this for functions which it implements
69161 to always fail with ENOSYS. Some functions are actually named
69162 something starting with __ and the normal name is an alias. */
69163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69164 choke me
69165 #else
69166 char (*f) () = $ac_func;
69167 #endif
69168 #ifdef __cplusplus
69170 #endif
69173 main ()
69175 return f != $ac_func;
69177 return 0;
69179 _ACEOF
69180 rm -f conftest.$ac_objext conftest$ac_exeext
69181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69182 (eval $ac_link) 2>conftest.er1
69183 ac_status=$?
69184 grep -v '^ *+' conftest.er1 >conftest.err
69185 rm -f conftest.er1
69186 cat conftest.err >&5
69187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69188 (exit $ac_status); } &&
69189 { ac_try='test -z "$ac_c_werror_flag"
69190 || test ! -s conftest.err'
69191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69192 (eval $ac_try) 2>&5
69193 ac_status=$?
69194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195 (exit $ac_status); }; } &&
69196 { ac_try='test -s conftest$ac_exeext'
69197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69198 (eval $ac_try) 2>&5
69199 ac_status=$?
69200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69201 (exit $ac_status); }; }; then
69202 eval "$as_ac_var=yes"
69203 else
69204 echo "$as_me: failed program was:" >&5
69205 sed 's/^/| /' conftest.$ac_ext >&5
69207 eval "$as_ac_var=no"
69209 rm -f conftest.err conftest.$ac_objext \
69210 conftest$ac_exeext conftest.$ac_ext
69212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69214 if test `eval echo '${'$as_ac_var'}'` = yes; then
69215 cat >>confdefs.h <<_ACEOF
69216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69217 _ACEOF
69220 done
69222 else
69224 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69225 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69226 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69227 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69228 echo $ECHO_N "(cached) $ECHO_C" >&6
69229 else
69233 ac_ext=cc
69234 ac_cpp='$CXXCPP $CPPFLAGS'
69235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69239 cat >conftest.$ac_ext <<_ACEOF
69240 /* confdefs.h. */
69241 _ACEOF
69242 cat confdefs.h >>conftest.$ac_ext
69243 cat >>conftest.$ac_ext <<_ACEOF
69244 /* end confdefs.h. */
69245 #include <math.h>
69247 main ()
69249 _sincosl(0, 0, 0);
69251 return 0;
69253 _ACEOF
69254 rm -f conftest.$ac_objext
69255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69256 (eval $ac_compile) 2>conftest.er1
69257 ac_status=$?
69258 grep -v '^ *+' conftest.er1 >conftest.err
69259 rm -f conftest.er1
69260 cat conftest.err >&5
69261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69262 (exit $ac_status); } &&
69263 { ac_try='test -z "$ac_cxx_werror_flag"
69264 || test ! -s conftest.err'
69265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69266 (eval $ac_try) 2>&5
69267 ac_status=$?
69268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69269 (exit $ac_status); }; } &&
69270 { ac_try='test -s conftest.$ac_objext'
69271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69272 (eval $ac_try) 2>&5
69273 ac_status=$?
69274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69275 (exit $ac_status); }; }; then
69276 glibcxx_cv_func__sincosl_use=yes
69277 else
69278 echo "$as_me: failed program was:" >&5
69279 sed 's/^/| /' conftest.$ac_ext >&5
69281 glibcxx_cv_func__sincosl_use=no
69283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69284 ac_ext=c
69285 ac_cpp='$CPP $CPPFLAGS'
69286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69295 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69297 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69299 for ac_func in _sincosl
69301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69302 echo "$as_me:$LINENO: checking for $ac_func" >&5
69303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69304 if eval "test \"\${$as_ac_var+set}\" = set"; then
69305 echo $ECHO_N "(cached) $ECHO_C" >&6
69306 else
69307 if test x$gcc_no_link = xyes; then
69308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69310 { (exit 1); exit 1; }; }
69312 cat >conftest.$ac_ext <<_ACEOF
69313 /* confdefs.h. */
69314 _ACEOF
69315 cat confdefs.h >>conftest.$ac_ext
69316 cat >>conftest.$ac_ext <<_ACEOF
69317 /* end confdefs.h. */
69318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69320 #define $ac_func innocuous_$ac_func
69322 /* System header to define __stub macros and hopefully few prototypes,
69323 which can conflict with char $ac_func (); below.
69324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69325 <limits.h> exists even on freestanding compilers. */
69327 #ifdef __STDC__
69328 # include <limits.h>
69329 #else
69330 # include <assert.h>
69331 #endif
69333 #undef $ac_func
69335 /* Override any gcc2 internal prototype to avoid an error. */
69336 #ifdef __cplusplus
69337 extern "C"
69339 #endif
69340 /* We use char because int might match the return type of a gcc2
69341 builtin and then its argument prototype would still apply. */
69342 char $ac_func ();
69343 /* The GNU C library defines this for functions which it implements
69344 to always fail with ENOSYS. Some functions are actually named
69345 something starting with __ and the normal name is an alias. */
69346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69347 choke me
69348 #else
69349 char (*f) () = $ac_func;
69350 #endif
69351 #ifdef __cplusplus
69353 #endif
69356 main ()
69358 return f != $ac_func;
69360 return 0;
69362 _ACEOF
69363 rm -f conftest.$ac_objext conftest$ac_exeext
69364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69365 (eval $ac_link) 2>conftest.er1
69366 ac_status=$?
69367 grep -v '^ *+' conftest.er1 >conftest.err
69368 rm -f conftest.er1
69369 cat conftest.err >&5
69370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69371 (exit $ac_status); } &&
69372 { ac_try='test -z "$ac_c_werror_flag"
69373 || test ! -s conftest.err'
69374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69375 (eval $ac_try) 2>&5
69376 ac_status=$?
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); }; } &&
69379 { ac_try='test -s conftest$ac_exeext'
69380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69381 (eval $ac_try) 2>&5
69382 ac_status=$?
69383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384 (exit $ac_status); }; }; then
69385 eval "$as_ac_var=yes"
69386 else
69387 echo "$as_me: failed program was:" >&5
69388 sed 's/^/| /' conftest.$ac_ext >&5
69390 eval "$as_ac_var=no"
69392 rm -f conftest.err conftest.$ac_objext \
69393 conftest$ac_exeext conftest.$ac_ext
69395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69397 if test `eval echo '${'$as_ac_var'}'` = yes; then
69398 cat >>confdefs.h <<_ACEOF
69399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69400 _ACEOF
69403 done
69410 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69411 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69412 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69413 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69419 ac_ext=cc
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425 cat >conftest.$ac_ext <<_ACEOF
69426 /* confdefs.h. */
69427 _ACEOF
69428 cat confdefs.h >>conftest.$ac_ext
69429 cat >>conftest.$ac_ext <<_ACEOF
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 #ifdef HAVE_IEEEFP_H
69433 #include <ieeefp.h>
69434 #endif
69437 main ()
69439 finitel(0);
69441 return 0;
69443 _ACEOF
69444 rm -f conftest.$ac_objext
69445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69446 (eval $ac_compile) 2>conftest.er1
69447 ac_status=$?
69448 grep -v '^ *+' conftest.er1 >conftest.err
69449 rm -f conftest.er1
69450 cat conftest.err >&5
69451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69452 (exit $ac_status); } &&
69453 { ac_try='test -z "$ac_cxx_werror_flag"
69454 || test ! -s conftest.err'
69455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69456 (eval $ac_try) 2>&5
69457 ac_status=$?
69458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69459 (exit $ac_status); }; } &&
69460 { ac_try='test -s conftest.$ac_objext'
69461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69462 (eval $ac_try) 2>&5
69463 ac_status=$?
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); }; }; then
69466 glibcxx_cv_func_finitel_use=yes
69467 else
69468 echo "$as_me: failed program was:" >&5
69469 sed 's/^/| /' conftest.$ac_ext >&5
69471 glibcxx_cv_func_finitel_use=no
69473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69474 ac_ext=c
69475 ac_cpp='$CPP $CPPFLAGS'
69476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69485 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69487 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69489 for ac_func in finitel
69491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69492 echo "$as_me:$LINENO: checking for $ac_func" >&5
69493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69494 if eval "test \"\${$as_ac_var+set}\" = set"; then
69495 echo $ECHO_N "(cached) $ECHO_C" >&6
69496 else
69497 if test x$gcc_no_link = xyes; then
69498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69500 { (exit 1); exit 1; }; }
69502 cat >conftest.$ac_ext <<_ACEOF
69503 /* confdefs.h. */
69504 _ACEOF
69505 cat confdefs.h >>conftest.$ac_ext
69506 cat >>conftest.$ac_ext <<_ACEOF
69507 /* end confdefs.h. */
69508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69510 #define $ac_func innocuous_$ac_func
69512 /* System header to define __stub macros and hopefully few prototypes,
69513 which can conflict with char $ac_func (); below.
69514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69515 <limits.h> exists even on freestanding compilers. */
69517 #ifdef __STDC__
69518 # include <limits.h>
69519 #else
69520 # include <assert.h>
69521 #endif
69523 #undef $ac_func
69525 /* Override any gcc2 internal prototype to avoid an error. */
69526 #ifdef __cplusplus
69527 extern "C"
69529 #endif
69530 /* We use char because int might match the return type of a gcc2
69531 builtin and then its argument prototype would still apply. */
69532 char $ac_func ();
69533 /* The GNU C library defines this for functions which it implements
69534 to always fail with ENOSYS. Some functions are actually named
69535 something starting with __ and the normal name is an alias. */
69536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69537 choke me
69538 #else
69539 char (*f) () = $ac_func;
69540 #endif
69541 #ifdef __cplusplus
69543 #endif
69546 main ()
69548 return f != $ac_func;
69550 return 0;
69552 _ACEOF
69553 rm -f conftest.$ac_objext conftest$ac_exeext
69554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69555 (eval $ac_link) 2>conftest.er1
69556 ac_status=$?
69557 grep -v '^ *+' conftest.er1 >conftest.err
69558 rm -f conftest.er1
69559 cat conftest.err >&5
69560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561 (exit $ac_status); } &&
69562 { ac_try='test -z "$ac_c_werror_flag"
69563 || test ! -s conftest.err'
69564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69565 (eval $ac_try) 2>&5
69566 ac_status=$?
69567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568 (exit $ac_status); }; } &&
69569 { ac_try='test -s conftest$ac_exeext'
69570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571 (eval $ac_try) 2>&5
69572 ac_status=$?
69573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574 (exit $ac_status); }; }; then
69575 eval "$as_ac_var=yes"
69576 else
69577 echo "$as_me: failed program was:" >&5
69578 sed 's/^/| /' conftest.$ac_ext >&5
69580 eval "$as_ac_var=no"
69582 rm -f conftest.err conftest.$ac_objext \
69583 conftest$ac_exeext conftest.$ac_ext
69585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69587 if test `eval echo '${'$as_ac_var'}'` = yes; then
69588 cat >>confdefs.h <<_ACEOF
69589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69590 _ACEOF
69593 done
69595 else
69597 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69598 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69599 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69600 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69601 echo $ECHO_N "(cached) $ECHO_C" >&6
69602 else
69606 ac_ext=cc
69607 ac_cpp='$CXXCPP $CPPFLAGS'
69608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69612 cat >conftest.$ac_ext <<_ACEOF
69613 /* confdefs.h. */
69614 _ACEOF
69615 cat confdefs.h >>conftest.$ac_ext
69616 cat >>conftest.$ac_ext <<_ACEOF
69617 /* end confdefs.h. */
69618 #include <math.h>
69619 #ifdef HAVE_IEEEFP_H
69620 #include <ieeefp.h>
69621 #endif
69624 main ()
69626 _finitel(0);
69628 return 0;
69630 _ACEOF
69631 rm -f conftest.$ac_objext
69632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69633 (eval $ac_compile) 2>conftest.er1
69634 ac_status=$?
69635 grep -v '^ *+' conftest.er1 >conftest.err
69636 rm -f conftest.er1
69637 cat conftest.err >&5
69638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69639 (exit $ac_status); } &&
69640 { ac_try='test -z "$ac_cxx_werror_flag"
69641 || test ! -s conftest.err'
69642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69643 (eval $ac_try) 2>&5
69644 ac_status=$?
69645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646 (exit $ac_status); }; } &&
69647 { ac_try='test -s conftest.$ac_objext'
69648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69649 (eval $ac_try) 2>&5
69650 ac_status=$?
69651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652 (exit $ac_status); }; }; then
69653 glibcxx_cv_func__finitel_use=yes
69654 else
69655 echo "$as_me: failed program was:" >&5
69656 sed 's/^/| /' conftest.$ac_ext >&5
69658 glibcxx_cv_func__finitel_use=no
69660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69661 ac_ext=c
69662 ac_cpp='$CPP $CPPFLAGS'
69663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69672 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69674 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69676 for ac_func in _finitel
69678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69679 echo "$as_me:$LINENO: checking for $ac_func" >&5
69680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69681 if eval "test \"\${$as_ac_var+set}\" = set"; then
69682 echo $ECHO_N "(cached) $ECHO_C" >&6
69683 else
69684 if test x$gcc_no_link = xyes; then
69685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69687 { (exit 1); exit 1; }; }
69689 cat >conftest.$ac_ext <<_ACEOF
69690 /* confdefs.h. */
69691 _ACEOF
69692 cat confdefs.h >>conftest.$ac_ext
69693 cat >>conftest.$ac_ext <<_ACEOF
69694 /* end confdefs.h. */
69695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69697 #define $ac_func innocuous_$ac_func
69699 /* System header to define __stub macros and hopefully few prototypes,
69700 which can conflict with char $ac_func (); below.
69701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69702 <limits.h> exists even on freestanding compilers. */
69704 #ifdef __STDC__
69705 # include <limits.h>
69706 #else
69707 # include <assert.h>
69708 #endif
69710 #undef $ac_func
69712 /* Override any gcc2 internal prototype to avoid an error. */
69713 #ifdef __cplusplus
69714 extern "C"
69716 #endif
69717 /* We use char because int might match the return type of a gcc2
69718 builtin and then its argument prototype would still apply. */
69719 char $ac_func ();
69720 /* The GNU C library defines this for functions which it implements
69721 to always fail with ENOSYS. Some functions are actually named
69722 something starting with __ and the normal name is an alias. */
69723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69724 choke me
69725 #else
69726 char (*f) () = $ac_func;
69727 #endif
69728 #ifdef __cplusplus
69730 #endif
69733 main ()
69735 return f != $ac_func;
69737 return 0;
69739 _ACEOF
69740 rm -f conftest.$ac_objext conftest$ac_exeext
69741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69742 (eval $ac_link) 2>conftest.er1
69743 ac_status=$?
69744 grep -v '^ *+' conftest.er1 >conftest.err
69745 rm -f conftest.er1
69746 cat conftest.err >&5
69747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69748 (exit $ac_status); } &&
69749 { ac_try='test -z "$ac_c_werror_flag"
69750 || test ! -s conftest.err'
69751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69752 (eval $ac_try) 2>&5
69753 ac_status=$?
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); }; } &&
69756 { ac_try='test -s conftest$ac_exeext'
69757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69758 (eval $ac_try) 2>&5
69759 ac_status=$?
69760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761 (exit $ac_status); }; }; then
69762 eval "$as_ac_var=yes"
69763 else
69764 echo "$as_me: failed program was:" >&5
69765 sed 's/^/| /' conftest.$ac_ext >&5
69767 eval "$as_ac_var=no"
69769 rm -f conftest.err conftest.$ac_objext \
69770 conftest$ac_exeext conftest.$ac_ext
69772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69774 if test `eval echo '${'$as_ac_var'}'` = yes; then
69775 cat >>confdefs.h <<_ACEOF
69776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69777 _ACEOF
69780 done
69788 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69789 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69790 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69791 echo $ECHO_N "(cached) $ECHO_C" >&6
69792 else
69796 ac_ext=cc
69797 ac_cpp='$CXXCPP $CPPFLAGS'
69798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69802 cat >conftest.$ac_ext <<_ACEOF
69803 /* confdefs.h. */
69804 _ACEOF
69805 cat confdefs.h >>conftest.$ac_ext
69806 cat >>conftest.$ac_ext <<_ACEOF
69807 /* end confdefs.h. */
69808 #include <math.h>
69810 main ()
69812 `for x in _acosf _asinf _atanf \
69813 _cosf _sinf _tanf \
69814 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69816 return 0;
69818 _ACEOF
69819 rm -f conftest.$ac_objext
69820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69821 (eval $ac_compile) 2>conftest.er1
69822 ac_status=$?
69823 grep -v '^ *+' conftest.er1 >conftest.err
69824 rm -f conftest.er1
69825 cat conftest.err >&5
69826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69827 (exit $ac_status); } &&
69828 { ac_try='test -z "$ac_cxx_werror_flag"
69829 || test ! -s conftest.err'
69830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69831 (eval $ac_try) 2>&5
69832 ac_status=$?
69833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69834 (exit $ac_status); }; } &&
69835 { ac_try='test -s conftest.$ac_objext'
69836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69837 (eval $ac_try) 2>&5
69838 ac_status=$?
69839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69840 (exit $ac_status); }; }; then
69841 glibcxx_cv_func__float_trig_use=yes
69842 else
69843 echo "$as_me: failed program was:" >&5
69844 sed 's/^/| /' conftest.$ac_ext >&5
69846 glibcxx_cv_func__float_trig_use=no
69848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69849 ac_ext=c
69850 ac_cpp='$CPP $CPPFLAGS'
69851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69858 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69859 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69869 for ac_func in _acosf _asinf _atanf \
69870 _cosf _sinf _tanf \
69871 _coshf _sinhf _tanhf
69873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69874 echo "$as_me:$LINENO: checking for $ac_func" >&5
69875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69876 if eval "test \"\${$as_ac_var+set}\" = set"; then
69877 echo $ECHO_N "(cached) $ECHO_C" >&6
69878 else
69879 if test x$gcc_no_link = xyes; then
69880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69882 { (exit 1); exit 1; }; }
69884 cat >conftest.$ac_ext <<_ACEOF
69885 /* confdefs.h. */
69886 _ACEOF
69887 cat confdefs.h >>conftest.$ac_ext
69888 cat >>conftest.$ac_ext <<_ACEOF
69889 /* end confdefs.h. */
69890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69892 #define $ac_func innocuous_$ac_func
69894 /* System header to define __stub macros and hopefully few prototypes,
69895 which can conflict with char $ac_func (); below.
69896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69897 <limits.h> exists even on freestanding compilers. */
69899 #ifdef __STDC__
69900 # include <limits.h>
69901 #else
69902 # include <assert.h>
69903 #endif
69905 #undef $ac_func
69907 /* Override any gcc2 internal prototype to avoid an error. */
69908 #ifdef __cplusplus
69909 extern "C"
69911 #endif
69912 /* We use char because int might match the return type of a gcc2
69913 builtin and then its argument prototype would still apply. */
69914 char $ac_func ();
69915 /* The GNU C library defines this for functions which it implements
69916 to always fail with ENOSYS. Some functions are actually named
69917 something starting with __ and the normal name is an alias. */
69918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69919 choke me
69920 #else
69921 char (*f) () = $ac_func;
69922 #endif
69923 #ifdef __cplusplus
69925 #endif
69928 main ()
69930 return f != $ac_func;
69932 return 0;
69934 _ACEOF
69935 rm -f conftest.$ac_objext conftest$ac_exeext
69936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69937 (eval $ac_link) 2>conftest.er1
69938 ac_status=$?
69939 grep -v '^ *+' conftest.er1 >conftest.err
69940 rm -f conftest.er1
69941 cat conftest.err >&5
69942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943 (exit $ac_status); } &&
69944 { ac_try='test -z "$ac_c_werror_flag"
69945 || test ! -s conftest.err'
69946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69947 (eval $ac_try) 2>&5
69948 ac_status=$?
69949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950 (exit $ac_status); }; } &&
69951 { ac_try='test -s conftest$ac_exeext'
69952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69953 (eval $ac_try) 2>&5
69954 ac_status=$?
69955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69956 (exit $ac_status); }; }; then
69957 eval "$as_ac_var=yes"
69958 else
69959 echo "$as_me: failed program was:" >&5
69960 sed 's/^/| /' conftest.$ac_ext >&5
69962 eval "$as_ac_var=no"
69964 rm -f conftest.err conftest.$ac_objext \
69965 conftest$ac_exeext conftest.$ac_ext
69967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69969 if test `eval echo '${'$as_ac_var'}'` = yes; then
69970 cat >>confdefs.h <<_ACEOF
69971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69972 _ACEOF
69975 done
69980 echo "$as_me:$LINENO: checking for _float round functions" >&5
69981 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69982 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69983 echo $ECHO_N "(cached) $ECHO_C" >&6
69984 else
69988 ac_ext=cc
69989 ac_cpp='$CXXCPP $CPPFLAGS'
69990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69994 cat >conftest.$ac_ext <<_ACEOF
69995 /* confdefs.h. */
69996 _ACEOF
69997 cat confdefs.h >>conftest.$ac_ext
69998 cat >>conftest.$ac_ext <<_ACEOF
69999 /* end confdefs.h. */
70000 #include <math.h>
70002 main ()
70004 `for x in _ceilf _floorf; do echo "$x (0);"; done`
70006 return 0;
70008 _ACEOF
70009 rm -f conftest.$ac_objext
70010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70011 (eval $ac_compile) 2>conftest.er1
70012 ac_status=$?
70013 grep -v '^ *+' conftest.er1 >conftest.err
70014 rm -f conftest.er1
70015 cat conftest.err >&5
70016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70017 (exit $ac_status); } &&
70018 { ac_try='test -z "$ac_cxx_werror_flag"
70019 || test ! -s conftest.err'
70020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70021 (eval $ac_try) 2>&5
70022 ac_status=$?
70023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70024 (exit $ac_status); }; } &&
70025 { ac_try='test -s conftest.$ac_objext'
70026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70027 (eval $ac_try) 2>&5
70028 ac_status=$?
70029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70030 (exit $ac_status); }; }; then
70031 glibcxx_cv_func__float_round_use=yes
70032 else
70033 echo "$as_me: failed program was:" >&5
70034 sed 's/^/| /' conftest.$ac_ext >&5
70036 glibcxx_cv_func__float_round_use=no
70038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70039 ac_ext=c
70040 ac_cpp='$CPP $CPPFLAGS'
70041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70048 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70049 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70052 for ac_func in _ceilf _floorf
70054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70055 echo "$as_me:$LINENO: checking for $ac_func" >&5
70056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70057 if eval "test \"\${$as_ac_var+set}\" = set"; then
70058 echo $ECHO_N "(cached) $ECHO_C" >&6
70059 else
70060 if test x$gcc_no_link = xyes; then
70061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70063 { (exit 1); exit 1; }; }
70065 cat >conftest.$ac_ext <<_ACEOF
70066 /* confdefs.h. */
70067 _ACEOF
70068 cat confdefs.h >>conftest.$ac_ext
70069 cat >>conftest.$ac_ext <<_ACEOF
70070 /* end confdefs.h. */
70071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70073 #define $ac_func innocuous_$ac_func
70075 /* System header to define __stub macros and hopefully few prototypes,
70076 which can conflict with char $ac_func (); below.
70077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70078 <limits.h> exists even on freestanding compilers. */
70080 #ifdef __STDC__
70081 # include <limits.h>
70082 #else
70083 # include <assert.h>
70084 #endif
70086 #undef $ac_func
70088 /* Override any gcc2 internal prototype to avoid an error. */
70089 #ifdef __cplusplus
70090 extern "C"
70092 #endif
70093 /* We use char because int might match the return type of a gcc2
70094 builtin and then its argument prototype would still apply. */
70095 char $ac_func ();
70096 /* The GNU C library defines this for functions which it implements
70097 to always fail with ENOSYS. Some functions are actually named
70098 something starting with __ and the normal name is an alias. */
70099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70100 choke me
70101 #else
70102 char (*f) () = $ac_func;
70103 #endif
70104 #ifdef __cplusplus
70106 #endif
70109 main ()
70111 return f != $ac_func;
70113 return 0;
70115 _ACEOF
70116 rm -f conftest.$ac_objext conftest$ac_exeext
70117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70118 (eval $ac_link) 2>conftest.er1
70119 ac_status=$?
70120 grep -v '^ *+' conftest.er1 >conftest.err
70121 rm -f conftest.er1
70122 cat conftest.err >&5
70123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124 (exit $ac_status); } &&
70125 { ac_try='test -z "$ac_c_werror_flag"
70126 || test ! -s conftest.err'
70127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70128 (eval $ac_try) 2>&5
70129 ac_status=$?
70130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131 (exit $ac_status); }; } &&
70132 { ac_try='test -s conftest$ac_exeext'
70133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70134 (eval $ac_try) 2>&5
70135 ac_status=$?
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); }; }; then
70138 eval "$as_ac_var=yes"
70139 else
70140 echo "$as_me: failed program was:" >&5
70141 sed 's/^/| /' conftest.$ac_ext >&5
70143 eval "$as_ac_var=no"
70145 rm -f conftest.err conftest.$ac_objext \
70146 conftest$ac_exeext conftest.$ac_ext
70148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70150 if test `eval echo '${'$as_ac_var'}'` = yes; then
70151 cat >>confdefs.h <<_ACEOF
70152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70153 _ACEOF
70156 done
70162 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70163 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70164 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70165 echo $ECHO_N "(cached) $ECHO_C" >&6
70166 else
70170 ac_ext=cc
70171 ac_cpp='$CXXCPP $CPPFLAGS'
70172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70176 cat >conftest.$ac_ext <<_ACEOF
70177 /* confdefs.h. */
70178 _ACEOF
70179 cat confdefs.h >>conftest.$ac_ext
70180 cat >>conftest.$ac_ext <<_ACEOF
70181 /* end confdefs.h. */
70182 #include <math.h>
70184 main ()
70186 `for x in _acosl _asinl _atanl \
70187 _cosl _sinl _tanl \
70188 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70190 return 0;
70192 _ACEOF
70193 rm -f conftest.$ac_objext
70194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70195 (eval $ac_compile) 2>conftest.er1
70196 ac_status=$?
70197 grep -v '^ *+' conftest.er1 >conftest.err
70198 rm -f conftest.er1
70199 cat conftest.err >&5
70200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70201 (exit $ac_status); } &&
70202 { ac_try='test -z "$ac_cxx_werror_flag"
70203 || test ! -s conftest.err'
70204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70205 (eval $ac_try) 2>&5
70206 ac_status=$?
70207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208 (exit $ac_status); }; } &&
70209 { ac_try='test -s conftest.$ac_objext'
70210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70211 (eval $ac_try) 2>&5
70212 ac_status=$?
70213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70214 (exit $ac_status); }; }; then
70215 glibcxx_cv_func__long_double_trig_use=yes
70216 else
70217 echo "$as_me: failed program was:" >&5
70218 sed 's/^/| /' conftest.$ac_ext >&5
70220 glibcxx_cv_func__long_double_trig_use=no
70222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70223 ac_ext=c
70224 ac_cpp='$CPP $CPPFLAGS'
70225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70232 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70233 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70243 for ac_func in _acosl _asinl _atanl \
70244 _cosl _sinl _tanl \
70245 _coshl _sinhl _tanhl
70247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70248 echo "$as_me:$LINENO: checking for $ac_func" >&5
70249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70250 if eval "test \"\${$as_ac_var+set}\" = set"; then
70251 echo $ECHO_N "(cached) $ECHO_C" >&6
70252 else
70253 if test x$gcc_no_link = xyes; then
70254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70256 { (exit 1); exit 1; }; }
70258 cat >conftest.$ac_ext <<_ACEOF
70259 /* confdefs.h. */
70260 _ACEOF
70261 cat confdefs.h >>conftest.$ac_ext
70262 cat >>conftest.$ac_ext <<_ACEOF
70263 /* end confdefs.h. */
70264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70266 #define $ac_func innocuous_$ac_func
70268 /* System header to define __stub macros and hopefully few prototypes,
70269 which can conflict with char $ac_func (); below.
70270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70271 <limits.h> exists even on freestanding compilers. */
70273 #ifdef __STDC__
70274 # include <limits.h>
70275 #else
70276 # include <assert.h>
70277 #endif
70279 #undef $ac_func
70281 /* Override any gcc2 internal prototype to avoid an error. */
70282 #ifdef __cplusplus
70283 extern "C"
70285 #endif
70286 /* We use char because int might match the return type of a gcc2
70287 builtin and then its argument prototype would still apply. */
70288 char $ac_func ();
70289 /* The GNU C library defines this for functions which it implements
70290 to always fail with ENOSYS. Some functions are actually named
70291 something starting with __ and the normal name is an alias. */
70292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70293 choke me
70294 #else
70295 char (*f) () = $ac_func;
70296 #endif
70297 #ifdef __cplusplus
70299 #endif
70302 main ()
70304 return f != $ac_func;
70306 return 0;
70308 _ACEOF
70309 rm -f conftest.$ac_objext conftest$ac_exeext
70310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70311 (eval $ac_link) 2>conftest.er1
70312 ac_status=$?
70313 grep -v '^ *+' conftest.er1 >conftest.err
70314 rm -f conftest.er1
70315 cat conftest.err >&5
70316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70317 (exit $ac_status); } &&
70318 { ac_try='test -z "$ac_c_werror_flag"
70319 || test ! -s conftest.err'
70320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70321 (eval $ac_try) 2>&5
70322 ac_status=$?
70323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324 (exit $ac_status); }; } &&
70325 { ac_try='test -s conftest$ac_exeext'
70326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70327 (eval $ac_try) 2>&5
70328 ac_status=$?
70329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70330 (exit $ac_status); }; }; then
70331 eval "$as_ac_var=yes"
70332 else
70333 echo "$as_me: failed program was:" >&5
70334 sed 's/^/| /' conftest.$ac_ext >&5
70336 eval "$as_ac_var=no"
70338 rm -f conftest.err conftest.$ac_objext \
70339 conftest$ac_exeext conftest.$ac_ext
70341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70343 if test `eval echo '${'$as_ac_var'}'` = yes; then
70344 cat >>confdefs.h <<_ACEOF
70345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70346 _ACEOF
70349 done
70354 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70355 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70356 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70357 echo $ECHO_N "(cached) $ECHO_C" >&6
70358 else
70362 ac_ext=cc
70363 ac_cpp='$CXXCPP $CPPFLAGS'
70364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70368 cat >conftest.$ac_ext <<_ACEOF
70369 /* confdefs.h. */
70370 _ACEOF
70371 cat confdefs.h >>conftest.$ac_ext
70372 cat >>conftest.$ac_ext <<_ACEOF
70373 /* end confdefs.h. */
70374 #include <math.h>
70376 main ()
70378 `for x in _ceill _floorl; do echo "$x (0);"; done`
70380 return 0;
70382 _ACEOF
70383 rm -f conftest.$ac_objext
70384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70385 (eval $ac_compile) 2>conftest.er1
70386 ac_status=$?
70387 grep -v '^ *+' conftest.er1 >conftest.err
70388 rm -f conftest.er1
70389 cat conftest.err >&5
70390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70391 (exit $ac_status); } &&
70392 { ac_try='test -z "$ac_cxx_werror_flag"
70393 || test ! -s conftest.err'
70394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70395 (eval $ac_try) 2>&5
70396 ac_status=$?
70397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70398 (exit $ac_status); }; } &&
70399 { ac_try='test -s conftest.$ac_objext'
70400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70401 (eval $ac_try) 2>&5
70402 ac_status=$?
70403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70404 (exit $ac_status); }; }; then
70405 glibcxx_cv_func__long_double_round_use=yes
70406 else
70407 echo "$as_me: failed program was:" >&5
70408 sed 's/^/| /' conftest.$ac_ext >&5
70410 glibcxx_cv_func__long_double_round_use=no
70412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70422 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70423 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70426 for ac_func in _ceill _floorl
70428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70429 echo "$as_me:$LINENO: checking for $ac_func" >&5
70430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70431 if eval "test \"\${$as_ac_var+set}\" = set"; then
70432 echo $ECHO_N "(cached) $ECHO_C" >&6
70433 else
70434 if test x$gcc_no_link = xyes; then
70435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70437 { (exit 1); exit 1; }; }
70439 cat >conftest.$ac_ext <<_ACEOF
70440 /* confdefs.h. */
70441 _ACEOF
70442 cat confdefs.h >>conftest.$ac_ext
70443 cat >>conftest.$ac_ext <<_ACEOF
70444 /* end confdefs.h. */
70445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70447 #define $ac_func innocuous_$ac_func
70449 /* System header to define __stub macros and hopefully few prototypes,
70450 which can conflict with char $ac_func (); below.
70451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70452 <limits.h> exists even on freestanding compilers. */
70454 #ifdef __STDC__
70455 # include <limits.h>
70456 #else
70457 # include <assert.h>
70458 #endif
70460 #undef $ac_func
70462 /* Override any gcc2 internal prototype to avoid an error. */
70463 #ifdef __cplusplus
70464 extern "C"
70466 #endif
70467 /* We use char because int might match the return type of a gcc2
70468 builtin and then its argument prototype would still apply. */
70469 char $ac_func ();
70470 /* The GNU C library defines this for functions which it implements
70471 to always fail with ENOSYS. Some functions are actually named
70472 something starting with __ and the normal name is an alias. */
70473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70474 choke me
70475 #else
70476 char (*f) () = $ac_func;
70477 #endif
70478 #ifdef __cplusplus
70480 #endif
70483 main ()
70485 return f != $ac_func;
70487 return 0;
70489 _ACEOF
70490 rm -f conftest.$ac_objext conftest$ac_exeext
70491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70492 (eval $ac_link) 2>conftest.er1
70493 ac_status=$?
70494 grep -v '^ *+' conftest.er1 >conftest.err
70495 rm -f conftest.er1
70496 cat conftest.err >&5
70497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70498 (exit $ac_status); } &&
70499 { ac_try='test -z "$ac_c_werror_flag"
70500 || test ! -s conftest.err'
70501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70502 (eval $ac_try) 2>&5
70503 ac_status=$?
70504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505 (exit $ac_status); }; } &&
70506 { ac_try='test -s conftest$ac_exeext'
70507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70508 (eval $ac_try) 2>&5
70509 ac_status=$?
70510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70511 (exit $ac_status); }; }; then
70512 eval "$as_ac_var=yes"
70513 else
70514 echo "$as_me: failed program was:" >&5
70515 sed 's/^/| /' conftest.$ac_ext >&5
70517 eval "$as_ac_var=no"
70519 rm -f conftest.err conftest.$ac_objext \
70520 conftest$ac_exeext conftest.$ac_ext
70522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70524 if test `eval echo '${'$as_ac_var'}'` = yes; then
70525 cat >>confdefs.h <<_ACEOF
70526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70527 _ACEOF
70530 done
70535 LIBS="$ac_save_LIBS"
70536 CXXFLAGS="$ac_save_CXXFLAGS"
70540 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70541 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70542 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70543 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70544 echo $ECHO_N "(cached) $ECHO_C" >&6
70545 else
70549 ac_ext=cc
70550 ac_cpp='$CXXCPP $CPPFLAGS'
70551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70555 cat >conftest.$ac_ext <<_ACEOF
70556 /* confdefs.h. */
70557 _ACEOF
70558 cat confdefs.h >>conftest.$ac_ext
70559 cat >>conftest.$ac_ext <<_ACEOF
70560 /* end confdefs.h. */
70561 #include <math.h>
70563 main ()
70565 __builtin_abs(0);
70567 return 0;
70569 _ACEOF
70570 rm -f conftest.$ac_objext
70571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70572 (eval $ac_compile) 2>conftest.er1
70573 ac_status=$?
70574 grep -v '^ *+' conftest.er1 >conftest.err
70575 rm -f conftest.er1
70576 cat conftest.err >&5
70577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70578 (exit $ac_status); } &&
70579 { ac_try='test -z "$ac_cxx_werror_flag"
70580 || test ! -s conftest.err'
70581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70582 (eval $ac_try) 2>&5
70583 ac_status=$?
70584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70585 (exit $ac_status); }; } &&
70586 { ac_try='test -s conftest.$ac_objext'
70587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70588 (eval $ac_try) 2>&5
70589 ac_status=$?
70590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70591 (exit $ac_status); }; }; then
70592 glibcxx_cv_func___builtin_abs_use=yes
70593 else
70594 echo "$as_me: failed program was:" >&5
70595 sed 's/^/| /' conftest.$ac_ext >&5
70597 glibcxx_cv_func___builtin_abs_use=no
70599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70600 ac_ext=c
70601 ac_cpp='$CPP $CPPFLAGS'
70602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70611 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70612 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70613 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70614 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70615 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70616 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70617 echo $ECHO_N "(cached) $ECHO_C" >&6
70618 else
70620 if test x$gcc_no_link = xyes; then
70621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70623 { (exit 1); exit 1; }; }
70625 cat >conftest.$ac_ext <<_ACEOF
70626 /* confdefs.h. */
70627 _ACEOF
70628 cat confdefs.h >>conftest.$ac_ext
70629 cat >>conftest.$ac_ext <<_ACEOF
70630 /* end confdefs.h. */
70631 #include <math.h>
70633 main ()
70635 __builtin_abs(0);
70637 return 0;
70639 _ACEOF
70640 rm -f conftest.$ac_objext conftest$ac_exeext
70641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70642 (eval $ac_link) 2>conftest.er1
70643 ac_status=$?
70644 grep -v '^ *+' conftest.er1 >conftest.err
70645 rm -f conftest.er1
70646 cat conftest.err >&5
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); } &&
70649 { ac_try='test -z "$ac_c_werror_flag"
70650 || test ! -s conftest.err'
70651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70652 (eval $ac_try) 2>&5
70653 ac_status=$?
70654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655 (exit $ac_status); }; } &&
70656 { ac_try='test -s conftest$ac_exeext'
70657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70658 (eval $ac_try) 2>&5
70659 ac_status=$?
70660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70661 (exit $ac_status); }; }; then
70662 glibcxx_cv_func___builtin_abs_link=yes
70663 else
70664 echo "$as_me: failed program was:" >&5
70665 sed 's/^/| /' conftest.$ac_ext >&5
70667 glibcxx_cv_func___builtin_abs_link=no
70669 rm -f conftest.err conftest.$ac_objext \
70670 conftest$ac_exeext conftest.$ac_ext
70675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70676 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70677 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70678 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70680 cat >>confdefs.h <<_ACEOF
70681 #define ${ac_tr_func} 1
70682 _ACEOF
70688 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70689 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70690 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70691 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70692 echo $ECHO_N "(cached) $ECHO_C" >&6
70693 else
70697 ac_ext=cc
70698 ac_cpp='$CXXCPP $CPPFLAGS'
70699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70703 cat >conftest.$ac_ext <<_ACEOF
70704 /* confdefs.h. */
70705 _ACEOF
70706 cat confdefs.h >>conftest.$ac_ext
70707 cat >>conftest.$ac_ext <<_ACEOF
70708 /* end confdefs.h. */
70709 #include <math.h>
70711 main ()
70713 __builtin_fabsf(0);
70715 return 0;
70717 _ACEOF
70718 rm -f conftest.$ac_objext
70719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70720 (eval $ac_compile) 2>conftest.er1
70721 ac_status=$?
70722 grep -v '^ *+' conftest.er1 >conftest.err
70723 rm -f conftest.er1
70724 cat conftest.err >&5
70725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70726 (exit $ac_status); } &&
70727 { ac_try='test -z "$ac_cxx_werror_flag"
70728 || test ! -s conftest.err'
70729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70730 (eval $ac_try) 2>&5
70731 ac_status=$?
70732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70733 (exit $ac_status); }; } &&
70734 { ac_try='test -s conftest.$ac_objext'
70735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70736 (eval $ac_try) 2>&5
70737 ac_status=$?
70738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70739 (exit $ac_status); }; }; then
70740 glibcxx_cv_func___builtin_fabsf_use=yes
70741 else
70742 echo "$as_me: failed program was:" >&5
70743 sed 's/^/| /' conftest.$ac_ext >&5
70745 glibcxx_cv_func___builtin_fabsf_use=no
70747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70748 ac_ext=c
70749 ac_cpp='$CPP $CPPFLAGS'
70750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70758 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70759 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70760 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70761 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70762 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70763 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70764 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70765 echo $ECHO_N "(cached) $ECHO_C" >&6
70766 else
70768 if test x$gcc_no_link = xyes; then
70769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70771 { (exit 1); exit 1; }; }
70773 cat >conftest.$ac_ext <<_ACEOF
70774 /* confdefs.h. */
70775 _ACEOF
70776 cat confdefs.h >>conftest.$ac_ext
70777 cat >>conftest.$ac_ext <<_ACEOF
70778 /* end confdefs.h. */
70779 #include <math.h>
70781 main ()
70783 __builtin_fabsf(0);
70785 return 0;
70787 _ACEOF
70788 rm -f conftest.$ac_objext conftest$ac_exeext
70789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70790 (eval $ac_link) 2>conftest.er1
70791 ac_status=$?
70792 grep -v '^ *+' conftest.er1 >conftest.err
70793 rm -f conftest.er1
70794 cat conftest.err >&5
70795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70796 (exit $ac_status); } &&
70797 { ac_try='test -z "$ac_c_werror_flag"
70798 || test ! -s conftest.err'
70799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70800 (eval $ac_try) 2>&5
70801 ac_status=$?
70802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803 (exit $ac_status); }; } &&
70804 { ac_try='test -s conftest$ac_exeext'
70805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70806 (eval $ac_try) 2>&5
70807 ac_status=$?
70808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70809 (exit $ac_status); }; }; then
70810 glibcxx_cv_func___builtin_fabsf_link=yes
70811 else
70812 echo "$as_me: failed program was:" >&5
70813 sed 's/^/| /' conftest.$ac_ext >&5
70815 glibcxx_cv_func___builtin_fabsf_link=no
70817 rm -f conftest.err conftest.$ac_objext \
70818 conftest$ac_exeext conftest.$ac_ext
70823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70824 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70825 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70826 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70828 cat >>confdefs.h <<_ACEOF
70829 #define ${ac_tr_func} 1
70830 _ACEOF
70836 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70837 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70838 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70839 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70840 echo $ECHO_N "(cached) $ECHO_C" >&6
70841 else
70845 ac_ext=cc
70846 ac_cpp='$CXXCPP $CPPFLAGS'
70847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70851 cat >conftest.$ac_ext <<_ACEOF
70852 /* confdefs.h. */
70853 _ACEOF
70854 cat confdefs.h >>conftest.$ac_ext
70855 cat >>conftest.$ac_ext <<_ACEOF
70856 /* end confdefs.h. */
70857 #include <math.h>
70859 main ()
70861 __builtin_fabs(0);
70863 return 0;
70865 _ACEOF
70866 rm -f conftest.$ac_objext
70867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70868 (eval $ac_compile) 2>conftest.er1
70869 ac_status=$?
70870 grep -v '^ *+' conftest.er1 >conftest.err
70871 rm -f conftest.er1
70872 cat conftest.err >&5
70873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874 (exit $ac_status); } &&
70875 { ac_try='test -z "$ac_cxx_werror_flag"
70876 || test ! -s conftest.err'
70877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878 (eval $ac_try) 2>&5
70879 ac_status=$?
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); }; } &&
70882 { ac_try='test -s conftest.$ac_objext'
70883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70884 (eval $ac_try) 2>&5
70885 ac_status=$?
70886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70887 (exit $ac_status); }; }; then
70888 glibcxx_cv_func___builtin_fabs_use=yes
70889 else
70890 echo "$as_me: failed program was:" >&5
70891 sed 's/^/| /' conftest.$ac_ext >&5
70893 glibcxx_cv_func___builtin_fabs_use=no
70895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70896 ac_ext=c
70897 ac_cpp='$CPP $CPPFLAGS'
70898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70906 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70907 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70908 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70909 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70910 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70911 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70912 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70913 echo $ECHO_N "(cached) $ECHO_C" >&6
70914 else
70916 if test x$gcc_no_link = xyes; then
70917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70919 { (exit 1); exit 1; }; }
70921 cat >conftest.$ac_ext <<_ACEOF
70922 /* confdefs.h. */
70923 _ACEOF
70924 cat confdefs.h >>conftest.$ac_ext
70925 cat >>conftest.$ac_ext <<_ACEOF
70926 /* end confdefs.h. */
70927 #include <math.h>
70929 main ()
70931 __builtin_fabs(0);
70933 return 0;
70935 _ACEOF
70936 rm -f conftest.$ac_objext conftest$ac_exeext
70937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70938 (eval $ac_link) 2>conftest.er1
70939 ac_status=$?
70940 grep -v '^ *+' conftest.er1 >conftest.err
70941 rm -f conftest.er1
70942 cat conftest.err >&5
70943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70944 (exit $ac_status); } &&
70945 { ac_try='test -z "$ac_c_werror_flag"
70946 || test ! -s conftest.err'
70947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70948 (eval $ac_try) 2>&5
70949 ac_status=$?
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); }; } &&
70952 { ac_try='test -s conftest$ac_exeext'
70953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70954 (eval $ac_try) 2>&5
70955 ac_status=$?
70956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70957 (exit $ac_status); }; }; then
70958 glibcxx_cv_func___builtin_fabs_link=yes
70959 else
70960 echo "$as_me: failed program was:" >&5
70961 sed 's/^/| /' conftest.$ac_ext >&5
70963 glibcxx_cv_func___builtin_fabs_link=no
70965 rm -f conftest.err conftest.$ac_objext \
70966 conftest$ac_exeext conftest.$ac_ext
70971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70972 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70973 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70974 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70976 cat >>confdefs.h <<_ACEOF
70977 #define ${ac_tr_func} 1
70978 _ACEOF
70984 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70985 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70986 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70987 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70988 echo $ECHO_N "(cached) $ECHO_C" >&6
70989 else
70993 ac_ext=cc
70994 ac_cpp='$CXXCPP $CPPFLAGS'
70995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70999 cat >conftest.$ac_ext <<_ACEOF
71000 /* confdefs.h. */
71001 _ACEOF
71002 cat confdefs.h >>conftest.$ac_ext
71003 cat >>conftest.$ac_ext <<_ACEOF
71004 /* end confdefs.h. */
71005 #include <math.h>
71007 main ()
71009 __builtin_fabsl(0);
71011 return 0;
71013 _ACEOF
71014 rm -f conftest.$ac_objext
71015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71016 (eval $ac_compile) 2>conftest.er1
71017 ac_status=$?
71018 grep -v '^ *+' conftest.er1 >conftest.err
71019 rm -f conftest.er1
71020 cat conftest.err >&5
71021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71022 (exit $ac_status); } &&
71023 { ac_try='test -z "$ac_cxx_werror_flag"
71024 || test ! -s conftest.err'
71025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71026 (eval $ac_try) 2>&5
71027 ac_status=$?
71028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029 (exit $ac_status); }; } &&
71030 { ac_try='test -s conftest.$ac_objext'
71031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71032 (eval $ac_try) 2>&5
71033 ac_status=$?
71034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71035 (exit $ac_status); }; }; then
71036 glibcxx_cv_func___builtin_fabsl_use=yes
71037 else
71038 echo "$as_me: failed program was:" >&5
71039 sed 's/^/| /' conftest.$ac_ext >&5
71041 glibcxx_cv_func___builtin_fabsl_use=no
71043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71044 ac_ext=c
71045 ac_cpp='$CPP $CPPFLAGS'
71046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71054 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71055 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71056 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71057 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71058 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71059 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71060 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71061 echo $ECHO_N "(cached) $ECHO_C" >&6
71062 else
71064 if test x$gcc_no_link = xyes; then
71065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71067 { (exit 1); exit 1; }; }
71069 cat >conftest.$ac_ext <<_ACEOF
71070 /* confdefs.h. */
71071 _ACEOF
71072 cat confdefs.h >>conftest.$ac_ext
71073 cat >>conftest.$ac_ext <<_ACEOF
71074 /* end confdefs.h. */
71075 #include <math.h>
71077 main ()
71079 __builtin_fabsl(0);
71081 return 0;
71083 _ACEOF
71084 rm -f conftest.$ac_objext conftest$ac_exeext
71085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71086 (eval $ac_link) 2>conftest.er1
71087 ac_status=$?
71088 grep -v '^ *+' conftest.er1 >conftest.err
71089 rm -f conftest.er1
71090 cat conftest.err >&5
71091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71092 (exit $ac_status); } &&
71093 { ac_try='test -z "$ac_c_werror_flag"
71094 || test ! -s conftest.err'
71095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71096 (eval $ac_try) 2>&5
71097 ac_status=$?
71098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099 (exit $ac_status); }; } &&
71100 { ac_try='test -s conftest$ac_exeext'
71101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71102 (eval $ac_try) 2>&5
71103 ac_status=$?
71104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71105 (exit $ac_status); }; }; then
71106 glibcxx_cv_func___builtin_fabsl_link=yes
71107 else
71108 echo "$as_me: failed program was:" >&5
71109 sed 's/^/| /' conftest.$ac_ext >&5
71111 glibcxx_cv_func___builtin_fabsl_link=no
71113 rm -f conftest.err conftest.$ac_objext \
71114 conftest$ac_exeext conftest.$ac_ext
71119 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71120 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71121 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71122 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71124 cat >>confdefs.h <<_ACEOF
71125 #define ${ac_tr_func} 1
71126 _ACEOF
71132 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71133 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71134 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71135 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71136 echo $ECHO_N "(cached) $ECHO_C" >&6
71137 else
71141 ac_ext=cc
71142 ac_cpp='$CXXCPP $CPPFLAGS'
71143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71147 cat >conftest.$ac_ext <<_ACEOF
71148 /* confdefs.h. */
71149 _ACEOF
71150 cat confdefs.h >>conftest.$ac_ext
71151 cat >>conftest.$ac_ext <<_ACEOF
71152 /* end confdefs.h. */
71153 #include <math.h>
71155 main ()
71157 __builtin_labs(0);
71159 return 0;
71161 _ACEOF
71162 rm -f conftest.$ac_objext
71163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71164 (eval $ac_compile) 2>conftest.er1
71165 ac_status=$?
71166 grep -v '^ *+' conftest.er1 >conftest.err
71167 rm -f conftest.er1
71168 cat conftest.err >&5
71169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71170 (exit $ac_status); } &&
71171 { ac_try='test -z "$ac_cxx_werror_flag"
71172 || test ! -s conftest.err'
71173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71174 (eval $ac_try) 2>&5
71175 ac_status=$?
71176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71177 (exit $ac_status); }; } &&
71178 { ac_try='test -s conftest.$ac_objext'
71179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71180 (eval $ac_try) 2>&5
71181 ac_status=$?
71182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71183 (exit $ac_status); }; }; then
71184 glibcxx_cv_func___builtin_labs_use=yes
71185 else
71186 echo "$as_me: failed program was:" >&5
71187 sed 's/^/| /' conftest.$ac_ext >&5
71189 glibcxx_cv_func___builtin_labs_use=no
71191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71192 ac_ext=c
71193 ac_cpp='$CPP $CPPFLAGS'
71194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71203 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71204 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71205 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71206 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71207 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71208 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71209 echo $ECHO_N "(cached) $ECHO_C" >&6
71210 else
71212 if test x$gcc_no_link = xyes; then
71213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71215 { (exit 1); exit 1; }; }
71217 cat >conftest.$ac_ext <<_ACEOF
71218 /* confdefs.h. */
71219 _ACEOF
71220 cat confdefs.h >>conftest.$ac_ext
71221 cat >>conftest.$ac_ext <<_ACEOF
71222 /* end confdefs.h. */
71223 #include <math.h>
71225 main ()
71227 __builtin_labs(0);
71229 return 0;
71231 _ACEOF
71232 rm -f conftest.$ac_objext conftest$ac_exeext
71233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71234 (eval $ac_link) 2>conftest.er1
71235 ac_status=$?
71236 grep -v '^ *+' conftest.er1 >conftest.err
71237 rm -f conftest.er1
71238 cat conftest.err >&5
71239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71240 (exit $ac_status); } &&
71241 { ac_try='test -z "$ac_c_werror_flag"
71242 || test ! -s conftest.err'
71243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71244 (eval $ac_try) 2>&5
71245 ac_status=$?
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); }; } &&
71248 { ac_try='test -s conftest$ac_exeext'
71249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250 (eval $ac_try) 2>&5
71251 ac_status=$?
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); }; }; then
71254 glibcxx_cv_func___builtin_labs_link=yes
71255 else
71256 echo "$as_me: failed program was:" >&5
71257 sed 's/^/| /' conftest.$ac_ext >&5
71259 glibcxx_cv_func___builtin_labs_link=no
71261 rm -f conftest.err conftest.$ac_objext \
71262 conftest$ac_exeext conftest.$ac_ext
71267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71268 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71269 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71270 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71272 cat >>confdefs.h <<_ACEOF
71273 #define ${ac_tr_func} 1
71274 _ACEOF
71281 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71282 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71283 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71284 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71285 echo $ECHO_N "(cached) $ECHO_C" >&6
71286 else
71290 ac_ext=cc
71291 ac_cpp='$CXXCPP $CPPFLAGS'
71292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71296 cat >conftest.$ac_ext <<_ACEOF
71297 /* confdefs.h. */
71298 _ACEOF
71299 cat confdefs.h >>conftest.$ac_ext
71300 cat >>conftest.$ac_ext <<_ACEOF
71301 /* end confdefs.h. */
71302 #include <math.h>
71304 main ()
71306 __builtin_sqrtf(0);
71308 return 0;
71310 _ACEOF
71311 rm -f conftest.$ac_objext
71312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71313 (eval $ac_compile) 2>conftest.er1
71314 ac_status=$?
71315 grep -v '^ *+' conftest.er1 >conftest.err
71316 rm -f conftest.er1
71317 cat conftest.err >&5
71318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71319 (exit $ac_status); } &&
71320 { ac_try='test -z "$ac_cxx_werror_flag"
71321 || test ! -s conftest.err'
71322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71323 (eval $ac_try) 2>&5
71324 ac_status=$?
71325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71326 (exit $ac_status); }; } &&
71327 { ac_try='test -s conftest.$ac_objext'
71328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71329 (eval $ac_try) 2>&5
71330 ac_status=$?
71331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71332 (exit $ac_status); }; }; then
71333 glibcxx_cv_func___builtin_sqrtf_use=yes
71334 else
71335 echo "$as_me: failed program was:" >&5
71336 sed 's/^/| /' conftest.$ac_ext >&5
71338 glibcxx_cv_func___builtin_sqrtf_use=no
71340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71341 ac_ext=c
71342 ac_cpp='$CPP $CPPFLAGS'
71343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71351 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71352 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71353 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71354 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71355 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71356 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71357 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71358 echo $ECHO_N "(cached) $ECHO_C" >&6
71359 else
71361 if test x$gcc_no_link = xyes; then
71362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71364 { (exit 1); exit 1; }; }
71366 cat >conftest.$ac_ext <<_ACEOF
71367 /* confdefs.h. */
71368 _ACEOF
71369 cat confdefs.h >>conftest.$ac_ext
71370 cat >>conftest.$ac_ext <<_ACEOF
71371 /* end confdefs.h. */
71372 #include <math.h>
71374 main ()
71376 __builtin_sqrtf(0);
71378 return 0;
71380 _ACEOF
71381 rm -f conftest.$ac_objext conftest$ac_exeext
71382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71383 (eval $ac_link) 2>conftest.er1
71384 ac_status=$?
71385 grep -v '^ *+' conftest.er1 >conftest.err
71386 rm -f conftest.er1
71387 cat conftest.err >&5
71388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71389 (exit $ac_status); } &&
71390 { ac_try='test -z "$ac_c_werror_flag"
71391 || test ! -s conftest.err'
71392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71393 (eval $ac_try) 2>&5
71394 ac_status=$?
71395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71396 (exit $ac_status); }; } &&
71397 { ac_try='test -s conftest$ac_exeext'
71398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71399 (eval $ac_try) 2>&5
71400 ac_status=$?
71401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402 (exit $ac_status); }; }; then
71403 glibcxx_cv_func___builtin_sqrtf_link=yes
71404 else
71405 echo "$as_me: failed program was:" >&5
71406 sed 's/^/| /' conftest.$ac_ext >&5
71408 glibcxx_cv_func___builtin_sqrtf_link=no
71410 rm -f conftest.err conftest.$ac_objext \
71411 conftest$ac_exeext conftest.$ac_ext
71416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71417 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71418 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71419 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71421 cat >>confdefs.h <<_ACEOF
71422 #define ${ac_tr_func} 1
71423 _ACEOF
71429 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71430 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71431 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71432 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71433 echo $ECHO_N "(cached) $ECHO_C" >&6
71434 else
71438 ac_ext=cc
71439 ac_cpp='$CXXCPP $CPPFLAGS'
71440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71444 cat >conftest.$ac_ext <<_ACEOF
71445 /* confdefs.h. */
71446 _ACEOF
71447 cat confdefs.h >>conftest.$ac_ext
71448 cat >>conftest.$ac_ext <<_ACEOF
71449 /* end confdefs.h. */
71450 #include <math.h>
71452 main ()
71454 __builtin_sqrt(0);
71456 return 0;
71458 _ACEOF
71459 rm -f conftest.$ac_objext
71460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71461 (eval $ac_compile) 2>conftest.er1
71462 ac_status=$?
71463 grep -v '^ *+' conftest.er1 >conftest.err
71464 rm -f conftest.er1
71465 cat conftest.err >&5
71466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71467 (exit $ac_status); } &&
71468 { ac_try='test -z "$ac_cxx_werror_flag"
71469 || test ! -s conftest.err'
71470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71471 (eval $ac_try) 2>&5
71472 ac_status=$?
71473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71474 (exit $ac_status); }; } &&
71475 { ac_try='test -s conftest.$ac_objext'
71476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71477 (eval $ac_try) 2>&5
71478 ac_status=$?
71479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71480 (exit $ac_status); }; }; then
71481 glibcxx_cv_func___builtin_sqrt_use=yes
71482 else
71483 echo "$as_me: failed program was:" >&5
71484 sed 's/^/| /' conftest.$ac_ext >&5
71486 glibcxx_cv_func___builtin_sqrt_use=no
71488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71489 ac_ext=c
71490 ac_cpp='$CPP $CPPFLAGS'
71491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71500 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71501 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71502 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71503 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71504 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71505 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71506 echo $ECHO_N "(cached) $ECHO_C" >&6
71507 else
71509 if test x$gcc_no_link = xyes; then
71510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71512 { (exit 1); exit 1; }; }
71514 cat >conftest.$ac_ext <<_ACEOF
71515 /* confdefs.h. */
71516 _ACEOF
71517 cat confdefs.h >>conftest.$ac_ext
71518 cat >>conftest.$ac_ext <<_ACEOF
71519 /* end confdefs.h. */
71520 #include <math.h>
71522 main ()
71524 __builtin_sqrt(0);
71526 return 0;
71528 _ACEOF
71529 rm -f conftest.$ac_objext conftest$ac_exeext
71530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71531 (eval $ac_link) 2>conftest.er1
71532 ac_status=$?
71533 grep -v '^ *+' conftest.er1 >conftest.err
71534 rm -f conftest.er1
71535 cat conftest.err >&5
71536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71537 (exit $ac_status); } &&
71538 { ac_try='test -z "$ac_c_werror_flag"
71539 || test ! -s conftest.err'
71540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71541 (eval $ac_try) 2>&5
71542 ac_status=$?
71543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71544 (exit $ac_status); }; } &&
71545 { ac_try='test -s conftest$ac_exeext'
71546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71547 (eval $ac_try) 2>&5
71548 ac_status=$?
71549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71550 (exit $ac_status); }; }; then
71551 glibcxx_cv_func___builtin_sqrt_link=yes
71552 else
71553 echo "$as_me: failed program was:" >&5
71554 sed 's/^/| /' conftest.$ac_ext >&5
71556 glibcxx_cv_func___builtin_sqrt_link=no
71558 rm -f conftest.err conftest.$ac_objext \
71559 conftest$ac_exeext conftest.$ac_ext
71564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71565 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71566 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71567 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71569 cat >>confdefs.h <<_ACEOF
71570 #define ${ac_tr_func} 1
71571 _ACEOF
71577 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71578 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71579 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71580 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71581 echo $ECHO_N "(cached) $ECHO_C" >&6
71582 else
71586 ac_ext=cc
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71592 cat >conftest.$ac_ext <<_ACEOF
71593 /* confdefs.h. */
71594 _ACEOF
71595 cat confdefs.h >>conftest.$ac_ext
71596 cat >>conftest.$ac_ext <<_ACEOF
71597 /* end confdefs.h. */
71598 #include <math.h>
71600 main ()
71602 __builtin_sqrtl(0);
71604 return 0;
71606 _ACEOF
71607 rm -f conftest.$ac_objext
71608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71609 (eval $ac_compile) 2>conftest.er1
71610 ac_status=$?
71611 grep -v '^ *+' conftest.er1 >conftest.err
71612 rm -f conftest.er1
71613 cat conftest.err >&5
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); } &&
71616 { ac_try='test -z "$ac_cxx_werror_flag"
71617 || test ! -s conftest.err'
71618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71619 (eval $ac_try) 2>&5
71620 ac_status=$?
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); }; } &&
71623 { ac_try='test -s conftest.$ac_objext'
71624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625 (eval $ac_try) 2>&5
71626 ac_status=$?
71627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628 (exit $ac_status); }; }; then
71629 glibcxx_cv_func___builtin_sqrtl_use=yes
71630 else
71631 echo "$as_me: failed program was:" >&5
71632 sed 's/^/| /' conftest.$ac_ext >&5
71634 glibcxx_cv_func___builtin_sqrtl_use=no
71636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71637 ac_ext=c
71638 ac_cpp='$CPP $CPPFLAGS'
71639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71647 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71648 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71649 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71650 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71651 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71652 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71653 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71654 echo $ECHO_N "(cached) $ECHO_C" >&6
71655 else
71657 if test x$gcc_no_link = xyes; then
71658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71660 { (exit 1); exit 1; }; }
71662 cat >conftest.$ac_ext <<_ACEOF
71663 /* confdefs.h. */
71664 _ACEOF
71665 cat confdefs.h >>conftest.$ac_ext
71666 cat >>conftest.$ac_ext <<_ACEOF
71667 /* end confdefs.h. */
71668 #include <math.h>
71670 main ()
71672 __builtin_sqrtl(0);
71674 return 0;
71676 _ACEOF
71677 rm -f conftest.$ac_objext conftest$ac_exeext
71678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71679 (eval $ac_link) 2>conftest.er1
71680 ac_status=$?
71681 grep -v '^ *+' conftest.er1 >conftest.err
71682 rm -f conftest.er1
71683 cat conftest.err >&5
71684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71685 (exit $ac_status); } &&
71686 { ac_try='test -z "$ac_c_werror_flag"
71687 || test ! -s conftest.err'
71688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71689 (eval $ac_try) 2>&5
71690 ac_status=$?
71691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71692 (exit $ac_status); }; } &&
71693 { ac_try='test -s conftest$ac_exeext'
71694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71695 (eval $ac_try) 2>&5
71696 ac_status=$?
71697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71698 (exit $ac_status); }; }; then
71699 glibcxx_cv_func___builtin_sqrtl_link=yes
71700 else
71701 echo "$as_me: failed program was:" >&5
71702 sed 's/^/| /' conftest.$ac_ext >&5
71704 glibcxx_cv_func___builtin_sqrtl_link=no
71706 rm -f conftest.err conftest.$ac_objext \
71707 conftest$ac_exeext conftest.$ac_ext
71712 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71713 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71714 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71715 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71717 cat >>confdefs.h <<_ACEOF
71718 #define ${ac_tr_func} 1
71719 _ACEOF
71726 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71727 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71728 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71729 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71730 echo $ECHO_N "(cached) $ECHO_C" >&6
71731 else
71735 ac_ext=cc
71736 ac_cpp='$CXXCPP $CPPFLAGS'
71737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71741 cat >conftest.$ac_ext <<_ACEOF
71742 /* confdefs.h. */
71743 _ACEOF
71744 cat confdefs.h >>conftest.$ac_ext
71745 cat >>conftest.$ac_ext <<_ACEOF
71746 /* end confdefs.h. */
71747 #include <math.h>
71749 main ()
71751 __builtin_sinf(0);
71753 return 0;
71755 _ACEOF
71756 rm -f conftest.$ac_objext
71757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71758 (eval $ac_compile) 2>conftest.er1
71759 ac_status=$?
71760 grep -v '^ *+' conftest.er1 >conftest.err
71761 rm -f conftest.er1
71762 cat conftest.err >&5
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); } &&
71765 { ac_try='test -z "$ac_cxx_werror_flag"
71766 || test ! -s conftest.err'
71767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71768 (eval $ac_try) 2>&5
71769 ac_status=$?
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); }; } &&
71772 { ac_try='test -s conftest.$ac_objext'
71773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71774 (eval $ac_try) 2>&5
71775 ac_status=$?
71776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71777 (exit $ac_status); }; }; then
71778 glibcxx_cv_func___builtin_sinf_use=yes
71779 else
71780 echo "$as_me: failed program was:" >&5
71781 sed 's/^/| /' conftest.$ac_ext >&5
71783 glibcxx_cv_func___builtin_sinf_use=no
71785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71786 ac_ext=c
71787 ac_cpp='$CPP $CPPFLAGS'
71788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71797 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71798 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71799 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71800 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71801 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71802 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71803 echo $ECHO_N "(cached) $ECHO_C" >&6
71804 else
71806 if test x$gcc_no_link = xyes; then
71807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71809 { (exit 1); exit 1; }; }
71811 cat >conftest.$ac_ext <<_ACEOF
71812 /* confdefs.h. */
71813 _ACEOF
71814 cat confdefs.h >>conftest.$ac_ext
71815 cat >>conftest.$ac_ext <<_ACEOF
71816 /* end confdefs.h. */
71817 #include <math.h>
71819 main ()
71821 __builtin_sinf(0);
71823 return 0;
71825 _ACEOF
71826 rm -f conftest.$ac_objext conftest$ac_exeext
71827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71828 (eval $ac_link) 2>conftest.er1
71829 ac_status=$?
71830 grep -v '^ *+' conftest.er1 >conftest.err
71831 rm -f conftest.er1
71832 cat conftest.err >&5
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); } &&
71835 { ac_try='test -z "$ac_c_werror_flag"
71836 || test ! -s conftest.err'
71837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71838 (eval $ac_try) 2>&5
71839 ac_status=$?
71840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841 (exit $ac_status); }; } &&
71842 { ac_try='test -s conftest$ac_exeext'
71843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71844 (eval $ac_try) 2>&5
71845 ac_status=$?
71846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71847 (exit $ac_status); }; }; then
71848 glibcxx_cv_func___builtin_sinf_link=yes
71849 else
71850 echo "$as_me: failed program was:" >&5
71851 sed 's/^/| /' conftest.$ac_ext >&5
71853 glibcxx_cv_func___builtin_sinf_link=no
71855 rm -f conftest.err conftest.$ac_objext \
71856 conftest$ac_exeext conftest.$ac_ext
71861 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71862 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71863 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71864 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71866 cat >>confdefs.h <<_ACEOF
71867 #define ${ac_tr_func} 1
71868 _ACEOF
71874 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71875 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71876 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71877 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71878 echo $ECHO_N "(cached) $ECHO_C" >&6
71879 else
71883 ac_ext=cc
71884 ac_cpp='$CXXCPP $CPPFLAGS'
71885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71889 cat >conftest.$ac_ext <<_ACEOF
71890 /* confdefs.h. */
71891 _ACEOF
71892 cat confdefs.h >>conftest.$ac_ext
71893 cat >>conftest.$ac_ext <<_ACEOF
71894 /* end confdefs.h. */
71895 #include <math.h>
71897 main ()
71899 __builtin_sin(0);
71901 return 0;
71903 _ACEOF
71904 rm -f conftest.$ac_objext
71905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71906 (eval $ac_compile) 2>conftest.er1
71907 ac_status=$?
71908 grep -v '^ *+' conftest.er1 >conftest.err
71909 rm -f conftest.er1
71910 cat conftest.err >&5
71911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71912 (exit $ac_status); } &&
71913 { ac_try='test -z "$ac_cxx_werror_flag"
71914 || test ! -s conftest.err'
71915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71916 (eval $ac_try) 2>&5
71917 ac_status=$?
71918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71919 (exit $ac_status); }; } &&
71920 { ac_try='test -s conftest.$ac_objext'
71921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71922 (eval $ac_try) 2>&5
71923 ac_status=$?
71924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925 (exit $ac_status); }; }; then
71926 glibcxx_cv_func___builtin_sin_use=yes
71927 else
71928 echo "$as_me: failed program was:" >&5
71929 sed 's/^/| /' conftest.$ac_ext >&5
71931 glibcxx_cv_func___builtin_sin_use=no
71933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71934 ac_ext=c
71935 ac_cpp='$CPP $CPPFLAGS'
71936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71944 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71945 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71946 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71947 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71948 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71949 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71950 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71951 echo $ECHO_N "(cached) $ECHO_C" >&6
71952 else
71954 if test x$gcc_no_link = xyes; then
71955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71957 { (exit 1); exit 1; }; }
71959 cat >conftest.$ac_ext <<_ACEOF
71960 /* confdefs.h. */
71961 _ACEOF
71962 cat confdefs.h >>conftest.$ac_ext
71963 cat >>conftest.$ac_ext <<_ACEOF
71964 /* end confdefs.h. */
71965 #include <math.h>
71967 main ()
71969 __builtin_sin(0);
71971 return 0;
71973 _ACEOF
71974 rm -f conftest.$ac_objext conftest$ac_exeext
71975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71976 (eval $ac_link) 2>conftest.er1
71977 ac_status=$?
71978 grep -v '^ *+' conftest.er1 >conftest.err
71979 rm -f conftest.er1
71980 cat conftest.err >&5
71981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71982 (exit $ac_status); } &&
71983 { ac_try='test -z "$ac_c_werror_flag"
71984 || test ! -s conftest.err'
71985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986 (eval $ac_try) 2>&5
71987 ac_status=$?
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); }; } &&
71990 { ac_try='test -s conftest$ac_exeext'
71991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71992 (eval $ac_try) 2>&5
71993 ac_status=$?
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); }; }; then
71996 glibcxx_cv_func___builtin_sin_link=yes
71997 else
71998 echo "$as_me: failed program was:" >&5
71999 sed 's/^/| /' conftest.$ac_ext >&5
72001 glibcxx_cv_func___builtin_sin_link=no
72003 rm -f conftest.err conftest.$ac_objext \
72004 conftest$ac_exeext conftest.$ac_ext
72009 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72010 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72011 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72012 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72014 cat >>confdefs.h <<_ACEOF
72015 #define ${ac_tr_func} 1
72016 _ACEOF
72022 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72023 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72024 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72025 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72026 echo $ECHO_N "(cached) $ECHO_C" >&6
72027 else
72031 ac_ext=cc
72032 ac_cpp='$CXXCPP $CPPFLAGS'
72033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72037 cat >conftest.$ac_ext <<_ACEOF
72038 /* confdefs.h. */
72039 _ACEOF
72040 cat confdefs.h >>conftest.$ac_ext
72041 cat >>conftest.$ac_ext <<_ACEOF
72042 /* end confdefs.h. */
72043 #include <math.h>
72045 main ()
72047 __builtin_sinl(0);
72049 return 0;
72051 _ACEOF
72052 rm -f conftest.$ac_objext
72053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72054 (eval $ac_compile) 2>conftest.er1
72055 ac_status=$?
72056 grep -v '^ *+' conftest.er1 >conftest.err
72057 rm -f conftest.er1
72058 cat conftest.err >&5
72059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72060 (exit $ac_status); } &&
72061 { ac_try='test -z "$ac_cxx_werror_flag"
72062 || test ! -s conftest.err'
72063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72064 (eval $ac_try) 2>&5
72065 ac_status=$?
72066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067 (exit $ac_status); }; } &&
72068 { ac_try='test -s conftest.$ac_objext'
72069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72070 (eval $ac_try) 2>&5
72071 ac_status=$?
72072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72073 (exit $ac_status); }; }; then
72074 glibcxx_cv_func___builtin_sinl_use=yes
72075 else
72076 echo "$as_me: failed program was:" >&5
72077 sed 's/^/| /' conftest.$ac_ext >&5
72079 glibcxx_cv_func___builtin_sinl_use=no
72081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72082 ac_ext=c
72083 ac_cpp='$CPP $CPPFLAGS'
72084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72092 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72093 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72094 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72095 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72096 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72097 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72098 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72099 echo $ECHO_N "(cached) $ECHO_C" >&6
72100 else
72102 if test x$gcc_no_link = xyes; then
72103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72105 { (exit 1); exit 1; }; }
72107 cat >conftest.$ac_ext <<_ACEOF
72108 /* confdefs.h. */
72109 _ACEOF
72110 cat confdefs.h >>conftest.$ac_ext
72111 cat >>conftest.$ac_ext <<_ACEOF
72112 /* end confdefs.h. */
72113 #include <math.h>
72115 main ()
72117 __builtin_sinl(0);
72119 return 0;
72121 _ACEOF
72122 rm -f conftest.$ac_objext conftest$ac_exeext
72123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72124 (eval $ac_link) 2>conftest.er1
72125 ac_status=$?
72126 grep -v '^ *+' conftest.er1 >conftest.err
72127 rm -f conftest.er1
72128 cat conftest.err >&5
72129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72130 (exit $ac_status); } &&
72131 { ac_try='test -z "$ac_c_werror_flag"
72132 || test ! -s conftest.err'
72133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72134 (eval $ac_try) 2>&5
72135 ac_status=$?
72136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72137 (exit $ac_status); }; } &&
72138 { ac_try='test -s conftest$ac_exeext'
72139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72140 (eval $ac_try) 2>&5
72141 ac_status=$?
72142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72143 (exit $ac_status); }; }; then
72144 glibcxx_cv_func___builtin_sinl_link=yes
72145 else
72146 echo "$as_me: failed program was:" >&5
72147 sed 's/^/| /' conftest.$ac_ext >&5
72149 glibcxx_cv_func___builtin_sinl_link=no
72151 rm -f conftest.err conftest.$ac_objext \
72152 conftest$ac_exeext conftest.$ac_ext
72157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72159 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72160 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72162 cat >>confdefs.h <<_ACEOF
72163 #define ${ac_tr_func} 1
72164 _ACEOF
72171 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72172 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72173 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72174 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72175 echo $ECHO_N "(cached) $ECHO_C" >&6
72176 else
72180 ac_ext=cc
72181 ac_cpp='$CXXCPP $CPPFLAGS'
72182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72186 cat >conftest.$ac_ext <<_ACEOF
72187 /* confdefs.h. */
72188 _ACEOF
72189 cat confdefs.h >>conftest.$ac_ext
72190 cat >>conftest.$ac_ext <<_ACEOF
72191 /* end confdefs.h. */
72192 #include <math.h>
72194 main ()
72196 __builtin_cosf(0);
72198 return 0;
72200 _ACEOF
72201 rm -f conftest.$ac_objext
72202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72203 (eval $ac_compile) 2>conftest.er1
72204 ac_status=$?
72205 grep -v '^ *+' conftest.er1 >conftest.err
72206 rm -f conftest.er1
72207 cat conftest.err >&5
72208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72209 (exit $ac_status); } &&
72210 { ac_try='test -z "$ac_cxx_werror_flag"
72211 || test ! -s conftest.err'
72212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72213 (eval $ac_try) 2>&5
72214 ac_status=$?
72215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72216 (exit $ac_status); }; } &&
72217 { ac_try='test -s conftest.$ac_objext'
72218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72219 (eval $ac_try) 2>&5
72220 ac_status=$?
72221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72222 (exit $ac_status); }; }; then
72223 glibcxx_cv_func___builtin_cosf_use=yes
72224 else
72225 echo "$as_me: failed program was:" >&5
72226 sed 's/^/| /' conftest.$ac_ext >&5
72228 glibcxx_cv_func___builtin_cosf_use=no
72230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72231 ac_ext=c
72232 ac_cpp='$CPP $CPPFLAGS'
72233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72242 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72243 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72244 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72245 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72246 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72247 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72248 echo $ECHO_N "(cached) $ECHO_C" >&6
72249 else
72251 if test x$gcc_no_link = xyes; then
72252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72254 { (exit 1); exit 1; }; }
72256 cat >conftest.$ac_ext <<_ACEOF
72257 /* confdefs.h. */
72258 _ACEOF
72259 cat confdefs.h >>conftest.$ac_ext
72260 cat >>conftest.$ac_ext <<_ACEOF
72261 /* end confdefs.h. */
72262 #include <math.h>
72264 main ()
72266 __builtin_cosf(0);
72268 return 0;
72270 _ACEOF
72271 rm -f conftest.$ac_objext conftest$ac_exeext
72272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72273 (eval $ac_link) 2>conftest.er1
72274 ac_status=$?
72275 grep -v '^ *+' conftest.er1 >conftest.err
72276 rm -f conftest.er1
72277 cat conftest.err >&5
72278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72279 (exit $ac_status); } &&
72280 { ac_try='test -z "$ac_c_werror_flag"
72281 || test ! -s conftest.err'
72282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72283 (eval $ac_try) 2>&5
72284 ac_status=$?
72285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286 (exit $ac_status); }; } &&
72287 { ac_try='test -s conftest$ac_exeext'
72288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72289 (eval $ac_try) 2>&5
72290 ac_status=$?
72291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72292 (exit $ac_status); }; }; then
72293 glibcxx_cv_func___builtin_cosf_link=yes
72294 else
72295 echo "$as_me: failed program was:" >&5
72296 sed 's/^/| /' conftest.$ac_ext >&5
72298 glibcxx_cv_func___builtin_cosf_link=no
72300 rm -f conftest.err conftest.$ac_objext \
72301 conftest$ac_exeext conftest.$ac_ext
72306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72307 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72308 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72309 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72311 cat >>confdefs.h <<_ACEOF
72312 #define ${ac_tr_func} 1
72313 _ACEOF
72319 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72320 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72321 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72322 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72323 echo $ECHO_N "(cached) $ECHO_C" >&6
72324 else
72328 ac_ext=cc
72329 ac_cpp='$CXXCPP $CPPFLAGS'
72330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72334 cat >conftest.$ac_ext <<_ACEOF
72335 /* confdefs.h. */
72336 _ACEOF
72337 cat confdefs.h >>conftest.$ac_ext
72338 cat >>conftest.$ac_ext <<_ACEOF
72339 /* end confdefs.h. */
72340 #include <math.h>
72342 main ()
72344 __builtin_cos(0);
72346 return 0;
72348 _ACEOF
72349 rm -f conftest.$ac_objext
72350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72351 (eval $ac_compile) 2>conftest.er1
72352 ac_status=$?
72353 grep -v '^ *+' conftest.er1 >conftest.err
72354 rm -f conftest.er1
72355 cat conftest.err >&5
72356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72357 (exit $ac_status); } &&
72358 { ac_try='test -z "$ac_cxx_werror_flag"
72359 || test ! -s conftest.err'
72360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72361 (eval $ac_try) 2>&5
72362 ac_status=$?
72363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72364 (exit $ac_status); }; } &&
72365 { ac_try='test -s conftest.$ac_objext'
72366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72367 (eval $ac_try) 2>&5
72368 ac_status=$?
72369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72370 (exit $ac_status); }; }; then
72371 glibcxx_cv_func___builtin_cos_use=yes
72372 else
72373 echo "$as_me: failed program was:" >&5
72374 sed 's/^/| /' conftest.$ac_ext >&5
72376 glibcxx_cv_func___builtin_cos_use=no
72378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72379 ac_ext=c
72380 ac_cpp='$CPP $CPPFLAGS'
72381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72390 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72391 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72392 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72393 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72394 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72395 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72396 echo $ECHO_N "(cached) $ECHO_C" >&6
72397 else
72399 if test x$gcc_no_link = xyes; then
72400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72402 { (exit 1); exit 1; }; }
72404 cat >conftest.$ac_ext <<_ACEOF
72405 /* confdefs.h. */
72406 _ACEOF
72407 cat confdefs.h >>conftest.$ac_ext
72408 cat >>conftest.$ac_ext <<_ACEOF
72409 /* end confdefs.h. */
72410 #include <math.h>
72412 main ()
72414 __builtin_cos(0);
72416 return 0;
72418 _ACEOF
72419 rm -f conftest.$ac_objext conftest$ac_exeext
72420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72421 (eval $ac_link) 2>conftest.er1
72422 ac_status=$?
72423 grep -v '^ *+' conftest.er1 >conftest.err
72424 rm -f conftest.er1
72425 cat conftest.err >&5
72426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72427 (exit $ac_status); } &&
72428 { ac_try='test -z "$ac_c_werror_flag"
72429 || test ! -s conftest.err'
72430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72431 (eval $ac_try) 2>&5
72432 ac_status=$?
72433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72434 (exit $ac_status); }; } &&
72435 { ac_try='test -s conftest$ac_exeext'
72436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72437 (eval $ac_try) 2>&5
72438 ac_status=$?
72439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72440 (exit $ac_status); }; }; then
72441 glibcxx_cv_func___builtin_cos_link=yes
72442 else
72443 echo "$as_me: failed program was:" >&5
72444 sed 's/^/| /' conftest.$ac_ext >&5
72446 glibcxx_cv_func___builtin_cos_link=no
72448 rm -f conftest.err conftest.$ac_objext \
72449 conftest$ac_exeext conftest.$ac_ext
72454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72455 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72456 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72457 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72459 cat >>confdefs.h <<_ACEOF
72460 #define ${ac_tr_func} 1
72461 _ACEOF
72467 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72468 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72469 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72470 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72471 echo $ECHO_N "(cached) $ECHO_C" >&6
72472 else
72476 ac_ext=cc
72477 ac_cpp='$CXXCPP $CPPFLAGS'
72478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72482 cat >conftest.$ac_ext <<_ACEOF
72483 /* confdefs.h. */
72484 _ACEOF
72485 cat confdefs.h >>conftest.$ac_ext
72486 cat >>conftest.$ac_ext <<_ACEOF
72487 /* end confdefs.h. */
72488 #include <math.h>
72490 main ()
72492 __builtin_cosl(0);
72494 return 0;
72496 _ACEOF
72497 rm -f conftest.$ac_objext
72498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72499 (eval $ac_compile) 2>conftest.er1
72500 ac_status=$?
72501 grep -v '^ *+' conftest.er1 >conftest.err
72502 rm -f conftest.er1
72503 cat conftest.err >&5
72504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72505 (exit $ac_status); } &&
72506 { ac_try='test -z "$ac_cxx_werror_flag"
72507 || test ! -s conftest.err'
72508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72509 (eval $ac_try) 2>&5
72510 ac_status=$?
72511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72512 (exit $ac_status); }; } &&
72513 { ac_try='test -s conftest.$ac_objext'
72514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72515 (eval $ac_try) 2>&5
72516 ac_status=$?
72517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72518 (exit $ac_status); }; }; then
72519 glibcxx_cv_func___builtin_cosl_use=yes
72520 else
72521 echo "$as_me: failed program was:" >&5
72522 sed 's/^/| /' conftest.$ac_ext >&5
72524 glibcxx_cv_func___builtin_cosl_use=no
72526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72527 ac_ext=c
72528 ac_cpp='$CPP $CPPFLAGS'
72529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72538 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72539 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72540 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72541 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72542 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72543 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72544 echo $ECHO_N "(cached) $ECHO_C" >&6
72545 else
72547 if test x$gcc_no_link = xyes; then
72548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72550 { (exit 1); exit 1; }; }
72552 cat >conftest.$ac_ext <<_ACEOF
72553 /* confdefs.h. */
72554 _ACEOF
72555 cat confdefs.h >>conftest.$ac_ext
72556 cat >>conftest.$ac_ext <<_ACEOF
72557 /* end confdefs.h. */
72558 #include <math.h>
72560 main ()
72562 __builtin_cosl(0);
72564 return 0;
72566 _ACEOF
72567 rm -f conftest.$ac_objext conftest$ac_exeext
72568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72569 (eval $ac_link) 2>conftest.er1
72570 ac_status=$?
72571 grep -v '^ *+' conftest.er1 >conftest.err
72572 rm -f conftest.er1
72573 cat conftest.err >&5
72574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575 (exit $ac_status); } &&
72576 { ac_try='test -z "$ac_c_werror_flag"
72577 || test ! -s conftest.err'
72578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72579 (eval $ac_try) 2>&5
72580 ac_status=$?
72581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582 (exit $ac_status); }; } &&
72583 { ac_try='test -s conftest$ac_exeext'
72584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72585 (eval $ac_try) 2>&5
72586 ac_status=$?
72587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72588 (exit $ac_status); }; }; then
72589 glibcxx_cv_func___builtin_cosl_link=yes
72590 else
72591 echo "$as_me: failed program was:" >&5
72592 sed 's/^/| /' conftest.$ac_ext >&5
72594 glibcxx_cv_func___builtin_cosl_link=no
72596 rm -f conftest.err conftest.$ac_objext \
72597 conftest$ac_exeext conftest.$ac_ext
72602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72603 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72604 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72605 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72607 cat >>confdefs.h <<_ACEOF
72608 #define ${ac_tr_func} 1
72609 _ACEOF
72617 echo "$as_me:$LINENO: checking for main in -lm" >&5
72618 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72619 if test "${ac_cv_lib_m_main+set}" = set; then
72620 echo $ECHO_N "(cached) $ECHO_C" >&6
72621 else
72622 ac_check_lib_save_LIBS=$LIBS
72623 LIBS="-lm $LIBS"
72624 if test x$gcc_no_link = xyes; then
72625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72627 { (exit 1); exit 1; }; }
72629 cat >conftest.$ac_ext <<_ACEOF
72630 /* confdefs.h. */
72631 _ACEOF
72632 cat confdefs.h >>conftest.$ac_ext
72633 cat >>conftest.$ac_ext <<_ACEOF
72634 /* end confdefs.h. */
72638 main ()
72640 main ();
72642 return 0;
72644 _ACEOF
72645 rm -f conftest.$ac_objext conftest$ac_exeext
72646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72647 (eval $ac_link) 2>conftest.er1
72648 ac_status=$?
72649 grep -v '^ *+' conftest.er1 >conftest.err
72650 rm -f conftest.er1
72651 cat conftest.err >&5
72652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72653 (exit $ac_status); } &&
72654 { ac_try='test -z "$ac_c_werror_flag"
72655 || test ! -s conftest.err'
72656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72657 (eval $ac_try) 2>&5
72658 ac_status=$?
72659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72660 (exit $ac_status); }; } &&
72661 { ac_try='test -s conftest$ac_exeext'
72662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72663 (eval $ac_try) 2>&5
72664 ac_status=$?
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); }; }; then
72667 ac_cv_lib_m_main=yes
72668 else
72669 echo "$as_me: failed program was:" >&5
72670 sed 's/^/| /' conftest.$ac_ext >&5
72672 ac_cv_lib_m_main=no
72674 rm -f conftest.err conftest.$ac_objext \
72675 conftest$ac_exeext conftest.$ac_ext
72676 LIBS=$ac_check_lib_save_LIBS
72678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72679 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72680 if test $ac_cv_lib_m_main = yes; then
72681 cat >>confdefs.h <<_ACEOF
72682 #define HAVE_LIBM 1
72683 _ACEOF
72685 LIBS="-lm $LIBS"
72690 for ac_func in copysignf
72692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72693 echo "$as_me:$LINENO: checking for $ac_func" >&5
72694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72695 if eval "test \"\${$as_ac_var+set}\" = set"; then
72696 echo $ECHO_N "(cached) $ECHO_C" >&6
72697 else
72698 if test x$gcc_no_link = xyes; then
72699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72701 { (exit 1); exit 1; }; }
72703 cat >conftest.$ac_ext <<_ACEOF
72704 /* confdefs.h. */
72705 _ACEOF
72706 cat confdefs.h >>conftest.$ac_ext
72707 cat >>conftest.$ac_ext <<_ACEOF
72708 /* end confdefs.h. */
72709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72711 #define $ac_func innocuous_$ac_func
72713 /* System header to define __stub macros and hopefully few prototypes,
72714 which can conflict with char $ac_func (); below.
72715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72716 <limits.h> exists even on freestanding compilers. */
72718 #ifdef __STDC__
72719 # include <limits.h>
72720 #else
72721 # include <assert.h>
72722 #endif
72724 #undef $ac_func
72726 /* Override any gcc2 internal prototype to avoid an error. */
72727 #ifdef __cplusplus
72728 extern "C"
72730 #endif
72731 /* We use char because int might match the return type of a gcc2
72732 builtin and then its argument prototype would still apply. */
72733 char $ac_func ();
72734 /* The GNU C library defines this for functions which it implements
72735 to always fail with ENOSYS. Some functions are actually named
72736 something starting with __ and the normal name is an alias. */
72737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72738 choke me
72739 #else
72740 char (*f) () = $ac_func;
72741 #endif
72742 #ifdef __cplusplus
72744 #endif
72747 main ()
72749 return f != $ac_func;
72751 return 0;
72753 _ACEOF
72754 rm -f conftest.$ac_objext conftest$ac_exeext
72755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72756 (eval $ac_link) 2>conftest.er1
72757 ac_status=$?
72758 grep -v '^ *+' conftest.er1 >conftest.err
72759 rm -f conftest.er1
72760 cat conftest.err >&5
72761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72762 (exit $ac_status); } &&
72763 { ac_try='test -z "$ac_c_werror_flag"
72764 || test ! -s conftest.err'
72765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72766 (eval $ac_try) 2>&5
72767 ac_status=$?
72768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769 (exit $ac_status); }; } &&
72770 { ac_try='test -s conftest$ac_exeext'
72771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72772 (eval $ac_try) 2>&5
72773 ac_status=$?
72774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72775 (exit $ac_status); }; }; then
72776 eval "$as_ac_var=yes"
72777 else
72778 echo "$as_me: failed program was:" >&5
72779 sed 's/^/| /' conftest.$ac_ext >&5
72781 eval "$as_ac_var=no"
72783 rm -f conftest.err conftest.$ac_objext \
72784 conftest$ac_exeext conftest.$ac_ext
72786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72788 if test `eval echo '${'$as_ac_var'}'` = yes; then
72789 cat >>confdefs.h <<_ACEOF
72790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72791 _ACEOF
72793 else
72794 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72796 done
72800 for ac_func in __signbit
72802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72803 echo "$as_me:$LINENO: checking for $ac_func" >&5
72804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72805 if eval "test \"\${$as_ac_var+set}\" = set"; then
72806 echo $ECHO_N "(cached) $ECHO_C" >&6
72807 else
72808 if test x$gcc_no_link = xyes; then
72809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72811 { (exit 1); exit 1; }; }
72813 cat >conftest.$ac_ext <<_ACEOF
72814 /* confdefs.h. */
72815 _ACEOF
72816 cat confdefs.h >>conftest.$ac_ext
72817 cat >>conftest.$ac_ext <<_ACEOF
72818 /* end confdefs.h. */
72819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72821 #define $ac_func innocuous_$ac_func
72823 /* System header to define __stub macros and hopefully few prototypes,
72824 which can conflict with char $ac_func (); below.
72825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72826 <limits.h> exists even on freestanding compilers. */
72828 #ifdef __STDC__
72829 # include <limits.h>
72830 #else
72831 # include <assert.h>
72832 #endif
72834 #undef $ac_func
72836 /* Override any gcc2 internal prototype to avoid an error. */
72837 #ifdef __cplusplus
72838 extern "C"
72840 #endif
72841 /* We use char because int might match the return type of a gcc2
72842 builtin and then its argument prototype would still apply. */
72843 char $ac_func ();
72844 /* The GNU C library defines this for functions which it implements
72845 to always fail with ENOSYS. Some functions are actually named
72846 something starting with __ and the normal name is an alias. */
72847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72848 choke me
72849 #else
72850 char (*f) () = $ac_func;
72851 #endif
72852 #ifdef __cplusplus
72854 #endif
72857 main ()
72859 return f != $ac_func;
72861 return 0;
72863 _ACEOF
72864 rm -f conftest.$ac_objext conftest$ac_exeext
72865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72866 (eval $ac_link) 2>conftest.er1
72867 ac_status=$?
72868 grep -v '^ *+' conftest.er1 >conftest.err
72869 rm -f conftest.er1
72870 cat conftest.err >&5
72871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72872 (exit $ac_status); } &&
72873 { ac_try='test -z "$ac_c_werror_flag"
72874 || test ! -s conftest.err'
72875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72876 (eval $ac_try) 2>&5
72877 ac_status=$?
72878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72879 (exit $ac_status); }; } &&
72880 { ac_try='test -s conftest$ac_exeext'
72881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72882 (eval $ac_try) 2>&5
72883 ac_status=$?
72884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72885 (exit $ac_status); }; }; then
72886 eval "$as_ac_var=yes"
72887 else
72888 echo "$as_me: failed program was:" >&5
72889 sed 's/^/| /' conftest.$ac_ext >&5
72891 eval "$as_ac_var=no"
72893 rm -f conftest.err conftest.$ac_objext \
72894 conftest$ac_exeext conftest.$ac_ext
72896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72898 if test `eval echo '${'$as_ac_var'}'` = yes; then
72899 cat >>confdefs.h <<_ACEOF
72900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72901 _ACEOF
72903 else
72904 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72906 done
72910 for ac_func in __signbitf
72912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72913 echo "$as_me:$LINENO: checking for $ac_func" >&5
72914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72915 if eval "test \"\${$as_ac_var+set}\" = set"; then
72916 echo $ECHO_N "(cached) $ECHO_C" >&6
72917 else
72918 if test x$gcc_no_link = xyes; then
72919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72921 { (exit 1); exit 1; }; }
72923 cat >conftest.$ac_ext <<_ACEOF
72924 /* confdefs.h. */
72925 _ACEOF
72926 cat confdefs.h >>conftest.$ac_ext
72927 cat >>conftest.$ac_ext <<_ACEOF
72928 /* end confdefs.h. */
72929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72931 #define $ac_func innocuous_$ac_func
72933 /* System header to define __stub macros and hopefully few prototypes,
72934 which can conflict with char $ac_func (); below.
72935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72936 <limits.h> exists even on freestanding compilers. */
72938 #ifdef __STDC__
72939 # include <limits.h>
72940 #else
72941 # include <assert.h>
72942 #endif
72944 #undef $ac_func
72946 /* Override any gcc2 internal prototype to avoid an error. */
72947 #ifdef __cplusplus
72948 extern "C"
72950 #endif
72951 /* We use char because int might match the return type of a gcc2
72952 builtin and then its argument prototype would still apply. */
72953 char $ac_func ();
72954 /* The GNU C library defines this for functions which it implements
72955 to always fail with ENOSYS. Some functions are actually named
72956 something starting with __ and the normal name is an alias. */
72957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72958 choke me
72959 #else
72960 char (*f) () = $ac_func;
72961 #endif
72962 #ifdef __cplusplus
72964 #endif
72967 main ()
72969 return f != $ac_func;
72971 return 0;
72973 _ACEOF
72974 rm -f conftest.$ac_objext conftest$ac_exeext
72975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72976 (eval $ac_link) 2>conftest.er1
72977 ac_status=$?
72978 grep -v '^ *+' conftest.er1 >conftest.err
72979 rm -f conftest.er1
72980 cat conftest.err >&5
72981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72982 (exit $ac_status); } &&
72983 { ac_try='test -z "$ac_c_werror_flag"
72984 || test ! -s conftest.err'
72985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72986 (eval $ac_try) 2>&5
72987 ac_status=$?
72988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72989 (exit $ac_status); }; } &&
72990 { ac_try='test -s conftest$ac_exeext'
72991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72992 (eval $ac_try) 2>&5
72993 ac_status=$?
72994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72995 (exit $ac_status); }; }; then
72996 eval "$as_ac_var=yes"
72997 else
72998 echo "$as_me: failed program was:" >&5
72999 sed 's/^/| /' conftest.$ac_ext >&5
73001 eval "$as_ac_var=no"
73003 rm -f conftest.err conftest.$ac_objext \
73004 conftest$ac_exeext conftest.$ac_ext
73006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73008 if test `eval echo '${'$as_ac_var'}'` = yes; then
73009 cat >>confdefs.h <<_ACEOF
73010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73011 _ACEOF
73013 else
73014 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73016 done
73019 if test x$ac_cv_func_copysignl = x"yes"; then
73021 for ac_func in __signbitl
73023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73024 echo "$as_me:$LINENO: checking for $ac_func" >&5
73025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73026 if eval "test \"\${$as_ac_var+set}\" = set"; then
73027 echo $ECHO_N "(cached) $ECHO_C" >&6
73028 else
73029 if test x$gcc_no_link = xyes; then
73030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73032 { (exit 1); exit 1; }; }
73034 cat >conftest.$ac_ext <<_ACEOF
73035 /* confdefs.h. */
73036 _ACEOF
73037 cat confdefs.h >>conftest.$ac_ext
73038 cat >>conftest.$ac_ext <<_ACEOF
73039 /* end confdefs.h. */
73040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73042 #define $ac_func innocuous_$ac_func
73044 /* System header to define __stub macros and hopefully few prototypes,
73045 which can conflict with char $ac_func (); below.
73046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73047 <limits.h> exists even on freestanding compilers. */
73049 #ifdef __STDC__
73050 # include <limits.h>
73051 #else
73052 # include <assert.h>
73053 #endif
73055 #undef $ac_func
73057 /* Override any gcc2 internal prototype to avoid an error. */
73058 #ifdef __cplusplus
73059 extern "C"
73061 #endif
73062 /* We use char because int might match the return type of a gcc2
73063 builtin and then its argument prototype would still apply. */
73064 char $ac_func ();
73065 /* The GNU C library defines this for functions which it implements
73066 to always fail with ENOSYS. Some functions are actually named
73067 something starting with __ and the normal name is an alias. */
73068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73069 choke me
73070 #else
73071 char (*f) () = $ac_func;
73072 #endif
73073 #ifdef __cplusplus
73075 #endif
73078 main ()
73080 return f != $ac_func;
73082 return 0;
73084 _ACEOF
73085 rm -f conftest.$ac_objext conftest$ac_exeext
73086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73087 (eval $ac_link) 2>conftest.er1
73088 ac_status=$?
73089 grep -v '^ *+' conftest.er1 >conftest.err
73090 rm -f conftest.er1
73091 cat conftest.err >&5
73092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73093 (exit $ac_status); } &&
73094 { ac_try='test -z "$ac_c_werror_flag"
73095 || test ! -s conftest.err'
73096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73097 (eval $ac_try) 2>&5
73098 ac_status=$?
73099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73100 (exit $ac_status); }; } &&
73101 { ac_try='test -s conftest$ac_exeext'
73102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73103 (eval $ac_try) 2>&5
73104 ac_status=$?
73105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73106 (exit $ac_status); }; }; then
73107 eval "$as_ac_var=yes"
73108 else
73109 echo "$as_me: failed program was:" >&5
73110 sed 's/^/| /' conftest.$ac_ext >&5
73112 eval "$as_ac_var=no"
73114 rm -f conftest.err conftest.$ac_objext \
73115 conftest$ac_exeext conftest.$ac_ext
73117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73119 if test `eval echo '${'$as_ac_var'}'` = yes; then
73120 cat >>confdefs.h <<_ACEOF
73121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73122 _ACEOF
73124 else
73125 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73127 done
73131 # Used in libmath/Makefile.am.
73132 if test -n "$LIBMATHOBJS"; then
73133 need_libmath=yes
73138 # Test wchar.h for mbstate_t, which is needed for char_traits and
73139 # others even if wchar_t support is not on.
73140 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73141 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73142 cat >conftest.$ac_ext <<_ACEOF
73143 /* confdefs.h. */
73144 _ACEOF
73145 cat confdefs.h >>conftest.$ac_ext
73146 cat >>conftest.$ac_ext <<_ACEOF
73147 /* end confdefs.h. */
73148 #include <wchar.h>
73150 main ()
73152 mbstate_t teststate;
73154 return 0;
73156 _ACEOF
73157 rm -f conftest.$ac_objext
73158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73159 (eval $ac_compile) 2>conftest.er1
73160 ac_status=$?
73161 grep -v '^ *+' conftest.er1 >conftest.err
73162 rm -f conftest.er1
73163 cat conftest.err >&5
73164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73165 (exit $ac_status); } &&
73166 { ac_try='test -z "$ac_c_werror_flag"
73167 || test ! -s conftest.err'
73168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73169 (eval $ac_try) 2>&5
73170 ac_status=$?
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); }; } &&
73173 { ac_try='test -s conftest.$ac_objext'
73174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73175 (eval $ac_try) 2>&5
73176 ac_status=$?
73177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73178 (exit $ac_status); }; }; then
73179 have_mbstate_t=yes
73180 else
73181 echo "$as_me: failed program was:" >&5
73182 sed 's/^/| /' conftest.$ac_ext >&5
73184 have_mbstate_t=no
73186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73187 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73188 echo "${ECHO_T}$have_mbstate_t" >&6
73189 if test x"$have_mbstate_t" = xyes; then
73190 cat >>confdefs.h <<\_ACEOF
73191 #define HAVE_MBSTATE_T 1
73192 _ACEOF
73196 # Sanity check for existence of ISO C99 headers for extended encoding.
73198 for ac_header in wchar.h
73200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73202 echo "$as_me:$LINENO: checking for $ac_header" >&5
73203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73205 echo $ECHO_N "(cached) $ECHO_C" >&6
73207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73209 else
73210 # Is the header compilable?
73211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73213 cat >conftest.$ac_ext <<_ACEOF
73214 /* confdefs.h. */
73215 _ACEOF
73216 cat confdefs.h >>conftest.$ac_ext
73217 cat >>conftest.$ac_ext <<_ACEOF
73218 /* end confdefs.h. */
73219 $ac_includes_default
73220 #include <$ac_header>
73221 _ACEOF
73222 rm -f conftest.$ac_objext
73223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73224 (eval $ac_compile) 2>conftest.er1
73225 ac_status=$?
73226 grep -v '^ *+' conftest.er1 >conftest.err
73227 rm -f conftest.er1
73228 cat conftest.err >&5
73229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73230 (exit $ac_status); } &&
73231 { ac_try='test -z "$ac_c_werror_flag"
73232 || test ! -s conftest.err'
73233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73234 (eval $ac_try) 2>&5
73235 ac_status=$?
73236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73237 (exit $ac_status); }; } &&
73238 { ac_try='test -s conftest.$ac_objext'
73239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73240 (eval $ac_try) 2>&5
73241 ac_status=$?
73242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73243 (exit $ac_status); }; }; then
73244 ac_header_compiler=yes
73245 else
73246 echo "$as_me: failed program was:" >&5
73247 sed 's/^/| /' conftest.$ac_ext >&5
73249 ac_header_compiler=no
73251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73253 echo "${ECHO_T}$ac_header_compiler" >&6
73255 # Is the header present?
73256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73258 cat >conftest.$ac_ext <<_ACEOF
73259 /* confdefs.h. */
73260 _ACEOF
73261 cat confdefs.h >>conftest.$ac_ext
73262 cat >>conftest.$ac_ext <<_ACEOF
73263 /* end confdefs.h. */
73264 #include <$ac_header>
73265 _ACEOF
73266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73268 ac_status=$?
73269 grep -v '^ *+' conftest.er1 >conftest.err
73270 rm -f conftest.er1
73271 cat conftest.err >&5
73272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73273 (exit $ac_status); } >/dev/null; then
73274 if test -s conftest.err; then
73275 ac_cpp_err=$ac_c_preproc_warn_flag
73276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73277 else
73278 ac_cpp_err=
73280 else
73281 ac_cpp_err=yes
73283 if test -z "$ac_cpp_err"; then
73284 ac_header_preproc=yes
73285 else
73286 echo "$as_me: failed program was:" >&5
73287 sed 's/^/| /' conftest.$ac_ext >&5
73289 ac_header_preproc=no
73291 rm -f conftest.err conftest.$ac_ext
73292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73293 echo "${ECHO_T}$ac_header_preproc" >&6
73295 # So? What about this header?
73296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73297 yes:no: )
73298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73302 ac_header_preproc=yes
73304 no:yes:* )
73305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73318 cat <<\_ASBOX
73319 ## ----------------------------------------- ##
73320 ## Report this to the package-unused lists. ##
73321 ## ----------------------------------------- ##
73322 _ASBOX
73324 sed "s/^/$as_me: WARNING: /" >&2
73326 esac
73327 echo "$as_me:$LINENO: checking for $ac_header" >&5
73328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73330 echo $ECHO_N "(cached) $ECHO_C" >&6
73331 else
73332 eval "$as_ac_Header=\$ac_header_preproc"
73334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73339 cat >>confdefs.h <<_ACEOF
73340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73341 _ACEOF
73342 ac_has_wchar_h=yes
73343 else
73344 ac_has_wchar_h=no
73347 done
73350 for ac_header in wctype.h
73352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73354 echo "$as_me:$LINENO: checking for $ac_header" >&5
73355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73357 echo $ECHO_N "(cached) $ECHO_C" >&6
73359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73361 else
73362 # Is the header compilable?
73363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73365 cat >conftest.$ac_ext <<_ACEOF
73366 /* confdefs.h. */
73367 _ACEOF
73368 cat confdefs.h >>conftest.$ac_ext
73369 cat >>conftest.$ac_ext <<_ACEOF
73370 /* end confdefs.h. */
73371 $ac_includes_default
73372 #include <$ac_header>
73373 _ACEOF
73374 rm -f conftest.$ac_objext
73375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73376 (eval $ac_compile) 2>conftest.er1
73377 ac_status=$?
73378 grep -v '^ *+' conftest.er1 >conftest.err
73379 rm -f conftest.er1
73380 cat conftest.err >&5
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); } &&
73383 { ac_try='test -z "$ac_c_werror_flag"
73384 || test ! -s conftest.err'
73385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73386 (eval $ac_try) 2>&5
73387 ac_status=$?
73388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389 (exit $ac_status); }; } &&
73390 { ac_try='test -s conftest.$ac_objext'
73391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73392 (eval $ac_try) 2>&5
73393 ac_status=$?
73394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395 (exit $ac_status); }; }; then
73396 ac_header_compiler=yes
73397 else
73398 echo "$as_me: failed program was:" >&5
73399 sed 's/^/| /' conftest.$ac_ext >&5
73401 ac_header_compiler=no
73403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73405 echo "${ECHO_T}$ac_header_compiler" >&6
73407 # Is the header present?
73408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73410 cat >conftest.$ac_ext <<_ACEOF
73411 /* confdefs.h. */
73412 _ACEOF
73413 cat confdefs.h >>conftest.$ac_ext
73414 cat >>conftest.$ac_ext <<_ACEOF
73415 /* end confdefs.h. */
73416 #include <$ac_header>
73417 _ACEOF
73418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73420 ac_status=$?
73421 grep -v '^ *+' conftest.er1 >conftest.err
73422 rm -f conftest.er1
73423 cat conftest.err >&5
73424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73425 (exit $ac_status); } >/dev/null; then
73426 if test -s conftest.err; then
73427 ac_cpp_err=$ac_c_preproc_warn_flag
73428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73429 else
73430 ac_cpp_err=
73432 else
73433 ac_cpp_err=yes
73435 if test -z "$ac_cpp_err"; then
73436 ac_header_preproc=yes
73437 else
73438 echo "$as_me: failed program was:" >&5
73439 sed 's/^/| /' conftest.$ac_ext >&5
73441 ac_header_preproc=no
73443 rm -f conftest.err conftest.$ac_ext
73444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73445 echo "${ECHO_T}$ac_header_preproc" >&6
73447 # So? What about this header?
73448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73449 yes:no: )
73450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73454 ac_header_preproc=yes
73456 no:yes:* )
73457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73470 cat <<\_ASBOX
73471 ## ----------------------------------------- ##
73472 ## Report this to the package-unused lists. ##
73473 ## ----------------------------------------- ##
73474 _ASBOX
73476 sed "s/^/$as_me: WARNING: /" >&2
73478 esac
73479 echo "$as_me:$LINENO: checking for $ac_header" >&5
73480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73482 echo $ECHO_N "(cached) $ECHO_C" >&6
73483 else
73484 eval "$as_ac_Header=\$ac_header_preproc"
73486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73491 cat >>confdefs.h <<_ACEOF
73492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73493 _ACEOF
73494 ac_has_wctype_h=yes
73495 else
73496 ac_has_wctype_h=no
73499 done
73502 # Only continue checking if the ISO C99 headers exist and support is on.
73503 if test x"$ac_has_wchar_h" = xyes &&
73504 test x"$ac_has_wctype_h" = xyes &&
73505 test x"$enable_c_mbchar" != xno; then
73507 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73508 # numeric_limits can instantiate type_traits<wchar_t>
73509 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73510 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73511 cat >conftest.$ac_ext <<_ACEOF
73512 /* confdefs.h. */
73513 _ACEOF
73514 cat confdefs.h >>conftest.$ac_ext
73515 cat >>conftest.$ac_ext <<_ACEOF
73516 /* end confdefs.h. */
73517 #include <wchar.h>
73519 main ()
73521 int i = WCHAR_MIN; int j = WCHAR_MAX;
73523 return 0;
73525 _ACEOF
73526 rm -f conftest.$ac_objext
73527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73528 (eval $ac_compile) 2>conftest.er1
73529 ac_status=$?
73530 grep -v '^ *+' conftest.er1 >conftest.err
73531 rm -f conftest.er1
73532 cat conftest.err >&5
73533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73534 (exit $ac_status); } &&
73535 { ac_try='test -z "$ac_c_werror_flag"
73536 || test ! -s conftest.err'
73537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73538 (eval $ac_try) 2>&5
73539 ac_status=$?
73540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541 (exit $ac_status); }; } &&
73542 { ac_try='test -s conftest.$ac_objext'
73543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73544 (eval $ac_try) 2>&5
73545 ac_status=$?
73546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73547 (exit $ac_status); }; }; then
73548 has_wchar_minmax=yes
73549 else
73550 echo "$as_me: failed program was:" >&5
73551 sed 's/^/| /' conftest.$ac_ext >&5
73553 has_wchar_minmax=no
73555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73556 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73557 echo "${ECHO_T}$has_wchar_minmax" >&6
73559 # Test wchar.h for WEOF, which is what we use to determine whether
73560 # to specialize for char_traits<wchar_t> or not.
73561 echo "$as_me:$LINENO: checking for WEOF" >&5
73562 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73563 cat >conftest.$ac_ext <<_ACEOF
73564 /* confdefs.h. */
73565 _ACEOF
73566 cat confdefs.h >>conftest.$ac_ext
73567 cat >>conftest.$ac_ext <<_ACEOF
73568 /* end confdefs.h. */
73570 #include <wchar.h>
73571 #include <stddef.h>
73573 main ()
73575 wint_t i = WEOF;
73577 return 0;
73579 _ACEOF
73580 rm -f conftest.$ac_objext
73581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73582 (eval $ac_compile) 2>conftest.er1
73583 ac_status=$?
73584 grep -v '^ *+' conftest.er1 >conftest.err
73585 rm -f conftest.er1
73586 cat conftest.err >&5
73587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73588 (exit $ac_status); } &&
73589 { ac_try='test -z "$ac_c_werror_flag"
73590 || test ! -s conftest.err'
73591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73592 (eval $ac_try) 2>&5
73593 ac_status=$?
73594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73595 (exit $ac_status); }; } &&
73596 { ac_try='test -s conftest.$ac_objext'
73597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73598 (eval $ac_try) 2>&5
73599 ac_status=$?
73600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601 (exit $ac_status); }; }; then
73602 has_weof=yes
73603 else
73604 echo "$as_me: failed program was:" >&5
73605 sed 's/^/| /' conftest.$ac_ext >&5
73607 has_weof=no
73609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73610 echo "$as_me:$LINENO: result: $has_weof" >&5
73611 echo "${ECHO_T}$has_weof" >&6
73613 # Tests for wide character functions used in char_traits<wchar_t>.
73614 ac_wfuncs=yes
73621 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73624 echo "$as_me:$LINENO: checking for $ac_func" >&5
73625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73626 if eval "test \"\${$as_ac_var+set}\" = set"; then
73627 echo $ECHO_N "(cached) $ECHO_C" >&6
73628 else
73629 if test x$gcc_no_link = xyes; then
73630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73632 { (exit 1); exit 1; }; }
73634 cat >conftest.$ac_ext <<_ACEOF
73635 /* confdefs.h. */
73636 _ACEOF
73637 cat confdefs.h >>conftest.$ac_ext
73638 cat >>conftest.$ac_ext <<_ACEOF
73639 /* end confdefs.h. */
73640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73642 #define $ac_func innocuous_$ac_func
73644 /* System header to define __stub macros and hopefully few prototypes,
73645 which can conflict with char $ac_func (); below.
73646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73647 <limits.h> exists even on freestanding compilers. */
73649 #ifdef __STDC__
73650 # include <limits.h>
73651 #else
73652 # include <assert.h>
73653 #endif
73655 #undef $ac_func
73657 /* Override any gcc2 internal prototype to avoid an error. */
73658 #ifdef __cplusplus
73659 extern "C"
73661 #endif
73662 /* We use char because int might match the return type of a gcc2
73663 builtin and then its argument prototype would still apply. */
73664 char $ac_func ();
73665 /* The GNU C library defines this for functions which it implements
73666 to always fail with ENOSYS. Some functions are actually named
73667 something starting with __ and the normal name is an alias. */
73668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73669 choke me
73670 #else
73671 char (*f) () = $ac_func;
73672 #endif
73673 #ifdef __cplusplus
73675 #endif
73678 main ()
73680 return f != $ac_func;
73682 return 0;
73684 _ACEOF
73685 rm -f conftest.$ac_objext conftest$ac_exeext
73686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73687 (eval $ac_link) 2>conftest.er1
73688 ac_status=$?
73689 grep -v '^ *+' conftest.er1 >conftest.err
73690 rm -f conftest.er1
73691 cat conftest.err >&5
73692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73693 (exit $ac_status); } &&
73694 { ac_try='test -z "$ac_c_werror_flag"
73695 || test ! -s conftest.err'
73696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73697 (eval $ac_try) 2>&5
73698 ac_status=$?
73699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73700 (exit $ac_status); }; } &&
73701 { ac_try='test -s conftest$ac_exeext'
73702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73703 (eval $ac_try) 2>&5
73704 ac_status=$?
73705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73706 (exit $ac_status); }; }; then
73707 eval "$as_ac_var=yes"
73708 else
73709 echo "$as_me: failed program was:" >&5
73710 sed 's/^/| /' conftest.$ac_ext >&5
73712 eval "$as_ac_var=no"
73714 rm -f conftest.err conftest.$ac_objext \
73715 conftest$ac_exeext conftest.$ac_ext
73717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73719 if test `eval echo '${'$as_ac_var'}'` = yes; then
73720 cat >>confdefs.h <<_ACEOF
73721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73722 _ACEOF
73724 else
73725 ac_wfuncs=no
73727 done
73730 # Checks for names injected into std:: by the c_std headers.
73777 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73778 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73779 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73780 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73781 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73782 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73785 echo "$as_me:$LINENO: checking for $ac_func" >&5
73786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73787 if eval "test \"\${$as_ac_var+set}\" = set"; then
73788 echo $ECHO_N "(cached) $ECHO_C" >&6
73789 else
73790 if test x$gcc_no_link = xyes; then
73791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73793 { (exit 1); exit 1; }; }
73795 cat >conftest.$ac_ext <<_ACEOF
73796 /* confdefs.h. */
73797 _ACEOF
73798 cat confdefs.h >>conftest.$ac_ext
73799 cat >>conftest.$ac_ext <<_ACEOF
73800 /* end confdefs.h. */
73801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73803 #define $ac_func innocuous_$ac_func
73805 /* System header to define __stub macros and hopefully few prototypes,
73806 which can conflict with char $ac_func (); below.
73807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73808 <limits.h> exists even on freestanding compilers. */
73810 #ifdef __STDC__
73811 # include <limits.h>
73812 #else
73813 # include <assert.h>
73814 #endif
73816 #undef $ac_func
73818 /* Override any gcc2 internal prototype to avoid an error. */
73819 #ifdef __cplusplus
73820 extern "C"
73822 #endif
73823 /* We use char because int might match the return type of a gcc2
73824 builtin and then its argument prototype would still apply. */
73825 char $ac_func ();
73826 /* The GNU C library defines this for functions which it implements
73827 to always fail with ENOSYS. Some functions are actually named
73828 something starting with __ and the normal name is an alias. */
73829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73830 choke me
73831 #else
73832 char (*f) () = $ac_func;
73833 #endif
73834 #ifdef __cplusplus
73836 #endif
73839 main ()
73841 return f != $ac_func;
73843 return 0;
73845 _ACEOF
73846 rm -f conftest.$ac_objext conftest$ac_exeext
73847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73848 (eval $ac_link) 2>conftest.er1
73849 ac_status=$?
73850 grep -v '^ *+' conftest.er1 >conftest.err
73851 rm -f conftest.er1
73852 cat conftest.err >&5
73853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73854 (exit $ac_status); } &&
73855 { ac_try='test -z "$ac_c_werror_flag"
73856 || test ! -s conftest.err'
73857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73858 (eval $ac_try) 2>&5
73859 ac_status=$?
73860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861 (exit $ac_status); }; } &&
73862 { ac_try='test -s conftest$ac_exeext'
73863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73864 (eval $ac_try) 2>&5
73865 ac_status=$?
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); }; }; then
73868 eval "$as_ac_var=yes"
73869 else
73870 echo "$as_me: failed program was:" >&5
73871 sed 's/^/| /' conftest.$ac_ext >&5
73873 eval "$as_ac_var=no"
73875 rm -f conftest.err conftest.$ac_objext \
73876 conftest$ac_exeext conftest.$ac_ext
73878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73880 if test `eval echo '${'$as_ac_var'}'` = yes; then
73881 cat >>confdefs.h <<_ACEOF
73882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73883 _ACEOF
73885 else
73886 ac_wfuncs=no
73888 done
73891 # Checks for wide character functions that are not required
73892 # for basic wchar_t support. Don't disable support if they are missing.
73893 # Injection of these is wrapped with guard macros.
73899 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73902 echo "$as_me:$LINENO: checking for $ac_func" >&5
73903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73904 if eval "test \"\${$as_ac_var+set}\" = set"; then
73905 echo $ECHO_N "(cached) $ECHO_C" >&6
73906 else
73907 if test x$gcc_no_link = xyes; then
73908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73910 { (exit 1); exit 1; }; }
73912 cat >conftest.$ac_ext <<_ACEOF
73913 /* confdefs.h. */
73914 _ACEOF
73915 cat confdefs.h >>conftest.$ac_ext
73916 cat >>conftest.$ac_ext <<_ACEOF
73917 /* end confdefs.h. */
73918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73920 #define $ac_func innocuous_$ac_func
73922 /* System header to define __stub macros and hopefully few prototypes,
73923 which can conflict with char $ac_func (); below.
73924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73925 <limits.h> exists even on freestanding compilers. */
73927 #ifdef __STDC__
73928 # include <limits.h>
73929 #else
73930 # include <assert.h>
73931 #endif
73933 #undef $ac_func
73935 /* Override any gcc2 internal prototype to avoid an error. */
73936 #ifdef __cplusplus
73937 extern "C"
73939 #endif
73940 /* We use char because int might match the return type of a gcc2
73941 builtin and then its argument prototype would still apply. */
73942 char $ac_func ();
73943 /* The GNU C library defines this for functions which it implements
73944 to always fail with ENOSYS. Some functions are actually named
73945 something starting with __ and the normal name is an alias. */
73946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73947 choke me
73948 #else
73949 char (*f) () = $ac_func;
73950 #endif
73951 #ifdef __cplusplus
73953 #endif
73956 main ()
73958 return f != $ac_func;
73960 return 0;
73962 _ACEOF
73963 rm -f conftest.$ac_objext conftest$ac_exeext
73964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73965 (eval $ac_link) 2>conftest.er1
73966 ac_status=$?
73967 grep -v '^ *+' conftest.er1 >conftest.err
73968 rm -f conftest.er1
73969 cat conftest.err >&5
73970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73971 (exit $ac_status); } &&
73972 { ac_try='test -z "$ac_c_werror_flag"
73973 || test ! -s conftest.err'
73974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73975 (eval $ac_try) 2>&5
73976 ac_status=$?
73977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73978 (exit $ac_status); }; } &&
73979 { ac_try='test -s conftest$ac_exeext'
73980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73981 (eval $ac_try) 2>&5
73982 ac_status=$?
73983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73984 (exit $ac_status); }; }; then
73985 eval "$as_ac_var=yes"
73986 else
73987 echo "$as_me: failed program was:" >&5
73988 sed 's/^/| /' conftest.$ac_ext >&5
73990 eval "$as_ac_var=no"
73992 rm -f conftest.err conftest.$ac_objext \
73993 conftest$ac_exeext conftest.$ac_ext
73995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73997 if test `eval echo '${'$as_ac_var'}'` = yes; then
73998 cat >>confdefs.h <<_ACEOF
73999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74000 _ACEOF
74003 done
74006 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
74007 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
74008 if test x"$has_weof" = xyes &&
74009 test x"$has_wchar_minmax" = xyes &&
74010 test x"$ac_wfuncs" = xyes;
74011 then
74012 ac_isoC99_wchar_t=yes
74013 else
74014 ac_isoC99_wchar_t=no
74016 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74017 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74019 # Use iconv for wchar_t to char conversions. As such, check for
74020 # X/Open Portability Guide, version 2 features (XPG2).
74021 if test "${ac_cv_header_iconv_h+set}" = set; then
74022 echo "$as_me:$LINENO: checking for iconv.h" >&5
74023 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74024 if test "${ac_cv_header_iconv_h+set}" = set; then
74025 echo $ECHO_N "(cached) $ECHO_C" >&6
74027 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74028 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74029 else
74030 # Is the header compilable?
74031 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74032 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74033 cat >conftest.$ac_ext <<_ACEOF
74034 /* confdefs.h. */
74035 _ACEOF
74036 cat confdefs.h >>conftest.$ac_ext
74037 cat >>conftest.$ac_ext <<_ACEOF
74038 /* end confdefs.h. */
74039 $ac_includes_default
74040 #include <iconv.h>
74041 _ACEOF
74042 rm -f conftest.$ac_objext
74043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74044 (eval $ac_compile) 2>conftest.er1
74045 ac_status=$?
74046 grep -v '^ *+' conftest.er1 >conftest.err
74047 rm -f conftest.er1
74048 cat conftest.err >&5
74049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74050 (exit $ac_status); } &&
74051 { ac_try='test -z "$ac_c_werror_flag"
74052 || test ! -s conftest.err'
74053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74054 (eval $ac_try) 2>&5
74055 ac_status=$?
74056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74057 (exit $ac_status); }; } &&
74058 { ac_try='test -s conftest.$ac_objext'
74059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74060 (eval $ac_try) 2>&5
74061 ac_status=$?
74062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74063 (exit $ac_status); }; }; then
74064 ac_header_compiler=yes
74065 else
74066 echo "$as_me: failed program was:" >&5
74067 sed 's/^/| /' conftest.$ac_ext >&5
74069 ac_header_compiler=no
74071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74073 echo "${ECHO_T}$ac_header_compiler" >&6
74075 # Is the header present?
74076 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74077 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74078 cat >conftest.$ac_ext <<_ACEOF
74079 /* confdefs.h. */
74080 _ACEOF
74081 cat confdefs.h >>conftest.$ac_ext
74082 cat >>conftest.$ac_ext <<_ACEOF
74083 /* end confdefs.h. */
74084 #include <iconv.h>
74085 _ACEOF
74086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74088 ac_status=$?
74089 grep -v '^ *+' conftest.er1 >conftest.err
74090 rm -f conftest.er1
74091 cat conftest.err >&5
74092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74093 (exit $ac_status); } >/dev/null; then
74094 if test -s conftest.err; then
74095 ac_cpp_err=$ac_c_preproc_warn_flag
74096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74097 else
74098 ac_cpp_err=
74100 else
74101 ac_cpp_err=yes
74103 if test -z "$ac_cpp_err"; then
74104 ac_header_preproc=yes
74105 else
74106 echo "$as_me: failed program was:" >&5
74107 sed 's/^/| /' conftest.$ac_ext >&5
74109 ac_header_preproc=no
74111 rm -f conftest.err conftest.$ac_ext
74112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74113 echo "${ECHO_T}$ac_header_preproc" >&6
74115 # So? What about this header?
74116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74117 yes:no: )
74118 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74119 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74120 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74121 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74122 ac_header_preproc=yes
74124 no:yes:* )
74125 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74126 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74127 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74128 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74129 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74130 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74131 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74132 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74133 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74134 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74135 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74136 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74138 cat <<\_ASBOX
74139 ## ----------------------------------------- ##
74140 ## Report this to the package-unused lists. ##
74141 ## ----------------------------------------- ##
74142 _ASBOX
74144 sed "s/^/$as_me: WARNING: /" >&2
74146 esac
74147 echo "$as_me:$LINENO: checking for iconv.h" >&5
74148 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74149 if test "${ac_cv_header_iconv_h+set}" = set; then
74150 echo $ECHO_N "(cached) $ECHO_C" >&6
74151 else
74152 ac_cv_header_iconv_h=$ac_header_preproc
74154 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74155 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74158 if test $ac_cv_header_iconv_h = yes; then
74159 ac_has_iconv_h=yes
74160 else
74161 ac_has_iconv_h=no
74165 if test "${ac_cv_header_langinfo_h+set}" = set; then
74166 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74167 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74168 if test "${ac_cv_header_langinfo_h+set}" = set; then
74169 echo $ECHO_N "(cached) $ECHO_C" >&6
74171 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74172 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74173 else
74174 # Is the header compilable?
74175 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74176 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74177 cat >conftest.$ac_ext <<_ACEOF
74178 /* confdefs.h. */
74179 _ACEOF
74180 cat confdefs.h >>conftest.$ac_ext
74181 cat >>conftest.$ac_ext <<_ACEOF
74182 /* end confdefs.h. */
74183 $ac_includes_default
74184 #include <langinfo.h>
74185 _ACEOF
74186 rm -f conftest.$ac_objext
74187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74188 (eval $ac_compile) 2>conftest.er1
74189 ac_status=$?
74190 grep -v '^ *+' conftest.er1 >conftest.err
74191 rm -f conftest.er1
74192 cat conftest.err >&5
74193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74194 (exit $ac_status); } &&
74195 { ac_try='test -z "$ac_c_werror_flag"
74196 || test ! -s conftest.err'
74197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74198 (eval $ac_try) 2>&5
74199 ac_status=$?
74200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74201 (exit $ac_status); }; } &&
74202 { ac_try='test -s conftest.$ac_objext'
74203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74204 (eval $ac_try) 2>&5
74205 ac_status=$?
74206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74207 (exit $ac_status); }; }; then
74208 ac_header_compiler=yes
74209 else
74210 echo "$as_me: failed program was:" >&5
74211 sed 's/^/| /' conftest.$ac_ext >&5
74213 ac_header_compiler=no
74215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74217 echo "${ECHO_T}$ac_header_compiler" >&6
74219 # Is the header present?
74220 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74221 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74222 cat >conftest.$ac_ext <<_ACEOF
74223 /* confdefs.h. */
74224 _ACEOF
74225 cat confdefs.h >>conftest.$ac_ext
74226 cat >>conftest.$ac_ext <<_ACEOF
74227 /* end confdefs.h. */
74228 #include <langinfo.h>
74229 _ACEOF
74230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74232 ac_status=$?
74233 grep -v '^ *+' conftest.er1 >conftest.err
74234 rm -f conftest.er1
74235 cat conftest.err >&5
74236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74237 (exit $ac_status); } >/dev/null; then
74238 if test -s conftest.err; then
74239 ac_cpp_err=$ac_c_preproc_warn_flag
74240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74241 else
74242 ac_cpp_err=
74244 else
74245 ac_cpp_err=yes
74247 if test -z "$ac_cpp_err"; then
74248 ac_header_preproc=yes
74249 else
74250 echo "$as_me: failed program was:" >&5
74251 sed 's/^/| /' conftest.$ac_ext >&5
74253 ac_header_preproc=no
74255 rm -f conftest.err conftest.$ac_ext
74256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74257 echo "${ECHO_T}$ac_header_preproc" >&6
74259 # So? What about this header?
74260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74261 yes:no: )
74262 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74263 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74264 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74265 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74266 ac_header_preproc=yes
74268 no:yes:* )
74269 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74270 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74271 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74272 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74273 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74274 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74275 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74276 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74277 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74278 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74279 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74280 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74282 cat <<\_ASBOX
74283 ## ----------------------------------------- ##
74284 ## Report this to the package-unused lists. ##
74285 ## ----------------------------------------- ##
74286 _ASBOX
74288 sed "s/^/$as_me: WARNING: /" >&2
74290 esac
74291 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74292 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74293 if test "${ac_cv_header_langinfo_h+set}" = set; then
74294 echo $ECHO_N "(cached) $ECHO_C" >&6
74295 else
74296 ac_cv_header_langinfo_h=$ac_header_preproc
74298 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74299 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74302 if test $ac_cv_header_langinfo_h = yes; then
74303 ac_has_langinfo_h=yes
74304 else
74305 ac_has_langinfo_h=no
74310 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74311 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74312 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74313 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74314 echo $ECHO_N "(cached) $ECHO_C" >&6
74315 else
74316 ac_check_lib_save_LIBS=$LIBS
74317 LIBS="-liconv $LIBS"
74318 if test x$gcc_no_link = xyes; then
74319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74321 { (exit 1); exit 1; }; }
74323 cat >conftest.$ac_ext <<_ACEOF
74324 /* confdefs.h. */
74325 _ACEOF
74326 cat confdefs.h >>conftest.$ac_ext
74327 cat >>conftest.$ac_ext <<_ACEOF
74328 /* end confdefs.h. */
74330 /* Override any gcc2 internal prototype to avoid an error. */
74331 #ifdef __cplusplus
74332 extern "C"
74333 #endif
74334 /* We use char because int might match the return type of a gcc2
74335 builtin and then its argument prototype would still apply. */
74336 char iconv ();
74338 main ()
74340 iconv ();
74342 return 0;
74344 _ACEOF
74345 rm -f conftest.$ac_objext conftest$ac_exeext
74346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74347 (eval $ac_link) 2>conftest.er1
74348 ac_status=$?
74349 grep -v '^ *+' conftest.er1 >conftest.err
74350 rm -f conftest.er1
74351 cat conftest.err >&5
74352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74353 (exit $ac_status); } &&
74354 { ac_try='test -z "$ac_c_werror_flag"
74355 || test ! -s conftest.err'
74356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74357 (eval $ac_try) 2>&5
74358 ac_status=$?
74359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74360 (exit $ac_status); }; } &&
74361 { ac_try='test -s conftest$ac_exeext'
74362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74363 (eval $ac_try) 2>&5
74364 ac_status=$?
74365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74366 (exit $ac_status); }; }; then
74367 ac_cv_lib_iconv_iconv=yes
74368 else
74369 echo "$as_me: failed program was:" >&5
74370 sed 's/^/| /' conftest.$ac_ext >&5
74372 ac_cv_lib_iconv_iconv=no
74374 rm -f conftest.err conftest.$ac_objext \
74375 conftest$ac_exeext conftest.$ac_ext
74376 LIBS=$ac_check_lib_save_LIBS
74378 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74379 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74380 if test $ac_cv_lib_iconv_iconv = yes; then
74381 LIBICONV="-liconv"
74384 ac_save_LIBS="$LIBS"
74385 LIBS="$LIBS $LIBICONV"
74392 for ac_func in iconv_open iconv_close iconv nl_langinfo
74394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74395 echo "$as_me:$LINENO: checking for $ac_func" >&5
74396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74397 if eval "test \"\${$as_ac_var+set}\" = set"; then
74398 echo $ECHO_N "(cached) $ECHO_C" >&6
74399 else
74400 if test x$gcc_no_link = xyes; then
74401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74403 { (exit 1); exit 1; }; }
74405 cat >conftest.$ac_ext <<_ACEOF
74406 /* confdefs.h. */
74407 _ACEOF
74408 cat confdefs.h >>conftest.$ac_ext
74409 cat >>conftest.$ac_ext <<_ACEOF
74410 /* end confdefs.h. */
74411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74413 #define $ac_func innocuous_$ac_func
74415 /* System header to define __stub macros and hopefully few prototypes,
74416 which can conflict with char $ac_func (); below.
74417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74418 <limits.h> exists even on freestanding compilers. */
74420 #ifdef __STDC__
74421 # include <limits.h>
74422 #else
74423 # include <assert.h>
74424 #endif
74426 #undef $ac_func
74428 /* Override any gcc2 internal prototype to avoid an error. */
74429 #ifdef __cplusplus
74430 extern "C"
74432 #endif
74433 /* We use char because int might match the return type of a gcc2
74434 builtin and then its argument prototype would still apply. */
74435 char $ac_func ();
74436 /* The GNU C library defines this for functions which it implements
74437 to always fail with ENOSYS. Some functions are actually named
74438 something starting with __ and the normal name is an alias. */
74439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74440 choke me
74441 #else
74442 char (*f) () = $ac_func;
74443 #endif
74444 #ifdef __cplusplus
74446 #endif
74449 main ()
74451 return f != $ac_func;
74453 return 0;
74455 _ACEOF
74456 rm -f conftest.$ac_objext conftest$ac_exeext
74457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74458 (eval $ac_link) 2>conftest.er1
74459 ac_status=$?
74460 grep -v '^ *+' conftest.er1 >conftest.err
74461 rm -f conftest.er1
74462 cat conftest.err >&5
74463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74464 (exit $ac_status); } &&
74465 { ac_try='test -z "$ac_c_werror_flag"
74466 || test ! -s conftest.err'
74467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74468 (eval $ac_try) 2>&5
74469 ac_status=$?
74470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74471 (exit $ac_status); }; } &&
74472 { ac_try='test -s conftest$ac_exeext'
74473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74474 (eval $ac_try) 2>&5
74475 ac_status=$?
74476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74477 (exit $ac_status); }; }; then
74478 eval "$as_ac_var=yes"
74479 else
74480 echo "$as_me: failed program was:" >&5
74481 sed 's/^/| /' conftest.$ac_ext >&5
74483 eval "$as_ac_var=no"
74485 rm -f conftest.err conftest.$ac_objext \
74486 conftest$ac_exeext conftest.$ac_ext
74488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74490 if test `eval echo '${'$as_ac_var'}'` = yes; then
74491 cat >>confdefs.h <<_ACEOF
74492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74493 _ACEOF
74494 ac_XPG2funcs=yes
74495 else
74496 ac_XPG2funcs=no
74498 done
74501 LIBS="$ac_save_LIBS"
74503 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74504 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74505 if test x"$ac_has_iconv_h" = xyes &&
74506 test x"$ac_has_langinfo_h" = xyes &&
74507 test x"$ac_XPG2funcs" = xyes;
74508 then
74509 ac_XPG2_wchar_t=yes
74510 else
74511 ac_XPG2_wchar_t=no
74513 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74514 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74516 # At the moment, only enable wchar_t specializations if all the
74517 # above support is present.
74518 if test x"$ac_isoC99_wchar_t" = xyes &&
74519 test x"$ac_XPG2_wchar_t" = xyes;
74520 then
74521 cat >>confdefs.h <<\_ACEOF
74522 #define _GLIBCXX_USE_WCHAR_T 1
74523 _ACEOF
74525 enable_wchar_t=yes
74528 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74529 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74530 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74531 echo "${ECHO_T}$enable_wchar_t" >&6
74534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74535 ac_save_CXXFLAGS="$CXXFLAGS"
74536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74539 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74540 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74541 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74542 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74543 echo $ECHO_N "(cached) $ECHO_C" >&6
74544 else
74548 ac_ext=cc
74549 ac_cpp='$CXXCPP $CPPFLAGS'
74550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74554 cat >conftest.$ac_ext <<_ACEOF
74555 /* confdefs.h. */
74556 _ACEOF
74557 cat confdefs.h >>conftest.$ac_ext
74558 cat >>conftest.$ac_ext <<_ACEOF
74559 /* end confdefs.h. */
74560 #include <stdlib.h>
74562 main ()
74564 strtold(0, 0);
74566 return 0;
74568 _ACEOF
74569 rm -f conftest.$ac_objext
74570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74571 (eval $ac_compile) 2>conftest.er1
74572 ac_status=$?
74573 grep -v '^ *+' conftest.er1 >conftest.err
74574 rm -f conftest.er1
74575 cat conftest.err >&5
74576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577 (exit $ac_status); } &&
74578 { ac_try='test -z "$ac_cxx_werror_flag"
74579 || test ! -s conftest.err'
74580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74581 (eval $ac_try) 2>&5
74582 ac_status=$?
74583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74584 (exit $ac_status); }; } &&
74585 { ac_try='test -s conftest.$ac_objext'
74586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74587 (eval $ac_try) 2>&5
74588 ac_status=$?
74589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74590 (exit $ac_status); }; }; then
74591 glibcxx_cv_func_strtold_use=yes
74592 else
74593 echo "$as_me: failed program was:" >&5
74594 sed 's/^/| /' conftest.$ac_ext >&5
74596 glibcxx_cv_func_strtold_use=no
74598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74599 ac_ext=c
74600 ac_cpp='$CPP $CPPFLAGS'
74601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74610 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74611 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74613 for ac_func in strtold
74615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74616 echo "$as_me:$LINENO: checking for $ac_func" >&5
74617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74618 if eval "test \"\${$as_ac_var+set}\" = set"; then
74619 echo $ECHO_N "(cached) $ECHO_C" >&6
74620 else
74621 if test x$gcc_no_link = xyes; then
74622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74624 { (exit 1); exit 1; }; }
74626 cat >conftest.$ac_ext <<_ACEOF
74627 /* confdefs.h. */
74628 _ACEOF
74629 cat confdefs.h >>conftest.$ac_ext
74630 cat >>conftest.$ac_ext <<_ACEOF
74631 /* end confdefs.h. */
74632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74634 #define $ac_func innocuous_$ac_func
74636 /* System header to define __stub macros and hopefully few prototypes,
74637 which can conflict with char $ac_func (); below.
74638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74639 <limits.h> exists even on freestanding compilers. */
74641 #ifdef __STDC__
74642 # include <limits.h>
74643 #else
74644 # include <assert.h>
74645 #endif
74647 #undef $ac_func
74649 /* Override any gcc2 internal prototype to avoid an error. */
74650 #ifdef __cplusplus
74651 extern "C"
74653 #endif
74654 /* We use char because int might match the return type of a gcc2
74655 builtin and then its argument prototype would still apply. */
74656 char $ac_func ();
74657 /* The GNU C library defines this for functions which it implements
74658 to always fail with ENOSYS. Some functions are actually named
74659 something starting with __ and the normal name is an alias. */
74660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74661 choke me
74662 #else
74663 char (*f) () = $ac_func;
74664 #endif
74665 #ifdef __cplusplus
74667 #endif
74670 main ()
74672 return f != $ac_func;
74674 return 0;
74676 _ACEOF
74677 rm -f conftest.$ac_objext conftest$ac_exeext
74678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74679 (eval $ac_link) 2>conftest.er1
74680 ac_status=$?
74681 grep -v '^ *+' conftest.er1 >conftest.err
74682 rm -f conftest.er1
74683 cat conftest.err >&5
74684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74685 (exit $ac_status); } &&
74686 { ac_try='test -z "$ac_c_werror_flag"
74687 || test ! -s conftest.err'
74688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74689 (eval $ac_try) 2>&5
74690 ac_status=$?
74691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74692 (exit $ac_status); }; } &&
74693 { ac_try='test -s conftest$ac_exeext'
74694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74695 (eval $ac_try) 2>&5
74696 ac_status=$?
74697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74698 (exit $ac_status); }; }; then
74699 eval "$as_ac_var=yes"
74700 else
74701 echo "$as_me: failed program was:" >&5
74702 sed 's/^/| /' conftest.$ac_ext >&5
74704 eval "$as_ac_var=no"
74706 rm -f conftest.err conftest.$ac_objext \
74707 conftest$ac_exeext conftest.$ac_ext
74709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74711 if test `eval echo '${'$as_ac_var'}'` = yes; then
74712 cat >>confdefs.h <<_ACEOF
74713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74714 _ACEOF
74717 done
74722 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74723 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74726 echo $ECHO_N "(cached) $ECHO_C" >&6
74727 else
74731 ac_ext=cc
74732 ac_cpp='$CXXCPP $CPPFLAGS'
74733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74737 cat >conftest.$ac_ext <<_ACEOF
74738 /* confdefs.h. */
74739 _ACEOF
74740 cat confdefs.h >>conftest.$ac_ext
74741 cat >>conftest.$ac_ext <<_ACEOF
74742 /* end confdefs.h. */
74743 #include <stdlib.h>
74745 main ()
74747 strtof(0, 0);
74749 return 0;
74751 _ACEOF
74752 rm -f conftest.$ac_objext
74753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74754 (eval $ac_compile) 2>conftest.er1
74755 ac_status=$?
74756 grep -v '^ *+' conftest.er1 >conftest.err
74757 rm -f conftest.er1
74758 cat conftest.err >&5
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); } &&
74761 { ac_try='test -z "$ac_cxx_werror_flag"
74762 || test ! -s conftest.err'
74763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74764 (eval $ac_try) 2>&5
74765 ac_status=$?
74766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74767 (exit $ac_status); }; } &&
74768 { ac_try='test -s conftest.$ac_objext'
74769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74770 (eval $ac_try) 2>&5
74771 ac_status=$?
74772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74773 (exit $ac_status); }; }; then
74774 glibcxx_cv_func_strtof_use=yes
74775 else
74776 echo "$as_me: failed program was:" >&5
74777 sed 's/^/| /' conftest.$ac_ext >&5
74779 glibcxx_cv_func_strtof_use=no
74781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74782 ac_ext=c
74783 ac_cpp='$CPP $CPPFLAGS'
74784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74793 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74794 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74796 for ac_func in strtof
74798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74799 echo "$as_me:$LINENO: checking for $ac_func" >&5
74800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74801 if eval "test \"\${$as_ac_var+set}\" = set"; then
74802 echo $ECHO_N "(cached) $ECHO_C" >&6
74803 else
74804 if test x$gcc_no_link = xyes; then
74805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74807 { (exit 1); exit 1; }; }
74809 cat >conftest.$ac_ext <<_ACEOF
74810 /* confdefs.h. */
74811 _ACEOF
74812 cat confdefs.h >>conftest.$ac_ext
74813 cat >>conftest.$ac_ext <<_ACEOF
74814 /* end confdefs.h. */
74815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74817 #define $ac_func innocuous_$ac_func
74819 /* System header to define __stub macros and hopefully few prototypes,
74820 which can conflict with char $ac_func (); below.
74821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74822 <limits.h> exists even on freestanding compilers. */
74824 #ifdef __STDC__
74825 # include <limits.h>
74826 #else
74827 # include <assert.h>
74828 #endif
74830 #undef $ac_func
74832 /* Override any gcc2 internal prototype to avoid an error. */
74833 #ifdef __cplusplus
74834 extern "C"
74836 #endif
74837 /* We use char because int might match the return type of a gcc2
74838 builtin and then its argument prototype would still apply. */
74839 char $ac_func ();
74840 /* The GNU C library defines this for functions which it implements
74841 to always fail with ENOSYS. Some functions are actually named
74842 something starting with __ and the normal name is an alias. */
74843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74844 choke me
74845 #else
74846 char (*f) () = $ac_func;
74847 #endif
74848 #ifdef __cplusplus
74850 #endif
74853 main ()
74855 return f != $ac_func;
74857 return 0;
74859 _ACEOF
74860 rm -f conftest.$ac_objext conftest$ac_exeext
74861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74862 (eval $ac_link) 2>conftest.er1
74863 ac_status=$?
74864 grep -v '^ *+' conftest.er1 >conftest.err
74865 rm -f conftest.er1
74866 cat conftest.err >&5
74867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74868 (exit $ac_status); } &&
74869 { ac_try='test -z "$ac_c_werror_flag"
74870 || test ! -s conftest.err'
74871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74872 (eval $ac_try) 2>&5
74873 ac_status=$?
74874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74875 (exit $ac_status); }; } &&
74876 { ac_try='test -s conftest$ac_exeext'
74877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74878 (eval $ac_try) 2>&5
74879 ac_status=$?
74880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74881 (exit $ac_status); }; }; then
74882 eval "$as_ac_var=yes"
74883 else
74884 echo "$as_me: failed program was:" >&5
74885 sed 's/^/| /' conftest.$ac_ext >&5
74887 eval "$as_ac_var=no"
74889 rm -f conftest.err conftest.$ac_objext \
74890 conftest$ac_exeext conftest.$ac_ext
74892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74894 if test `eval echo '${'$as_ac_var'}'` = yes; then
74895 cat >>confdefs.h <<_ACEOF
74896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74897 _ACEOF
74900 done
74905 CXXFLAGS="$ac_save_CXXFLAGS"
74908 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74909 echo $ECHO_N "(cached) $ECHO_C" >&6
74910 else
74912 if test x$gcc_no_link = xyes; then
74913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74915 { (exit 1); exit 1; }; }
74917 cat >conftest.$ac_ext <<_ACEOF
74918 /* confdefs.h. */
74919 _ACEOF
74920 cat confdefs.h >>conftest.$ac_ext
74921 cat >>conftest.$ac_ext <<_ACEOF
74922 /* end confdefs.h. */
74923 #include <sys/stat.h>
74925 main ()
74927 struct stat buffer;
74928 fstat(0, &buffer);
74929 S_ISREG(buffer.st_mode);
74931 return 0;
74933 _ACEOF
74934 rm -f conftest.$ac_objext conftest$ac_exeext
74935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74936 (eval $ac_link) 2>conftest.er1
74937 ac_status=$?
74938 grep -v '^ *+' conftest.er1 >conftest.err
74939 rm -f conftest.er1
74940 cat conftest.err >&5
74941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942 (exit $ac_status); } &&
74943 { ac_try='test -z "$ac_c_werror_flag"
74944 || test ! -s conftest.err'
74945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946 (eval $ac_try) 2>&5
74947 ac_status=$?
74948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949 (exit $ac_status); }; } &&
74950 { ac_try='test -s conftest$ac_exeext'
74951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74952 (eval $ac_try) 2>&5
74953 ac_status=$?
74954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955 (exit $ac_status); }; }; then
74956 glibcxx_cv_S_ISREG=yes
74957 else
74958 echo "$as_me: failed program was:" >&5
74959 sed 's/^/| /' conftest.$ac_ext >&5
74961 glibcxx_cv_S_ISREG=no
74963 rm -f conftest.err conftest.$ac_objext \
74964 conftest$ac_exeext conftest.$ac_ext
74968 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74969 echo $ECHO_N "(cached) $ECHO_C" >&6
74970 else
74972 if test x$gcc_no_link = xyes; then
74973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74975 { (exit 1); exit 1; }; }
74977 cat >conftest.$ac_ext <<_ACEOF
74978 /* confdefs.h. */
74979 _ACEOF
74980 cat confdefs.h >>conftest.$ac_ext
74981 cat >>conftest.$ac_ext <<_ACEOF
74982 /* end confdefs.h. */
74983 #include <sys/stat.h>
74985 main ()
74987 struct stat buffer;
74988 fstat(0, &buffer);
74989 S_IFREG & buffer.st_mode;
74991 return 0;
74993 _ACEOF
74994 rm -f conftest.$ac_objext conftest$ac_exeext
74995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74996 (eval $ac_link) 2>conftest.er1
74997 ac_status=$?
74998 grep -v '^ *+' conftest.er1 >conftest.err
74999 rm -f conftest.er1
75000 cat conftest.err >&5
75001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75002 (exit $ac_status); } &&
75003 { ac_try='test -z "$ac_c_werror_flag"
75004 || test ! -s conftest.err'
75005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75006 (eval $ac_try) 2>&5
75007 ac_status=$?
75008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009 (exit $ac_status); }; } &&
75010 { ac_try='test -s conftest$ac_exeext'
75011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75012 (eval $ac_try) 2>&5
75013 ac_status=$?
75014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75015 (exit $ac_status); }; }; then
75016 glibcxx_cv_S_IFREG=yes
75017 else
75018 echo "$as_me: failed program was:" >&5
75019 sed 's/^/| /' conftest.$ac_ext >&5
75021 glibcxx_cv_S_IFREG=no
75023 rm -f conftest.err conftest.$ac_objext \
75024 conftest$ac_exeext conftest.$ac_ext
75028 if test $glibcxx_cv_S_ISREG = yes; then
75029 cat >>confdefs.h <<\_ACEOF
75030 #define HAVE_S_ISREG 1
75031 _ACEOF
75033 elif test $glibcxx_cv_S_IFREG = yes; then
75034 cat >>confdefs.h <<\_ACEOF
75035 #define HAVE_S_IFREG 1
75036 _ACEOF
75040 cat >>confdefs.h <<\_ACEOF
75041 #define HAVE_WRITEV 1
75042 _ACEOF
75046 *-freebsd*)
75063 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75064 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75065 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75066 sys/time.h unistd.h
75068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75070 echo "$as_me:$LINENO: checking for $ac_header" >&5
75071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75073 echo $ECHO_N "(cached) $ECHO_C" >&6
75075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75077 else
75078 # Is the header compilable?
75079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75081 cat >conftest.$ac_ext <<_ACEOF
75082 /* confdefs.h. */
75083 _ACEOF
75084 cat confdefs.h >>conftest.$ac_ext
75085 cat >>conftest.$ac_ext <<_ACEOF
75086 /* end confdefs.h. */
75087 $ac_includes_default
75088 #include <$ac_header>
75089 _ACEOF
75090 rm -f conftest.$ac_objext
75091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75092 (eval $ac_compile) 2>conftest.er1
75093 ac_status=$?
75094 grep -v '^ *+' conftest.er1 >conftest.err
75095 rm -f conftest.er1
75096 cat conftest.err >&5
75097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75098 (exit $ac_status); } &&
75099 { ac_try='test -z "$ac_c_werror_flag"
75100 || test ! -s conftest.err'
75101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75102 (eval $ac_try) 2>&5
75103 ac_status=$?
75104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75105 (exit $ac_status); }; } &&
75106 { ac_try='test -s conftest.$ac_objext'
75107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75108 (eval $ac_try) 2>&5
75109 ac_status=$?
75110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75111 (exit $ac_status); }; }; then
75112 ac_header_compiler=yes
75113 else
75114 echo "$as_me: failed program was:" >&5
75115 sed 's/^/| /' conftest.$ac_ext >&5
75117 ac_header_compiler=no
75119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75121 echo "${ECHO_T}$ac_header_compiler" >&6
75123 # Is the header present?
75124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75126 cat >conftest.$ac_ext <<_ACEOF
75127 /* confdefs.h. */
75128 _ACEOF
75129 cat confdefs.h >>conftest.$ac_ext
75130 cat >>conftest.$ac_ext <<_ACEOF
75131 /* end confdefs.h. */
75132 #include <$ac_header>
75133 _ACEOF
75134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75136 ac_status=$?
75137 grep -v '^ *+' conftest.er1 >conftest.err
75138 rm -f conftest.er1
75139 cat conftest.err >&5
75140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75141 (exit $ac_status); } >/dev/null; then
75142 if test -s conftest.err; then
75143 ac_cpp_err=$ac_c_preproc_warn_flag
75144 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75145 else
75146 ac_cpp_err=
75148 else
75149 ac_cpp_err=yes
75151 if test -z "$ac_cpp_err"; then
75152 ac_header_preproc=yes
75153 else
75154 echo "$as_me: failed program was:" >&5
75155 sed 's/^/| /' conftest.$ac_ext >&5
75157 ac_header_preproc=no
75159 rm -f conftest.err conftest.$ac_ext
75160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75161 echo "${ECHO_T}$ac_header_preproc" >&6
75163 # So? What about this header?
75164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75165 yes:no: )
75166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75170 ac_header_preproc=yes
75172 no:yes:* )
75173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75186 cat <<\_ASBOX
75187 ## ----------------------------------------- ##
75188 ## Report this to the package-unused lists. ##
75189 ## ----------------------------------------- ##
75190 _ASBOX
75192 sed "s/^/$as_me: WARNING: /" >&2
75194 esac
75195 echo "$as_me:$LINENO: checking for $ac_header" >&5
75196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75198 echo $ECHO_N "(cached) $ECHO_C" >&6
75199 else
75200 eval "$as_ac_Header=\$ac_header_preproc"
75202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75207 cat >>confdefs.h <<_ACEOF
75208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75209 _ACEOF
75213 done
75215 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75218 # If we're not using GNU ld, then there's no point in even trying these
75219 # tests. Check for that first. We should have already tested for gld
75220 # by now (in libtool), but require it now just to be safe...
75221 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75222 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75226 # The name set by libtool depends on the version of libtool. Shame on us
75227 # for depending on an impl detail, but c'est la vie. Older versions used
75228 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75229 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75230 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75231 # set (hence we're using an older libtool), then set it.
75232 if test x${with_gnu_ld+set} != xset; then
75233 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75234 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75235 with_gnu_ld=no
75236 else
75237 with_gnu_ld=$ac_cv_prog_gnu_ld
75241 # Start by getting the version number. I think the libtool test already
75242 # does some of this, but throws away the result.
75244 ldver=`$LD --version 2>/dev/null | head -1 | \
75245 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75247 glibcxx_gnu_ld_version=`echo $ldver | \
75248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75250 # Set --gc-sections.
75251 if test "$with_gnu_ld" = "notbroken"; then
75252 # GNU ld it is! Joy and bunny rabbits!
75254 # All these tests are for C++; save the language and the compiler flags.
75255 # Need to do this so that g++ won't try to link in libstdc++
75256 ac_test_CFLAGS="${CFLAGS+set}"
75257 ac_save_CFLAGS="$CFLAGS"
75258 CFLAGS='-x c++ -Wl,--gc-sections'
75260 # Check for -Wl,--gc-sections
75261 # XXX This test is broken at the moment, as symbols required for linking
75262 # are now in libsupc++ (not built yet). In addition, this test has
75263 # cored on solaris in the past. In addition, --gc-sections doesn't
75264 # really work at the moment (keeps on discarding used sections, first
75265 # .eh_frame and now some of the glibc sections for iconv).
75266 # Bzzzzt. Thanks for playing, maybe next time.
75267 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75268 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75269 if test "$cross_compiling" = yes; then
75270 ac_sectionLDflags=yes
75271 else
75272 cat >conftest.$ac_ext <<_ACEOF
75273 /* confdefs.h. */
75274 _ACEOF
75275 cat confdefs.h >>conftest.$ac_ext
75276 cat >>conftest.$ac_ext <<_ACEOF
75277 /* end confdefs.h. */
75279 int main(void)
75281 try { throw 1; }
75282 catch (...) { };
75283 return 0;
75286 _ACEOF
75287 rm -f conftest$ac_exeext
75288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75289 (eval $ac_link) 2>&5
75290 ac_status=$?
75291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75294 (eval $ac_try) 2>&5
75295 ac_status=$?
75296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75297 (exit $ac_status); }; }; then
75298 ac_sectionLDflags=yes
75299 else
75300 echo "$as_me: program exited with status $ac_status" >&5
75301 echo "$as_me: failed program was:" >&5
75302 sed 's/^/| /' conftest.$ac_ext >&5
75304 ( exit $ac_status )
75305 ac_sectionLDflags=no
75307 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75309 if test "$ac_test_CFLAGS" = set; then
75310 CFLAGS="$ac_save_CFLAGS"
75311 else
75312 # this is the suspicious part
75313 CFLAGS=''
75315 if test "$ac_sectionLDflags" = "yes"; then
75316 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75318 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75319 echo "${ECHO_T}$ac_sectionLDflags" >&6
75322 # Set linker optimization flags.
75323 if test x"$with_gnu_ld" = x"yes"; then
75324 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75332 echo "$as_me:$LINENO: checking for main in -lm" >&5
75333 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75334 if test "${ac_cv_lib_m_main+set}" = set; then
75335 echo $ECHO_N "(cached) $ECHO_C" >&6
75336 else
75337 ac_check_lib_save_LIBS=$LIBS
75338 LIBS="-lm $LIBS"
75339 if test x$gcc_no_link = xyes; then
75340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75342 { (exit 1); exit 1; }; }
75344 cat >conftest.$ac_ext <<_ACEOF
75345 /* confdefs.h. */
75346 _ACEOF
75347 cat confdefs.h >>conftest.$ac_ext
75348 cat >>conftest.$ac_ext <<_ACEOF
75349 /* end confdefs.h. */
75353 main ()
75355 main ();
75357 return 0;
75359 _ACEOF
75360 rm -f conftest.$ac_objext conftest$ac_exeext
75361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75362 (eval $ac_link) 2>conftest.er1
75363 ac_status=$?
75364 grep -v '^ *+' conftest.er1 >conftest.err
75365 rm -f conftest.er1
75366 cat conftest.err >&5
75367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75368 (exit $ac_status); } &&
75369 { ac_try='test -z "$ac_c_werror_flag"
75370 || test ! -s conftest.err'
75371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75372 (eval $ac_try) 2>&5
75373 ac_status=$?
75374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375 (exit $ac_status); }; } &&
75376 { ac_try='test -s conftest$ac_exeext'
75377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75378 (eval $ac_try) 2>&5
75379 ac_status=$?
75380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75381 (exit $ac_status); }; }; then
75382 ac_cv_lib_m_main=yes
75383 else
75384 echo "$as_me: failed program was:" >&5
75385 sed 's/^/| /' conftest.$ac_ext >&5
75387 ac_cv_lib_m_main=no
75389 rm -f conftest.err conftest.$ac_objext \
75390 conftest$ac_exeext conftest.$ac_ext
75391 LIBS=$ac_check_lib_save_LIBS
75393 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75394 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75395 if test $ac_cv_lib_m_main = yes; then
75396 cat >>confdefs.h <<_ACEOF
75397 #define HAVE_LIBM 1
75398 _ACEOF
75400 LIBS="-lm $LIBS"
75405 for ac_func in copysignf
75407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75408 echo "$as_me:$LINENO: checking for $ac_func" >&5
75409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75410 if eval "test \"\${$as_ac_var+set}\" = set"; then
75411 echo $ECHO_N "(cached) $ECHO_C" >&6
75412 else
75413 if test x$gcc_no_link = xyes; then
75414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75416 { (exit 1); exit 1; }; }
75418 cat >conftest.$ac_ext <<_ACEOF
75419 /* confdefs.h. */
75420 _ACEOF
75421 cat confdefs.h >>conftest.$ac_ext
75422 cat >>conftest.$ac_ext <<_ACEOF
75423 /* end confdefs.h. */
75424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75426 #define $ac_func innocuous_$ac_func
75428 /* System header to define __stub macros and hopefully few prototypes,
75429 which can conflict with char $ac_func (); below.
75430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75431 <limits.h> exists even on freestanding compilers. */
75433 #ifdef __STDC__
75434 # include <limits.h>
75435 #else
75436 # include <assert.h>
75437 #endif
75439 #undef $ac_func
75441 /* Override any gcc2 internal prototype to avoid an error. */
75442 #ifdef __cplusplus
75443 extern "C"
75445 #endif
75446 /* We use char because int might match the return type of a gcc2
75447 builtin and then its argument prototype would still apply. */
75448 char $ac_func ();
75449 /* The GNU C library defines this for functions which it implements
75450 to always fail with ENOSYS. Some functions are actually named
75451 something starting with __ and the normal name is an alias. */
75452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75453 choke me
75454 #else
75455 char (*f) () = $ac_func;
75456 #endif
75457 #ifdef __cplusplus
75459 #endif
75462 main ()
75464 return f != $ac_func;
75466 return 0;
75468 _ACEOF
75469 rm -f conftest.$ac_objext conftest$ac_exeext
75470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75471 (eval $ac_link) 2>conftest.er1
75472 ac_status=$?
75473 grep -v '^ *+' conftest.er1 >conftest.err
75474 rm -f conftest.er1
75475 cat conftest.err >&5
75476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75477 (exit $ac_status); } &&
75478 { ac_try='test -z "$ac_c_werror_flag"
75479 || test ! -s conftest.err'
75480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75481 (eval $ac_try) 2>&5
75482 ac_status=$?
75483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484 (exit $ac_status); }; } &&
75485 { ac_try='test -s conftest$ac_exeext'
75486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75487 (eval $ac_try) 2>&5
75488 ac_status=$?
75489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75490 (exit $ac_status); }; }; then
75491 eval "$as_ac_var=yes"
75492 else
75493 echo "$as_me: failed program was:" >&5
75494 sed 's/^/| /' conftest.$ac_ext >&5
75496 eval "$as_ac_var=no"
75498 rm -f conftest.err conftest.$ac_objext \
75499 conftest$ac_exeext conftest.$ac_ext
75501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75503 if test `eval echo '${'$as_ac_var'}'` = yes; then
75504 cat >>confdefs.h <<_ACEOF
75505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75506 _ACEOF
75508 else
75509 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75511 done
75515 for ac_func in __signbit
75517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75518 echo "$as_me:$LINENO: checking for $ac_func" >&5
75519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75520 if eval "test \"\${$as_ac_var+set}\" = set"; then
75521 echo $ECHO_N "(cached) $ECHO_C" >&6
75522 else
75523 if test x$gcc_no_link = xyes; then
75524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75526 { (exit 1); exit 1; }; }
75528 cat >conftest.$ac_ext <<_ACEOF
75529 /* confdefs.h. */
75530 _ACEOF
75531 cat confdefs.h >>conftest.$ac_ext
75532 cat >>conftest.$ac_ext <<_ACEOF
75533 /* end confdefs.h. */
75534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75536 #define $ac_func innocuous_$ac_func
75538 /* System header to define __stub macros and hopefully few prototypes,
75539 which can conflict with char $ac_func (); below.
75540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75541 <limits.h> exists even on freestanding compilers. */
75543 #ifdef __STDC__
75544 # include <limits.h>
75545 #else
75546 # include <assert.h>
75547 #endif
75549 #undef $ac_func
75551 /* Override any gcc2 internal prototype to avoid an error. */
75552 #ifdef __cplusplus
75553 extern "C"
75555 #endif
75556 /* We use char because int might match the return type of a gcc2
75557 builtin and then its argument prototype would still apply. */
75558 char $ac_func ();
75559 /* The GNU C library defines this for functions which it implements
75560 to always fail with ENOSYS. Some functions are actually named
75561 something starting with __ and the normal name is an alias. */
75562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75563 choke me
75564 #else
75565 char (*f) () = $ac_func;
75566 #endif
75567 #ifdef __cplusplus
75569 #endif
75572 main ()
75574 return f != $ac_func;
75576 return 0;
75578 _ACEOF
75579 rm -f conftest.$ac_objext conftest$ac_exeext
75580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75581 (eval $ac_link) 2>conftest.er1
75582 ac_status=$?
75583 grep -v '^ *+' conftest.er1 >conftest.err
75584 rm -f conftest.er1
75585 cat conftest.err >&5
75586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75587 (exit $ac_status); } &&
75588 { ac_try='test -z "$ac_c_werror_flag"
75589 || test ! -s conftest.err'
75590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75591 (eval $ac_try) 2>&5
75592 ac_status=$?
75593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594 (exit $ac_status); }; } &&
75595 { ac_try='test -s conftest$ac_exeext'
75596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75597 (eval $ac_try) 2>&5
75598 ac_status=$?
75599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75600 (exit $ac_status); }; }; then
75601 eval "$as_ac_var=yes"
75602 else
75603 echo "$as_me: failed program was:" >&5
75604 sed 's/^/| /' conftest.$ac_ext >&5
75606 eval "$as_ac_var=no"
75608 rm -f conftest.err conftest.$ac_objext \
75609 conftest$ac_exeext conftest.$ac_ext
75611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75613 if test `eval echo '${'$as_ac_var'}'` = yes; then
75614 cat >>confdefs.h <<_ACEOF
75615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75616 _ACEOF
75618 else
75619 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75621 done
75625 for ac_func in __signbitf
75627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75628 echo "$as_me:$LINENO: checking for $ac_func" >&5
75629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75630 if eval "test \"\${$as_ac_var+set}\" = set"; then
75631 echo $ECHO_N "(cached) $ECHO_C" >&6
75632 else
75633 if test x$gcc_no_link = xyes; then
75634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75636 { (exit 1); exit 1; }; }
75638 cat >conftest.$ac_ext <<_ACEOF
75639 /* confdefs.h. */
75640 _ACEOF
75641 cat confdefs.h >>conftest.$ac_ext
75642 cat >>conftest.$ac_ext <<_ACEOF
75643 /* end confdefs.h. */
75644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75646 #define $ac_func innocuous_$ac_func
75648 /* System header to define __stub macros and hopefully few prototypes,
75649 which can conflict with char $ac_func (); below.
75650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75651 <limits.h> exists even on freestanding compilers. */
75653 #ifdef __STDC__
75654 # include <limits.h>
75655 #else
75656 # include <assert.h>
75657 #endif
75659 #undef $ac_func
75661 /* Override any gcc2 internal prototype to avoid an error. */
75662 #ifdef __cplusplus
75663 extern "C"
75665 #endif
75666 /* We use char because int might match the return type of a gcc2
75667 builtin and then its argument prototype would still apply. */
75668 char $ac_func ();
75669 /* The GNU C library defines this for functions which it implements
75670 to always fail with ENOSYS. Some functions are actually named
75671 something starting with __ and the normal name is an alias. */
75672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75673 choke me
75674 #else
75675 char (*f) () = $ac_func;
75676 #endif
75677 #ifdef __cplusplus
75679 #endif
75682 main ()
75684 return f != $ac_func;
75686 return 0;
75688 _ACEOF
75689 rm -f conftest.$ac_objext conftest$ac_exeext
75690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75691 (eval $ac_link) 2>conftest.er1
75692 ac_status=$?
75693 grep -v '^ *+' conftest.er1 >conftest.err
75694 rm -f conftest.er1
75695 cat conftest.err >&5
75696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75697 (exit $ac_status); } &&
75698 { ac_try='test -z "$ac_c_werror_flag"
75699 || test ! -s conftest.err'
75700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75701 (eval $ac_try) 2>&5
75702 ac_status=$?
75703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75704 (exit $ac_status); }; } &&
75705 { ac_try='test -s conftest$ac_exeext'
75706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75707 (eval $ac_try) 2>&5
75708 ac_status=$?
75709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75710 (exit $ac_status); }; }; then
75711 eval "$as_ac_var=yes"
75712 else
75713 echo "$as_me: failed program was:" >&5
75714 sed 's/^/| /' conftest.$ac_ext >&5
75716 eval "$as_ac_var=no"
75718 rm -f conftest.err conftest.$ac_objext \
75719 conftest$ac_exeext conftest.$ac_ext
75721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75723 if test `eval echo '${'$as_ac_var'}'` = yes; then
75724 cat >>confdefs.h <<_ACEOF
75725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75726 _ACEOF
75728 else
75729 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75731 done
75734 if test x$ac_cv_func_copysignl = x"yes"; then
75736 for ac_func in __signbitl
75738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75739 echo "$as_me:$LINENO: checking for $ac_func" >&5
75740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75741 if eval "test \"\${$as_ac_var+set}\" = set"; then
75742 echo $ECHO_N "(cached) $ECHO_C" >&6
75743 else
75744 if test x$gcc_no_link = xyes; then
75745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75747 { (exit 1); exit 1; }; }
75749 cat >conftest.$ac_ext <<_ACEOF
75750 /* confdefs.h. */
75751 _ACEOF
75752 cat confdefs.h >>conftest.$ac_ext
75753 cat >>conftest.$ac_ext <<_ACEOF
75754 /* end confdefs.h. */
75755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75757 #define $ac_func innocuous_$ac_func
75759 /* System header to define __stub macros and hopefully few prototypes,
75760 which can conflict with char $ac_func (); below.
75761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75762 <limits.h> exists even on freestanding compilers. */
75764 #ifdef __STDC__
75765 # include <limits.h>
75766 #else
75767 # include <assert.h>
75768 #endif
75770 #undef $ac_func
75772 /* Override any gcc2 internal prototype to avoid an error. */
75773 #ifdef __cplusplus
75774 extern "C"
75776 #endif
75777 /* We use char because int might match the return type of a gcc2
75778 builtin and then its argument prototype would still apply. */
75779 char $ac_func ();
75780 /* The GNU C library defines this for functions which it implements
75781 to always fail with ENOSYS. Some functions are actually named
75782 something starting with __ and the normal name is an alias. */
75783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75784 choke me
75785 #else
75786 char (*f) () = $ac_func;
75787 #endif
75788 #ifdef __cplusplus
75790 #endif
75793 main ()
75795 return f != $ac_func;
75797 return 0;
75799 _ACEOF
75800 rm -f conftest.$ac_objext conftest$ac_exeext
75801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75802 (eval $ac_link) 2>conftest.er1
75803 ac_status=$?
75804 grep -v '^ *+' conftest.er1 >conftest.err
75805 rm -f conftest.er1
75806 cat conftest.err >&5
75807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75808 (exit $ac_status); } &&
75809 { ac_try='test -z "$ac_c_werror_flag"
75810 || test ! -s conftest.err'
75811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75812 (eval $ac_try) 2>&5
75813 ac_status=$?
75814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75815 (exit $ac_status); }; } &&
75816 { ac_try='test -s conftest$ac_exeext'
75817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75818 (eval $ac_try) 2>&5
75819 ac_status=$?
75820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75821 (exit $ac_status); }; }; then
75822 eval "$as_ac_var=yes"
75823 else
75824 echo "$as_me: failed program was:" >&5
75825 sed 's/^/| /' conftest.$ac_ext >&5
75827 eval "$as_ac_var=no"
75829 rm -f conftest.err conftest.$ac_objext \
75830 conftest$ac_exeext conftest.$ac_ext
75832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75834 if test `eval echo '${'$as_ac_var'}'` = yes; then
75835 cat >>confdefs.h <<_ACEOF
75836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75837 _ACEOF
75839 else
75840 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75842 done
75846 # Used in libmath/Makefile.am.
75847 if test -n "$LIBMATHOBJS"; then
75848 need_libmath=yes
75853 # Test wchar.h for mbstate_t, which is needed for char_traits and
75854 # others even if wchar_t support is not on.
75855 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75856 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75857 cat >conftest.$ac_ext <<_ACEOF
75858 /* confdefs.h. */
75859 _ACEOF
75860 cat confdefs.h >>conftest.$ac_ext
75861 cat >>conftest.$ac_ext <<_ACEOF
75862 /* end confdefs.h. */
75863 #include <wchar.h>
75865 main ()
75867 mbstate_t teststate;
75869 return 0;
75871 _ACEOF
75872 rm -f conftest.$ac_objext
75873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75874 (eval $ac_compile) 2>conftest.er1
75875 ac_status=$?
75876 grep -v '^ *+' conftest.er1 >conftest.err
75877 rm -f conftest.er1
75878 cat conftest.err >&5
75879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75880 (exit $ac_status); } &&
75881 { ac_try='test -z "$ac_c_werror_flag"
75882 || test ! -s conftest.err'
75883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75884 (eval $ac_try) 2>&5
75885 ac_status=$?
75886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75887 (exit $ac_status); }; } &&
75888 { ac_try='test -s conftest.$ac_objext'
75889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75890 (eval $ac_try) 2>&5
75891 ac_status=$?
75892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75893 (exit $ac_status); }; }; then
75894 have_mbstate_t=yes
75895 else
75896 echo "$as_me: failed program was:" >&5
75897 sed 's/^/| /' conftest.$ac_ext >&5
75899 have_mbstate_t=no
75901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75902 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75903 echo "${ECHO_T}$have_mbstate_t" >&6
75904 if test x"$have_mbstate_t" = xyes; then
75905 cat >>confdefs.h <<\_ACEOF
75906 #define HAVE_MBSTATE_T 1
75907 _ACEOF
75911 # Sanity check for existence of ISO C99 headers for extended encoding.
75913 for ac_header in wchar.h
75915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75917 echo "$as_me:$LINENO: checking for $ac_header" >&5
75918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75920 echo $ECHO_N "(cached) $ECHO_C" >&6
75922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75924 else
75925 # Is the header compilable?
75926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75928 cat >conftest.$ac_ext <<_ACEOF
75929 /* confdefs.h. */
75930 _ACEOF
75931 cat confdefs.h >>conftest.$ac_ext
75932 cat >>conftest.$ac_ext <<_ACEOF
75933 /* end confdefs.h. */
75934 $ac_includes_default
75935 #include <$ac_header>
75936 _ACEOF
75937 rm -f conftest.$ac_objext
75938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75939 (eval $ac_compile) 2>conftest.er1
75940 ac_status=$?
75941 grep -v '^ *+' conftest.er1 >conftest.err
75942 rm -f conftest.er1
75943 cat conftest.err >&5
75944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75945 (exit $ac_status); } &&
75946 { ac_try='test -z "$ac_c_werror_flag"
75947 || test ! -s conftest.err'
75948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75949 (eval $ac_try) 2>&5
75950 ac_status=$?
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); }; } &&
75953 { ac_try='test -s conftest.$ac_objext'
75954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75955 (eval $ac_try) 2>&5
75956 ac_status=$?
75957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75958 (exit $ac_status); }; }; then
75959 ac_header_compiler=yes
75960 else
75961 echo "$as_me: failed program was:" >&5
75962 sed 's/^/| /' conftest.$ac_ext >&5
75964 ac_header_compiler=no
75966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75968 echo "${ECHO_T}$ac_header_compiler" >&6
75970 # Is the header present?
75971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75973 cat >conftest.$ac_ext <<_ACEOF
75974 /* confdefs.h. */
75975 _ACEOF
75976 cat confdefs.h >>conftest.$ac_ext
75977 cat >>conftest.$ac_ext <<_ACEOF
75978 /* end confdefs.h. */
75979 #include <$ac_header>
75980 _ACEOF
75981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75983 ac_status=$?
75984 grep -v '^ *+' conftest.er1 >conftest.err
75985 rm -f conftest.er1
75986 cat conftest.err >&5
75987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75988 (exit $ac_status); } >/dev/null; then
75989 if test -s conftest.err; then
75990 ac_cpp_err=$ac_c_preproc_warn_flag
75991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75992 else
75993 ac_cpp_err=
75995 else
75996 ac_cpp_err=yes
75998 if test -z "$ac_cpp_err"; then
75999 ac_header_preproc=yes
76000 else
76001 echo "$as_me: failed program was:" >&5
76002 sed 's/^/| /' conftest.$ac_ext >&5
76004 ac_header_preproc=no
76006 rm -f conftest.err conftest.$ac_ext
76007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76008 echo "${ECHO_T}$ac_header_preproc" >&6
76010 # So? What about this header?
76011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76012 yes:no: )
76013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76017 ac_header_preproc=yes
76019 no:yes:* )
76020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76033 cat <<\_ASBOX
76034 ## ----------------------------------------- ##
76035 ## Report this to the package-unused lists. ##
76036 ## ----------------------------------------- ##
76037 _ASBOX
76039 sed "s/^/$as_me: WARNING: /" >&2
76041 esac
76042 echo "$as_me:$LINENO: checking for $ac_header" >&5
76043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76045 echo $ECHO_N "(cached) $ECHO_C" >&6
76046 else
76047 eval "$as_ac_Header=\$ac_header_preproc"
76049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76054 cat >>confdefs.h <<_ACEOF
76055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76056 _ACEOF
76057 ac_has_wchar_h=yes
76058 else
76059 ac_has_wchar_h=no
76062 done
76065 for ac_header in wctype.h
76067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76069 echo "$as_me:$LINENO: checking for $ac_header" >&5
76070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76072 echo $ECHO_N "(cached) $ECHO_C" >&6
76074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76076 else
76077 # Is the header compilable?
76078 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76080 cat >conftest.$ac_ext <<_ACEOF
76081 /* confdefs.h. */
76082 _ACEOF
76083 cat confdefs.h >>conftest.$ac_ext
76084 cat >>conftest.$ac_ext <<_ACEOF
76085 /* end confdefs.h. */
76086 $ac_includes_default
76087 #include <$ac_header>
76088 _ACEOF
76089 rm -f conftest.$ac_objext
76090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76091 (eval $ac_compile) 2>conftest.er1
76092 ac_status=$?
76093 grep -v '^ *+' conftest.er1 >conftest.err
76094 rm -f conftest.er1
76095 cat conftest.err >&5
76096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76097 (exit $ac_status); } &&
76098 { ac_try='test -z "$ac_c_werror_flag"
76099 || test ! -s conftest.err'
76100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76101 (eval $ac_try) 2>&5
76102 ac_status=$?
76103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76104 (exit $ac_status); }; } &&
76105 { ac_try='test -s conftest.$ac_objext'
76106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76107 (eval $ac_try) 2>&5
76108 ac_status=$?
76109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76110 (exit $ac_status); }; }; then
76111 ac_header_compiler=yes
76112 else
76113 echo "$as_me: failed program was:" >&5
76114 sed 's/^/| /' conftest.$ac_ext >&5
76116 ac_header_compiler=no
76118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76120 echo "${ECHO_T}$ac_header_compiler" >&6
76122 # Is the header present?
76123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76125 cat >conftest.$ac_ext <<_ACEOF
76126 /* confdefs.h. */
76127 _ACEOF
76128 cat confdefs.h >>conftest.$ac_ext
76129 cat >>conftest.$ac_ext <<_ACEOF
76130 /* end confdefs.h. */
76131 #include <$ac_header>
76132 _ACEOF
76133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76135 ac_status=$?
76136 grep -v '^ *+' conftest.er1 >conftest.err
76137 rm -f conftest.er1
76138 cat conftest.err >&5
76139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76140 (exit $ac_status); } >/dev/null; then
76141 if test -s conftest.err; then
76142 ac_cpp_err=$ac_c_preproc_warn_flag
76143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76144 else
76145 ac_cpp_err=
76147 else
76148 ac_cpp_err=yes
76150 if test -z "$ac_cpp_err"; then
76151 ac_header_preproc=yes
76152 else
76153 echo "$as_me: failed program was:" >&5
76154 sed 's/^/| /' conftest.$ac_ext >&5
76156 ac_header_preproc=no
76158 rm -f conftest.err conftest.$ac_ext
76159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76160 echo "${ECHO_T}$ac_header_preproc" >&6
76162 # So? What about this header?
76163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76164 yes:no: )
76165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76169 ac_header_preproc=yes
76171 no:yes:* )
76172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76185 cat <<\_ASBOX
76186 ## ----------------------------------------- ##
76187 ## Report this to the package-unused lists. ##
76188 ## ----------------------------------------- ##
76189 _ASBOX
76191 sed "s/^/$as_me: WARNING: /" >&2
76193 esac
76194 echo "$as_me:$LINENO: checking for $ac_header" >&5
76195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76197 echo $ECHO_N "(cached) $ECHO_C" >&6
76198 else
76199 eval "$as_ac_Header=\$ac_header_preproc"
76201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76206 cat >>confdefs.h <<_ACEOF
76207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76208 _ACEOF
76209 ac_has_wctype_h=yes
76210 else
76211 ac_has_wctype_h=no
76214 done
76217 # Only continue checking if the ISO C99 headers exist and support is on.
76218 if test x"$ac_has_wchar_h" = xyes &&
76219 test x"$ac_has_wctype_h" = xyes &&
76220 test x"$enable_c_mbchar" != xno; then
76222 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76223 # numeric_limits can instantiate type_traits<wchar_t>
76224 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76225 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76226 cat >conftest.$ac_ext <<_ACEOF
76227 /* confdefs.h. */
76228 _ACEOF
76229 cat confdefs.h >>conftest.$ac_ext
76230 cat >>conftest.$ac_ext <<_ACEOF
76231 /* end confdefs.h. */
76232 #include <wchar.h>
76234 main ()
76236 int i = WCHAR_MIN; int j = WCHAR_MAX;
76238 return 0;
76240 _ACEOF
76241 rm -f conftest.$ac_objext
76242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76243 (eval $ac_compile) 2>conftest.er1
76244 ac_status=$?
76245 grep -v '^ *+' conftest.er1 >conftest.err
76246 rm -f conftest.er1
76247 cat conftest.err >&5
76248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76249 (exit $ac_status); } &&
76250 { ac_try='test -z "$ac_c_werror_flag"
76251 || test ! -s conftest.err'
76252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76253 (eval $ac_try) 2>&5
76254 ac_status=$?
76255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256 (exit $ac_status); }; } &&
76257 { ac_try='test -s conftest.$ac_objext'
76258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76259 (eval $ac_try) 2>&5
76260 ac_status=$?
76261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76262 (exit $ac_status); }; }; then
76263 has_wchar_minmax=yes
76264 else
76265 echo "$as_me: failed program was:" >&5
76266 sed 's/^/| /' conftest.$ac_ext >&5
76268 has_wchar_minmax=no
76270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76271 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76272 echo "${ECHO_T}$has_wchar_minmax" >&6
76274 # Test wchar.h for WEOF, which is what we use to determine whether
76275 # to specialize for char_traits<wchar_t> or not.
76276 echo "$as_me:$LINENO: checking for WEOF" >&5
76277 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76278 cat >conftest.$ac_ext <<_ACEOF
76279 /* confdefs.h. */
76280 _ACEOF
76281 cat confdefs.h >>conftest.$ac_ext
76282 cat >>conftest.$ac_ext <<_ACEOF
76283 /* end confdefs.h. */
76285 #include <wchar.h>
76286 #include <stddef.h>
76288 main ()
76290 wint_t i = WEOF;
76292 return 0;
76294 _ACEOF
76295 rm -f conftest.$ac_objext
76296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76297 (eval $ac_compile) 2>conftest.er1
76298 ac_status=$?
76299 grep -v '^ *+' conftest.er1 >conftest.err
76300 rm -f conftest.er1
76301 cat conftest.err >&5
76302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76303 (exit $ac_status); } &&
76304 { ac_try='test -z "$ac_c_werror_flag"
76305 || test ! -s conftest.err'
76306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76307 (eval $ac_try) 2>&5
76308 ac_status=$?
76309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310 (exit $ac_status); }; } &&
76311 { ac_try='test -s conftest.$ac_objext'
76312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76313 (eval $ac_try) 2>&5
76314 ac_status=$?
76315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76316 (exit $ac_status); }; }; then
76317 has_weof=yes
76318 else
76319 echo "$as_me: failed program was:" >&5
76320 sed 's/^/| /' conftest.$ac_ext >&5
76322 has_weof=no
76324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76325 echo "$as_me:$LINENO: result: $has_weof" >&5
76326 echo "${ECHO_T}$has_weof" >&6
76328 # Tests for wide character functions used in char_traits<wchar_t>.
76329 ac_wfuncs=yes
76336 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76339 echo "$as_me:$LINENO: checking for $ac_func" >&5
76340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76341 if eval "test \"\${$as_ac_var+set}\" = set"; then
76342 echo $ECHO_N "(cached) $ECHO_C" >&6
76343 else
76344 if test x$gcc_no_link = xyes; then
76345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76347 { (exit 1); exit 1; }; }
76349 cat >conftest.$ac_ext <<_ACEOF
76350 /* confdefs.h. */
76351 _ACEOF
76352 cat confdefs.h >>conftest.$ac_ext
76353 cat >>conftest.$ac_ext <<_ACEOF
76354 /* end confdefs.h. */
76355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76357 #define $ac_func innocuous_$ac_func
76359 /* System header to define __stub macros and hopefully few prototypes,
76360 which can conflict with char $ac_func (); below.
76361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76362 <limits.h> exists even on freestanding compilers. */
76364 #ifdef __STDC__
76365 # include <limits.h>
76366 #else
76367 # include <assert.h>
76368 #endif
76370 #undef $ac_func
76372 /* Override any gcc2 internal prototype to avoid an error. */
76373 #ifdef __cplusplus
76374 extern "C"
76376 #endif
76377 /* We use char because int might match the return type of a gcc2
76378 builtin and then its argument prototype would still apply. */
76379 char $ac_func ();
76380 /* The GNU C library defines this for functions which it implements
76381 to always fail with ENOSYS. Some functions are actually named
76382 something starting with __ and the normal name is an alias. */
76383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76384 choke me
76385 #else
76386 char (*f) () = $ac_func;
76387 #endif
76388 #ifdef __cplusplus
76390 #endif
76393 main ()
76395 return f != $ac_func;
76397 return 0;
76399 _ACEOF
76400 rm -f conftest.$ac_objext conftest$ac_exeext
76401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76402 (eval $ac_link) 2>conftest.er1
76403 ac_status=$?
76404 grep -v '^ *+' conftest.er1 >conftest.err
76405 rm -f conftest.er1
76406 cat conftest.err >&5
76407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76408 (exit $ac_status); } &&
76409 { ac_try='test -z "$ac_c_werror_flag"
76410 || test ! -s conftest.err'
76411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76412 (eval $ac_try) 2>&5
76413 ac_status=$?
76414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76415 (exit $ac_status); }; } &&
76416 { ac_try='test -s conftest$ac_exeext'
76417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76418 (eval $ac_try) 2>&5
76419 ac_status=$?
76420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76421 (exit $ac_status); }; }; then
76422 eval "$as_ac_var=yes"
76423 else
76424 echo "$as_me: failed program was:" >&5
76425 sed 's/^/| /' conftest.$ac_ext >&5
76427 eval "$as_ac_var=no"
76429 rm -f conftest.err conftest.$ac_objext \
76430 conftest$ac_exeext conftest.$ac_ext
76432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76434 if test `eval echo '${'$as_ac_var'}'` = yes; then
76435 cat >>confdefs.h <<_ACEOF
76436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76437 _ACEOF
76439 else
76440 ac_wfuncs=no
76442 done
76445 # Checks for names injected into std:: by the c_std headers.
76492 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76493 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76494 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76495 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76496 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76497 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76500 echo "$as_me:$LINENO: checking for $ac_func" >&5
76501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76502 if eval "test \"\${$as_ac_var+set}\" = set"; then
76503 echo $ECHO_N "(cached) $ECHO_C" >&6
76504 else
76505 if test x$gcc_no_link = xyes; then
76506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76508 { (exit 1); exit 1; }; }
76510 cat >conftest.$ac_ext <<_ACEOF
76511 /* confdefs.h. */
76512 _ACEOF
76513 cat confdefs.h >>conftest.$ac_ext
76514 cat >>conftest.$ac_ext <<_ACEOF
76515 /* end confdefs.h. */
76516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76518 #define $ac_func innocuous_$ac_func
76520 /* System header to define __stub macros and hopefully few prototypes,
76521 which can conflict with char $ac_func (); below.
76522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76523 <limits.h> exists even on freestanding compilers. */
76525 #ifdef __STDC__
76526 # include <limits.h>
76527 #else
76528 # include <assert.h>
76529 #endif
76531 #undef $ac_func
76533 /* Override any gcc2 internal prototype to avoid an error. */
76534 #ifdef __cplusplus
76535 extern "C"
76537 #endif
76538 /* We use char because int might match the return type of a gcc2
76539 builtin and then its argument prototype would still apply. */
76540 char $ac_func ();
76541 /* The GNU C library defines this for functions which it implements
76542 to always fail with ENOSYS. Some functions are actually named
76543 something starting with __ and the normal name is an alias. */
76544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76545 choke me
76546 #else
76547 char (*f) () = $ac_func;
76548 #endif
76549 #ifdef __cplusplus
76551 #endif
76554 main ()
76556 return f != $ac_func;
76558 return 0;
76560 _ACEOF
76561 rm -f conftest.$ac_objext conftest$ac_exeext
76562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76563 (eval $ac_link) 2>conftest.er1
76564 ac_status=$?
76565 grep -v '^ *+' conftest.er1 >conftest.err
76566 rm -f conftest.er1
76567 cat conftest.err >&5
76568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76569 (exit $ac_status); } &&
76570 { ac_try='test -z "$ac_c_werror_flag"
76571 || test ! -s conftest.err'
76572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76573 (eval $ac_try) 2>&5
76574 ac_status=$?
76575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76576 (exit $ac_status); }; } &&
76577 { ac_try='test -s conftest$ac_exeext'
76578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76579 (eval $ac_try) 2>&5
76580 ac_status=$?
76581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76582 (exit $ac_status); }; }; then
76583 eval "$as_ac_var=yes"
76584 else
76585 echo "$as_me: failed program was:" >&5
76586 sed 's/^/| /' conftest.$ac_ext >&5
76588 eval "$as_ac_var=no"
76590 rm -f conftest.err conftest.$ac_objext \
76591 conftest$ac_exeext conftest.$ac_ext
76593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76595 if test `eval echo '${'$as_ac_var'}'` = yes; then
76596 cat >>confdefs.h <<_ACEOF
76597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76598 _ACEOF
76600 else
76601 ac_wfuncs=no
76603 done
76606 # Checks for wide character functions that are not required
76607 # for basic wchar_t support. Don't disable support if they are missing.
76608 # Injection of these is wrapped with guard macros.
76614 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76617 echo "$as_me:$LINENO: checking for $ac_func" >&5
76618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76619 if eval "test \"\${$as_ac_var+set}\" = set"; then
76620 echo $ECHO_N "(cached) $ECHO_C" >&6
76621 else
76622 if test x$gcc_no_link = xyes; then
76623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76625 { (exit 1); exit 1; }; }
76627 cat >conftest.$ac_ext <<_ACEOF
76628 /* confdefs.h. */
76629 _ACEOF
76630 cat confdefs.h >>conftest.$ac_ext
76631 cat >>conftest.$ac_ext <<_ACEOF
76632 /* end confdefs.h. */
76633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76635 #define $ac_func innocuous_$ac_func
76637 /* System header to define __stub macros and hopefully few prototypes,
76638 which can conflict with char $ac_func (); below.
76639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76640 <limits.h> exists even on freestanding compilers. */
76642 #ifdef __STDC__
76643 # include <limits.h>
76644 #else
76645 # include <assert.h>
76646 #endif
76648 #undef $ac_func
76650 /* Override any gcc2 internal prototype to avoid an error. */
76651 #ifdef __cplusplus
76652 extern "C"
76654 #endif
76655 /* We use char because int might match the return type of a gcc2
76656 builtin and then its argument prototype would still apply. */
76657 char $ac_func ();
76658 /* The GNU C library defines this for functions which it implements
76659 to always fail with ENOSYS. Some functions are actually named
76660 something starting with __ and the normal name is an alias. */
76661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76662 choke me
76663 #else
76664 char (*f) () = $ac_func;
76665 #endif
76666 #ifdef __cplusplus
76668 #endif
76671 main ()
76673 return f != $ac_func;
76675 return 0;
76677 _ACEOF
76678 rm -f conftest.$ac_objext conftest$ac_exeext
76679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76680 (eval $ac_link) 2>conftest.er1
76681 ac_status=$?
76682 grep -v '^ *+' conftest.er1 >conftest.err
76683 rm -f conftest.er1
76684 cat conftest.err >&5
76685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76686 (exit $ac_status); } &&
76687 { ac_try='test -z "$ac_c_werror_flag"
76688 || test ! -s conftest.err'
76689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76690 (eval $ac_try) 2>&5
76691 ac_status=$?
76692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693 (exit $ac_status); }; } &&
76694 { ac_try='test -s conftest$ac_exeext'
76695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76696 (eval $ac_try) 2>&5
76697 ac_status=$?
76698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76699 (exit $ac_status); }; }; then
76700 eval "$as_ac_var=yes"
76701 else
76702 echo "$as_me: failed program was:" >&5
76703 sed 's/^/| /' conftest.$ac_ext >&5
76705 eval "$as_ac_var=no"
76707 rm -f conftest.err conftest.$ac_objext \
76708 conftest$ac_exeext conftest.$ac_ext
76710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76712 if test `eval echo '${'$as_ac_var'}'` = yes; then
76713 cat >>confdefs.h <<_ACEOF
76714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76715 _ACEOF
76718 done
76721 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76722 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76723 if test x"$has_weof" = xyes &&
76724 test x"$has_wchar_minmax" = xyes &&
76725 test x"$ac_wfuncs" = xyes;
76726 then
76727 ac_isoC99_wchar_t=yes
76728 else
76729 ac_isoC99_wchar_t=no
76731 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76732 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76734 # Use iconv for wchar_t to char conversions. As such, check for
76735 # X/Open Portability Guide, version 2 features (XPG2).
76736 if test "${ac_cv_header_iconv_h+set}" = set; then
76737 echo "$as_me:$LINENO: checking for iconv.h" >&5
76738 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76739 if test "${ac_cv_header_iconv_h+set}" = set; then
76740 echo $ECHO_N "(cached) $ECHO_C" >&6
76742 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76743 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76744 else
76745 # Is the header compilable?
76746 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76747 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76748 cat >conftest.$ac_ext <<_ACEOF
76749 /* confdefs.h. */
76750 _ACEOF
76751 cat confdefs.h >>conftest.$ac_ext
76752 cat >>conftest.$ac_ext <<_ACEOF
76753 /* end confdefs.h. */
76754 $ac_includes_default
76755 #include <iconv.h>
76756 _ACEOF
76757 rm -f conftest.$ac_objext
76758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76759 (eval $ac_compile) 2>conftest.er1
76760 ac_status=$?
76761 grep -v '^ *+' conftest.er1 >conftest.err
76762 rm -f conftest.er1
76763 cat conftest.err >&5
76764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76765 (exit $ac_status); } &&
76766 { ac_try='test -z "$ac_c_werror_flag"
76767 || test ! -s conftest.err'
76768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76769 (eval $ac_try) 2>&5
76770 ac_status=$?
76771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772 (exit $ac_status); }; } &&
76773 { ac_try='test -s conftest.$ac_objext'
76774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76775 (eval $ac_try) 2>&5
76776 ac_status=$?
76777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76778 (exit $ac_status); }; }; then
76779 ac_header_compiler=yes
76780 else
76781 echo "$as_me: failed program was:" >&5
76782 sed 's/^/| /' conftest.$ac_ext >&5
76784 ac_header_compiler=no
76786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76788 echo "${ECHO_T}$ac_header_compiler" >&6
76790 # Is the header present?
76791 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76792 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76793 cat >conftest.$ac_ext <<_ACEOF
76794 /* confdefs.h. */
76795 _ACEOF
76796 cat confdefs.h >>conftest.$ac_ext
76797 cat >>conftest.$ac_ext <<_ACEOF
76798 /* end confdefs.h. */
76799 #include <iconv.h>
76800 _ACEOF
76801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76803 ac_status=$?
76804 grep -v '^ *+' conftest.er1 >conftest.err
76805 rm -f conftest.er1
76806 cat conftest.err >&5
76807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76808 (exit $ac_status); } >/dev/null; then
76809 if test -s conftest.err; then
76810 ac_cpp_err=$ac_c_preproc_warn_flag
76811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76812 else
76813 ac_cpp_err=
76815 else
76816 ac_cpp_err=yes
76818 if test -z "$ac_cpp_err"; then
76819 ac_header_preproc=yes
76820 else
76821 echo "$as_me: failed program was:" >&5
76822 sed 's/^/| /' conftest.$ac_ext >&5
76824 ac_header_preproc=no
76826 rm -f conftest.err conftest.$ac_ext
76827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76828 echo "${ECHO_T}$ac_header_preproc" >&6
76830 # So? What about this header?
76831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76832 yes:no: )
76833 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76834 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76835 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76836 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76837 ac_header_preproc=yes
76839 no:yes:* )
76840 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76841 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76842 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76843 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76844 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76845 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76846 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76847 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76848 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76849 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76850 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76851 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76853 cat <<\_ASBOX
76854 ## ----------------------------------------- ##
76855 ## Report this to the package-unused lists. ##
76856 ## ----------------------------------------- ##
76857 _ASBOX
76859 sed "s/^/$as_me: WARNING: /" >&2
76861 esac
76862 echo "$as_me:$LINENO: checking for iconv.h" >&5
76863 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76864 if test "${ac_cv_header_iconv_h+set}" = set; then
76865 echo $ECHO_N "(cached) $ECHO_C" >&6
76866 else
76867 ac_cv_header_iconv_h=$ac_header_preproc
76869 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76870 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76873 if test $ac_cv_header_iconv_h = yes; then
76874 ac_has_iconv_h=yes
76875 else
76876 ac_has_iconv_h=no
76880 if test "${ac_cv_header_langinfo_h+set}" = set; then
76881 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76882 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76883 if test "${ac_cv_header_langinfo_h+set}" = set; then
76884 echo $ECHO_N "(cached) $ECHO_C" >&6
76886 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76887 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76888 else
76889 # Is the header compilable?
76890 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76891 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76892 cat >conftest.$ac_ext <<_ACEOF
76893 /* confdefs.h. */
76894 _ACEOF
76895 cat confdefs.h >>conftest.$ac_ext
76896 cat >>conftest.$ac_ext <<_ACEOF
76897 /* end confdefs.h. */
76898 $ac_includes_default
76899 #include <langinfo.h>
76900 _ACEOF
76901 rm -f conftest.$ac_objext
76902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76903 (eval $ac_compile) 2>conftest.er1
76904 ac_status=$?
76905 grep -v '^ *+' conftest.er1 >conftest.err
76906 rm -f conftest.er1
76907 cat conftest.err >&5
76908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76909 (exit $ac_status); } &&
76910 { ac_try='test -z "$ac_c_werror_flag"
76911 || test ! -s conftest.err'
76912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76913 (eval $ac_try) 2>&5
76914 ac_status=$?
76915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916 (exit $ac_status); }; } &&
76917 { ac_try='test -s conftest.$ac_objext'
76918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76919 (eval $ac_try) 2>&5
76920 ac_status=$?
76921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76922 (exit $ac_status); }; }; then
76923 ac_header_compiler=yes
76924 else
76925 echo "$as_me: failed program was:" >&5
76926 sed 's/^/| /' conftest.$ac_ext >&5
76928 ac_header_compiler=no
76930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76932 echo "${ECHO_T}$ac_header_compiler" >&6
76934 # Is the header present?
76935 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76936 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76937 cat >conftest.$ac_ext <<_ACEOF
76938 /* confdefs.h. */
76939 _ACEOF
76940 cat confdefs.h >>conftest.$ac_ext
76941 cat >>conftest.$ac_ext <<_ACEOF
76942 /* end confdefs.h. */
76943 #include <langinfo.h>
76944 _ACEOF
76945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76947 ac_status=$?
76948 grep -v '^ *+' conftest.er1 >conftest.err
76949 rm -f conftest.er1
76950 cat conftest.err >&5
76951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76952 (exit $ac_status); } >/dev/null; then
76953 if test -s conftest.err; then
76954 ac_cpp_err=$ac_c_preproc_warn_flag
76955 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76956 else
76957 ac_cpp_err=
76959 else
76960 ac_cpp_err=yes
76962 if test -z "$ac_cpp_err"; then
76963 ac_header_preproc=yes
76964 else
76965 echo "$as_me: failed program was:" >&5
76966 sed 's/^/| /' conftest.$ac_ext >&5
76968 ac_header_preproc=no
76970 rm -f conftest.err conftest.$ac_ext
76971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76972 echo "${ECHO_T}$ac_header_preproc" >&6
76974 # So? What about this header?
76975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76976 yes:no: )
76977 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76978 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76979 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76980 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76981 ac_header_preproc=yes
76983 no:yes:* )
76984 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76985 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76986 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76987 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76988 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76989 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76990 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76991 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76992 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76993 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76994 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76995 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76997 cat <<\_ASBOX
76998 ## ----------------------------------------- ##
76999 ## Report this to the package-unused lists. ##
77000 ## ----------------------------------------- ##
77001 _ASBOX
77003 sed "s/^/$as_me: WARNING: /" >&2
77005 esac
77006 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77007 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77008 if test "${ac_cv_header_langinfo_h+set}" = set; then
77009 echo $ECHO_N "(cached) $ECHO_C" >&6
77010 else
77011 ac_cv_header_langinfo_h=$ac_header_preproc
77013 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77014 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77017 if test $ac_cv_header_langinfo_h = yes; then
77018 ac_has_langinfo_h=yes
77019 else
77020 ac_has_langinfo_h=no
77025 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77026 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77027 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77028 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77029 echo $ECHO_N "(cached) $ECHO_C" >&6
77030 else
77031 ac_check_lib_save_LIBS=$LIBS
77032 LIBS="-liconv $LIBS"
77033 if test x$gcc_no_link = xyes; then
77034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77036 { (exit 1); exit 1; }; }
77038 cat >conftest.$ac_ext <<_ACEOF
77039 /* confdefs.h. */
77040 _ACEOF
77041 cat confdefs.h >>conftest.$ac_ext
77042 cat >>conftest.$ac_ext <<_ACEOF
77043 /* end confdefs.h. */
77045 /* Override any gcc2 internal prototype to avoid an error. */
77046 #ifdef __cplusplus
77047 extern "C"
77048 #endif
77049 /* We use char because int might match the return type of a gcc2
77050 builtin and then its argument prototype would still apply. */
77051 char iconv ();
77053 main ()
77055 iconv ();
77057 return 0;
77059 _ACEOF
77060 rm -f conftest.$ac_objext conftest$ac_exeext
77061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77062 (eval $ac_link) 2>conftest.er1
77063 ac_status=$?
77064 grep -v '^ *+' conftest.er1 >conftest.err
77065 rm -f conftest.er1
77066 cat conftest.err >&5
77067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77068 (exit $ac_status); } &&
77069 { ac_try='test -z "$ac_c_werror_flag"
77070 || test ! -s conftest.err'
77071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77072 (eval $ac_try) 2>&5
77073 ac_status=$?
77074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075 (exit $ac_status); }; } &&
77076 { ac_try='test -s conftest$ac_exeext'
77077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77078 (eval $ac_try) 2>&5
77079 ac_status=$?
77080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081 (exit $ac_status); }; }; then
77082 ac_cv_lib_iconv_iconv=yes
77083 else
77084 echo "$as_me: failed program was:" >&5
77085 sed 's/^/| /' conftest.$ac_ext >&5
77087 ac_cv_lib_iconv_iconv=no
77089 rm -f conftest.err conftest.$ac_objext \
77090 conftest$ac_exeext conftest.$ac_ext
77091 LIBS=$ac_check_lib_save_LIBS
77093 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77094 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77095 if test $ac_cv_lib_iconv_iconv = yes; then
77096 LIBICONV="-liconv"
77099 ac_save_LIBS="$LIBS"
77100 LIBS="$LIBS $LIBICONV"
77107 for ac_func in iconv_open iconv_close iconv nl_langinfo
77109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77110 echo "$as_me:$LINENO: checking for $ac_func" >&5
77111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77112 if eval "test \"\${$as_ac_var+set}\" = set"; then
77113 echo $ECHO_N "(cached) $ECHO_C" >&6
77114 else
77115 if test x$gcc_no_link = xyes; then
77116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77118 { (exit 1); exit 1; }; }
77120 cat >conftest.$ac_ext <<_ACEOF
77121 /* confdefs.h. */
77122 _ACEOF
77123 cat confdefs.h >>conftest.$ac_ext
77124 cat >>conftest.$ac_ext <<_ACEOF
77125 /* end confdefs.h. */
77126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77128 #define $ac_func innocuous_$ac_func
77130 /* System header to define __stub macros and hopefully few prototypes,
77131 which can conflict with char $ac_func (); below.
77132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77133 <limits.h> exists even on freestanding compilers. */
77135 #ifdef __STDC__
77136 # include <limits.h>
77137 #else
77138 # include <assert.h>
77139 #endif
77141 #undef $ac_func
77143 /* Override any gcc2 internal prototype to avoid an error. */
77144 #ifdef __cplusplus
77145 extern "C"
77147 #endif
77148 /* We use char because int might match the return type of a gcc2
77149 builtin and then its argument prototype would still apply. */
77150 char $ac_func ();
77151 /* The GNU C library defines this for functions which it implements
77152 to always fail with ENOSYS. Some functions are actually named
77153 something starting with __ and the normal name is an alias. */
77154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77155 choke me
77156 #else
77157 char (*f) () = $ac_func;
77158 #endif
77159 #ifdef __cplusplus
77161 #endif
77164 main ()
77166 return f != $ac_func;
77168 return 0;
77170 _ACEOF
77171 rm -f conftest.$ac_objext conftest$ac_exeext
77172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77173 (eval $ac_link) 2>conftest.er1
77174 ac_status=$?
77175 grep -v '^ *+' conftest.er1 >conftest.err
77176 rm -f conftest.er1
77177 cat conftest.err >&5
77178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77179 (exit $ac_status); } &&
77180 { ac_try='test -z "$ac_c_werror_flag"
77181 || test ! -s conftest.err'
77182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77183 (eval $ac_try) 2>&5
77184 ac_status=$?
77185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77186 (exit $ac_status); }; } &&
77187 { ac_try='test -s conftest$ac_exeext'
77188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77189 (eval $ac_try) 2>&5
77190 ac_status=$?
77191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77192 (exit $ac_status); }; }; then
77193 eval "$as_ac_var=yes"
77194 else
77195 echo "$as_me: failed program was:" >&5
77196 sed 's/^/| /' conftest.$ac_ext >&5
77198 eval "$as_ac_var=no"
77200 rm -f conftest.err conftest.$ac_objext \
77201 conftest$ac_exeext conftest.$ac_ext
77203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77205 if test `eval echo '${'$as_ac_var'}'` = yes; then
77206 cat >>confdefs.h <<_ACEOF
77207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77208 _ACEOF
77209 ac_XPG2funcs=yes
77210 else
77211 ac_XPG2funcs=no
77213 done
77216 LIBS="$ac_save_LIBS"
77218 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77219 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77220 if test x"$ac_has_iconv_h" = xyes &&
77221 test x"$ac_has_langinfo_h" = xyes &&
77222 test x"$ac_XPG2funcs" = xyes;
77223 then
77224 ac_XPG2_wchar_t=yes
77225 else
77226 ac_XPG2_wchar_t=no
77228 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77229 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77231 # At the moment, only enable wchar_t specializations if all the
77232 # above support is present.
77233 if test x"$ac_isoC99_wchar_t" = xyes &&
77234 test x"$ac_XPG2_wchar_t" = xyes;
77235 then
77236 cat >>confdefs.h <<\_ACEOF
77237 #define _GLIBCXX_USE_WCHAR_T 1
77238 _ACEOF
77240 enable_wchar_t=yes
77243 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77244 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77245 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77246 echo "${ECHO_T}$enable_wchar_t" >&6
77248 cat >>confdefs.h <<\_ACEOF
77249 #define HAVE_LC_MESSAGES 1
77250 _ACEOF
77252 cat >>confdefs.h <<\_ACEOF
77253 #define HAVE_GETPAGESIZE 1
77254 _ACEOF
77256 cat >>confdefs.h <<\_ACEOF
77257 #define HAVE_SETENV 1
77258 _ACEOF
77260 cat >>confdefs.h <<\_ACEOF
77261 #define HAVE_SIGSETJMP 1
77262 _ACEOF
77264 cat >>confdefs.h <<\_ACEOF
77265 #define HAVE_COPYSIGN 1
77266 _ACEOF
77268 cat >>confdefs.h <<\_ACEOF
77269 #define HAVE_COPYSIGNF 1
77270 _ACEOF
77272 cat >>confdefs.h <<\_ACEOF
77273 #define HAVE_FINITEF 1
77274 _ACEOF
77276 cat >>confdefs.h <<\_ACEOF
77277 #define HAVE_FINITE 1
77278 _ACEOF
77280 cat >>confdefs.h <<\_ACEOF
77281 #define HAVE_FREXPF 1
77282 _ACEOF
77284 cat >>confdefs.h <<\_ACEOF
77285 #define HAVE_HYPOT 1
77286 _ACEOF
77288 cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_HYPOTF 1
77290 _ACEOF
77292 cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_ISINF 1
77294 _ACEOF
77296 cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_ISNAN 1
77298 _ACEOF
77300 cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_ISNANF 1
77302 _ACEOF
77305 cat >>confdefs.h <<\_ACEOF
77306 #define HAVE_MMAP 1
77307 _ACEOF
77309 cat >>confdefs.h <<\_ACEOF
77310 #define HAVE_ACOSF 1
77311 _ACEOF
77313 cat >>confdefs.h <<\_ACEOF
77314 #define HAVE_ASINF 1
77315 _ACEOF
77317 cat >>confdefs.h <<\_ACEOF
77318 #define HAVE_ATAN2F 1
77319 _ACEOF
77321 cat >>confdefs.h <<\_ACEOF
77322 #define HAVE_ATANF 1
77323 _ACEOF
77325 cat >>confdefs.h <<\_ACEOF
77326 #define HAVE_CEILF 1
77327 _ACEOF
77329 cat >>confdefs.h <<\_ACEOF
77330 #define HAVE_COPYSIGN 1
77331 _ACEOF
77333 cat >>confdefs.h <<\_ACEOF
77334 #define HAVE_COPYSIGNF 1
77335 _ACEOF
77337 cat >>confdefs.h <<\_ACEOF
77338 #define HAVE_COSF 1
77339 _ACEOF
77341 cat >>confdefs.h <<\_ACEOF
77342 #define HAVE_COSHF 1
77343 _ACEOF
77345 cat >>confdefs.h <<\_ACEOF
77346 #define HAVE_EXPF 1
77347 _ACEOF
77349 cat >>confdefs.h <<\_ACEOF
77350 #define HAVE_FABSF 1
77351 _ACEOF
77353 cat >>confdefs.h <<\_ACEOF
77354 #define HAVE_FLOORF 1
77355 _ACEOF
77357 cat >>confdefs.h <<\_ACEOF
77358 #define HAVE_FMODF 1
77359 _ACEOF
77361 cat >>confdefs.h <<\_ACEOF
77362 #define HAVE_FREXPF 1
77363 _ACEOF
77365 cat >>confdefs.h <<\_ACEOF
77366 #define HAVE_LDEXPF 1
77367 _ACEOF
77369 cat >>confdefs.h <<\_ACEOF
77370 #define HAVE_LOG10F 1
77371 _ACEOF
77373 cat >>confdefs.h <<\_ACEOF
77374 #define HAVE_LOGF 1
77375 _ACEOF
77377 cat >>confdefs.h <<\_ACEOF
77378 #define HAVE_MODFF 1
77379 _ACEOF
77381 cat >>confdefs.h <<\_ACEOF
77382 #define HAVE_POWF 1
77383 _ACEOF
77385 cat >>confdefs.h <<\_ACEOF
77386 #define HAVE_SINF 1
77387 _ACEOF
77389 cat >>confdefs.h <<\_ACEOF
77390 #define HAVE_SINHF 1
77391 _ACEOF
77393 cat >>confdefs.h <<\_ACEOF
77394 #define HAVE_SQRTF 1
77395 _ACEOF
77397 cat >>confdefs.h <<\_ACEOF
77398 #define HAVE_TANF 1
77399 _ACEOF
77401 cat >>confdefs.h <<\_ACEOF
77402 #define HAVE_TANHF 1
77403 _ACEOF
77405 if test x"long_double_math_on_this_cpu" = x"yes"; then
77406 cat >>confdefs.h <<\_ACEOF
77407 #define HAVE_FINITEL 1
77408 _ACEOF
77410 cat >>confdefs.h <<\_ACEOF
77411 #define HAVE_ISINFL 1
77412 _ACEOF
77414 cat >>confdefs.h <<\_ACEOF
77415 #define HAVE_ISNANL 1
77416 _ACEOF
77420 *-hpux*)
77433 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77434 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77435 fp.h locale.h float.h inttypes.h
77437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77439 echo "$as_me:$LINENO: checking for $ac_header" >&5
77440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77442 echo $ECHO_N "(cached) $ECHO_C" >&6
77444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77446 else
77447 # Is the header compilable?
77448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77450 cat >conftest.$ac_ext <<_ACEOF
77451 /* confdefs.h. */
77452 _ACEOF
77453 cat confdefs.h >>conftest.$ac_ext
77454 cat >>conftest.$ac_ext <<_ACEOF
77455 /* end confdefs.h. */
77456 $ac_includes_default
77457 #include <$ac_header>
77458 _ACEOF
77459 rm -f conftest.$ac_objext
77460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77461 (eval $ac_compile) 2>conftest.er1
77462 ac_status=$?
77463 grep -v '^ *+' conftest.er1 >conftest.err
77464 rm -f conftest.er1
77465 cat conftest.err >&5
77466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467 (exit $ac_status); } &&
77468 { ac_try='test -z "$ac_c_werror_flag"
77469 || test ! -s conftest.err'
77470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77471 (eval $ac_try) 2>&5
77472 ac_status=$?
77473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77474 (exit $ac_status); }; } &&
77475 { ac_try='test -s conftest.$ac_objext'
77476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77477 (eval $ac_try) 2>&5
77478 ac_status=$?
77479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77480 (exit $ac_status); }; }; then
77481 ac_header_compiler=yes
77482 else
77483 echo "$as_me: failed program was:" >&5
77484 sed 's/^/| /' conftest.$ac_ext >&5
77486 ac_header_compiler=no
77488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77490 echo "${ECHO_T}$ac_header_compiler" >&6
77492 # Is the header present?
77493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77495 cat >conftest.$ac_ext <<_ACEOF
77496 /* confdefs.h. */
77497 _ACEOF
77498 cat confdefs.h >>conftest.$ac_ext
77499 cat >>conftest.$ac_ext <<_ACEOF
77500 /* end confdefs.h. */
77501 #include <$ac_header>
77502 _ACEOF
77503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77505 ac_status=$?
77506 grep -v '^ *+' conftest.er1 >conftest.err
77507 rm -f conftest.er1
77508 cat conftest.err >&5
77509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77510 (exit $ac_status); } >/dev/null; then
77511 if test -s conftest.err; then
77512 ac_cpp_err=$ac_c_preproc_warn_flag
77513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77514 else
77515 ac_cpp_err=
77517 else
77518 ac_cpp_err=yes
77520 if test -z "$ac_cpp_err"; then
77521 ac_header_preproc=yes
77522 else
77523 echo "$as_me: failed program was:" >&5
77524 sed 's/^/| /' conftest.$ac_ext >&5
77526 ac_header_preproc=no
77528 rm -f conftest.err conftest.$ac_ext
77529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77530 echo "${ECHO_T}$ac_header_preproc" >&6
77532 # So? What about this header?
77533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77534 yes:no: )
77535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77539 ac_header_preproc=yes
77541 no:yes:* )
77542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77555 cat <<\_ASBOX
77556 ## ----------------------------------------- ##
77557 ## Report this to the package-unused lists. ##
77558 ## ----------------------------------------- ##
77559 _ASBOX
77561 sed "s/^/$as_me: WARNING: /" >&2
77563 esac
77564 echo "$as_me:$LINENO: checking for $ac_header" >&5
77565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77567 echo $ECHO_N "(cached) $ECHO_C" >&6
77568 else
77569 eval "$as_ac_Header=\$ac_header_preproc"
77571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77576 cat >>confdefs.h <<_ACEOF
77577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77578 _ACEOF
77582 done
77584 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77587 # If we're not using GNU ld, then there's no point in even trying these
77588 # tests. Check for that first. We should have already tested for gld
77589 # by now (in libtool), but require it now just to be safe...
77590 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77591 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77595 # The name set by libtool depends on the version of libtool. Shame on us
77596 # for depending on an impl detail, but c'est la vie. Older versions used
77597 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77598 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77599 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77600 # set (hence we're using an older libtool), then set it.
77601 if test x${with_gnu_ld+set} != xset; then
77602 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77603 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77604 with_gnu_ld=no
77605 else
77606 with_gnu_ld=$ac_cv_prog_gnu_ld
77610 # Start by getting the version number. I think the libtool test already
77611 # does some of this, but throws away the result.
77613 ldver=`$LD --version 2>/dev/null | head -1 | \
77614 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77616 glibcxx_gnu_ld_version=`echo $ldver | \
77617 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77619 # Set --gc-sections.
77620 if test "$with_gnu_ld" = "notbroken"; then
77621 # GNU ld it is! Joy and bunny rabbits!
77623 # All these tests are for C++; save the language and the compiler flags.
77624 # Need to do this so that g++ won't try to link in libstdc++
77625 ac_test_CFLAGS="${CFLAGS+set}"
77626 ac_save_CFLAGS="$CFLAGS"
77627 CFLAGS='-x c++ -Wl,--gc-sections'
77629 # Check for -Wl,--gc-sections
77630 # XXX This test is broken at the moment, as symbols required for linking
77631 # are now in libsupc++ (not built yet). In addition, this test has
77632 # cored on solaris in the past. In addition, --gc-sections doesn't
77633 # really work at the moment (keeps on discarding used sections, first
77634 # .eh_frame and now some of the glibc sections for iconv).
77635 # Bzzzzt. Thanks for playing, maybe next time.
77636 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77637 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77638 if test "$cross_compiling" = yes; then
77639 ac_sectionLDflags=yes
77640 else
77641 cat >conftest.$ac_ext <<_ACEOF
77642 /* confdefs.h. */
77643 _ACEOF
77644 cat confdefs.h >>conftest.$ac_ext
77645 cat >>conftest.$ac_ext <<_ACEOF
77646 /* end confdefs.h. */
77648 int main(void)
77650 try { throw 1; }
77651 catch (...) { };
77652 return 0;
77655 _ACEOF
77656 rm -f conftest$ac_exeext
77657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77658 (eval $ac_link) 2>&5
77659 ac_status=$?
77660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77663 (eval $ac_try) 2>&5
77664 ac_status=$?
77665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77666 (exit $ac_status); }; }; then
77667 ac_sectionLDflags=yes
77668 else
77669 echo "$as_me: program exited with status $ac_status" >&5
77670 echo "$as_me: failed program was:" >&5
77671 sed 's/^/| /' conftest.$ac_ext >&5
77673 ( exit $ac_status )
77674 ac_sectionLDflags=no
77676 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77678 if test "$ac_test_CFLAGS" = set; then
77679 CFLAGS="$ac_save_CFLAGS"
77680 else
77681 # this is the suspicious part
77682 CFLAGS=''
77684 if test "$ac_sectionLDflags" = "yes"; then
77685 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77687 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77688 echo "${ECHO_T}$ac_sectionLDflags" >&6
77691 # Set linker optimization flags.
77692 if test x"$with_gnu_ld" = x"yes"; then
77693 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77701 echo "$as_me:$LINENO: checking for main in -lm" >&5
77702 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77703 if test "${ac_cv_lib_m_main+set}" = set; then
77704 echo $ECHO_N "(cached) $ECHO_C" >&6
77705 else
77706 ac_check_lib_save_LIBS=$LIBS
77707 LIBS="-lm $LIBS"
77708 if test x$gcc_no_link = xyes; then
77709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77711 { (exit 1); exit 1; }; }
77713 cat >conftest.$ac_ext <<_ACEOF
77714 /* confdefs.h. */
77715 _ACEOF
77716 cat confdefs.h >>conftest.$ac_ext
77717 cat >>conftest.$ac_ext <<_ACEOF
77718 /* end confdefs.h. */
77722 main ()
77724 main ();
77726 return 0;
77728 _ACEOF
77729 rm -f conftest.$ac_objext conftest$ac_exeext
77730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77731 (eval $ac_link) 2>conftest.er1
77732 ac_status=$?
77733 grep -v '^ *+' conftest.er1 >conftest.err
77734 rm -f conftest.er1
77735 cat conftest.err >&5
77736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77737 (exit $ac_status); } &&
77738 { ac_try='test -z "$ac_c_werror_flag"
77739 || test ! -s conftest.err'
77740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77741 (eval $ac_try) 2>&5
77742 ac_status=$?
77743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77744 (exit $ac_status); }; } &&
77745 { ac_try='test -s conftest$ac_exeext'
77746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77747 (eval $ac_try) 2>&5
77748 ac_status=$?
77749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77750 (exit $ac_status); }; }; then
77751 ac_cv_lib_m_main=yes
77752 else
77753 echo "$as_me: failed program was:" >&5
77754 sed 's/^/| /' conftest.$ac_ext >&5
77756 ac_cv_lib_m_main=no
77758 rm -f conftest.err conftest.$ac_objext \
77759 conftest$ac_exeext conftest.$ac_ext
77760 LIBS=$ac_check_lib_save_LIBS
77762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77763 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77764 if test $ac_cv_lib_m_main = yes; then
77765 cat >>confdefs.h <<_ACEOF
77766 #define HAVE_LIBM 1
77767 _ACEOF
77769 LIBS="-lm $LIBS"
77774 for ac_func in copysignf
77776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77777 echo "$as_me:$LINENO: checking for $ac_func" >&5
77778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77779 if eval "test \"\${$as_ac_var+set}\" = set"; then
77780 echo $ECHO_N "(cached) $ECHO_C" >&6
77781 else
77782 if test x$gcc_no_link = xyes; then
77783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77785 { (exit 1); exit 1; }; }
77787 cat >conftest.$ac_ext <<_ACEOF
77788 /* confdefs.h. */
77789 _ACEOF
77790 cat confdefs.h >>conftest.$ac_ext
77791 cat >>conftest.$ac_ext <<_ACEOF
77792 /* end confdefs.h. */
77793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77795 #define $ac_func innocuous_$ac_func
77797 /* System header to define __stub macros and hopefully few prototypes,
77798 which can conflict with char $ac_func (); below.
77799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77800 <limits.h> exists even on freestanding compilers. */
77802 #ifdef __STDC__
77803 # include <limits.h>
77804 #else
77805 # include <assert.h>
77806 #endif
77808 #undef $ac_func
77810 /* Override any gcc2 internal prototype to avoid an error. */
77811 #ifdef __cplusplus
77812 extern "C"
77814 #endif
77815 /* We use char because int might match the return type of a gcc2
77816 builtin and then its argument prototype would still apply. */
77817 char $ac_func ();
77818 /* The GNU C library defines this for functions which it implements
77819 to always fail with ENOSYS. Some functions are actually named
77820 something starting with __ and the normal name is an alias. */
77821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77822 choke me
77823 #else
77824 char (*f) () = $ac_func;
77825 #endif
77826 #ifdef __cplusplus
77828 #endif
77831 main ()
77833 return f != $ac_func;
77835 return 0;
77837 _ACEOF
77838 rm -f conftest.$ac_objext conftest$ac_exeext
77839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77840 (eval $ac_link) 2>conftest.er1
77841 ac_status=$?
77842 grep -v '^ *+' conftest.er1 >conftest.err
77843 rm -f conftest.er1
77844 cat conftest.err >&5
77845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77846 (exit $ac_status); } &&
77847 { ac_try='test -z "$ac_c_werror_flag"
77848 || test ! -s conftest.err'
77849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77850 (eval $ac_try) 2>&5
77851 ac_status=$?
77852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77853 (exit $ac_status); }; } &&
77854 { ac_try='test -s conftest$ac_exeext'
77855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77856 (eval $ac_try) 2>&5
77857 ac_status=$?
77858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77859 (exit $ac_status); }; }; then
77860 eval "$as_ac_var=yes"
77861 else
77862 echo "$as_me: failed program was:" >&5
77863 sed 's/^/| /' conftest.$ac_ext >&5
77865 eval "$as_ac_var=no"
77867 rm -f conftest.err conftest.$ac_objext \
77868 conftest$ac_exeext conftest.$ac_ext
77870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77872 if test `eval echo '${'$as_ac_var'}'` = yes; then
77873 cat >>confdefs.h <<_ACEOF
77874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77875 _ACEOF
77877 else
77878 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77880 done
77884 for ac_func in __signbit
77886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77887 echo "$as_me:$LINENO: checking for $ac_func" >&5
77888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77889 if eval "test \"\${$as_ac_var+set}\" = set"; then
77890 echo $ECHO_N "(cached) $ECHO_C" >&6
77891 else
77892 if test x$gcc_no_link = xyes; then
77893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77895 { (exit 1); exit 1; }; }
77897 cat >conftest.$ac_ext <<_ACEOF
77898 /* confdefs.h. */
77899 _ACEOF
77900 cat confdefs.h >>conftest.$ac_ext
77901 cat >>conftest.$ac_ext <<_ACEOF
77902 /* end confdefs.h. */
77903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77905 #define $ac_func innocuous_$ac_func
77907 /* System header to define __stub macros and hopefully few prototypes,
77908 which can conflict with char $ac_func (); below.
77909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77910 <limits.h> exists even on freestanding compilers. */
77912 #ifdef __STDC__
77913 # include <limits.h>
77914 #else
77915 # include <assert.h>
77916 #endif
77918 #undef $ac_func
77920 /* Override any gcc2 internal prototype to avoid an error. */
77921 #ifdef __cplusplus
77922 extern "C"
77924 #endif
77925 /* We use char because int might match the return type of a gcc2
77926 builtin and then its argument prototype would still apply. */
77927 char $ac_func ();
77928 /* The GNU C library defines this for functions which it implements
77929 to always fail with ENOSYS. Some functions are actually named
77930 something starting with __ and the normal name is an alias. */
77931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77932 choke me
77933 #else
77934 char (*f) () = $ac_func;
77935 #endif
77936 #ifdef __cplusplus
77938 #endif
77941 main ()
77943 return f != $ac_func;
77945 return 0;
77947 _ACEOF
77948 rm -f conftest.$ac_objext conftest$ac_exeext
77949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77950 (eval $ac_link) 2>conftest.er1
77951 ac_status=$?
77952 grep -v '^ *+' conftest.er1 >conftest.err
77953 rm -f conftest.er1
77954 cat conftest.err >&5
77955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77956 (exit $ac_status); } &&
77957 { ac_try='test -z "$ac_c_werror_flag"
77958 || test ! -s conftest.err'
77959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77960 (eval $ac_try) 2>&5
77961 ac_status=$?
77962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77963 (exit $ac_status); }; } &&
77964 { ac_try='test -s conftest$ac_exeext'
77965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77966 (eval $ac_try) 2>&5
77967 ac_status=$?
77968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77969 (exit $ac_status); }; }; then
77970 eval "$as_ac_var=yes"
77971 else
77972 echo "$as_me: failed program was:" >&5
77973 sed 's/^/| /' conftest.$ac_ext >&5
77975 eval "$as_ac_var=no"
77977 rm -f conftest.err conftest.$ac_objext \
77978 conftest$ac_exeext conftest.$ac_ext
77980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77982 if test `eval echo '${'$as_ac_var'}'` = yes; then
77983 cat >>confdefs.h <<_ACEOF
77984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77985 _ACEOF
77987 else
77988 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77990 done
77994 for ac_func in __signbitf
77996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77997 echo "$as_me:$LINENO: checking for $ac_func" >&5
77998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77999 if eval "test \"\${$as_ac_var+set}\" = set"; then
78000 echo $ECHO_N "(cached) $ECHO_C" >&6
78001 else
78002 if test x$gcc_no_link = xyes; then
78003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78005 { (exit 1); exit 1; }; }
78007 cat >conftest.$ac_ext <<_ACEOF
78008 /* confdefs.h. */
78009 _ACEOF
78010 cat confdefs.h >>conftest.$ac_ext
78011 cat >>conftest.$ac_ext <<_ACEOF
78012 /* end confdefs.h. */
78013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78015 #define $ac_func innocuous_$ac_func
78017 /* System header to define __stub macros and hopefully few prototypes,
78018 which can conflict with char $ac_func (); below.
78019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78020 <limits.h> exists even on freestanding compilers. */
78022 #ifdef __STDC__
78023 # include <limits.h>
78024 #else
78025 # include <assert.h>
78026 #endif
78028 #undef $ac_func
78030 /* Override any gcc2 internal prototype to avoid an error. */
78031 #ifdef __cplusplus
78032 extern "C"
78034 #endif
78035 /* We use char because int might match the return type of a gcc2
78036 builtin and then its argument prototype would still apply. */
78037 char $ac_func ();
78038 /* The GNU C library defines this for functions which it implements
78039 to always fail with ENOSYS. Some functions are actually named
78040 something starting with __ and the normal name is an alias. */
78041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78042 choke me
78043 #else
78044 char (*f) () = $ac_func;
78045 #endif
78046 #ifdef __cplusplus
78048 #endif
78051 main ()
78053 return f != $ac_func;
78055 return 0;
78057 _ACEOF
78058 rm -f conftest.$ac_objext conftest$ac_exeext
78059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78060 (eval $ac_link) 2>conftest.er1
78061 ac_status=$?
78062 grep -v '^ *+' conftest.er1 >conftest.err
78063 rm -f conftest.er1
78064 cat conftest.err >&5
78065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78066 (exit $ac_status); } &&
78067 { ac_try='test -z "$ac_c_werror_flag"
78068 || test ! -s conftest.err'
78069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78070 (eval $ac_try) 2>&5
78071 ac_status=$?
78072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78073 (exit $ac_status); }; } &&
78074 { ac_try='test -s conftest$ac_exeext'
78075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78076 (eval $ac_try) 2>&5
78077 ac_status=$?
78078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78079 (exit $ac_status); }; }; then
78080 eval "$as_ac_var=yes"
78081 else
78082 echo "$as_me: failed program was:" >&5
78083 sed 's/^/| /' conftest.$ac_ext >&5
78085 eval "$as_ac_var=no"
78087 rm -f conftest.err conftest.$ac_objext \
78088 conftest$ac_exeext conftest.$ac_ext
78090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78092 if test `eval echo '${'$as_ac_var'}'` = yes; then
78093 cat >>confdefs.h <<_ACEOF
78094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78095 _ACEOF
78097 else
78098 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78100 done
78103 if test x$ac_cv_func_copysignl = x"yes"; then
78105 for ac_func in __signbitl
78107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78108 echo "$as_me:$LINENO: checking for $ac_func" >&5
78109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78110 if eval "test \"\${$as_ac_var+set}\" = set"; then
78111 echo $ECHO_N "(cached) $ECHO_C" >&6
78112 else
78113 if test x$gcc_no_link = xyes; then
78114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78116 { (exit 1); exit 1; }; }
78118 cat >conftest.$ac_ext <<_ACEOF
78119 /* confdefs.h. */
78120 _ACEOF
78121 cat confdefs.h >>conftest.$ac_ext
78122 cat >>conftest.$ac_ext <<_ACEOF
78123 /* end confdefs.h. */
78124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78126 #define $ac_func innocuous_$ac_func
78128 /* System header to define __stub macros and hopefully few prototypes,
78129 which can conflict with char $ac_func (); below.
78130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78131 <limits.h> exists even on freestanding compilers. */
78133 #ifdef __STDC__
78134 # include <limits.h>
78135 #else
78136 # include <assert.h>
78137 #endif
78139 #undef $ac_func
78141 /* Override any gcc2 internal prototype to avoid an error. */
78142 #ifdef __cplusplus
78143 extern "C"
78145 #endif
78146 /* We use char because int might match the return type of a gcc2
78147 builtin and then its argument prototype would still apply. */
78148 char $ac_func ();
78149 /* The GNU C library defines this for functions which it implements
78150 to always fail with ENOSYS. Some functions are actually named
78151 something starting with __ and the normal name is an alias. */
78152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78153 choke me
78154 #else
78155 char (*f) () = $ac_func;
78156 #endif
78157 #ifdef __cplusplus
78159 #endif
78162 main ()
78164 return f != $ac_func;
78166 return 0;
78168 _ACEOF
78169 rm -f conftest.$ac_objext conftest$ac_exeext
78170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78171 (eval $ac_link) 2>conftest.er1
78172 ac_status=$?
78173 grep -v '^ *+' conftest.er1 >conftest.err
78174 rm -f conftest.er1
78175 cat conftest.err >&5
78176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78177 (exit $ac_status); } &&
78178 { ac_try='test -z "$ac_c_werror_flag"
78179 || test ! -s conftest.err'
78180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78181 (eval $ac_try) 2>&5
78182 ac_status=$?
78183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78184 (exit $ac_status); }; } &&
78185 { ac_try='test -s conftest$ac_exeext'
78186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78187 (eval $ac_try) 2>&5
78188 ac_status=$?
78189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78190 (exit $ac_status); }; }; then
78191 eval "$as_ac_var=yes"
78192 else
78193 echo "$as_me: failed program was:" >&5
78194 sed 's/^/| /' conftest.$ac_ext >&5
78196 eval "$as_ac_var=no"
78198 rm -f conftest.err conftest.$ac_objext \
78199 conftest$ac_exeext conftest.$ac_ext
78201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78203 if test `eval echo '${'$as_ac_var'}'` = yes; then
78204 cat >>confdefs.h <<_ACEOF
78205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78206 _ACEOF
78208 else
78209 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78211 done
78215 # Used in libmath/Makefile.am.
78216 if test -n "$LIBMATHOBJS"; then
78217 need_libmath=yes
78222 # Test wchar.h for mbstate_t, which is needed for char_traits and
78223 # others even if wchar_t support is not on.
78224 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78225 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78226 cat >conftest.$ac_ext <<_ACEOF
78227 /* confdefs.h. */
78228 _ACEOF
78229 cat confdefs.h >>conftest.$ac_ext
78230 cat >>conftest.$ac_ext <<_ACEOF
78231 /* end confdefs.h. */
78232 #include <wchar.h>
78234 main ()
78236 mbstate_t teststate;
78238 return 0;
78240 _ACEOF
78241 rm -f conftest.$ac_objext
78242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78243 (eval $ac_compile) 2>conftest.er1
78244 ac_status=$?
78245 grep -v '^ *+' conftest.er1 >conftest.err
78246 rm -f conftest.er1
78247 cat conftest.err >&5
78248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78249 (exit $ac_status); } &&
78250 { ac_try='test -z "$ac_c_werror_flag"
78251 || test ! -s conftest.err'
78252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78253 (eval $ac_try) 2>&5
78254 ac_status=$?
78255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78256 (exit $ac_status); }; } &&
78257 { ac_try='test -s conftest.$ac_objext'
78258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78259 (eval $ac_try) 2>&5
78260 ac_status=$?
78261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78262 (exit $ac_status); }; }; then
78263 have_mbstate_t=yes
78264 else
78265 echo "$as_me: failed program was:" >&5
78266 sed 's/^/| /' conftest.$ac_ext >&5
78268 have_mbstate_t=no
78270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78271 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78272 echo "${ECHO_T}$have_mbstate_t" >&6
78273 if test x"$have_mbstate_t" = xyes; then
78274 cat >>confdefs.h <<\_ACEOF
78275 #define HAVE_MBSTATE_T 1
78276 _ACEOF
78280 # Sanity check for existence of ISO C99 headers for extended encoding.
78282 for ac_header in wchar.h
78284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78286 echo "$as_me:$LINENO: checking for $ac_header" >&5
78287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78289 echo $ECHO_N "(cached) $ECHO_C" >&6
78291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78293 else
78294 # Is the header compilable?
78295 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78297 cat >conftest.$ac_ext <<_ACEOF
78298 /* confdefs.h. */
78299 _ACEOF
78300 cat confdefs.h >>conftest.$ac_ext
78301 cat >>conftest.$ac_ext <<_ACEOF
78302 /* end confdefs.h. */
78303 $ac_includes_default
78304 #include <$ac_header>
78305 _ACEOF
78306 rm -f conftest.$ac_objext
78307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78308 (eval $ac_compile) 2>conftest.er1
78309 ac_status=$?
78310 grep -v '^ *+' conftest.er1 >conftest.err
78311 rm -f conftest.er1
78312 cat conftest.err >&5
78313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78314 (exit $ac_status); } &&
78315 { ac_try='test -z "$ac_c_werror_flag"
78316 || test ! -s conftest.err'
78317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78318 (eval $ac_try) 2>&5
78319 ac_status=$?
78320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78321 (exit $ac_status); }; } &&
78322 { ac_try='test -s conftest.$ac_objext'
78323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78324 (eval $ac_try) 2>&5
78325 ac_status=$?
78326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78327 (exit $ac_status); }; }; then
78328 ac_header_compiler=yes
78329 else
78330 echo "$as_me: failed program was:" >&5
78331 sed 's/^/| /' conftest.$ac_ext >&5
78333 ac_header_compiler=no
78335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78337 echo "${ECHO_T}$ac_header_compiler" >&6
78339 # Is the header present?
78340 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78341 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78342 cat >conftest.$ac_ext <<_ACEOF
78343 /* confdefs.h. */
78344 _ACEOF
78345 cat confdefs.h >>conftest.$ac_ext
78346 cat >>conftest.$ac_ext <<_ACEOF
78347 /* end confdefs.h. */
78348 #include <$ac_header>
78349 _ACEOF
78350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78352 ac_status=$?
78353 grep -v '^ *+' conftest.er1 >conftest.err
78354 rm -f conftest.er1
78355 cat conftest.err >&5
78356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78357 (exit $ac_status); } >/dev/null; then
78358 if test -s conftest.err; then
78359 ac_cpp_err=$ac_c_preproc_warn_flag
78360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78361 else
78362 ac_cpp_err=
78364 else
78365 ac_cpp_err=yes
78367 if test -z "$ac_cpp_err"; then
78368 ac_header_preproc=yes
78369 else
78370 echo "$as_me: failed program was:" >&5
78371 sed 's/^/| /' conftest.$ac_ext >&5
78373 ac_header_preproc=no
78375 rm -f conftest.err conftest.$ac_ext
78376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78377 echo "${ECHO_T}$ac_header_preproc" >&6
78379 # So? What about this header?
78380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78381 yes:no: )
78382 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78385 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78386 ac_header_preproc=yes
78388 no:yes:* )
78389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78393 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78394 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78395 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78396 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78399 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78400 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78402 cat <<\_ASBOX
78403 ## ----------------------------------------- ##
78404 ## Report this to the package-unused lists. ##
78405 ## ----------------------------------------- ##
78406 _ASBOX
78408 sed "s/^/$as_me: WARNING: /" >&2
78410 esac
78411 echo "$as_me:$LINENO: checking for $ac_header" >&5
78412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78414 echo $ECHO_N "(cached) $ECHO_C" >&6
78415 else
78416 eval "$as_ac_Header=\$ac_header_preproc"
78418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78423 cat >>confdefs.h <<_ACEOF
78424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78425 _ACEOF
78426 ac_has_wchar_h=yes
78427 else
78428 ac_has_wchar_h=no
78431 done
78434 for ac_header in wctype.h
78436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78438 echo "$as_me:$LINENO: checking for $ac_header" >&5
78439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78441 echo $ECHO_N "(cached) $ECHO_C" >&6
78443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78445 else
78446 # Is the header compilable?
78447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78449 cat >conftest.$ac_ext <<_ACEOF
78450 /* confdefs.h. */
78451 _ACEOF
78452 cat confdefs.h >>conftest.$ac_ext
78453 cat >>conftest.$ac_ext <<_ACEOF
78454 /* end confdefs.h. */
78455 $ac_includes_default
78456 #include <$ac_header>
78457 _ACEOF
78458 rm -f conftest.$ac_objext
78459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78460 (eval $ac_compile) 2>conftest.er1
78461 ac_status=$?
78462 grep -v '^ *+' conftest.er1 >conftest.err
78463 rm -f conftest.er1
78464 cat conftest.err >&5
78465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78466 (exit $ac_status); } &&
78467 { ac_try='test -z "$ac_c_werror_flag"
78468 || test ! -s conftest.err'
78469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78470 (eval $ac_try) 2>&5
78471 ac_status=$?
78472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473 (exit $ac_status); }; } &&
78474 { ac_try='test -s conftest.$ac_objext'
78475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78476 (eval $ac_try) 2>&5
78477 ac_status=$?
78478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78479 (exit $ac_status); }; }; then
78480 ac_header_compiler=yes
78481 else
78482 echo "$as_me: failed program was:" >&5
78483 sed 's/^/| /' conftest.$ac_ext >&5
78485 ac_header_compiler=no
78487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78489 echo "${ECHO_T}$ac_header_compiler" >&6
78491 # Is the header present?
78492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78494 cat >conftest.$ac_ext <<_ACEOF
78495 /* confdefs.h. */
78496 _ACEOF
78497 cat confdefs.h >>conftest.$ac_ext
78498 cat >>conftest.$ac_ext <<_ACEOF
78499 /* end confdefs.h. */
78500 #include <$ac_header>
78501 _ACEOF
78502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78504 ac_status=$?
78505 grep -v '^ *+' conftest.er1 >conftest.err
78506 rm -f conftest.er1
78507 cat conftest.err >&5
78508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78509 (exit $ac_status); } >/dev/null; then
78510 if test -s conftest.err; then
78511 ac_cpp_err=$ac_c_preproc_warn_flag
78512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78513 else
78514 ac_cpp_err=
78516 else
78517 ac_cpp_err=yes
78519 if test -z "$ac_cpp_err"; then
78520 ac_header_preproc=yes
78521 else
78522 echo "$as_me: failed program was:" >&5
78523 sed 's/^/| /' conftest.$ac_ext >&5
78525 ac_header_preproc=no
78527 rm -f conftest.err conftest.$ac_ext
78528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78529 echo "${ECHO_T}$ac_header_preproc" >&6
78531 # So? What about this header?
78532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78533 yes:no: )
78534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78538 ac_header_preproc=yes
78540 no:yes:* )
78541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78554 cat <<\_ASBOX
78555 ## ----------------------------------------- ##
78556 ## Report this to the package-unused lists. ##
78557 ## ----------------------------------------- ##
78558 _ASBOX
78560 sed "s/^/$as_me: WARNING: /" >&2
78562 esac
78563 echo "$as_me:$LINENO: checking for $ac_header" >&5
78564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78566 echo $ECHO_N "(cached) $ECHO_C" >&6
78567 else
78568 eval "$as_ac_Header=\$ac_header_preproc"
78570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78575 cat >>confdefs.h <<_ACEOF
78576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78577 _ACEOF
78578 ac_has_wctype_h=yes
78579 else
78580 ac_has_wctype_h=no
78583 done
78586 # Only continue checking if the ISO C99 headers exist and support is on.
78587 if test x"$ac_has_wchar_h" = xyes &&
78588 test x"$ac_has_wctype_h" = xyes &&
78589 test x"$enable_c_mbchar" != xno; then
78591 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78592 # numeric_limits can instantiate type_traits<wchar_t>
78593 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78594 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78595 cat >conftest.$ac_ext <<_ACEOF
78596 /* confdefs.h. */
78597 _ACEOF
78598 cat confdefs.h >>conftest.$ac_ext
78599 cat >>conftest.$ac_ext <<_ACEOF
78600 /* end confdefs.h. */
78601 #include <wchar.h>
78603 main ()
78605 int i = WCHAR_MIN; int j = WCHAR_MAX;
78607 return 0;
78609 _ACEOF
78610 rm -f conftest.$ac_objext
78611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78612 (eval $ac_compile) 2>conftest.er1
78613 ac_status=$?
78614 grep -v '^ *+' conftest.er1 >conftest.err
78615 rm -f conftest.er1
78616 cat conftest.err >&5
78617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78618 (exit $ac_status); } &&
78619 { ac_try='test -z "$ac_c_werror_flag"
78620 || test ! -s conftest.err'
78621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78622 (eval $ac_try) 2>&5
78623 ac_status=$?
78624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78625 (exit $ac_status); }; } &&
78626 { ac_try='test -s conftest.$ac_objext'
78627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78628 (eval $ac_try) 2>&5
78629 ac_status=$?
78630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78631 (exit $ac_status); }; }; then
78632 has_wchar_minmax=yes
78633 else
78634 echo "$as_me: failed program was:" >&5
78635 sed 's/^/| /' conftest.$ac_ext >&5
78637 has_wchar_minmax=no
78639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78640 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78641 echo "${ECHO_T}$has_wchar_minmax" >&6
78643 # Test wchar.h for WEOF, which is what we use to determine whether
78644 # to specialize for char_traits<wchar_t> or not.
78645 echo "$as_me:$LINENO: checking for WEOF" >&5
78646 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78647 cat >conftest.$ac_ext <<_ACEOF
78648 /* confdefs.h. */
78649 _ACEOF
78650 cat confdefs.h >>conftest.$ac_ext
78651 cat >>conftest.$ac_ext <<_ACEOF
78652 /* end confdefs.h. */
78654 #include <wchar.h>
78655 #include <stddef.h>
78657 main ()
78659 wint_t i = WEOF;
78661 return 0;
78663 _ACEOF
78664 rm -f conftest.$ac_objext
78665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78666 (eval $ac_compile) 2>conftest.er1
78667 ac_status=$?
78668 grep -v '^ *+' conftest.er1 >conftest.err
78669 rm -f conftest.er1
78670 cat conftest.err >&5
78671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78672 (exit $ac_status); } &&
78673 { ac_try='test -z "$ac_c_werror_flag"
78674 || test ! -s conftest.err'
78675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78676 (eval $ac_try) 2>&5
78677 ac_status=$?
78678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78679 (exit $ac_status); }; } &&
78680 { ac_try='test -s conftest.$ac_objext'
78681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78682 (eval $ac_try) 2>&5
78683 ac_status=$?
78684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78685 (exit $ac_status); }; }; then
78686 has_weof=yes
78687 else
78688 echo "$as_me: failed program was:" >&5
78689 sed 's/^/| /' conftest.$ac_ext >&5
78691 has_weof=no
78693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78694 echo "$as_me:$LINENO: result: $has_weof" >&5
78695 echo "${ECHO_T}$has_weof" >&6
78697 # Tests for wide character functions used in char_traits<wchar_t>.
78698 ac_wfuncs=yes
78705 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78708 echo "$as_me:$LINENO: checking for $ac_func" >&5
78709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78710 if eval "test \"\${$as_ac_var+set}\" = set"; then
78711 echo $ECHO_N "(cached) $ECHO_C" >&6
78712 else
78713 if test x$gcc_no_link = xyes; then
78714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78716 { (exit 1); exit 1; }; }
78718 cat >conftest.$ac_ext <<_ACEOF
78719 /* confdefs.h. */
78720 _ACEOF
78721 cat confdefs.h >>conftest.$ac_ext
78722 cat >>conftest.$ac_ext <<_ACEOF
78723 /* end confdefs.h. */
78724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78726 #define $ac_func innocuous_$ac_func
78728 /* System header to define __stub macros and hopefully few prototypes,
78729 which can conflict with char $ac_func (); below.
78730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78731 <limits.h> exists even on freestanding compilers. */
78733 #ifdef __STDC__
78734 # include <limits.h>
78735 #else
78736 # include <assert.h>
78737 #endif
78739 #undef $ac_func
78741 /* Override any gcc2 internal prototype to avoid an error. */
78742 #ifdef __cplusplus
78743 extern "C"
78745 #endif
78746 /* We use char because int might match the return type of a gcc2
78747 builtin and then its argument prototype would still apply. */
78748 char $ac_func ();
78749 /* The GNU C library defines this for functions which it implements
78750 to always fail with ENOSYS. Some functions are actually named
78751 something starting with __ and the normal name is an alias. */
78752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78753 choke me
78754 #else
78755 char (*f) () = $ac_func;
78756 #endif
78757 #ifdef __cplusplus
78759 #endif
78762 main ()
78764 return f != $ac_func;
78766 return 0;
78768 _ACEOF
78769 rm -f conftest.$ac_objext conftest$ac_exeext
78770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78771 (eval $ac_link) 2>conftest.er1
78772 ac_status=$?
78773 grep -v '^ *+' conftest.er1 >conftest.err
78774 rm -f conftest.er1
78775 cat conftest.err >&5
78776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78777 (exit $ac_status); } &&
78778 { ac_try='test -z "$ac_c_werror_flag"
78779 || test ! -s conftest.err'
78780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78781 (eval $ac_try) 2>&5
78782 ac_status=$?
78783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78784 (exit $ac_status); }; } &&
78785 { ac_try='test -s conftest$ac_exeext'
78786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78787 (eval $ac_try) 2>&5
78788 ac_status=$?
78789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78790 (exit $ac_status); }; }; then
78791 eval "$as_ac_var=yes"
78792 else
78793 echo "$as_me: failed program was:" >&5
78794 sed 's/^/| /' conftest.$ac_ext >&5
78796 eval "$as_ac_var=no"
78798 rm -f conftest.err conftest.$ac_objext \
78799 conftest$ac_exeext conftest.$ac_ext
78801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78803 if test `eval echo '${'$as_ac_var'}'` = yes; then
78804 cat >>confdefs.h <<_ACEOF
78805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78806 _ACEOF
78808 else
78809 ac_wfuncs=no
78811 done
78814 # Checks for names injected into std:: by the c_std headers.
78861 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78862 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78863 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78864 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78865 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78866 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78869 echo "$as_me:$LINENO: checking for $ac_func" >&5
78870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78871 if eval "test \"\${$as_ac_var+set}\" = set"; then
78872 echo $ECHO_N "(cached) $ECHO_C" >&6
78873 else
78874 if test x$gcc_no_link = xyes; then
78875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78877 { (exit 1); exit 1; }; }
78879 cat >conftest.$ac_ext <<_ACEOF
78880 /* confdefs.h. */
78881 _ACEOF
78882 cat confdefs.h >>conftest.$ac_ext
78883 cat >>conftest.$ac_ext <<_ACEOF
78884 /* end confdefs.h. */
78885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78887 #define $ac_func innocuous_$ac_func
78889 /* System header to define __stub macros and hopefully few prototypes,
78890 which can conflict with char $ac_func (); below.
78891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78892 <limits.h> exists even on freestanding compilers. */
78894 #ifdef __STDC__
78895 # include <limits.h>
78896 #else
78897 # include <assert.h>
78898 #endif
78900 #undef $ac_func
78902 /* Override any gcc2 internal prototype to avoid an error. */
78903 #ifdef __cplusplus
78904 extern "C"
78906 #endif
78907 /* We use char because int might match the return type of a gcc2
78908 builtin and then its argument prototype would still apply. */
78909 char $ac_func ();
78910 /* The GNU C library defines this for functions which it implements
78911 to always fail with ENOSYS. Some functions are actually named
78912 something starting with __ and the normal name is an alias. */
78913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78914 choke me
78915 #else
78916 char (*f) () = $ac_func;
78917 #endif
78918 #ifdef __cplusplus
78920 #endif
78923 main ()
78925 return f != $ac_func;
78927 return 0;
78929 _ACEOF
78930 rm -f conftest.$ac_objext conftest$ac_exeext
78931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78932 (eval $ac_link) 2>conftest.er1
78933 ac_status=$?
78934 grep -v '^ *+' conftest.er1 >conftest.err
78935 rm -f conftest.er1
78936 cat conftest.err >&5
78937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78938 (exit $ac_status); } &&
78939 { ac_try='test -z "$ac_c_werror_flag"
78940 || test ! -s conftest.err'
78941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78942 (eval $ac_try) 2>&5
78943 ac_status=$?
78944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78945 (exit $ac_status); }; } &&
78946 { ac_try='test -s conftest$ac_exeext'
78947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78948 (eval $ac_try) 2>&5
78949 ac_status=$?
78950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78951 (exit $ac_status); }; }; then
78952 eval "$as_ac_var=yes"
78953 else
78954 echo "$as_me: failed program was:" >&5
78955 sed 's/^/| /' conftest.$ac_ext >&5
78957 eval "$as_ac_var=no"
78959 rm -f conftest.err conftest.$ac_objext \
78960 conftest$ac_exeext conftest.$ac_ext
78962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78964 if test `eval echo '${'$as_ac_var'}'` = yes; then
78965 cat >>confdefs.h <<_ACEOF
78966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78967 _ACEOF
78969 else
78970 ac_wfuncs=no
78972 done
78975 # Checks for wide character functions that are not required
78976 # for basic wchar_t support. Don't disable support if they are missing.
78977 # Injection of these is wrapped with guard macros.
78983 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78986 echo "$as_me:$LINENO: checking for $ac_func" >&5
78987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78988 if eval "test \"\${$as_ac_var+set}\" = set"; then
78989 echo $ECHO_N "(cached) $ECHO_C" >&6
78990 else
78991 if test x$gcc_no_link = xyes; then
78992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78994 { (exit 1); exit 1; }; }
78996 cat >conftest.$ac_ext <<_ACEOF
78997 /* confdefs.h. */
78998 _ACEOF
78999 cat confdefs.h >>conftest.$ac_ext
79000 cat >>conftest.$ac_ext <<_ACEOF
79001 /* end confdefs.h. */
79002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79004 #define $ac_func innocuous_$ac_func
79006 /* System header to define __stub macros and hopefully few prototypes,
79007 which can conflict with char $ac_func (); below.
79008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79009 <limits.h> exists even on freestanding compilers. */
79011 #ifdef __STDC__
79012 # include <limits.h>
79013 #else
79014 # include <assert.h>
79015 #endif
79017 #undef $ac_func
79019 /* Override any gcc2 internal prototype to avoid an error. */
79020 #ifdef __cplusplus
79021 extern "C"
79023 #endif
79024 /* We use char because int might match the return type of a gcc2
79025 builtin and then its argument prototype would still apply. */
79026 char $ac_func ();
79027 /* The GNU C library defines this for functions which it implements
79028 to always fail with ENOSYS. Some functions are actually named
79029 something starting with __ and the normal name is an alias. */
79030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79031 choke me
79032 #else
79033 char (*f) () = $ac_func;
79034 #endif
79035 #ifdef __cplusplus
79037 #endif
79040 main ()
79042 return f != $ac_func;
79044 return 0;
79046 _ACEOF
79047 rm -f conftest.$ac_objext conftest$ac_exeext
79048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79049 (eval $ac_link) 2>conftest.er1
79050 ac_status=$?
79051 grep -v '^ *+' conftest.er1 >conftest.err
79052 rm -f conftest.er1
79053 cat conftest.err >&5
79054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79055 (exit $ac_status); } &&
79056 { ac_try='test -z "$ac_c_werror_flag"
79057 || test ! -s conftest.err'
79058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79059 (eval $ac_try) 2>&5
79060 ac_status=$?
79061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062 (exit $ac_status); }; } &&
79063 { ac_try='test -s conftest$ac_exeext'
79064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79065 (eval $ac_try) 2>&5
79066 ac_status=$?
79067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79068 (exit $ac_status); }; }; then
79069 eval "$as_ac_var=yes"
79070 else
79071 echo "$as_me: failed program was:" >&5
79072 sed 's/^/| /' conftest.$ac_ext >&5
79074 eval "$as_ac_var=no"
79076 rm -f conftest.err conftest.$ac_objext \
79077 conftest$ac_exeext conftest.$ac_ext
79079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79081 if test `eval echo '${'$as_ac_var'}'` = yes; then
79082 cat >>confdefs.h <<_ACEOF
79083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79084 _ACEOF
79087 done
79090 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79091 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79092 if test x"$has_weof" = xyes &&
79093 test x"$has_wchar_minmax" = xyes &&
79094 test x"$ac_wfuncs" = xyes;
79095 then
79096 ac_isoC99_wchar_t=yes
79097 else
79098 ac_isoC99_wchar_t=no
79100 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79101 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79103 # Use iconv for wchar_t to char conversions. As such, check for
79104 # X/Open Portability Guide, version 2 features (XPG2).
79105 if test "${ac_cv_header_iconv_h+set}" = set; then
79106 echo "$as_me:$LINENO: checking for iconv.h" >&5
79107 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79108 if test "${ac_cv_header_iconv_h+set}" = set; then
79109 echo $ECHO_N "(cached) $ECHO_C" >&6
79111 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79112 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79113 else
79114 # Is the header compilable?
79115 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79116 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79117 cat >conftest.$ac_ext <<_ACEOF
79118 /* confdefs.h. */
79119 _ACEOF
79120 cat confdefs.h >>conftest.$ac_ext
79121 cat >>conftest.$ac_ext <<_ACEOF
79122 /* end confdefs.h. */
79123 $ac_includes_default
79124 #include <iconv.h>
79125 _ACEOF
79126 rm -f conftest.$ac_objext
79127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79128 (eval $ac_compile) 2>conftest.er1
79129 ac_status=$?
79130 grep -v '^ *+' conftest.er1 >conftest.err
79131 rm -f conftest.er1
79132 cat conftest.err >&5
79133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79134 (exit $ac_status); } &&
79135 { ac_try='test -z "$ac_c_werror_flag"
79136 || test ! -s conftest.err'
79137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79138 (eval $ac_try) 2>&5
79139 ac_status=$?
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); }; } &&
79142 { ac_try='test -s conftest.$ac_objext'
79143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79144 (eval $ac_try) 2>&5
79145 ac_status=$?
79146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79147 (exit $ac_status); }; }; then
79148 ac_header_compiler=yes
79149 else
79150 echo "$as_me: failed program was:" >&5
79151 sed 's/^/| /' conftest.$ac_ext >&5
79153 ac_header_compiler=no
79155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79157 echo "${ECHO_T}$ac_header_compiler" >&6
79159 # Is the header present?
79160 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79161 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79162 cat >conftest.$ac_ext <<_ACEOF
79163 /* confdefs.h. */
79164 _ACEOF
79165 cat confdefs.h >>conftest.$ac_ext
79166 cat >>conftest.$ac_ext <<_ACEOF
79167 /* end confdefs.h. */
79168 #include <iconv.h>
79169 _ACEOF
79170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79172 ac_status=$?
79173 grep -v '^ *+' conftest.er1 >conftest.err
79174 rm -f conftest.er1
79175 cat conftest.err >&5
79176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79177 (exit $ac_status); } >/dev/null; then
79178 if test -s conftest.err; then
79179 ac_cpp_err=$ac_c_preproc_warn_flag
79180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79181 else
79182 ac_cpp_err=
79184 else
79185 ac_cpp_err=yes
79187 if test -z "$ac_cpp_err"; then
79188 ac_header_preproc=yes
79189 else
79190 echo "$as_me: failed program was:" >&5
79191 sed 's/^/| /' conftest.$ac_ext >&5
79193 ac_header_preproc=no
79195 rm -f conftest.err conftest.$ac_ext
79196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79197 echo "${ECHO_T}$ac_header_preproc" >&6
79199 # So? What about this header?
79200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79201 yes:no: )
79202 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79203 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79204 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79205 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79206 ac_header_preproc=yes
79208 no:yes:* )
79209 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79210 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79211 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79212 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79213 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79214 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79215 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79216 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79217 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79218 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79219 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79220 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79222 cat <<\_ASBOX
79223 ## ----------------------------------------- ##
79224 ## Report this to the package-unused lists. ##
79225 ## ----------------------------------------- ##
79226 _ASBOX
79228 sed "s/^/$as_me: WARNING: /" >&2
79230 esac
79231 echo "$as_me:$LINENO: checking for iconv.h" >&5
79232 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79233 if test "${ac_cv_header_iconv_h+set}" = set; then
79234 echo $ECHO_N "(cached) $ECHO_C" >&6
79235 else
79236 ac_cv_header_iconv_h=$ac_header_preproc
79238 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79239 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79242 if test $ac_cv_header_iconv_h = yes; then
79243 ac_has_iconv_h=yes
79244 else
79245 ac_has_iconv_h=no
79249 if test "${ac_cv_header_langinfo_h+set}" = set; then
79250 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79251 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79252 if test "${ac_cv_header_langinfo_h+set}" = set; then
79253 echo $ECHO_N "(cached) $ECHO_C" >&6
79255 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79256 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79257 else
79258 # Is the header compilable?
79259 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79260 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79261 cat >conftest.$ac_ext <<_ACEOF
79262 /* confdefs.h. */
79263 _ACEOF
79264 cat confdefs.h >>conftest.$ac_ext
79265 cat >>conftest.$ac_ext <<_ACEOF
79266 /* end confdefs.h. */
79267 $ac_includes_default
79268 #include <langinfo.h>
79269 _ACEOF
79270 rm -f conftest.$ac_objext
79271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79272 (eval $ac_compile) 2>conftest.er1
79273 ac_status=$?
79274 grep -v '^ *+' conftest.er1 >conftest.err
79275 rm -f conftest.er1
79276 cat conftest.err >&5
79277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79278 (exit $ac_status); } &&
79279 { ac_try='test -z "$ac_c_werror_flag"
79280 || test ! -s conftest.err'
79281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79282 (eval $ac_try) 2>&5
79283 ac_status=$?
79284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79285 (exit $ac_status); }; } &&
79286 { ac_try='test -s conftest.$ac_objext'
79287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79288 (eval $ac_try) 2>&5
79289 ac_status=$?
79290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79291 (exit $ac_status); }; }; then
79292 ac_header_compiler=yes
79293 else
79294 echo "$as_me: failed program was:" >&5
79295 sed 's/^/| /' conftest.$ac_ext >&5
79297 ac_header_compiler=no
79299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79301 echo "${ECHO_T}$ac_header_compiler" >&6
79303 # Is the header present?
79304 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79305 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79306 cat >conftest.$ac_ext <<_ACEOF
79307 /* confdefs.h. */
79308 _ACEOF
79309 cat confdefs.h >>conftest.$ac_ext
79310 cat >>conftest.$ac_ext <<_ACEOF
79311 /* end confdefs.h. */
79312 #include <langinfo.h>
79313 _ACEOF
79314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79316 ac_status=$?
79317 grep -v '^ *+' conftest.er1 >conftest.err
79318 rm -f conftest.er1
79319 cat conftest.err >&5
79320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79321 (exit $ac_status); } >/dev/null; then
79322 if test -s conftest.err; then
79323 ac_cpp_err=$ac_c_preproc_warn_flag
79324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79325 else
79326 ac_cpp_err=
79328 else
79329 ac_cpp_err=yes
79331 if test -z "$ac_cpp_err"; then
79332 ac_header_preproc=yes
79333 else
79334 echo "$as_me: failed program was:" >&5
79335 sed 's/^/| /' conftest.$ac_ext >&5
79337 ac_header_preproc=no
79339 rm -f conftest.err conftest.$ac_ext
79340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79341 echo "${ECHO_T}$ac_header_preproc" >&6
79343 # So? What about this header?
79344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79345 yes:no: )
79346 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79347 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79348 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79349 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79350 ac_header_preproc=yes
79352 no:yes:* )
79353 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79354 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79355 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79356 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79357 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79358 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79359 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79360 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79361 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79362 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79363 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79364 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79366 cat <<\_ASBOX
79367 ## ----------------------------------------- ##
79368 ## Report this to the package-unused lists. ##
79369 ## ----------------------------------------- ##
79370 _ASBOX
79372 sed "s/^/$as_me: WARNING: /" >&2
79374 esac
79375 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79376 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79377 if test "${ac_cv_header_langinfo_h+set}" = set; then
79378 echo $ECHO_N "(cached) $ECHO_C" >&6
79379 else
79380 ac_cv_header_langinfo_h=$ac_header_preproc
79382 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79383 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79386 if test $ac_cv_header_langinfo_h = yes; then
79387 ac_has_langinfo_h=yes
79388 else
79389 ac_has_langinfo_h=no
79394 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79395 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79396 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79397 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79398 echo $ECHO_N "(cached) $ECHO_C" >&6
79399 else
79400 ac_check_lib_save_LIBS=$LIBS
79401 LIBS="-liconv $LIBS"
79402 if test x$gcc_no_link = xyes; then
79403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79405 { (exit 1); exit 1; }; }
79407 cat >conftest.$ac_ext <<_ACEOF
79408 /* confdefs.h. */
79409 _ACEOF
79410 cat confdefs.h >>conftest.$ac_ext
79411 cat >>conftest.$ac_ext <<_ACEOF
79412 /* end confdefs.h. */
79414 /* Override any gcc2 internal prototype to avoid an error. */
79415 #ifdef __cplusplus
79416 extern "C"
79417 #endif
79418 /* We use char because int might match the return type of a gcc2
79419 builtin and then its argument prototype would still apply. */
79420 char iconv ();
79422 main ()
79424 iconv ();
79426 return 0;
79428 _ACEOF
79429 rm -f conftest.$ac_objext conftest$ac_exeext
79430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79431 (eval $ac_link) 2>conftest.er1
79432 ac_status=$?
79433 grep -v '^ *+' conftest.er1 >conftest.err
79434 rm -f conftest.er1
79435 cat conftest.err >&5
79436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79437 (exit $ac_status); } &&
79438 { ac_try='test -z "$ac_c_werror_flag"
79439 || test ! -s conftest.err'
79440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79441 (eval $ac_try) 2>&5
79442 ac_status=$?
79443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444 (exit $ac_status); }; } &&
79445 { ac_try='test -s conftest$ac_exeext'
79446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79447 (eval $ac_try) 2>&5
79448 ac_status=$?
79449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79450 (exit $ac_status); }; }; then
79451 ac_cv_lib_iconv_iconv=yes
79452 else
79453 echo "$as_me: failed program was:" >&5
79454 sed 's/^/| /' conftest.$ac_ext >&5
79456 ac_cv_lib_iconv_iconv=no
79458 rm -f conftest.err conftest.$ac_objext \
79459 conftest$ac_exeext conftest.$ac_ext
79460 LIBS=$ac_check_lib_save_LIBS
79462 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79463 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79464 if test $ac_cv_lib_iconv_iconv = yes; then
79465 LIBICONV="-liconv"
79468 ac_save_LIBS="$LIBS"
79469 LIBS="$LIBS $LIBICONV"
79476 for ac_func in iconv_open iconv_close iconv nl_langinfo
79478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79479 echo "$as_me:$LINENO: checking for $ac_func" >&5
79480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79481 if eval "test \"\${$as_ac_var+set}\" = set"; then
79482 echo $ECHO_N "(cached) $ECHO_C" >&6
79483 else
79484 if test x$gcc_no_link = xyes; then
79485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79487 { (exit 1); exit 1; }; }
79489 cat >conftest.$ac_ext <<_ACEOF
79490 /* confdefs.h. */
79491 _ACEOF
79492 cat confdefs.h >>conftest.$ac_ext
79493 cat >>conftest.$ac_ext <<_ACEOF
79494 /* end confdefs.h. */
79495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79497 #define $ac_func innocuous_$ac_func
79499 /* System header to define __stub macros and hopefully few prototypes,
79500 which can conflict with char $ac_func (); below.
79501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79502 <limits.h> exists even on freestanding compilers. */
79504 #ifdef __STDC__
79505 # include <limits.h>
79506 #else
79507 # include <assert.h>
79508 #endif
79510 #undef $ac_func
79512 /* Override any gcc2 internal prototype to avoid an error. */
79513 #ifdef __cplusplus
79514 extern "C"
79516 #endif
79517 /* We use char because int might match the return type of a gcc2
79518 builtin and then its argument prototype would still apply. */
79519 char $ac_func ();
79520 /* The GNU C library defines this for functions which it implements
79521 to always fail with ENOSYS. Some functions are actually named
79522 something starting with __ and the normal name is an alias. */
79523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79524 choke me
79525 #else
79526 char (*f) () = $ac_func;
79527 #endif
79528 #ifdef __cplusplus
79530 #endif
79533 main ()
79535 return f != $ac_func;
79537 return 0;
79539 _ACEOF
79540 rm -f conftest.$ac_objext conftest$ac_exeext
79541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79542 (eval $ac_link) 2>conftest.er1
79543 ac_status=$?
79544 grep -v '^ *+' conftest.er1 >conftest.err
79545 rm -f conftest.er1
79546 cat conftest.err >&5
79547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79548 (exit $ac_status); } &&
79549 { ac_try='test -z "$ac_c_werror_flag"
79550 || test ! -s conftest.err'
79551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79552 (eval $ac_try) 2>&5
79553 ac_status=$?
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); }; } &&
79556 { ac_try='test -s conftest$ac_exeext'
79557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79558 (eval $ac_try) 2>&5
79559 ac_status=$?
79560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79561 (exit $ac_status); }; }; then
79562 eval "$as_ac_var=yes"
79563 else
79564 echo "$as_me: failed program was:" >&5
79565 sed 's/^/| /' conftest.$ac_ext >&5
79567 eval "$as_ac_var=no"
79569 rm -f conftest.err conftest.$ac_objext \
79570 conftest$ac_exeext conftest.$ac_ext
79572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79574 if test `eval echo '${'$as_ac_var'}'` = yes; then
79575 cat >>confdefs.h <<_ACEOF
79576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79577 _ACEOF
79578 ac_XPG2funcs=yes
79579 else
79580 ac_XPG2funcs=no
79582 done
79585 LIBS="$ac_save_LIBS"
79587 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79588 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79589 if test x"$ac_has_iconv_h" = xyes &&
79590 test x"$ac_has_langinfo_h" = xyes &&
79591 test x"$ac_XPG2funcs" = xyes;
79592 then
79593 ac_XPG2_wchar_t=yes
79594 else
79595 ac_XPG2_wchar_t=no
79597 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79598 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79600 # At the moment, only enable wchar_t specializations if all the
79601 # above support is present.
79602 if test x"$ac_isoC99_wchar_t" = xyes &&
79603 test x"$ac_XPG2_wchar_t" = xyes;
79604 then
79605 cat >>confdefs.h <<\_ACEOF
79606 #define _GLIBCXX_USE_WCHAR_T 1
79607 _ACEOF
79609 enable_wchar_t=yes
79612 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79613 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79614 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79615 echo "${ECHO_T}$enable_wchar_t" >&6
79617 cat >>confdefs.h <<\_ACEOF
79618 #define HAVE_COPYSIGN 1
79619 _ACEOF
79621 cat >>confdefs.h <<\_ACEOF
79622 #define HAVE_COPYSIGNF 1
79623 _ACEOF
79625 cat >>confdefs.h <<\_ACEOF
79626 #define HAVE_FREXPF 1
79627 _ACEOF
79629 cat >>confdefs.h <<\_ACEOF
79630 #define HAVE_HYPOT 1
79631 _ACEOF
79633 case "$target" in
79634 *-hpux10*)
79635 cat >>confdefs.h <<\_ACEOF
79636 #define HAVE_FINITE 1
79637 _ACEOF
79639 cat >>confdefs.h <<\_ACEOF
79640 #define HAVE_FINITEF 1
79641 _ACEOF
79643 cat >>confdefs.h <<\_ACEOF
79644 #define HAVE_ISINF 1
79645 _ACEOF
79647 cat >>confdefs.h <<\_ACEOF
79648 #define HAVE_ISINFF 1
79649 _ACEOF
79651 cat >>confdefs.h <<\_ACEOF
79652 #define HAVE_ISNAN 1
79653 _ACEOF
79655 cat >>confdefs.h <<\_ACEOF
79656 #define HAVE_ISNANF 1
79657 _ACEOF
79660 esac
79662 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79678 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79679 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79680 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79684 echo "$as_me:$LINENO: checking for $ac_header" >&5
79685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79687 echo $ECHO_N "(cached) $ECHO_C" >&6
79689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79691 else
79692 # Is the header compilable?
79693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79695 cat >conftest.$ac_ext <<_ACEOF
79696 /* confdefs.h. */
79697 _ACEOF
79698 cat confdefs.h >>conftest.$ac_ext
79699 cat >>conftest.$ac_ext <<_ACEOF
79700 /* end confdefs.h. */
79701 $ac_includes_default
79702 #include <$ac_header>
79703 _ACEOF
79704 rm -f conftest.$ac_objext
79705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79706 (eval $ac_compile) 2>conftest.er1
79707 ac_status=$?
79708 grep -v '^ *+' conftest.er1 >conftest.err
79709 rm -f conftest.er1
79710 cat conftest.err >&5
79711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79712 (exit $ac_status); } &&
79713 { ac_try='test -z "$ac_c_werror_flag"
79714 || test ! -s conftest.err'
79715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79716 (eval $ac_try) 2>&5
79717 ac_status=$?
79718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79719 (exit $ac_status); }; } &&
79720 { ac_try='test -s conftest.$ac_objext'
79721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79722 (eval $ac_try) 2>&5
79723 ac_status=$?
79724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79725 (exit $ac_status); }; }; then
79726 ac_header_compiler=yes
79727 else
79728 echo "$as_me: failed program was:" >&5
79729 sed 's/^/| /' conftest.$ac_ext >&5
79731 ac_header_compiler=no
79733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79735 echo "${ECHO_T}$ac_header_compiler" >&6
79737 # Is the header present?
79738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79740 cat >conftest.$ac_ext <<_ACEOF
79741 /* confdefs.h. */
79742 _ACEOF
79743 cat confdefs.h >>conftest.$ac_ext
79744 cat >>conftest.$ac_ext <<_ACEOF
79745 /* end confdefs.h. */
79746 #include <$ac_header>
79747 _ACEOF
79748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79750 ac_status=$?
79751 grep -v '^ *+' conftest.er1 >conftest.err
79752 rm -f conftest.er1
79753 cat conftest.err >&5
79754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755 (exit $ac_status); } >/dev/null; then
79756 if test -s conftest.err; then
79757 ac_cpp_err=$ac_c_preproc_warn_flag
79758 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79759 else
79760 ac_cpp_err=
79762 else
79763 ac_cpp_err=yes
79765 if test -z "$ac_cpp_err"; then
79766 ac_header_preproc=yes
79767 else
79768 echo "$as_me: failed program was:" >&5
79769 sed 's/^/| /' conftest.$ac_ext >&5
79771 ac_header_preproc=no
79773 rm -f conftest.err conftest.$ac_ext
79774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79775 echo "${ECHO_T}$ac_header_preproc" >&6
79777 # So? What about this header?
79778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79779 yes:no: )
79780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79784 ac_header_preproc=yes
79786 no:yes:* )
79787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79800 cat <<\_ASBOX
79801 ## ----------------------------------------- ##
79802 ## Report this to the package-unused lists. ##
79803 ## ----------------------------------------- ##
79804 _ASBOX
79806 sed "s/^/$as_me: WARNING: /" >&2
79808 esac
79809 echo "$as_me:$LINENO: checking for $ac_header" >&5
79810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79812 echo $ECHO_N "(cached) $ECHO_C" >&6
79813 else
79814 eval "$as_ac_Header=\$ac_header_preproc"
79816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79821 cat >>confdefs.h <<_ACEOF
79822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79823 _ACEOF
79827 done
79829 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79832 # If we're not using GNU ld, then there's no point in even trying these
79833 # tests. Check for that first. We should have already tested for gld
79834 # by now (in libtool), but require it now just to be safe...
79835 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79836 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79840 # The name set by libtool depends on the version of libtool. Shame on us
79841 # for depending on an impl detail, but c'est la vie. Older versions used
79842 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79843 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79844 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79845 # set (hence we're using an older libtool), then set it.
79846 if test x${with_gnu_ld+set} != xset; then
79847 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79848 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79849 with_gnu_ld=no
79850 else
79851 with_gnu_ld=$ac_cv_prog_gnu_ld
79855 # Start by getting the version number. I think the libtool test already
79856 # does some of this, but throws away the result.
79858 ldver=`$LD --version 2>/dev/null | head -1 | \
79859 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79861 glibcxx_gnu_ld_version=`echo $ldver | \
79862 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79864 # Set --gc-sections.
79865 if test "$with_gnu_ld" = "notbroken"; then
79866 # GNU ld it is! Joy and bunny rabbits!
79868 # All these tests are for C++; save the language and the compiler flags.
79869 # Need to do this so that g++ won't try to link in libstdc++
79870 ac_test_CFLAGS="${CFLAGS+set}"
79871 ac_save_CFLAGS="$CFLAGS"
79872 CFLAGS='-x c++ -Wl,--gc-sections'
79874 # Check for -Wl,--gc-sections
79875 # XXX This test is broken at the moment, as symbols required for linking
79876 # are now in libsupc++ (not built yet). In addition, this test has
79877 # cored on solaris in the past. In addition, --gc-sections doesn't
79878 # really work at the moment (keeps on discarding used sections, first
79879 # .eh_frame and now some of the glibc sections for iconv).
79880 # Bzzzzt. Thanks for playing, maybe next time.
79881 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79882 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79883 if test "$cross_compiling" = yes; then
79884 ac_sectionLDflags=yes
79885 else
79886 cat >conftest.$ac_ext <<_ACEOF
79887 /* confdefs.h. */
79888 _ACEOF
79889 cat confdefs.h >>conftest.$ac_ext
79890 cat >>conftest.$ac_ext <<_ACEOF
79891 /* end confdefs.h. */
79893 int main(void)
79895 try { throw 1; }
79896 catch (...) { };
79897 return 0;
79900 _ACEOF
79901 rm -f conftest$ac_exeext
79902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79903 (eval $ac_link) 2>&5
79904 ac_status=$?
79905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79908 (eval $ac_try) 2>&5
79909 ac_status=$?
79910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911 (exit $ac_status); }; }; then
79912 ac_sectionLDflags=yes
79913 else
79914 echo "$as_me: program exited with status $ac_status" >&5
79915 echo "$as_me: failed program was:" >&5
79916 sed 's/^/| /' conftest.$ac_ext >&5
79918 ( exit $ac_status )
79919 ac_sectionLDflags=no
79921 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79923 if test "$ac_test_CFLAGS" = set; then
79924 CFLAGS="$ac_save_CFLAGS"
79925 else
79926 # this is the suspicious part
79927 CFLAGS=''
79929 if test "$ac_sectionLDflags" = "yes"; then
79930 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79932 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79933 echo "${ECHO_T}$ac_sectionLDflags" >&6
79936 # Set linker optimization flags.
79937 if test x"$with_gnu_ld" = x"yes"; then
79938 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79946 echo "$as_me:$LINENO: checking for main in -lm" >&5
79947 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79948 if test "${ac_cv_lib_m_main+set}" = set; then
79949 echo $ECHO_N "(cached) $ECHO_C" >&6
79950 else
79951 ac_check_lib_save_LIBS=$LIBS
79952 LIBS="-lm $LIBS"
79953 if test x$gcc_no_link = xyes; then
79954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79956 { (exit 1); exit 1; }; }
79958 cat >conftest.$ac_ext <<_ACEOF
79959 /* confdefs.h. */
79960 _ACEOF
79961 cat confdefs.h >>conftest.$ac_ext
79962 cat >>conftest.$ac_ext <<_ACEOF
79963 /* end confdefs.h. */
79967 main ()
79969 main ();
79971 return 0;
79973 _ACEOF
79974 rm -f conftest.$ac_objext conftest$ac_exeext
79975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79976 (eval $ac_link) 2>conftest.er1
79977 ac_status=$?
79978 grep -v '^ *+' conftest.er1 >conftest.err
79979 rm -f conftest.er1
79980 cat conftest.err >&5
79981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79982 (exit $ac_status); } &&
79983 { ac_try='test -z "$ac_c_werror_flag"
79984 || test ! -s conftest.err'
79985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79986 (eval $ac_try) 2>&5
79987 ac_status=$?
79988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989 (exit $ac_status); }; } &&
79990 { ac_try='test -s conftest$ac_exeext'
79991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79992 (eval $ac_try) 2>&5
79993 ac_status=$?
79994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79995 (exit $ac_status); }; }; then
79996 ac_cv_lib_m_main=yes
79997 else
79998 echo "$as_me: failed program was:" >&5
79999 sed 's/^/| /' conftest.$ac_ext >&5
80001 ac_cv_lib_m_main=no
80003 rm -f conftest.err conftest.$ac_objext \
80004 conftest$ac_exeext conftest.$ac_ext
80005 LIBS=$ac_check_lib_save_LIBS
80007 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80008 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80009 if test $ac_cv_lib_m_main = yes; then
80010 cat >>confdefs.h <<_ACEOF
80011 #define HAVE_LIBM 1
80012 _ACEOF
80014 LIBS="-lm $LIBS"
80019 for ac_func in copysignf
80021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80022 echo "$as_me:$LINENO: checking for $ac_func" >&5
80023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80024 if eval "test \"\${$as_ac_var+set}\" = set"; then
80025 echo $ECHO_N "(cached) $ECHO_C" >&6
80026 else
80027 if test x$gcc_no_link = xyes; then
80028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80030 { (exit 1); exit 1; }; }
80032 cat >conftest.$ac_ext <<_ACEOF
80033 /* confdefs.h. */
80034 _ACEOF
80035 cat confdefs.h >>conftest.$ac_ext
80036 cat >>conftest.$ac_ext <<_ACEOF
80037 /* end confdefs.h. */
80038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80040 #define $ac_func innocuous_$ac_func
80042 /* System header to define __stub macros and hopefully few prototypes,
80043 which can conflict with char $ac_func (); below.
80044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80045 <limits.h> exists even on freestanding compilers. */
80047 #ifdef __STDC__
80048 # include <limits.h>
80049 #else
80050 # include <assert.h>
80051 #endif
80053 #undef $ac_func
80055 /* Override any gcc2 internal prototype to avoid an error. */
80056 #ifdef __cplusplus
80057 extern "C"
80059 #endif
80060 /* We use char because int might match the return type of a gcc2
80061 builtin and then its argument prototype would still apply. */
80062 char $ac_func ();
80063 /* The GNU C library defines this for functions which it implements
80064 to always fail with ENOSYS. Some functions are actually named
80065 something starting with __ and the normal name is an alias. */
80066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80067 choke me
80068 #else
80069 char (*f) () = $ac_func;
80070 #endif
80071 #ifdef __cplusplus
80073 #endif
80076 main ()
80078 return f != $ac_func;
80080 return 0;
80082 _ACEOF
80083 rm -f conftest.$ac_objext conftest$ac_exeext
80084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80085 (eval $ac_link) 2>conftest.er1
80086 ac_status=$?
80087 grep -v '^ *+' conftest.er1 >conftest.err
80088 rm -f conftest.er1
80089 cat conftest.err >&5
80090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80091 (exit $ac_status); } &&
80092 { ac_try='test -z "$ac_c_werror_flag"
80093 || test ! -s conftest.err'
80094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80095 (eval $ac_try) 2>&5
80096 ac_status=$?
80097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80098 (exit $ac_status); }; } &&
80099 { ac_try='test -s conftest$ac_exeext'
80100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80101 (eval $ac_try) 2>&5
80102 ac_status=$?
80103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80104 (exit $ac_status); }; }; then
80105 eval "$as_ac_var=yes"
80106 else
80107 echo "$as_me: failed program was:" >&5
80108 sed 's/^/| /' conftest.$ac_ext >&5
80110 eval "$as_ac_var=no"
80112 rm -f conftest.err conftest.$ac_objext \
80113 conftest$ac_exeext conftest.$ac_ext
80115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80117 if test `eval echo '${'$as_ac_var'}'` = yes; then
80118 cat >>confdefs.h <<_ACEOF
80119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80120 _ACEOF
80122 else
80123 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80125 done
80129 for ac_func in __signbit
80131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80132 echo "$as_me:$LINENO: checking for $ac_func" >&5
80133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80134 if eval "test \"\${$as_ac_var+set}\" = set"; then
80135 echo $ECHO_N "(cached) $ECHO_C" >&6
80136 else
80137 if test x$gcc_no_link = xyes; then
80138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80140 { (exit 1); exit 1; }; }
80142 cat >conftest.$ac_ext <<_ACEOF
80143 /* confdefs.h. */
80144 _ACEOF
80145 cat confdefs.h >>conftest.$ac_ext
80146 cat >>conftest.$ac_ext <<_ACEOF
80147 /* end confdefs.h. */
80148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80150 #define $ac_func innocuous_$ac_func
80152 /* System header to define __stub macros and hopefully few prototypes,
80153 which can conflict with char $ac_func (); below.
80154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80155 <limits.h> exists even on freestanding compilers. */
80157 #ifdef __STDC__
80158 # include <limits.h>
80159 #else
80160 # include <assert.h>
80161 #endif
80163 #undef $ac_func
80165 /* Override any gcc2 internal prototype to avoid an error. */
80166 #ifdef __cplusplus
80167 extern "C"
80169 #endif
80170 /* We use char because int might match the return type of a gcc2
80171 builtin and then its argument prototype would still apply. */
80172 char $ac_func ();
80173 /* The GNU C library defines this for functions which it implements
80174 to always fail with ENOSYS. Some functions are actually named
80175 something starting with __ and the normal name is an alias. */
80176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80177 choke me
80178 #else
80179 char (*f) () = $ac_func;
80180 #endif
80181 #ifdef __cplusplus
80183 #endif
80186 main ()
80188 return f != $ac_func;
80190 return 0;
80192 _ACEOF
80193 rm -f conftest.$ac_objext conftest$ac_exeext
80194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80195 (eval $ac_link) 2>conftest.er1
80196 ac_status=$?
80197 grep -v '^ *+' conftest.er1 >conftest.err
80198 rm -f conftest.er1
80199 cat conftest.err >&5
80200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80201 (exit $ac_status); } &&
80202 { ac_try='test -z "$ac_c_werror_flag"
80203 || test ! -s conftest.err'
80204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80205 (eval $ac_try) 2>&5
80206 ac_status=$?
80207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80208 (exit $ac_status); }; } &&
80209 { ac_try='test -s conftest$ac_exeext'
80210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80211 (eval $ac_try) 2>&5
80212 ac_status=$?
80213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80214 (exit $ac_status); }; }; then
80215 eval "$as_ac_var=yes"
80216 else
80217 echo "$as_me: failed program was:" >&5
80218 sed 's/^/| /' conftest.$ac_ext >&5
80220 eval "$as_ac_var=no"
80222 rm -f conftest.err conftest.$ac_objext \
80223 conftest$ac_exeext conftest.$ac_ext
80225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80227 if test `eval echo '${'$as_ac_var'}'` = yes; then
80228 cat >>confdefs.h <<_ACEOF
80229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80230 _ACEOF
80232 else
80233 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80235 done
80239 for ac_func in __signbitf
80241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80242 echo "$as_me:$LINENO: checking for $ac_func" >&5
80243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80244 if eval "test \"\${$as_ac_var+set}\" = set"; then
80245 echo $ECHO_N "(cached) $ECHO_C" >&6
80246 else
80247 if test x$gcc_no_link = xyes; then
80248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80250 { (exit 1); exit 1; }; }
80252 cat >conftest.$ac_ext <<_ACEOF
80253 /* confdefs.h. */
80254 _ACEOF
80255 cat confdefs.h >>conftest.$ac_ext
80256 cat >>conftest.$ac_ext <<_ACEOF
80257 /* end confdefs.h. */
80258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80260 #define $ac_func innocuous_$ac_func
80262 /* System header to define __stub macros and hopefully few prototypes,
80263 which can conflict with char $ac_func (); below.
80264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80265 <limits.h> exists even on freestanding compilers. */
80267 #ifdef __STDC__
80268 # include <limits.h>
80269 #else
80270 # include <assert.h>
80271 #endif
80273 #undef $ac_func
80275 /* Override any gcc2 internal prototype to avoid an error. */
80276 #ifdef __cplusplus
80277 extern "C"
80279 #endif
80280 /* We use char because int might match the return type of a gcc2
80281 builtin and then its argument prototype would still apply. */
80282 char $ac_func ();
80283 /* The GNU C library defines this for functions which it implements
80284 to always fail with ENOSYS. Some functions are actually named
80285 something starting with __ and the normal name is an alias. */
80286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80287 choke me
80288 #else
80289 char (*f) () = $ac_func;
80290 #endif
80291 #ifdef __cplusplus
80293 #endif
80296 main ()
80298 return f != $ac_func;
80300 return 0;
80302 _ACEOF
80303 rm -f conftest.$ac_objext conftest$ac_exeext
80304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80305 (eval $ac_link) 2>conftest.er1
80306 ac_status=$?
80307 grep -v '^ *+' conftest.er1 >conftest.err
80308 rm -f conftest.er1
80309 cat conftest.err >&5
80310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80311 (exit $ac_status); } &&
80312 { ac_try='test -z "$ac_c_werror_flag"
80313 || test ! -s conftest.err'
80314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80315 (eval $ac_try) 2>&5
80316 ac_status=$?
80317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80318 (exit $ac_status); }; } &&
80319 { ac_try='test -s conftest$ac_exeext'
80320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80321 (eval $ac_try) 2>&5
80322 ac_status=$?
80323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80324 (exit $ac_status); }; }; then
80325 eval "$as_ac_var=yes"
80326 else
80327 echo "$as_me: failed program was:" >&5
80328 sed 's/^/| /' conftest.$ac_ext >&5
80330 eval "$as_ac_var=no"
80332 rm -f conftest.err conftest.$ac_objext \
80333 conftest$ac_exeext conftest.$ac_ext
80335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80337 if test `eval echo '${'$as_ac_var'}'` = yes; then
80338 cat >>confdefs.h <<_ACEOF
80339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80340 _ACEOF
80342 else
80343 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80345 done
80348 if test x$ac_cv_func_copysignl = x"yes"; then
80350 for ac_func in __signbitl
80352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80353 echo "$as_me:$LINENO: checking for $ac_func" >&5
80354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80355 if eval "test \"\${$as_ac_var+set}\" = set"; then
80356 echo $ECHO_N "(cached) $ECHO_C" >&6
80357 else
80358 if test x$gcc_no_link = xyes; then
80359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80361 { (exit 1); exit 1; }; }
80363 cat >conftest.$ac_ext <<_ACEOF
80364 /* confdefs.h. */
80365 _ACEOF
80366 cat confdefs.h >>conftest.$ac_ext
80367 cat >>conftest.$ac_ext <<_ACEOF
80368 /* end confdefs.h. */
80369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80371 #define $ac_func innocuous_$ac_func
80373 /* System header to define __stub macros and hopefully few prototypes,
80374 which can conflict with char $ac_func (); below.
80375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80376 <limits.h> exists even on freestanding compilers. */
80378 #ifdef __STDC__
80379 # include <limits.h>
80380 #else
80381 # include <assert.h>
80382 #endif
80384 #undef $ac_func
80386 /* Override any gcc2 internal prototype to avoid an error. */
80387 #ifdef __cplusplus
80388 extern "C"
80390 #endif
80391 /* We use char because int might match the return type of a gcc2
80392 builtin and then its argument prototype would still apply. */
80393 char $ac_func ();
80394 /* The GNU C library defines this for functions which it implements
80395 to always fail with ENOSYS. Some functions are actually named
80396 something starting with __ and the normal name is an alias. */
80397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80398 choke me
80399 #else
80400 char (*f) () = $ac_func;
80401 #endif
80402 #ifdef __cplusplus
80404 #endif
80407 main ()
80409 return f != $ac_func;
80411 return 0;
80413 _ACEOF
80414 rm -f conftest.$ac_objext conftest$ac_exeext
80415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80416 (eval $ac_link) 2>conftest.er1
80417 ac_status=$?
80418 grep -v '^ *+' conftest.er1 >conftest.err
80419 rm -f conftest.er1
80420 cat conftest.err >&5
80421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80422 (exit $ac_status); } &&
80423 { ac_try='test -z "$ac_c_werror_flag"
80424 || test ! -s conftest.err'
80425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80426 (eval $ac_try) 2>&5
80427 ac_status=$?
80428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80429 (exit $ac_status); }; } &&
80430 { ac_try='test -s conftest$ac_exeext'
80431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80432 (eval $ac_try) 2>&5
80433 ac_status=$?
80434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80435 (exit $ac_status); }; }; then
80436 eval "$as_ac_var=yes"
80437 else
80438 echo "$as_me: failed program was:" >&5
80439 sed 's/^/| /' conftest.$ac_ext >&5
80441 eval "$as_ac_var=no"
80443 rm -f conftest.err conftest.$ac_objext \
80444 conftest$ac_exeext conftest.$ac_ext
80446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80448 if test `eval echo '${'$as_ac_var'}'` = yes; then
80449 cat >>confdefs.h <<_ACEOF
80450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80451 _ACEOF
80453 else
80454 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80456 done
80460 # Used in libmath/Makefile.am.
80461 if test -n "$LIBMATHOBJS"; then
80462 need_libmath=yes
80467 # Test wchar.h for mbstate_t, which is needed for char_traits and
80468 # others even if wchar_t support is not on.
80469 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80470 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80471 cat >conftest.$ac_ext <<_ACEOF
80472 /* confdefs.h. */
80473 _ACEOF
80474 cat confdefs.h >>conftest.$ac_ext
80475 cat >>conftest.$ac_ext <<_ACEOF
80476 /* end confdefs.h. */
80477 #include <wchar.h>
80479 main ()
80481 mbstate_t teststate;
80483 return 0;
80485 _ACEOF
80486 rm -f conftest.$ac_objext
80487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80488 (eval $ac_compile) 2>conftest.er1
80489 ac_status=$?
80490 grep -v '^ *+' conftest.er1 >conftest.err
80491 rm -f conftest.er1
80492 cat conftest.err >&5
80493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494 (exit $ac_status); } &&
80495 { ac_try='test -z "$ac_c_werror_flag"
80496 || test ! -s conftest.err'
80497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80498 (eval $ac_try) 2>&5
80499 ac_status=$?
80500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501 (exit $ac_status); }; } &&
80502 { ac_try='test -s conftest.$ac_objext'
80503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80504 (eval $ac_try) 2>&5
80505 ac_status=$?
80506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80507 (exit $ac_status); }; }; then
80508 have_mbstate_t=yes
80509 else
80510 echo "$as_me: failed program was:" >&5
80511 sed 's/^/| /' conftest.$ac_ext >&5
80513 have_mbstate_t=no
80515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80516 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80517 echo "${ECHO_T}$have_mbstate_t" >&6
80518 if test x"$have_mbstate_t" = xyes; then
80519 cat >>confdefs.h <<\_ACEOF
80520 #define HAVE_MBSTATE_T 1
80521 _ACEOF
80525 # Sanity check for existence of ISO C99 headers for extended encoding.
80527 for ac_header in wchar.h
80529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80531 echo "$as_me:$LINENO: checking for $ac_header" >&5
80532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80534 echo $ECHO_N "(cached) $ECHO_C" >&6
80536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80538 else
80539 # Is the header compilable?
80540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80542 cat >conftest.$ac_ext <<_ACEOF
80543 /* confdefs.h. */
80544 _ACEOF
80545 cat confdefs.h >>conftest.$ac_ext
80546 cat >>conftest.$ac_ext <<_ACEOF
80547 /* end confdefs.h. */
80548 $ac_includes_default
80549 #include <$ac_header>
80550 _ACEOF
80551 rm -f conftest.$ac_objext
80552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80553 (eval $ac_compile) 2>conftest.er1
80554 ac_status=$?
80555 grep -v '^ *+' conftest.er1 >conftest.err
80556 rm -f conftest.er1
80557 cat conftest.err >&5
80558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80559 (exit $ac_status); } &&
80560 { ac_try='test -z "$ac_c_werror_flag"
80561 || test ! -s conftest.err'
80562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80563 (eval $ac_try) 2>&5
80564 ac_status=$?
80565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566 (exit $ac_status); }; } &&
80567 { ac_try='test -s conftest.$ac_objext'
80568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80569 (eval $ac_try) 2>&5
80570 ac_status=$?
80571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80572 (exit $ac_status); }; }; then
80573 ac_header_compiler=yes
80574 else
80575 echo "$as_me: failed program was:" >&5
80576 sed 's/^/| /' conftest.$ac_ext >&5
80578 ac_header_compiler=no
80580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80582 echo "${ECHO_T}$ac_header_compiler" >&6
80584 # Is the header present?
80585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80587 cat >conftest.$ac_ext <<_ACEOF
80588 /* confdefs.h. */
80589 _ACEOF
80590 cat confdefs.h >>conftest.$ac_ext
80591 cat >>conftest.$ac_ext <<_ACEOF
80592 /* end confdefs.h. */
80593 #include <$ac_header>
80594 _ACEOF
80595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80597 ac_status=$?
80598 grep -v '^ *+' conftest.er1 >conftest.err
80599 rm -f conftest.er1
80600 cat conftest.err >&5
80601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80602 (exit $ac_status); } >/dev/null; then
80603 if test -s conftest.err; then
80604 ac_cpp_err=$ac_c_preproc_warn_flag
80605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80606 else
80607 ac_cpp_err=
80609 else
80610 ac_cpp_err=yes
80612 if test -z "$ac_cpp_err"; then
80613 ac_header_preproc=yes
80614 else
80615 echo "$as_me: failed program was:" >&5
80616 sed 's/^/| /' conftest.$ac_ext >&5
80618 ac_header_preproc=no
80620 rm -f conftest.err conftest.$ac_ext
80621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80622 echo "${ECHO_T}$ac_header_preproc" >&6
80624 # So? What about this header?
80625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80626 yes:no: )
80627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80631 ac_header_preproc=yes
80633 no:yes:* )
80634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80647 cat <<\_ASBOX
80648 ## ----------------------------------------- ##
80649 ## Report this to the package-unused lists. ##
80650 ## ----------------------------------------- ##
80651 _ASBOX
80653 sed "s/^/$as_me: WARNING: /" >&2
80655 esac
80656 echo "$as_me:$LINENO: checking for $ac_header" >&5
80657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80659 echo $ECHO_N "(cached) $ECHO_C" >&6
80660 else
80661 eval "$as_ac_Header=\$ac_header_preproc"
80663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80668 cat >>confdefs.h <<_ACEOF
80669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80670 _ACEOF
80671 ac_has_wchar_h=yes
80672 else
80673 ac_has_wchar_h=no
80676 done
80679 for ac_header in wctype.h
80681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80683 echo "$as_me:$LINENO: checking for $ac_header" >&5
80684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80686 echo $ECHO_N "(cached) $ECHO_C" >&6
80688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80690 else
80691 # Is the header compilable?
80692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80694 cat >conftest.$ac_ext <<_ACEOF
80695 /* confdefs.h. */
80696 _ACEOF
80697 cat confdefs.h >>conftest.$ac_ext
80698 cat >>conftest.$ac_ext <<_ACEOF
80699 /* end confdefs.h. */
80700 $ac_includes_default
80701 #include <$ac_header>
80702 _ACEOF
80703 rm -f conftest.$ac_objext
80704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80705 (eval $ac_compile) 2>conftest.er1
80706 ac_status=$?
80707 grep -v '^ *+' conftest.er1 >conftest.err
80708 rm -f conftest.er1
80709 cat conftest.err >&5
80710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80711 (exit $ac_status); } &&
80712 { ac_try='test -z "$ac_c_werror_flag"
80713 || test ! -s conftest.err'
80714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80715 (eval $ac_try) 2>&5
80716 ac_status=$?
80717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80718 (exit $ac_status); }; } &&
80719 { ac_try='test -s conftest.$ac_objext'
80720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80721 (eval $ac_try) 2>&5
80722 ac_status=$?
80723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80724 (exit $ac_status); }; }; then
80725 ac_header_compiler=yes
80726 else
80727 echo "$as_me: failed program was:" >&5
80728 sed 's/^/| /' conftest.$ac_ext >&5
80730 ac_header_compiler=no
80732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80734 echo "${ECHO_T}$ac_header_compiler" >&6
80736 # Is the header present?
80737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80739 cat >conftest.$ac_ext <<_ACEOF
80740 /* confdefs.h. */
80741 _ACEOF
80742 cat confdefs.h >>conftest.$ac_ext
80743 cat >>conftest.$ac_ext <<_ACEOF
80744 /* end confdefs.h. */
80745 #include <$ac_header>
80746 _ACEOF
80747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80749 ac_status=$?
80750 grep -v '^ *+' conftest.er1 >conftest.err
80751 rm -f conftest.er1
80752 cat conftest.err >&5
80753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80754 (exit $ac_status); } >/dev/null; then
80755 if test -s conftest.err; then
80756 ac_cpp_err=$ac_c_preproc_warn_flag
80757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80758 else
80759 ac_cpp_err=
80761 else
80762 ac_cpp_err=yes
80764 if test -z "$ac_cpp_err"; then
80765 ac_header_preproc=yes
80766 else
80767 echo "$as_me: failed program was:" >&5
80768 sed 's/^/| /' conftest.$ac_ext >&5
80770 ac_header_preproc=no
80772 rm -f conftest.err conftest.$ac_ext
80773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80774 echo "${ECHO_T}$ac_header_preproc" >&6
80776 # So? What about this header?
80777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80778 yes:no: )
80779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80783 ac_header_preproc=yes
80785 no:yes:* )
80786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80799 cat <<\_ASBOX
80800 ## ----------------------------------------- ##
80801 ## Report this to the package-unused lists. ##
80802 ## ----------------------------------------- ##
80803 _ASBOX
80805 sed "s/^/$as_me: WARNING: /" >&2
80807 esac
80808 echo "$as_me:$LINENO: checking for $ac_header" >&5
80809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80811 echo $ECHO_N "(cached) $ECHO_C" >&6
80812 else
80813 eval "$as_ac_Header=\$ac_header_preproc"
80815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80820 cat >>confdefs.h <<_ACEOF
80821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80822 _ACEOF
80823 ac_has_wctype_h=yes
80824 else
80825 ac_has_wctype_h=no
80828 done
80831 # Only continue checking if the ISO C99 headers exist and support is on.
80832 if test x"$ac_has_wchar_h" = xyes &&
80833 test x"$ac_has_wctype_h" = xyes &&
80834 test x"$enable_c_mbchar" != xno; then
80836 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80837 # numeric_limits can instantiate type_traits<wchar_t>
80838 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80839 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80840 cat >conftest.$ac_ext <<_ACEOF
80841 /* confdefs.h. */
80842 _ACEOF
80843 cat confdefs.h >>conftest.$ac_ext
80844 cat >>conftest.$ac_ext <<_ACEOF
80845 /* end confdefs.h. */
80846 #include <wchar.h>
80848 main ()
80850 int i = WCHAR_MIN; int j = WCHAR_MAX;
80852 return 0;
80854 _ACEOF
80855 rm -f conftest.$ac_objext
80856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80857 (eval $ac_compile) 2>conftest.er1
80858 ac_status=$?
80859 grep -v '^ *+' conftest.er1 >conftest.err
80860 rm -f conftest.er1
80861 cat conftest.err >&5
80862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80863 (exit $ac_status); } &&
80864 { ac_try='test -z "$ac_c_werror_flag"
80865 || test ! -s conftest.err'
80866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80867 (eval $ac_try) 2>&5
80868 ac_status=$?
80869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870 (exit $ac_status); }; } &&
80871 { ac_try='test -s conftest.$ac_objext'
80872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80873 (eval $ac_try) 2>&5
80874 ac_status=$?
80875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80876 (exit $ac_status); }; }; then
80877 has_wchar_minmax=yes
80878 else
80879 echo "$as_me: failed program was:" >&5
80880 sed 's/^/| /' conftest.$ac_ext >&5
80882 has_wchar_minmax=no
80884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80885 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80886 echo "${ECHO_T}$has_wchar_minmax" >&6
80888 # Test wchar.h for WEOF, which is what we use to determine whether
80889 # to specialize for char_traits<wchar_t> or not.
80890 echo "$as_me:$LINENO: checking for WEOF" >&5
80891 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80892 cat >conftest.$ac_ext <<_ACEOF
80893 /* confdefs.h. */
80894 _ACEOF
80895 cat confdefs.h >>conftest.$ac_ext
80896 cat >>conftest.$ac_ext <<_ACEOF
80897 /* end confdefs.h. */
80899 #include <wchar.h>
80900 #include <stddef.h>
80902 main ()
80904 wint_t i = WEOF;
80906 return 0;
80908 _ACEOF
80909 rm -f conftest.$ac_objext
80910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80911 (eval $ac_compile) 2>conftest.er1
80912 ac_status=$?
80913 grep -v '^ *+' conftest.er1 >conftest.err
80914 rm -f conftest.er1
80915 cat conftest.err >&5
80916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80917 (exit $ac_status); } &&
80918 { ac_try='test -z "$ac_c_werror_flag"
80919 || test ! -s conftest.err'
80920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80921 (eval $ac_try) 2>&5
80922 ac_status=$?
80923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80924 (exit $ac_status); }; } &&
80925 { ac_try='test -s conftest.$ac_objext'
80926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80927 (eval $ac_try) 2>&5
80928 ac_status=$?
80929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80930 (exit $ac_status); }; }; then
80931 has_weof=yes
80932 else
80933 echo "$as_me: failed program was:" >&5
80934 sed 's/^/| /' conftest.$ac_ext >&5
80936 has_weof=no
80938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80939 echo "$as_me:$LINENO: result: $has_weof" >&5
80940 echo "${ECHO_T}$has_weof" >&6
80942 # Tests for wide character functions used in char_traits<wchar_t>.
80943 ac_wfuncs=yes
80950 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80953 echo "$as_me:$LINENO: checking for $ac_func" >&5
80954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80955 if eval "test \"\${$as_ac_var+set}\" = set"; then
80956 echo $ECHO_N "(cached) $ECHO_C" >&6
80957 else
80958 if test x$gcc_no_link = xyes; then
80959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80961 { (exit 1); exit 1; }; }
80963 cat >conftest.$ac_ext <<_ACEOF
80964 /* confdefs.h. */
80965 _ACEOF
80966 cat confdefs.h >>conftest.$ac_ext
80967 cat >>conftest.$ac_ext <<_ACEOF
80968 /* end confdefs.h. */
80969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80971 #define $ac_func innocuous_$ac_func
80973 /* System header to define __stub macros and hopefully few prototypes,
80974 which can conflict with char $ac_func (); below.
80975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80976 <limits.h> exists even on freestanding compilers. */
80978 #ifdef __STDC__
80979 # include <limits.h>
80980 #else
80981 # include <assert.h>
80982 #endif
80984 #undef $ac_func
80986 /* Override any gcc2 internal prototype to avoid an error. */
80987 #ifdef __cplusplus
80988 extern "C"
80990 #endif
80991 /* We use char because int might match the return type of a gcc2
80992 builtin and then its argument prototype would still apply. */
80993 char $ac_func ();
80994 /* The GNU C library defines this for functions which it implements
80995 to always fail with ENOSYS. Some functions are actually named
80996 something starting with __ and the normal name is an alias. */
80997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80998 choke me
80999 #else
81000 char (*f) () = $ac_func;
81001 #endif
81002 #ifdef __cplusplus
81004 #endif
81007 main ()
81009 return f != $ac_func;
81011 return 0;
81013 _ACEOF
81014 rm -f conftest.$ac_objext conftest$ac_exeext
81015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81016 (eval $ac_link) 2>conftest.er1
81017 ac_status=$?
81018 grep -v '^ *+' conftest.er1 >conftest.err
81019 rm -f conftest.er1
81020 cat conftest.err >&5
81021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022 (exit $ac_status); } &&
81023 { ac_try='test -z "$ac_c_werror_flag"
81024 || test ! -s conftest.err'
81025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81026 (eval $ac_try) 2>&5
81027 ac_status=$?
81028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029 (exit $ac_status); }; } &&
81030 { ac_try='test -s conftest$ac_exeext'
81031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81032 (eval $ac_try) 2>&5
81033 ac_status=$?
81034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81035 (exit $ac_status); }; }; then
81036 eval "$as_ac_var=yes"
81037 else
81038 echo "$as_me: failed program was:" >&5
81039 sed 's/^/| /' conftest.$ac_ext >&5
81041 eval "$as_ac_var=no"
81043 rm -f conftest.err conftest.$ac_objext \
81044 conftest$ac_exeext conftest.$ac_ext
81046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81048 if test `eval echo '${'$as_ac_var'}'` = yes; then
81049 cat >>confdefs.h <<_ACEOF
81050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81051 _ACEOF
81053 else
81054 ac_wfuncs=no
81056 done
81059 # Checks for names injected into std:: by the c_std headers.
81106 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81107 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81108 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81109 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81110 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81111 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81114 echo "$as_me:$LINENO: checking for $ac_func" >&5
81115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81116 if eval "test \"\${$as_ac_var+set}\" = set"; then
81117 echo $ECHO_N "(cached) $ECHO_C" >&6
81118 else
81119 if test x$gcc_no_link = xyes; then
81120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81122 { (exit 1); exit 1; }; }
81124 cat >conftest.$ac_ext <<_ACEOF
81125 /* confdefs.h. */
81126 _ACEOF
81127 cat confdefs.h >>conftest.$ac_ext
81128 cat >>conftest.$ac_ext <<_ACEOF
81129 /* end confdefs.h. */
81130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81132 #define $ac_func innocuous_$ac_func
81134 /* System header to define __stub macros and hopefully few prototypes,
81135 which can conflict with char $ac_func (); below.
81136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81137 <limits.h> exists even on freestanding compilers. */
81139 #ifdef __STDC__
81140 # include <limits.h>
81141 #else
81142 # include <assert.h>
81143 #endif
81145 #undef $ac_func
81147 /* Override any gcc2 internal prototype to avoid an error. */
81148 #ifdef __cplusplus
81149 extern "C"
81151 #endif
81152 /* We use char because int might match the return type of a gcc2
81153 builtin and then its argument prototype would still apply. */
81154 char $ac_func ();
81155 /* The GNU C library defines this for functions which it implements
81156 to always fail with ENOSYS. Some functions are actually named
81157 something starting with __ and the normal name is an alias. */
81158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81159 choke me
81160 #else
81161 char (*f) () = $ac_func;
81162 #endif
81163 #ifdef __cplusplus
81165 #endif
81168 main ()
81170 return f != $ac_func;
81172 return 0;
81174 _ACEOF
81175 rm -f conftest.$ac_objext conftest$ac_exeext
81176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81177 (eval $ac_link) 2>conftest.er1
81178 ac_status=$?
81179 grep -v '^ *+' conftest.er1 >conftest.err
81180 rm -f conftest.er1
81181 cat conftest.err >&5
81182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81183 (exit $ac_status); } &&
81184 { ac_try='test -z "$ac_c_werror_flag"
81185 || test ! -s conftest.err'
81186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81187 (eval $ac_try) 2>&5
81188 ac_status=$?
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); }; } &&
81191 { ac_try='test -s conftest$ac_exeext'
81192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81193 (eval $ac_try) 2>&5
81194 ac_status=$?
81195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81196 (exit $ac_status); }; }; then
81197 eval "$as_ac_var=yes"
81198 else
81199 echo "$as_me: failed program was:" >&5
81200 sed 's/^/| /' conftest.$ac_ext >&5
81202 eval "$as_ac_var=no"
81204 rm -f conftest.err conftest.$ac_objext \
81205 conftest$ac_exeext conftest.$ac_ext
81207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81209 if test `eval echo '${'$as_ac_var'}'` = yes; then
81210 cat >>confdefs.h <<_ACEOF
81211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81212 _ACEOF
81214 else
81215 ac_wfuncs=no
81217 done
81220 # Checks for wide character functions that are not required
81221 # for basic wchar_t support. Don't disable support if they are missing.
81222 # Injection of these is wrapped with guard macros.
81228 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81231 echo "$as_me:$LINENO: checking for $ac_func" >&5
81232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81233 if eval "test \"\${$as_ac_var+set}\" = set"; then
81234 echo $ECHO_N "(cached) $ECHO_C" >&6
81235 else
81236 if test x$gcc_no_link = xyes; then
81237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81239 { (exit 1); exit 1; }; }
81241 cat >conftest.$ac_ext <<_ACEOF
81242 /* confdefs.h. */
81243 _ACEOF
81244 cat confdefs.h >>conftest.$ac_ext
81245 cat >>conftest.$ac_ext <<_ACEOF
81246 /* end confdefs.h. */
81247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81249 #define $ac_func innocuous_$ac_func
81251 /* System header to define __stub macros and hopefully few prototypes,
81252 which can conflict with char $ac_func (); below.
81253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81254 <limits.h> exists even on freestanding compilers. */
81256 #ifdef __STDC__
81257 # include <limits.h>
81258 #else
81259 # include <assert.h>
81260 #endif
81262 #undef $ac_func
81264 /* Override any gcc2 internal prototype to avoid an error. */
81265 #ifdef __cplusplus
81266 extern "C"
81268 #endif
81269 /* We use char because int might match the return type of a gcc2
81270 builtin and then its argument prototype would still apply. */
81271 char $ac_func ();
81272 /* The GNU C library defines this for functions which it implements
81273 to always fail with ENOSYS. Some functions are actually named
81274 something starting with __ and the normal name is an alias. */
81275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81276 choke me
81277 #else
81278 char (*f) () = $ac_func;
81279 #endif
81280 #ifdef __cplusplus
81282 #endif
81285 main ()
81287 return f != $ac_func;
81289 return 0;
81291 _ACEOF
81292 rm -f conftest.$ac_objext conftest$ac_exeext
81293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81294 (eval $ac_link) 2>conftest.er1
81295 ac_status=$?
81296 grep -v '^ *+' conftest.er1 >conftest.err
81297 rm -f conftest.er1
81298 cat conftest.err >&5
81299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81300 (exit $ac_status); } &&
81301 { ac_try='test -z "$ac_c_werror_flag"
81302 || test ! -s conftest.err'
81303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81304 (eval $ac_try) 2>&5
81305 ac_status=$?
81306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307 (exit $ac_status); }; } &&
81308 { ac_try='test -s conftest$ac_exeext'
81309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81310 (eval $ac_try) 2>&5
81311 ac_status=$?
81312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81313 (exit $ac_status); }; }; then
81314 eval "$as_ac_var=yes"
81315 else
81316 echo "$as_me: failed program was:" >&5
81317 sed 's/^/| /' conftest.$ac_ext >&5
81319 eval "$as_ac_var=no"
81321 rm -f conftest.err conftest.$ac_objext \
81322 conftest$ac_exeext conftest.$ac_ext
81324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81326 if test `eval echo '${'$as_ac_var'}'` = yes; then
81327 cat >>confdefs.h <<_ACEOF
81328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81329 _ACEOF
81332 done
81335 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81336 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81337 if test x"$has_weof" = xyes &&
81338 test x"$has_wchar_minmax" = xyes &&
81339 test x"$ac_wfuncs" = xyes;
81340 then
81341 ac_isoC99_wchar_t=yes
81342 else
81343 ac_isoC99_wchar_t=no
81345 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81346 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81348 # Use iconv for wchar_t to char conversions. As such, check for
81349 # X/Open Portability Guide, version 2 features (XPG2).
81350 if test "${ac_cv_header_iconv_h+set}" = set; then
81351 echo "$as_me:$LINENO: checking for iconv.h" >&5
81352 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81353 if test "${ac_cv_header_iconv_h+set}" = set; then
81354 echo $ECHO_N "(cached) $ECHO_C" >&6
81356 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81357 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81358 else
81359 # Is the header compilable?
81360 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81361 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81362 cat >conftest.$ac_ext <<_ACEOF
81363 /* confdefs.h. */
81364 _ACEOF
81365 cat confdefs.h >>conftest.$ac_ext
81366 cat >>conftest.$ac_ext <<_ACEOF
81367 /* end confdefs.h. */
81368 $ac_includes_default
81369 #include <iconv.h>
81370 _ACEOF
81371 rm -f conftest.$ac_objext
81372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81373 (eval $ac_compile) 2>conftest.er1
81374 ac_status=$?
81375 grep -v '^ *+' conftest.er1 >conftest.err
81376 rm -f conftest.er1
81377 cat conftest.err >&5
81378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81379 (exit $ac_status); } &&
81380 { ac_try='test -z "$ac_c_werror_flag"
81381 || test ! -s conftest.err'
81382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81383 (eval $ac_try) 2>&5
81384 ac_status=$?
81385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81386 (exit $ac_status); }; } &&
81387 { ac_try='test -s conftest.$ac_objext'
81388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81389 (eval $ac_try) 2>&5
81390 ac_status=$?
81391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81392 (exit $ac_status); }; }; then
81393 ac_header_compiler=yes
81394 else
81395 echo "$as_me: failed program was:" >&5
81396 sed 's/^/| /' conftest.$ac_ext >&5
81398 ac_header_compiler=no
81400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81402 echo "${ECHO_T}$ac_header_compiler" >&6
81404 # Is the header present?
81405 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81406 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81407 cat >conftest.$ac_ext <<_ACEOF
81408 /* confdefs.h. */
81409 _ACEOF
81410 cat confdefs.h >>conftest.$ac_ext
81411 cat >>conftest.$ac_ext <<_ACEOF
81412 /* end confdefs.h. */
81413 #include <iconv.h>
81414 _ACEOF
81415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81417 ac_status=$?
81418 grep -v '^ *+' conftest.er1 >conftest.err
81419 rm -f conftest.er1
81420 cat conftest.err >&5
81421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81422 (exit $ac_status); } >/dev/null; then
81423 if test -s conftest.err; then
81424 ac_cpp_err=$ac_c_preproc_warn_flag
81425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81426 else
81427 ac_cpp_err=
81429 else
81430 ac_cpp_err=yes
81432 if test -z "$ac_cpp_err"; then
81433 ac_header_preproc=yes
81434 else
81435 echo "$as_me: failed program was:" >&5
81436 sed 's/^/| /' conftest.$ac_ext >&5
81438 ac_header_preproc=no
81440 rm -f conftest.err conftest.$ac_ext
81441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81442 echo "${ECHO_T}$ac_header_preproc" >&6
81444 # So? What about this header?
81445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81446 yes:no: )
81447 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81448 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81449 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81450 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81451 ac_header_preproc=yes
81453 no:yes:* )
81454 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81455 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81456 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81457 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81458 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81459 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81460 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81461 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81462 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81463 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81464 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81465 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81467 cat <<\_ASBOX
81468 ## ----------------------------------------- ##
81469 ## Report this to the package-unused lists. ##
81470 ## ----------------------------------------- ##
81471 _ASBOX
81473 sed "s/^/$as_me: WARNING: /" >&2
81475 esac
81476 echo "$as_me:$LINENO: checking for iconv.h" >&5
81477 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81478 if test "${ac_cv_header_iconv_h+set}" = set; then
81479 echo $ECHO_N "(cached) $ECHO_C" >&6
81480 else
81481 ac_cv_header_iconv_h=$ac_header_preproc
81483 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81484 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81487 if test $ac_cv_header_iconv_h = yes; then
81488 ac_has_iconv_h=yes
81489 else
81490 ac_has_iconv_h=no
81494 if test "${ac_cv_header_langinfo_h+set}" = set; then
81495 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81496 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81497 if test "${ac_cv_header_langinfo_h+set}" = set; then
81498 echo $ECHO_N "(cached) $ECHO_C" >&6
81500 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81501 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81502 else
81503 # Is the header compilable?
81504 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81505 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81506 cat >conftest.$ac_ext <<_ACEOF
81507 /* confdefs.h. */
81508 _ACEOF
81509 cat confdefs.h >>conftest.$ac_ext
81510 cat >>conftest.$ac_ext <<_ACEOF
81511 /* end confdefs.h. */
81512 $ac_includes_default
81513 #include <langinfo.h>
81514 _ACEOF
81515 rm -f conftest.$ac_objext
81516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81517 (eval $ac_compile) 2>conftest.er1
81518 ac_status=$?
81519 grep -v '^ *+' conftest.er1 >conftest.err
81520 rm -f conftest.er1
81521 cat conftest.err >&5
81522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81523 (exit $ac_status); } &&
81524 { ac_try='test -z "$ac_c_werror_flag"
81525 || test ! -s conftest.err'
81526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81527 (eval $ac_try) 2>&5
81528 ac_status=$?
81529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530 (exit $ac_status); }; } &&
81531 { ac_try='test -s conftest.$ac_objext'
81532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81533 (eval $ac_try) 2>&5
81534 ac_status=$?
81535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81536 (exit $ac_status); }; }; then
81537 ac_header_compiler=yes
81538 else
81539 echo "$as_me: failed program was:" >&5
81540 sed 's/^/| /' conftest.$ac_ext >&5
81542 ac_header_compiler=no
81544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81546 echo "${ECHO_T}$ac_header_compiler" >&6
81548 # Is the header present?
81549 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81550 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81551 cat >conftest.$ac_ext <<_ACEOF
81552 /* confdefs.h. */
81553 _ACEOF
81554 cat confdefs.h >>conftest.$ac_ext
81555 cat >>conftest.$ac_ext <<_ACEOF
81556 /* end confdefs.h. */
81557 #include <langinfo.h>
81558 _ACEOF
81559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81561 ac_status=$?
81562 grep -v '^ *+' conftest.er1 >conftest.err
81563 rm -f conftest.er1
81564 cat conftest.err >&5
81565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81566 (exit $ac_status); } >/dev/null; then
81567 if test -s conftest.err; then
81568 ac_cpp_err=$ac_c_preproc_warn_flag
81569 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81570 else
81571 ac_cpp_err=
81573 else
81574 ac_cpp_err=yes
81576 if test -z "$ac_cpp_err"; then
81577 ac_header_preproc=yes
81578 else
81579 echo "$as_me: failed program was:" >&5
81580 sed 's/^/| /' conftest.$ac_ext >&5
81582 ac_header_preproc=no
81584 rm -f conftest.err conftest.$ac_ext
81585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81586 echo "${ECHO_T}$ac_header_preproc" >&6
81588 # So? What about this header?
81589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81590 yes:no: )
81591 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81592 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81593 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81594 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81595 ac_header_preproc=yes
81597 no:yes:* )
81598 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81599 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81600 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81601 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81602 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81603 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81604 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81605 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81606 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81607 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81608 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81609 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81611 cat <<\_ASBOX
81612 ## ----------------------------------------- ##
81613 ## Report this to the package-unused lists. ##
81614 ## ----------------------------------------- ##
81615 _ASBOX
81617 sed "s/^/$as_me: WARNING: /" >&2
81619 esac
81620 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81621 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81622 if test "${ac_cv_header_langinfo_h+set}" = set; then
81623 echo $ECHO_N "(cached) $ECHO_C" >&6
81624 else
81625 ac_cv_header_langinfo_h=$ac_header_preproc
81627 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81628 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81631 if test $ac_cv_header_langinfo_h = yes; then
81632 ac_has_langinfo_h=yes
81633 else
81634 ac_has_langinfo_h=no
81639 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81640 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81641 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81642 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81643 echo $ECHO_N "(cached) $ECHO_C" >&6
81644 else
81645 ac_check_lib_save_LIBS=$LIBS
81646 LIBS="-liconv $LIBS"
81647 if test x$gcc_no_link = xyes; then
81648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81650 { (exit 1); exit 1; }; }
81652 cat >conftest.$ac_ext <<_ACEOF
81653 /* confdefs.h. */
81654 _ACEOF
81655 cat confdefs.h >>conftest.$ac_ext
81656 cat >>conftest.$ac_ext <<_ACEOF
81657 /* end confdefs.h. */
81659 /* Override any gcc2 internal prototype to avoid an error. */
81660 #ifdef __cplusplus
81661 extern "C"
81662 #endif
81663 /* We use char because int might match the return type of a gcc2
81664 builtin and then its argument prototype would still apply. */
81665 char iconv ();
81667 main ()
81669 iconv ();
81671 return 0;
81673 _ACEOF
81674 rm -f conftest.$ac_objext conftest$ac_exeext
81675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81676 (eval $ac_link) 2>conftest.er1
81677 ac_status=$?
81678 grep -v '^ *+' conftest.er1 >conftest.err
81679 rm -f conftest.er1
81680 cat conftest.err >&5
81681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81682 (exit $ac_status); } &&
81683 { ac_try='test -z "$ac_c_werror_flag"
81684 || test ! -s conftest.err'
81685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81686 (eval $ac_try) 2>&5
81687 ac_status=$?
81688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689 (exit $ac_status); }; } &&
81690 { ac_try='test -s conftest$ac_exeext'
81691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81692 (eval $ac_try) 2>&5
81693 ac_status=$?
81694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81695 (exit $ac_status); }; }; then
81696 ac_cv_lib_iconv_iconv=yes
81697 else
81698 echo "$as_me: failed program was:" >&5
81699 sed 's/^/| /' conftest.$ac_ext >&5
81701 ac_cv_lib_iconv_iconv=no
81703 rm -f conftest.err conftest.$ac_objext \
81704 conftest$ac_exeext conftest.$ac_ext
81705 LIBS=$ac_check_lib_save_LIBS
81707 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81708 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81709 if test $ac_cv_lib_iconv_iconv = yes; then
81710 LIBICONV="-liconv"
81713 ac_save_LIBS="$LIBS"
81714 LIBS="$LIBS $LIBICONV"
81721 for ac_func in iconv_open iconv_close iconv nl_langinfo
81723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81724 echo "$as_me:$LINENO: checking for $ac_func" >&5
81725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81726 if eval "test \"\${$as_ac_var+set}\" = set"; then
81727 echo $ECHO_N "(cached) $ECHO_C" >&6
81728 else
81729 if test x$gcc_no_link = xyes; then
81730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81732 { (exit 1); exit 1; }; }
81734 cat >conftest.$ac_ext <<_ACEOF
81735 /* confdefs.h. */
81736 _ACEOF
81737 cat confdefs.h >>conftest.$ac_ext
81738 cat >>conftest.$ac_ext <<_ACEOF
81739 /* end confdefs.h. */
81740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81742 #define $ac_func innocuous_$ac_func
81744 /* System header to define __stub macros and hopefully few prototypes,
81745 which can conflict with char $ac_func (); below.
81746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81747 <limits.h> exists even on freestanding compilers. */
81749 #ifdef __STDC__
81750 # include <limits.h>
81751 #else
81752 # include <assert.h>
81753 #endif
81755 #undef $ac_func
81757 /* Override any gcc2 internal prototype to avoid an error. */
81758 #ifdef __cplusplus
81759 extern "C"
81761 #endif
81762 /* We use char because int might match the return type of a gcc2
81763 builtin and then its argument prototype would still apply. */
81764 char $ac_func ();
81765 /* The GNU C library defines this for functions which it implements
81766 to always fail with ENOSYS. Some functions are actually named
81767 something starting with __ and the normal name is an alias. */
81768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81769 choke me
81770 #else
81771 char (*f) () = $ac_func;
81772 #endif
81773 #ifdef __cplusplus
81775 #endif
81778 main ()
81780 return f != $ac_func;
81782 return 0;
81784 _ACEOF
81785 rm -f conftest.$ac_objext conftest$ac_exeext
81786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81787 (eval $ac_link) 2>conftest.er1
81788 ac_status=$?
81789 grep -v '^ *+' conftest.er1 >conftest.err
81790 rm -f conftest.er1
81791 cat conftest.err >&5
81792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81793 (exit $ac_status); } &&
81794 { ac_try='test -z "$ac_c_werror_flag"
81795 || test ! -s conftest.err'
81796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81797 (eval $ac_try) 2>&5
81798 ac_status=$?
81799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81800 (exit $ac_status); }; } &&
81801 { ac_try='test -s conftest$ac_exeext'
81802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81803 (eval $ac_try) 2>&5
81804 ac_status=$?
81805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81806 (exit $ac_status); }; }; then
81807 eval "$as_ac_var=yes"
81808 else
81809 echo "$as_me: failed program was:" >&5
81810 sed 's/^/| /' conftest.$ac_ext >&5
81812 eval "$as_ac_var=no"
81814 rm -f conftest.err conftest.$ac_objext \
81815 conftest$ac_exeext conftest.$ac_ext
81817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81819 if test `eval echo '${'$as_ac_var'}'` = yes; then
81820 cat >>confdefs.h <<_ACEOF
81821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81822 _ACEOF
81823 ac_XPG2funcs=yes
81824 else
81825 ac_XPG2funcs=no
81827 done
81830 LIBS="$ac_save_LIBS"
81832 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81833 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81834 if test x"$ac_has_iconv_h" = xyes &&
81835 test x"$ac_has_langinfo_h" = xyes &&
81836 test x"$ac_XPG2funcs" = xyes;
81837 then
81838 ac_XPG2_wchar_t=yes
81839 else
81840 ac_XPG2_wchar_t=no
81842 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81843 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81845 # At the moment, only enable wchar_t specializations if all the
81846 # above support is present.
81847 if test x"$ac_isoC99_wchar_t" = xyes &&
81848 test x"$ac_XPG2_wchar_t" = xyes;
81849 then
81850 cat >>confdefs.h <<\_ACEOF
81851 #define _GLIBCXX_USE_WCHAR_T 1
81852 _ACEOF
81854 enable_wchar_t=yes
81857 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81858 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81859 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81860 echo "${ECHO_T}$enable_wchar_t" >&6
81863 # For LFS.
81864 cat >>confdefs.h <<\_ACEOF
81865 #define HAVE_INT64_T 1
81866 _ACEOF
81868 case "$target" in
81869 *-uclinux*)
81870 # Don't enable LFS with uClibc
81873 cat >>confdefs.h <<\_ACEOF
81874 #define _GLIBCXX_USE_LFS 1
81875 _ACEOF
81877 esac
81879 # For showmanyc_helper().
81882 for ac_header in sys/ioctl.h sys/filio.h
81884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81886 echo "$as_me:$LINENO: checking for $ac_header" >&5
81887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81889 echo $ECHO_N "(cached) $ECHO_C" >&6
81891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81893 else
81894 # Is the header compilable?
81895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81897 cat >conftest.$ac_ext <<_ACEOF
81898 /* confdefs.h. */
81899 _ACEOF
81900 cat confdefs.h >>conftest.$ac_ext
81901 cat >>conftest.$ac_ext <<_ACEOF
81902 /* end confdefs.h. */
81903 $ac_includes_default
81904 #include <$ac_header>
81905 _ACEOF
81906 rm -f conftest.$ac_objext
81907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81908 (eval $ac_compile) 2>conftest.er1
81909 ac_status=$?
81910 grep -v '^ *+' conftest.er1 >conftest.err
81911 rm -f conftest.er1
81912 cat conftest.err >&5
81913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81914 (exit $ac_status); } &&
81915 { ac_try='test -z "$ac_c_werror_flag"
81916 || test ! -s conftest.err'
81917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81918 (eval $ac_try) 2>&5
81919 ac_status=$?
81920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81921 (exit $ac_status); }; } &&
81922 { ac_try='test -s conftest.$ac_objext'
81923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81924 (eval $ac_try) 2>&5
81925 ac_status=$?
81926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81927 (exit $ac_status); }; }; then
81928 ac_header_compiler=yes
81929 else
81930 echo "$as_me: failed program was:" >&5
81931 sed 's/^/| /' conftest.$ac_ext >&5
81933 ac_header_compiler=no
81935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81937 echo "${ECHO_T}$ac_header_compiler" >&6
81939 # Is the header present?
81940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81942 cat >conftest.$ac_ext <<_ACEOF
81943 /* confdefs.h. */
81944 _ACEOF
81945 cat confdefs.h >>conftest.$ac_ext
81946 cat >>conftest.$ac_ext <<_ACEOF
81947 /* end confdefs.h. */
81948 #include <$ac_header>
81949 _ACEOF
81950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81952 ac_status=$?
81953 grep -v '^ *+' conftest.er1 >conftest.err
81954 rm -f conftest.er1
81955 cat conftest.err >&5
81956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81957 (exit $ac_status); } >/dev/null; then
81958 if test -s conftest.err; then
81959 ac_cpp_err=$ac_c_preproc_warn_flag
81960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81961 else
81962 ac_cpp_err=
81964 else
81965 ac_cpp_err=yes
81967 if test -z "$ac_cpp_err"; then
81968 ac_header_preproc=yes
81969 else
81970 echo "$as_me: failed program was:" >&5
81971 sed 's/^/| /' conftest.$ac_ext >&5
81973 ac_header_preproc=no
81975 rm -f conftest.err conftest.$ac_ext
81976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81977 echo "${ECHO_T}$ac_header_preproc" >&6
81979 # So? What about this header?
81980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81981 yes:no: )
81982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81986 ac_header_preproc=yes
81988 no:yes:* )
81989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82002 cat <<\_ASBOX
82003 ## ----------------------------------------- ##
82004 ## Report this to the package-unused lists. ##
82005 ## ----------------------------------------- ##
82006 _ASBOX
82008 sed "s/^/$as_me: WARNING: /" >&2
82010 esac
82011 echo "$as_me:$LINENO: checking for $ac_header" >&5
82012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82014 echo $ECHO_N "(cached) $ECHO_C" >&6
82015 else
82016 eval "$as_ac_Header=\$ac_header_preproc"
82018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82023 cat >>confdefs.h <<_ACEOF
82024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82025 _ACEOF
82029 done
82032 if test "${glibcxx_cv_POLL+set}" = set; then
82033 echo $ECHO_N "(cached) $ECHO_C" >&6
82034 else
82036 if test x$gcc_no_link = xyes; then
82037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82039 { (exit 1); exit 1; }; }
82041 cat >conftest.$ac_ext <<_ACEOF
82042 /* confdefs.h. */
82043 _ACEOF
82044 cat confdefs.h >>conftest.$ac_ext
82045 cat >>conftest.$ac_ext <<_ACEOF
82046 /* end confdefs.h. */
82047 #include <poll.h>
82049 main ()
82051 struct pollfd pfd[1];
82052 pfd[0].events = POLLIN;
82053 poll(pfd, 1, 0);
82055 return 0;
82057 _ACEOF
82058 rm -f conftest.$ac_objext conftest$ac_exeext
82059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82060 (eval $ac_link) 2>conftest.er1
82061 ac_status=$?
82062 grep -v '^ *+' conftest.er1 >conftest.err
82063 rm -f conftest.er1
82064 cat conftest.err >&5
82065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82066 (exit $ac_status); } &&
82067 { ac_try='test -z "$ac_c_werror_flag"
82068 || test ! -s conftest.err'
82069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82070 (eval $ac_try) 2>&5
82071 ac_status=$?
82072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073 (exit $ac_status); }; } &&
82074 { ac_try='test -s conftest$ac_exeext'
82075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82076 (eval $ac_try) 2>&5
82077 ac_status=$?
82078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82079 (exit $ac_status); }; }; then
82080 glibcxx_cv_POLL=yes
82081 else
82082 echo "$as_me: failed program was:" >&5
82083 sed 's/^/| /' conftest.$ac_ext >&5
82085 glibcxx_cv_POLL=no
82087 rm -f conftest.err conftest.$ac_objext \
82088 conftest$ac_exeext conftest.$ac_ext
82092 if test $glibcxx_cv_POLL = yes; then
82093 cat >>confdefs.h <<\_ACEOF
82094 #define HAVE_POLL 1
82095 _ACEOF
82100 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82101 echo $ECHO_N "(cached) $ECHO_C" >&6
82102 else
82104 if test x$gcc_no_link = xyes; then
82105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82107 { (exit 1); exit 1; }; }
82109 cat >conftest.$ac_ext <<_ACEOF
82110 /* confdefs.h. */
82111 _ACEOF
82112 cat confdefs.h >>conftest.$ac_ext
82113 cat >>conftest.$ac_ext <<_ACEOF
82114 /* end confdefs.h. */
82115 #include <sys/stat.h>
82117 main ()
82119 struct stat buffer;
82120 fstat(0, &buffer);
82121 S_ISREG(buffer.st_mode);
82123 return 0;
82125 _ACEOF
82126 rm -f conftest.$ac_objext conftest$ac_exeext
82127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82128 (eval $ac_link) 2>conftest.er1
82129 ac_status=$?
82130 grep -v '^ *+' conftest.er1 >conftest.err
82131 rm -f conftest.er1
82132 cat conftest.err >&5
82133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82134 (exit $ac_status); } &&
82135 { ac_try='test -z "$ac_c_werror_flag"
82136 || test ! -s conftest.err'
82137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82138 (eval $ac_try) 2>&5
82139 ac_status=$?
82140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141 (exit $ac_status); }; } &&
82142 { ac_try='test -s conftest$ac_exeext'
82143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82144 (eval $ac_try) 2>&5
82145 ac_status=$?
82146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82147 (exit $ac_status); }; }; then
82148 glibcxx_cv_S_ISREG=yes
82149 else
82150 echo "$as_me: failed program was:" >&5
82151 sed 's/^/| /' conftest.$ac_ext >&5
82153 glibcxx_cv_S_ISREG=no
82155 rm -f conftest.err conftest.$ac_objext \
82156 conftest$ac_exeext conftest.$ac_ext
82160 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82161 echo $ECHO_N "(cached) $ECHO_C" >&6
82162 else
82164 if test x$gcc_no_link = xyes; then
82165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82167 { (exit 1); exit 1; }; }
82169 cat >conftest.$ac_ext <<_ACEOF
82170 /* confdefs.h. */
82171 _ACEOF
82172 cat confdefs.h >>conftest.$ac_ext
82173 cat >>conftest.$ac_ext <<_ACEOF
82174 /* end confdefs.h. */
82175 #include <sys/stat.h>
82177 main ()
82179 struct stat buffer;
82180 fstat(0, &buffer);
82181 S_IFREG & buffer.st_mode;
82183 return 0;
82185 _ACEOF
82186 rm -f conftest.$ac_objext conftest$ac_exeext
82187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82188 (eval $ac_link) 2>conftest.er1
82189 ac_status=$?
82190 grep -v '^ *+' conftest.er1 >conftest.err
82191 rm -f conftest.er1
82192 cat conftest.err >&5
82193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82194 (exit $ac_status); } &&
82195 { ac_try='test -z "$ac_c_werror_flag"
82196 || test ! -s conftest.err'
82197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82198 (eval $ac_try) 2>&5
82199 ac_status=$?
82200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201 (exit $ac_status); }; } &&
82202 { ac_try='test -s conftest$ac_exeext'
82203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82204 (eval $ac_try) 2>&5
82205 ac_status=$?
82206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82207 (exit $ac_status); }; }; then
82208 glibcxx_cv_S_IFREG=yes
82209 else
82210 echo "$as_me: failed program was:" >&5
82211 sed 's/^/| /' conftest.$ac_ext >&5
82213 glibcxx_cv_S_IFREG=no
82215 rm -f conftest.err conftest.$ac_objext \
82216 conftest$ac_exeext conftest.$ac_ext
82220 if test $glibcxx_cv_S_ISREG = yes; then
82221 cat >>confdefs.h <<\_ACEOF
82222 #define HAVE_S_ISREG 1
82223 _ACEOF
82225 elif test $glibcxx_cv_S_IFREG = yes; then
82226 cat >>confdefs.h <<\_ACEOF
82227 #define HAVE_S_IFREG 1
82228 _ACEOF
82233 # For xsputn_2().
82235 for ac_header in sys/uio.h
82237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82239 echo "$as_me:$LINENO: checking for $ac_header" >&5
82240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82242 echo $ECHO_N "(cached) $ECHO_C" >&6
82244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82246 else
82247 # Is the header compilable?
82248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82250 cat >conftest.$ac_ext <<_ACEOF
82251 /* confdefs.h. */
82252 _ACEOF
82253 cat confdefs.h >>conftest.$ac_ext
82254 cat >>conftest.$ac_ext <<_ACEOF
82255 /* end confdefs.h. */
82256 $ac_includes_default
82257 #include <$ac_header>
82258 _ACEOF
82259 rm -f conftest.$ac_objext
82260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82261 (eval $ac_compile) 2>conftest.er1
82262 ac_status=$?
82263 grep -v '^ *+' conftest.er1 >conftest.err
82264 rm -f conftest.er1
82265 cat conftest.err >&5
82266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82267 (exit $ac_status); } &&
82268 { ac_try='test -z "$ac_c_werror_flag"
82269 || test ! -s conftest.err'
82270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82271 (eval $ac_try) 2>&5
82272 ac_status=$?
82273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82274 (exit $ac_status); }; } &&
82275 { ac_try='test -s conftest.$ac_objext'
82276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82277 (eval $ac_try) 2>&5
82278 ac_status=$?
82279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82280 (exit $ac_status); }; }; then
82281 ac_header_compiler=yes
82282 else
82283 echo "$as_me: failed program was:" >&5
82284 sed 's/^/| /' conftest.$ac_ext >&5
82286 ac_header_compiler=no
82288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82290 echo "${ECHO_T}$ac_header_compiler" >&6
82292 # Is the header present?
82293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82295 cat >conftest.$ac_ext <<_ACEOF
82296 /* confdefs.h. */
82297 _ACEOF
82298 cat confdefs.h >>conftest.$ac_ext
82299 cat >>conftest.$ac_ext <<_ACEOF
82300 /* end confdefs.h. */
82301 #include <$ac_header>
82302 _ACEOF
82303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82305 ac_status=$?
82306 grep -v '^ *+' conftest.er1 >conftest.err
82307 rm -f conftest.er1
82308 cat conftest.err >&5
82309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82310 (exit $ac_status); } >/dev/null; then
82311 if test -s conftest.err; then
82312 ac_cpp_err=$ac_c_preproc_warn_flag
82313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82314 else
82315 ac_cpp_err=
82317 else
82318 ac_cpp_err=yes
82320 if test -z "$ac_cpp_err"; then
82321 ac_header_preproc=yes
82322 else
82323 echo "$as_me: failed program was:" >&5
82324 sed 's/^/| /' conftest.$ac_ext >&5
82326 ac_header_preproc=no
82328 rm -f conftest.err conftest.$ac_ext
82329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82330 echo "${ECHO_T}$ac_header_preproc" >&6
82332 # So? What about this header?
82333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82334 yes:no: )
82335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82339 ac_header_preproc=yes
82341 no:yes:* )
82342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82355 cat <<\_ASBOX
82356 ## ----------------------------------------- ##
82357 ## Report this to the package-unused lists. ##
82358 ## ----------------------------------------- ##
82359 _ASBOX
82361 sed "s/^/$as_me: WARNING: /" >&2
82363 esac
82364 echo "$as_me:$LINENO: checking for $ac_header" >&5
82365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82367 echo $ECHO_N "(cached) $ECHO_C" >&6
82368 else
82369 eval "$as_ac_Header=\$ac_header_preproc"
82371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82376 cat >>confdefs.h <<_ACEOF
82377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82378 _ACEOF
82382 done
82385 if test "${glibcxx_cv_WRITEV+set}" = set; then
82386 echo $ECHO_N "(cached) $ECHO_C" >&6
82387 else
82389 if test x$gcc_no_link = xyes; then
82390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82392 { (exit 1); exit 1; }; }
82394 cat >conftest.$ac_ext <<_ACEOF
82395 /* confdefs.h. */
82396 _ACEOF
82397 cat confdefs.h >>conftest.$ac_ext
82398 cat >>conftest.$ac_ext <<_ACEOF
82399 /* end confdefs.h. */
82400 #include <sys/uio.h>
82402 main ()
82404 struct iovec iov[2];
82405 writev(0, iov, 0);
82407 return 0;
82409 _ACEOF
82410 rm -f conftest.$ac_objext conftest$ac_exeext
82411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82412 (eval $ac_link) 2>conftest.er1
82413 ac_status=$?
82414 grep -v '^ *+' conftest.er1 >conftest.err
82415 rm -f conftest.er1
82416 cat conftest.err >&5
82417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82418 (exit $ac_status); } &&
82419 { ac_try='test -z "$ac_c_werror_flag"
82420 || test ! -s conftest.err'
82421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82422 (eval $ac_try) 2>&5
82423 ac_status=$?
82424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82425 (exit $ac_status); }; } &&
82426 { ac_try='test -s conftest$ac_exeext'
82427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82428 (eval $ac_try) 2>&5
82429 ac_status=$?
82430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82431 (exit $ac_status); }; }; then
82432 glibcxx_cv_WRITEV=yes
82433 else
82434 echo "$as_me: failed program was:" >&5
82435 sed 's/^/| /' conftest.$ac_ext >&5
82437 glibcxx_cv_WRITEV=no
82439 rm -f conftest.err conftest.$ac_objext \
82440 conftest$ac_exeext conftest.$ac_ext
82444 if test $glibcxx_cv_WRITEV = yes; then
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE_WRITEV 1
82447 _ACEOF
82452 cat >>confdefs.h <<\_ACEOF
82453 #define HAVE_ACOSF 1
82454 _ACEOF
82456 cat >>confdefs.h <<\_ACEOF
82457 #define HAVE_ASINF 1
82458 _ACEOF
82460 cat >>confdefs.h <<\_ACEOF
82461 #define HAVE_ATANF 1
82462 _ACEOF
82464 cat >>confdefs.h <<\_ACEOF
82465 #define HAVE_ATAN2F 1
82466 _ACEOF
82468 cat >>confdefs.h <<\_ACEOF
82469 #define HAVE_CEILF 1
82470 _ACEOF
82472 cat >>confdefs.h <<\_ACEOF
82473 #define HAVE_COPYSIGN 1
82474 _ACEOF
82476 cat >>confdefs.h <<\_ACEOF
82477 #define HAVE_COPYSIGNF 1
82478 _ACEOF
82480 cat >>confdefs.h <<\_ACEOF
82481 #define HAVE_COSF 1
82482 _ACEOF
82484 cat >>confdefs.h <<\_ACEOF
82485 #define HAVE_COSHF 1
82486 _ACEOF
82488 cat >>confdefs.h <<\_ACEOF
82489 #define HAVE_EXPF 1
82490 _ACEOF
82492 cat >>confdefs.h <<\_ACEOF
82493 #define HAVE_FABSF 1
82494 _ACEOF
82496 cat >>confdefs.h <<\_ACEOF
82497 #define HAVE_FINITE 1
82498 _ACEOF
82500 cat >>confdefs.h <<\_ACEOF
82501 #define HAVE_FINITEF 1
82502 _ACEOF
82504 cat >>confdefs.h <<\_ACEOF
82505 #define HAVE_FLOORF 1
82506 _ACEOF
82508 cat >>confdefs.h <<\_ACEOF
82509 #define HAVE_FMODF 1
82510 _ACEOF
82512 cat >>confdefs.h <<\_ACEOF
82513 #define HAVE_FREXPF 1
82514 _ACEOF
82516 cat >>confdefs.h <<\_ACEOF
82517 #define HAVE_HYPOT 1
82518 _ACEOF
82520 cat >>confdefs.h <<\_ACEOF
82521 #define HAVE_HYPOTF 1
82522 _ACEOF
82524 cat >>confdefs.h <<\_ACEOF
82525 #define HAVE_ISINF 1
82526 _ACEOF
82528 cat >>confdefs.h <<\_ACEOF
82529 #define HAVE_ISINFF 1
82530 _ACEOF
82532 cat >>confdefs.h <<\_ACEOF
82533 #define HAVE_ISNAN 1
82534 _ACEOF
82536 cat >>confdefs.h <<\_ACEOF
82537 #define HAVE_ISNANF 1
82538 _ACEOF
82540 cat >>confdefs.h <<\_ACEOF
82541 #define HAVE_LOGF 1
82542 _ACEOF
82544 cat >>confdefs.h <<\_ACEOF
82545 #define HAVE_LOG10F 1
82546 _ACEOF
82548 cat >>confdefs.h <<\_ACEOF
82549 #define HAVE_MODFF 1
82550 _ACEOF
82552 cat >>confdefs.h <<\_ACEOF
82553 #define HAVE_SINF 1
82554 _ACEOF
82556 cat >>confdefs.h <<\_ACEOF
82557 #define HAVE_SINHF 1
82558 _ACEOF
82560 cat >>confdefs.h <<\_ACEOF
82561 #define HAVE_SINCOS 1
82562 _ACEOF
82564 cat >>confdefs.h <<\_ACEOF
82565 #define HAVE_SINCOSF 1
82566 _ACEOF
82568 cat >>confdefs.h <<\_ACEOF
82569 #define HAVE_SQRTF 1
82570 _ACEOF
82572 cat >>confdefs.h <<\_ACEOF
82573 #define HAVE_TANF 1
82574 _ACEOF
82576 cat >>confdefs.h <<\_ACEOF
82577 #define HAVE_TANHF 1
82578 _ACEOF
82580 if test x"long_double_math_on_this_cpu" = x"yes"; then
82581 cat >>confdefs.h <<\_ACEOF
82582 #define HAVE_ACOSL 1
82583 _ACEOF
82585 cat >>confdefs.h <<\_ACEOF
82586 #define HAVE_ASINL 1
82587 _ACEOF
82589 cat >>confdefs.h <<\_ACEOF
82590 #define HAVE_ATANL 1
82591 _ACEOF
82593 cat >>confdefs.h <<\_ACEOF
82594 #define HAVE_ATAN2L 1
82595 _ACEOF
82597 cat >>confdefs.h <<\_ACEOF
82598 #define HAVE_CEILL 1
82599 _ACEOF
82601 cat >>confdefs.h <<\_ACEOF
82602 #define HAVE_COPYSIGNL 1
82603 _ACEOF
82605 cat >>confdefs.h <<\_ACEOF
82606 #define HAVE_COSL 1
82607 _ACEOF
82609 cat >>confdefs.h <<\_ACEOF
82610 #define HAVE_COSHL 1
82611 _ACEOF
82613 cat >>confdefs.h <<\_ACEOF
82614 #define HAVE_EXPL 1
82615 _ACEOF
82617 cat >>confdefs.h <<\_ACEOF
82618 #define HAVE_FABSL 1
82619 _ACEOF
82621 cat >>confdefs.h <<\_ACEOF
82622 #define HAVE_FINITEL 1
82623 _ACEOF
82625 cat >>confdefs.h <<\_ACEOF
82626 #define HAVE_FLOORL 1
82627 _ACEOF
82629 cat >>confdefs.h <<\_ACEOF
82630 #define HAVE_FMODL 1
82631 _ACEOF
82633 cat >>confdefs.h <<\_ACEOF
82634 #define HAVE_FREXPL 1
82635 _ACEOF
82637 cat >>confdefs.h <<\_ACEOF
82638 #define HAVE_HYPOTL 1
82639 _ACEOF
82641 cat >>confdefs.h <<\_ACEOF
82642 #define HAVE_ISINFL 1
82643 _ACEOF
82645 cat >>confdefs.h <<\_ACEOF
82646 #define HAVE_ISNANL 1
82647 _ACEOF
82649 cat >>confdefs.h <<\_ACEOF
82650 #define HAVE_LOGL 1
82651 _ACEOF
82653 cat >>confdefs.h <<\_ACEOF
82654 #define HAVE_LOG10L 1
82655 _ACEOF
82657 cat >>confdefs.h <<\_ACEOF
82658 #define HAVE_MODFL 1
82659 _ACEOF
82661 cat >>confdefs.h <<\_ACEOF
82662 #define HAVE_POWL 1
82663 _ACEOF
82665 cat >>confdefs.h <<\_ACEOF
82666 #define HAVE_SINL 1
82667 _ACEOF
82669 cat >>confdefs.h <<\_ACEOF
82670 #define HAVE_SINHL 1
82671 _ACEOF
82673 cat >>confdefs.h <<\_ACEOF
82674 #define HAVE_SINCOSL 1
82675 _ACEOF
82677 cat >>confdefs.h <<\_ACEOF
82678 #define HAVE_SQRTL 1
82679 _ACEOF
82681 cat >>confdefs.h <<\_ACEOF
82682 #define HAVE_TANL 1
82683 _ACEOF
82685 cat >>confdefs.h <<\_ACEOF
82686 #define HAVE_TANHL 1
82687 _ACEOF
82691 *-mingw32*)
82695 for ac_header in sys/types.h locale.h float.h
82697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82699 echo "$as_me:$LINENO: checking for $ac_header" >&5
82700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82702 echo $ECHO_N "(cached) $ECHO_C" >&6
82704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82706 else
82707 # Is the header compilable?
82708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82710 cat >conftest.$ac_ext <<_ACEOF
82711 /* confdefs.h. */
82712 _ACEOF
82713 cat confdefs.h >>conftest.$ac_ext
82714 cat >>conftest.$ac_ext <<_ACEOF
82715 /* end confdefs.h. */
82716 $ac_includes_default
82717 #include <$ac_header>
82718 _ACEOF
82719 rm -f conftest.$ac_objext
82720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82721 (eval $ac_compile) 2>conftest.er1
82722 ac_status=$?
82723 grep -v '^ *+' conftest.er1 >conftest.err
82724 rm -f conftest.er1
82725 cat conftest.err >&5
82726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727 (exit $ac_status); } &&
82728 { ac_try='test -z "$ac_c_werror_flag"
82729 || test ! -s conftest.err'
82730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82731 (eval $ac_try) 2>&5
82732 ac_status=$?
82733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734 (exit $ac_status); }; } &&
82735 { ac_try='test -s conftest.$ac_objext'
82736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82737 (eval $ac_try) 2>&5
82738 ac_status=$?
82739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740 (exit $ac_status); }; }; then
82741 ac_header_compiler=yes
82742 else
82743 echo "$as_me: failed program was:" >&5
82744 sed 's/^/| /' conftest.$ac_ext >&5
82746 ac_header_compiler=no
82748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82750 echo "${ECHO_T}$ac_header_compiler" >&6
82752 # Is the header present?
82753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82755 cat >conftest.$ac_ext <<_ACEOF
82756 /* confdefs.h. */
82757 _ACEOF
82758 cat confdefs.h >>conftest.$ac_ext
82759 cat >>conftest.$ac_ext <<_ACEOF
82760 /* end confdefs.h. */
82761 #include <$ac_header>
82762 _ACEOF
82763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82765 ac_status=$?
82766 grep -v '^ *+' conftest.er1 >conftest.err
82767 rm -f conftest.er1
82768 cat conftest.err >&5
82769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770 (exit $ac_status); } >/dev/null; then
82771 if test -s conftest.err; then
82772 ac_cpp_err=$ac_c_preproc_warn_flag
82773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82774 else
82775 ac_cpp_err=
82777 else
82778 ac_cpp_err=yes
82780 if test -z "$ac_cpp_err"; then
82781 ac_header_preproc=yes
82782 else
82783 echo "$as_me: failed program was:" >&5
82784 sed 's/^/| /' conftest.$ac_ext >&5
82786 ac_header_preproc=no
82788 rm -f conftest.err conftest.$ac_ext
82789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82790 echo "${ECHO_T}$ac_header_preproc" >&6
82792 # So? What about this header?
82793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82794 yes:no: )
82795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82799 ac_header_preproc=yes
82801 no:yes:* )
82802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82815 cat <<\_ASBOX
82816 ## ----------------------------------------- ##
82817 ## Report this to the package-unused lists. ##
82818 ## ----------------------------------------- ##
82819 _ASBOX
82821 sed "s/^/$as_me: WARNING: /" >&2
82823 esac
82824 echo "$as_me:$LINENO: checking for $ac_header" >&5
82825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82827 echo $ECHO_N "(cached) $ECHO_C" >&6
82828 else
82829 eval "$as_ac_Header=\$ac_header_preproc"
82831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82836 cat >>confdefs.h <<_ACEOF
82837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82838 _ACEOF
82842 done
82845 # If we're not using GNU ld, then there's no point in even trying these
82846 # tests. Check for that first. We should have already tested for gld
82847 # by now (in libtool), but require it now just to be safe...
82848 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82849 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82853 # The name set by libtool depends on the version of libtool. Shame on us
82854 # for depending on an impl detail, but c'est la vie. Older versions used
82855 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82856 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82857 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82858 # set (hence we're using an older libtool), then set it.
82859 if test x${with_gnu_ld+set} != xset; then
82860 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82861 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82862 with_gnu_ld=no
82863 else
82864 with_gnu_ld=$ac_cv_prog_gnu_ld
82868 # Start by getting the version number. I think the libtool test already
82869 # does some of this, but throws away the result.
82871 ldver=`$LD --version 2>/dev/null | head -1 | \
82872 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82874 glibcxx_gnu_ld_version=`echo $ldver | \
82875 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82877 # Set --gc-sections.
82878 if test "$with_gnu_ld" = "notbroken"; then
82879 # GNU ld it is! Joy and bunny rabbits!
82881 # All these tests are for C++; save the language and the compiler flags.
82882 # Need to do this so that g++ won't try to link in libstdc++
82883 ac_test_CFLAGS="${CFLAGS+set}"
82884 ac_save_CFLAGS="$CFLAGS"
82885 CFLAGS='-x c++ -Wl,--gc-sections'
82887 # Check for -Wl,--gc-sections
82888 # XXX This test is broken at the moment, as symbols required for linking
82889 # are now in libsupc++ (not built yet). In addition, this test has
82890 # cored on solaris in the past. In addition, --gc-sections doesn't
82891 # really work at the moment (keeps on discarding used sections, first
82892 # .eh_frame and now some of the glibc sections for iconv).
82893 # Bzzzzt. Thanks for playing, maybe next time.
82894 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82895 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82896 if test "$cross_compiling" = yes; then
82897 ac_sectionLDflags=yes
82898 else
82899 cat >conftest.$ac_ext <<_ACEOF
82900 /* confdefs.h. */
82901 _ACEOF
82902 cat confdefs.h >>conftest.$ac_ext
82903 cat >>conftest.$ac_ext <<_ACEOF
82904 /* end confdefs.h. */
82906 int main(void)
82908 try { throw 1; }
82909 catch (...) { };
82910 return 0;
82913 _ACEOF
82914 rm -f conftest$ac_exeext
82915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82916 (eval $ac_link) 2>&5
82917 ac_status=$?
82918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82921 (eval $ac_try) 2>&5
82922 ac_status=$?
82923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82924 (exit $ac_status); }; }; then
82925 ac_sectionLDflags=yes
82926 else
82927 echo "$as_me: program exited with status $ac_status" >&5
82928 echo "$as_me: failed program was:" >&5
82929 sed 's/^/| /' conftest.$ac_ext >&5
82931 ( exit $ac_status )
82932 ac_sectionLDflags=no
82934 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82936 if test "$ac_test_CFLAGS" = set; then
82937 CFLAGS="$ac_save_CFLAGS"
82938 else
82939 # this is the suspicious part
82940 CFLAGS=''
82942 if test "$ac_sectionLDflags" = "yes"; then
82943 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82945 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82946 echo "${ECHO_T}$ac_sectionLDflags" >&6
82949 # Set linker optimization flags.
82950 if test x"$with_gnu_ld" = x"yes"; then
82951 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82959 echo "$as_me:$LINENO: checking for main in -lm" >&5
82960 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82961 if test "${ac_cv_lib_m_main+set}" = set; then
82962 echo $ECHO_N "(cached) $ECHO_C" >&6
82963 else
82964 ac_check_lib_save_LIBS=$LIBS
82965 LIBS="-lm $LIBS"
82966 if test x$gcc_no_link = xyes; then
82967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82969 { (exit 1); exit 1; }; }
82971 cat >conftest.$ac_ext <<_ACEOF
82972 /* confdefs.h. */
82973 _ACEOF
82974 cat confdefs.h >>conftest.$ac_ext
82975 cat >>conftest.$ac_ext <<_ACEOF
82976 /* end confdefs.h. */
82980 main ()
82982 main ();
82984 return 0;
82986 _ACEOF
82987 rm -f conftest.$ac_objext conftest$ac_exeext
82988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82989 (eval $ac_link) 2>conftest.er1
82990 ac_status=$?
82991 grep -v '^ *+' conftest.er1 >conftest.err
82992 rm -f conftest.er1
82993 cat conftest.err >&5
82994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82995 (exit $ac_status); } &&
82996 { ac_try='test -z "$ac_c_werror_flag"
82997 || test ! -s conftest.err'
82998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82999 (eval $ac_try) 2>&5
83000 ac_status=$?
83001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002 (exit $ac_status); }; } &&
83003 { ac_try='test -s conftest$ac_exeext'
83004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83005 (eval $ac_try) 2>&5
83006 ac_status=$?
83007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83008 (exit $ac_status); }; }; then
83009 ac_cv_lib_m_main=yes
83010 else
83011 echo "$as_me: failed program was:" >&5
83012 sed 's/^/| /' conftest.$ac_ext >&5
83014 ac_cv_lib_m_main=no
83016 rm -f conftest.err conftest.$ac_objext \
83017 conftest$ac_exeext conftest.$ac_ext
83018 LIBS=$ac_check_lib_save_LIBS
83020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83021 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83022 if test $ac_cv_lib_m_main = yes; then
83023 cat >>confdefs.h <<_ACEOF
83024 #define HAVE_LIBM 1
83025 _ACEOF
83027 LIBS="-lm $LIBS"
83032 for ac_func in copysignf
83034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83035 echo "$as_me:$LINENO: checking for $ac_func" >&5
83036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83037 if eval "test \"\${$as_ac_var+set}\" = set"; then
83038 echo $ECHO_N "(cached) $ECHO_C" >&6
83039 else
83040 if test x$gcc_no_link = xyes; then
83041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83043 { (exit 1); exit 1; }; }
83045 cat >conftest.$ac_ext <<_ACEOF
83046 /* confdefs.h. */
83047 _ACEOF
83048 cat confdefs.h >>conftest.$ac_ext
83049 cat >>conftest.$ac_ext <<_ACEOF
83050 /* end confdefs.h. */
83051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83053 #define $ac_func innocuous_$ac_func
83055 /* System header to define __stub macros and hopefully few prototypes,
83056 which can conflict with char $ac_func (); below.
83057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83058 <limits.h> exists even on freestanding compilers. */
83060 #ifdef __STDC__
83061 # include <limits.h>
83062 #else
83063 # include <assert.h>
83064 #endif
83066 #undef $ac_func
83068 /* Override any gcc2 internal prototype to avoid an error. */
83069 #ifdef __cplusplus
83070 extern "C"
83072 #endif
83073 /* We use char because int might match the return type of a gcc2
83074 builtin and then its argument prototype would still apply. */
83075 char $ac_func ();
83076 /* The GNU C library defines this for functions which it implements
83077 to always fail with ENOSYS. Some functions are actually named
83078 something starting with __ and the normal name is an alias. */
83079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83080 choke me
83081 #else
83082 char (*f) () = $ac_func;
83083 #endif
83084 #ifdef __cplusplus
83086 #endif
83089 main ()
83091 return f != $ac_func;
83093 return 0;
83095 _ACEOF
83096 rm -f conftest.$ac_objext conftest$ac_exeext
83097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83098 (eval $ac_link) 2>conftest.er1
83099 ac_status=$?
83100 grep -v '^ *+' conftest.er1 >conftest.err
83101 rm -f conftest.er1
83102 cat conftest.err >&5
83103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83104 (exit $ac_status); } &&
83105 { ac_try='test -z "$ac_c_werror_flag"
83106 || test ! -s conftest.err'
83107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83108 (eval $ac_try) 2>&5
83109 ac_status=$?
83110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83111 (exit $ac_status); }; } &&
83112 { ac_try='test -s conftest$ac_exeext'
83113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83114 (eval $ac_try) 2>&5
83115 ac_status=$?
83116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83117 (exit $ac_status); }; }; then
83118 eval "$as_ac_var=yes"
83119 else
83120 echo "$as_me: failed program was:" >&5
83121 sed 's/^/| /' conftest.$ac_ext >&5
83123 eval "$as_ac_var=no"
83125 rm -f conftest.err conftest.$ac_objext \
83126 conftest$ac_exeext conftest.$ac_ext
83128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83130 if test `eval echo '${'$as_ac_var'}'` = yes; then
83131 cat >>confdefs.h <<_ACEOF
83132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83133 _ACEOF
83135 else
83136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83138 done
83142 for ac_func in __signbit
83144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83145 echo "$as_me:$LINENO: checking for $ac_func" >&5
83146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83147 if eval "test \"\${$as_ac_var+set}\" = set"; then
83148 echo $ECHO_N "(cached) $ECHO_C" >&6
83149 else
83150 if test x$gcc_no_link = xyes; then
83151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83153 { (exit 1); exit 1; }; }
83155 cat >conftest.$ac_ext <<_ACEOF
83156 /* confdefs.h. */
83157 _ACEOF
83158 cat confdefs.h >>conftest.$ac_ext
83159 cat >>conftest.$ac_ext <<_ACEOF
83160 /* end confdefs.h. */
83161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83163 #define $ac_func innocuous_$ac_func
83165 /* System header to define __stub macros and hopefully few prototypes,
83166 which can conflict with char $ac_func (); below.
83167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83168 <limits.h> exists even on freestanding compilers. */
83170 #ifdef __STDC__
83171 # include <limits.h>
83172 #else
83173 # include <assert.h>
83174 #endif
83176 #undef $ac_func
83178 /* Override any gcc2 internal prototype to avoid an error. */
83179 #ifdef __cplusplus
83180 extern "C"
83182 #endif
83183 /* We use char because int might match the return type of a gcc2
83184 builtin and then its argument prototype would still apply. */
83185 char $ac_func ();
83186 /* The GNU C library defines this for functions which it implements
83187 to always fail with ENOSYS. Some functions are actually named
83188 something starting with __ and the normal name is an alias. */
83189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83190 choke me
83191 #else
83192 char (*f) () = $ac_func;
83193 #endif
83194 #ifdef __cplusplus
83196 #endif
83199 main ()
83201 return f != $ac_func;
83203 return 0;
83205 _ACEOF
83206 rm -f conftest.$ac_objext conftest$ac_exeext
83207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83208 (eval $ac_link) 2>conftest.er1
83209 ac_status=$?
83210 grep -v '^ *+' conftest.er1 >conftest.err
83211 rm -f conftest.er1
83212 cat conftest.err >&5
83213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83214 (exit $ac_status); } &&
83215 { ac_try='test -z "$ac_c_werror_flag"
83216 || test ! -s conftest.err'
83217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83218 (eval $ac_try) 2>&5
83219 ac_status=$?
83220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221 (exit $ac_status); }; } &&
83222 { ac_try='test -s conftest$ac_exeext'
83223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83224 (eval $ac_try) 2>&5
83225 ac_status=$?
83226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83227 (exit $ac_status); }; }; then
83228 eval "$as_ac_var=yes"
83229 else
83230 echo "$as_me: failed program was:" >&5
83231 sed 's/^/| /' conftest.$ac_ext >&5
83233 eval "$as_ac_var=no"
83235 rm -f conftest.err conftest.$ac_objext \
83236 conftest$ac_exeext conftest.$ac_ext
83238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83240 if test `eval echo '${'$as_ac_var'}'` = yes; then
83241 cat >>confdefs.h <<_ACEOF
83242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83243 _ACEOF
83245 else
83246 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83248 done
83252 for ac_func in __signbitf
83254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83255 echo "$as_me:$LINENO: checking for $ac_func" >&5
83256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83257 if eval "test \"\${$as_ac_var+set}\" = set"; then
83258 echo $ECHO_N "(cached) $ECHO_C" >&6
83259 else
83260 if test x$gcc_no_link = xyes; then
83261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83263 { (exit 1); exit 1; }; }
83265 cat >conftest.$ac_ext <<_ACEOF
83266 /* confdefs.h. */
83267 _ACEOF
83268 cat confdefs.h >>conftest.$ac_ext
83269 cat >>conftest.$ac_ext <<_ACEOF
83270 /* end confdefs.h. */
83271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83273 #define $ac_func innocuous_$ac_func
83275 /* System header to define __stub macros and hopefully few prototypes,
83276 which can conflict with char $ac_func (); below.
83277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83278 <limits.h> exists even on freestanding compilers. */
83280 #ifdef __STDC__
83281 # include <limits.h>
83282 #else
83283 # include <assert.h>
83284 #endif
83286 #undef $ac_func
83288 /* Override any gcc2 internal prototype to avoid an error. */
83289 #ifdef __cplusplus
83290 extern "C"
83292 #endif
83293 /* We use char because int might match the return type of a gcc2
83294 builtin and then its argument prototype would still apply. */
83295 char $ac_func ();
83296 /* The GNU C library defines this for functions which it implements
83297 to always fail with ENOSYS. Some functions are actually named
83298 something starting with __ and the normal name is an alias. */
83299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83300 choke me
83301 #else
83302 char (*f) () = $ac_func;
83303 #endif
83304 #ifdef __cplusplus
83306 #endif
83309 main ()
83311 return f != $ac_func;
83313 return 0;
83315 _ACEOF
83316 rm -f conftest.$ac_objext conftest$ac_exeext
83317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83318 (eval $ac_link) 2>conftest.er1
83319 ac_status=$?
83320 grep -v '^ *+' conftest.er1 >conftest.err
83321 rm -f conftest.er1
83322 cat conftest.err >&5
83323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83324 (exit $ac_status); } &&
83325 { ac_try='test -z "$ac_c_werror_flag"
83326 || test ! -s conftest.err'
83327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83328 (eval $ac_try) 2>&5
83329 ac_status=$?
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); }; } &&
83332 { ac_try='test -s conftest$ac_exeext'
83333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83334 (eval $ac_try) 2>&5
83335 ac_status=$?
83336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83337 (exit $ac_status); }; }; then
83338 eval "$as_ac_var=yes"
83339 else
83340 echo "$as_me: failed program was:" >&5
83341 sed 's/^/| /' conftest.$ac_ext >&5
83343 eval "$as_ac_var=no"
83345 rm -f conftest.err conftest.$ac_objext \
83346 conftest$ac_exeext conftest.$ac_ext
83348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83350 if test `eval echo '${'$as_ac_var'}'` = yes; then
83351 cat >>confdefs.h <<_ACEOF
83352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83353 _ACEOF
83355 else
83356 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83358 done
83361 if test x$ac_cv_func_copysignl = x"yes"; then
83363 for ac_func in __signbitl
83365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83366 echo "$as_me:$LINENO: checking for $ac_func" >&5
83367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83368 if eval "test \"\${$as_ac_var+set}\" = set"; then
83369 echo $ECHO_N "(cached) $ECHO_C" >&6
83370 else
83371 if test x$gcc_no_link = xyes; then
83372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83374 { (exit 1); exit 1; }; }
83376 cat >conftest.$ac_ext <<_ACEOF
83377 /* confdefs.h. */
83378 _ACEOF
83379 cat confdefs.h >>conftest.$ac_ext
83380 cat >>conftest.$ac_ext <<_ACEOF
83381 /* end confdefs.h. */
83382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83384 #define $ac_func innocuous_$ac_func
83386 /* System header to define __stub macros and hopefully few prototypes,
83387 which can conflict with char $ac_func (); below.
83388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83389 <limits.h> exists even on freestanding compilers. */
83391 #ifdef __STDC__
83392 # include <limits.h>
83393 #else
83394 # include <assert.h>
83395 #endif
83397 #undef $ac_func
83399 /* Override any gcc2 internal prototype to avoid an error. */
83400 #ifdef __cplusplus
83401 extern "C"
83403 #endif
83404 /* We use char because int might match the return type of a gcc2
83405 builtin and then its argument prototype would still apply. */
83406 char $ac_func ();
83407 /* The GNU C library defines this for functions which it implements
83408 to always fail with ENOSYS. Some functions are actually named
83409 something starting with __ and the normal name is an alias. */
83410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83411 choke me
83412 #else
83413 char (*f) () = $ac_func;
83414 #endif
83415 #ifdef __cplusplus
83417 #endif
83420 main ()
83422 return f != $ac_func;
83424 return 0;
83426 _ACEOF
83427 rm -f conftest.$ac_objext conftest$ac_exeext
83428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83429 (eval $ac_link) 2>conftest.er1
83430 ac_status=$?
83431 grep -v '^ *+' conftest.er1 >conftest.err
83432 rm -f conftest.er1
83433 cat conftest.err >&5
83434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83435 (exit $ac_status); } &&
83436 { ac_try='test -z "$ac_c_werror_flag"
83437 || test ! -s conftest.err'
83438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83439 (eval $ac_try) 2>&5
83440 ac_status=$?
83441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442 (exit $ac_status); }; } &&
83443 { ac_try='test -s conftest$ac_exeext'
83444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83445 (eval $ac_try) 2>&5
83446 ac_status=$?
83447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83448 (exit $ac_status); }; }; then
83449 eval "$as_ac_var=yes"
83450 else
83451 echo "$as_me: failed program was:" >&5
83452 sed 's/^/| /' conftest.$ac_ext >&5
83454 eval "$as_ac_var=no"
83456 rm -f conftest.err conftest.$ac_objext \
83457 conftest$ac_exeext conftest.$ac_ext
83459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83461 if test `eval echo '${'$as_ac_var'}'` = yes; then
83462 cat >>confdefs.h <<_ACEOF
83463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83464 _ACEOF
83466 else
83467 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83469 done
83473 # Used in libmath/Makefile.am.
83474 if test -n "$LIBMATHOBJS"; then
83475 need_libmath=yes
83480 # Test wchar.h for mbstate_t, which is needed for char_traits and
83481 # others even if wchar_t support is not on.
83482 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83483 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83484 cat >conftest.$ac_ext <<_ACEOF
83485 /* confdefs.h. */
83486 _ACEOF
83487 cat confdefs.h >>conftest.$ac_ext
83488 cat >>conftest.$ac_ext <<_ACEOF
83489 /* end confdefs.h. */
83490 #include <wchar.h>
83492 main ()
83494 mbstate_t teststate;
83496 return 0;
83498 _ACEOF
83499 rm -f conftest.$ac_objext
83500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83501 (eval $ac_compile) 2>conftest.er1
83502 ac_status=$?
83503 grep -v '^ *+' conftest.er1 >conftest.err
83504 rm -f conftest.er1
83505 cat conftest.err >&5
83506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83507 (exit $ac_status); } &&
83508 { ac_try='test -z "$ac_c_werror_flag"
83509 || test ! -s conftest.err'
83510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83511 (eval $ac_try) 2>&5
83512 ac_status=$?
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); }; } &&
83515 { ac_try='test -s conftest.$ac_objext'
83516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83517 (eval $ac_try) 2>&5
83518 ac_status=$?
83519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83520 (exit $ac_status); }; }; then
83521 have_mbstate_t=yes
83522 else
83523 echo "$as_me: failed program was:" >&5
83524 sed 's/^/| /' conftest.$ac_ext >&5
83526 have_mbstate_t=no
83528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83529 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83530 echo "${ECHO_T}$have_mbstate_t" >&6
83531 if test x"$have_mbstate_t" = xyes; then
83532 cat >>confdefs.h <<\_ACEOF
83533 #define HAVE_MBSTATE_T 1
83534 _ACEOF
83538 # Sanity check for existence of ISO C99 headers for extended encoding.
83540 for ac_header in wchar.h
83542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83544 echo "$as_me:$LINENO: checking for $ac_header" >&5
83545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83547 echo $ECHO_N "(cached) $ECHO_C" >&6
83549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83551 else
83552 # Is the header compilable?
83553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83555 cat >conftest.$ac_ext <<_ACEOF
83556 /* confdefs.h. */
83557 _ACEOF
83558 cat confdefs.h >>conftest.$ac_ext
83559 cat >>conftest.$ac_ext <<_ACEOF
83560 /* end confdefs.h. */
83561 $ac_includes_default
83562 #include <$ac_header>
83563 _ACEOF
83564 rm -f conftest.$ac_objext
83565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83566 (eval $ac_compile) 2>conftest.er1
83567 ac_status=$?
83568 grep -v '^ *+' conftest.er1 >conftest.err
83569 rm -f conftest.er1
83570 cat conftest.err >&5
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); } &&
83573 { ac_try='test -z "$ac_c_werror_flag"
83574 || test ! -s conftest.err'
83575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83576 (eval $ac_try) 2>&5
83577 ac_status=$?
83578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579 (exit $ac_status); }; } &&
83580 { ac_try='test -s conftest.$ac_objext'
83581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83582 (eval $ac_try) 2>&5
83583 ac_status=$?
83584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83585 (exit $ac_status); }; }; then
83586 ac_header_compiler=yes
83587 else
83588 echo "$as_me: failed program was:" >&5
83589 sed 's/^/| /' conftest.$ac_ext >&5
83591 ac_header_compiler=no
83593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83595 echo "${ECHO_T}$ac_header_compiler" >&6
83597 # Is the header present?
83598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83600 cat >conftest.$ac_ext <<_ACEOF
83601 /* confdefs.h. */
83602 _ACEOF
83603 cat confdefs.h >>conftest.$ac_ext
83604 cat >>conftest.$ac_ext <<_ACEOF
83605 /* end confdefs.h. */
83606 #include <$ac_header>
83607 _ACEOF
83608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83610 ac_status=$?
83611 grep -v '^ *+' conftest.er1 >conftest.err
83612 rm -f conftest.er1
83613 cat conftest.err >&5
83614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83615 (exit $ac_status); } >/dev/null; then
83616 if test -s conftest.err; then
83617 ac_cpp_err=$ac_c_preproc_warn_flag
83618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83619 else
83620 ac_cpp_err=
83622 else
83623 ac_cpp_err=yes
83625 if test -z "$ac_cpp_err"; then
83626 ac_header_preproc=yes
83627 else
83628 echo "$as_me: failed program was:" >&5
83629 sed 's/^/| /' conftest.$ac_ext >&5
83631 ac_header_preproc=no
83633 rm -f conftest.err conftest.$ac_ext
83634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83635 echo "${ECHO_T}$ac_header_preproc" >&6
83637 # So? What about this header?
83638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83639 yes:no: )
83640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83644 ac_header_preproc=yes
83646 no:yes:* )
83647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83660 cat <<\_ASBOX
83661 ## ----------------------------------------- ##
83662 ## Report this to the package-unused lists. ##
83663 ## ----------------------------------------- ##
83664 _ASBOX
83666 sed "s/^/$as_me: WARNING: /" >&2
83668 esac
83669 echo "$as_me:$LINENO: checking for $ac_header" >&5
83670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83672 echo $ECHO_N "(cached) $ECHO_C" >&6
83673 else
83674 eval "$as_ac_Header=\$ac_header_preproc"
83676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83681 cat >>confdefs.h <<_ACEOF
83682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83683 _ACEOF
83684 ac_has_wchar_h=yes
83685 else
83686 ac_has_wchar_h=no
83689 done
83692 for ac_header in wctype.h
83694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83696 echo "$as_me:$LINENO: checking for $ac_header" >&5
83697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83699 echo $ECHO_N "(cached) $ECHO_C" >&6
83701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83703 else
83704 # Is the header compilable?
83705 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83707 cat >conftest.$ac_ext <<_ACEOF
83708 /* confdefs.h. */
83709 _ACEOF
83710 cat confdefs.h >>conftest.$ac_ext
83711 cat >>conftest.$ac_ext <<_ACEOF
83712 /* end confdefs.h. */
83713 $ac_includes_default
83714 #include <$ac_header>
83715 _ACEOF
83716 rm -f conftest.$ac_objext
83717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83718 (eval $ac_compile) 2>conftest.er1
83719 ac_status=$?
83720 grep -v '^ *+' conftest.er1 >conftest.err
83721 rm -f conftest.er1
83722 cat conftest.err >&5
83723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83724 (exit $ac_status); } &&
83725 { ac_try='test -z "$ac_c_werror_flag"
83726 || test ! -s conftest.err'
83727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83728 (eval $ac_try) 2>&5
83729 ac_status=$?
83730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731 (exit $ac_status); }; } &&
83732 { ac_try='test -s conftest.$ac_objext'
83733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83734 (eval $ac_try) 2>&5
83735 ac_status=$?
83736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83737 (exit $ac_status); }; }; then
83738 ac_header_compiler=yes
83739 else
83740 echo "$as_me: failed program was:" >&5
83741 sed 's/^/| /' conftest.$ac_ext >&5
83743 ac_header_compiler=no
83745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83747 echo "${ECHO_T}$ac_header_compiler" >&6
83749 # Is the header present?
83750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83752 cat >conftest.$ac_ext <<_ACEOF
83753 /* confdefs.h. */
83754 _ACEOF
83755 cat confdefs.h >>conftest.$ac_ext
83756 cat >>conftest.$ac_ext <<_ACEOF
83757 /* end confdefs.h. */
83758 #include <$ac_header>
83759 _ACEOF
83760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83762 ac_status=$?
83763 grep -v '^ *+' conftest.er1 >conftest.err
83764 rm -f conftest.er1
83765 cat conftest.err >&5
83766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83767 (exit $ac_status); } >/dev/null; then
83768 if test -s conftest.err; then
83769 ac_cpp_err=$ac_c_preproc_warn_flag
83770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83771 else
83772 ac_cpp_err=
83774 else
83775 ac_cpp_err=yes
83777 if test -z "$ac_cpp_err"; then
83778 ac_header_preproc=yes
83779 else
83780 echo "$as_me: failed program was:" >&5
83781 sed 's/^/| /' conftest.$ac_ext >&5
83783 ac_header_preproc=no
83785 rm -f conftest.err conftest.$ac_ext
83786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83787 echo "${ECHO_T}$ac_header_preproc" >&6
83789 # So? What about this header?
83790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83791 yes:no: )
83792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83796 ac_header_preproc=yes
83798 no:yes:* )
83799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83812 cat <<\_ASBOX
83813 ## ----------------------------------------- ##
83814 ## Report this to the package-unused lists. ##
83815 ## ----------------------------------------- ##
83816 _ASBOX
83818 sed "s/^/$as_me: WARNING: /" >&2
83820 esac
83821 echo "$as_me:$LINENO: checking for $ac_header" >&5
83822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83824 echo $ECHO_N "(cached) $ECHO_C" >&6
83825 else
83826 eval "$as_ac_Header=\$ac_header_preproc"
83828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83833 cat >>confdefs.h <<_ACEOF
83834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83835 _ACEOF
83836 ac_has_wctype_h=yes
83837 else
83838 ac_has_wctype_h=no
83841 done
83844 # Only continue checking if the ISO C99 headers exist and support is on.
83845 if test x"$ac_has_wchar_h" = xyes &&
83846 test x"$ac_has_wctype_h" = xyes &&
83847 test x"$enable_c_mbchar" != xno; then
83849 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83850 # numeric_limits can instantiate type_traits<wchar_t>
83851 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83852 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83853 cat >conftest.$ac_ext <<_ACEOF
83854 /* confdefs.h. */
83855 _ACEOF
83856 cat confdefs.h >>conftest.$ac_ext
83857 cat >>conftest.$ac_ext <<_ACEOF
83858 /* end confdefs.h. */
83859 #include <wchar.h>
83861 main ()
83863 int i = WCHAR_MIN; int j = WCHAR_MAX;
83865 return 0;
83867 _ACEOF
83868 rm -f conftest.$ac_objext
83869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83870 (eval $ac_compile) 2>conftest.er1
83871 ac_status=$?
83872 grep -v '^ *+' conftest.er1 >conftest.err
83873 rm -f conftest.er1
83874 cat conftest.err >&5
83875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83876 (exit $ac_status); } &&
83877 { ac_try='test -z "$ac_c_werror_flag"
83878 || test ! -s conftest.err'
83879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83880 (eval $ac_try) 2>&5
83881 ac_status=$?
83882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83883 (exit $ac_status); }; } &&
83884 { ac_try='test -s conftest.$ac_objext'
83885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83886 (eval $ac_try) 2>&5
83887 ac_status=$?
83888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83889 (exit $ac_status); }; }; then
83890 has_wchar_minmax=yes
83891 else
83892 echo "$as_me: failed program was:" >&5
83893 sed 's/^/| /' conftest.$ac_ext >&5
83895 has_wchar_minmax=no
83897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83898 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83899 echo "${ECHO_T}$has_wchar_minmax" >&6
83901 # Test wchar.h for WEOF, which is what we use to determine whether
83902 # to specialize for char_traits<wchar_t> or not.
83903 echo "$as_me:$LINENO: checking for WEOF" >&5
83904 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83905 cat >conftest.$ac_ext <<_ACEOF
83906 /* confdefs.h. */
83907 _ACEOF
83908 cat confdefs.h >>conftest.$ac_ext
83909 cat >>conftest.$ac_ext <<_ACEOF
83910 /* end confdefs.h. */
83912 #include <wchar.h>
83913 #include <stddef.h>
83915 main ()
83917 wint_t i = WEOF;
83919 return 0;
83921 _ACEOF
83922 rm -f conftest.$ac_objext
83923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83924 (eval $ac_compile) 2>conftest.er1
83925 ac_status=$?
83926 grep -v '^ *+' conftest.er1 >conftest.err
83927 rm -f conftest.er1
83928 cat conftest.err >&5
83929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83930 (exit $ac_status); } &&
83931 { ac_try='test -z "$ac_c_werror_flag"
83932 || test ! -s conftest.err'
83933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83934 (eval $ac_try) 2>&5
83935 ac_status=$?
83936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83937 (exit $ac_status); }; } &&
83938 { ac_try='test -s conftest.$ac_objext'
83939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83940 (eval $ac_try) 2>&5
83941 ac_status=$?
83942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83943 (exit $ac_status); }; }; then
83944 has_weof=yes
83945 else
83946 echo "$as_me: failed program was:" >&5
83947 sed 's/^/| /' conftest.$ac_ext >&5
83949 has_weof=no
83951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83952 echo "$as_me:$LINENO: result: $has_weof" >&5
83953 echo "${ECHO_T}$has_weof" >&6
83955 # Tests for wide character functions used in char_traits<wchar_t>.
83956 ac_wfuncs=yes
83963 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83966 echo "$as_me:$LINENO: checking for $ac_func" >&5
83967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83968 if eval "test \"\${$as_ac_var+set}\" = set"; then
83969 echo $ECHO_N "(cached) $ECHO_C" >&6
83970 else
83971 if test x$gcc_no_link = xyes; then
83972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83974 { (exit 1); exit 1; }; }
83976 cat >conftest.$ac_ext <<_ACEOF
83977 /* confdefs.h. */
83978 _ACEOF
83979 cat confdefs.h >>conftest.$ac_ext
83980 cat >>conftest.$ac_ext <<_ACEOF
83981 /* end confdefs.h. */
83982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83984 #define $ac_func innocuous_$ac_func
83986 /* System header to define __stub macros and hopefully few prototypes,
83987 which can conflict with char $ac_func (); below.
83988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83989 <limits.h> exists even on freestanding compilers. */
83991 #ifdef __STDC__
83992 # include <limits.h>
83993 #else
83994 # include <assert.h>
83995 #endif
83997 #undef $ac_func
83999 /* Override any gcc2 internal prototype to avoid an error. */
84000 #ifdef __cplusplus
84001 extern "C"
84003 #endif
84004 /* We use char because int might match the return type of a gcc2
84005 builtin and then its argument prototype would still apply. */
84006 char $ac_func ();
84007 /* The GNU C library defines this for functions which it implements
84008 to always fail with ENOSYS. Some functions are actually named
84009 something starting with __ and the normal name is an alias. */
84010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84011 choke me
84012 #else
84013 char (*f) () = $ac_func;
84014 #endif
84015 #ifdef __cplusplus
84017 #endif
84020 main ()
84022 return f != $ac_func;
84024 return 0;
84026 _ACEOF
84027 rm -f conftest.$ac_objext conftest$ac_exeext
84028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84029 (eval $ac_link) 2>conftest.er1
84030 ac_status=$?
84031 grep -v '^ *+' conftest.er1 >conftest.err
84032 rm -f conftest.er1
84033 cat conftest.err >&5
84034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84035 (exit $ac_status); } &&
84036 { ac_try='test -z "$ac_c_werror_flag"
84037 || test ! -s conftest.err'
84038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84039 (eval $ac_try) 2>&5
84040 ac_status=$?
84041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84042 (exit $ac_status); }; } &&
84043 { ac_try='test -s conftest$ac_exeext'
84044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84045 (eval $ac_try) 2>&5
84046 ac_status=$?
84047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84048 (exit $ac_status); }; }; then
84049 eval "$as_ac_var=yes"
84050 else
84051 echo "$as_me: failed program was:" >&5
84052 sed 's/^/| /' conftest.$ac_ext >&5
84054 eval "$as_ac_var=no"
84056 rm -f conftest.err conftest.$ac_objext \
84057 conftest$ac_exeext conftest.$ac_ext
84059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84061 if test `eval echo '${'$as_ac_var'}'` = yes; then
84062 cat >>confdefs.h <<_ACEOF
84063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84064 _ACEOF
84066 else
84067 ac_wfuncs=no
84069 done
84072 # Checks for names injected into std:: by the c_std headers.
84119 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84120 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84121 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84122 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84123 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84124 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84127 echo "$as_me:$LINENO: checking for $ac_func" >&5
84128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84129 if eval "test \"\${$as_ac_var+set}\" = set"; then
84130 echo $ECHO_N "(cached) $ECHO_C" >&6
84131 else
84132 if test x$gcc_no_link = xyes; then
84133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84135 { (exit 1); exit 1; }; }
84137 cat >conftest.$ac_ext <<_ACEOF
84138 /* confdefs.h. */
84139 _ACEOF
84140 cat confdefs.h >>conftest.$ac_ext
84141 cat >>conftest.$ac_ext <<_ACEOF
84142 /* end confdefs.h. */
84143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84145 #define $ac_func innocuous_$ac_func
84147 /* System header to define __stub macros and hopefully few prototypes,
84148 which can conflict with char $ac_func (); below.
84149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84150 <limits.h> exists even on freestanding compilers. */
84152 #ifdef __STDC__
84153 # include <limits.h>
84154 #else
84155 # include <assert.h>
84156 #endif
84158 #undef $ac_func
84160 /* Override any gcc2 internal prototype to avoid an error. */
84161 #ifdef __cplusplus
84162 extern "C"
84164 #endif
84165 /* We use char because int might match the return type of a gcc2
84166 builtin and then its argument prototype would still apply. */
84167 char $ac_func ();
84168 /* The GNU C library defines this for functions which it implements
84169 to always fail with ENOSYS. Some functions are actually named
84170 something starting with __ and the normal name is an alias. */
84171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84172 choke me
84173 #else
84174 char (*f) () = $ac_func;
84175 #endif
84176 #ifdef __cplusplus
84178 #endif
84181 main ()
84183 return f != $ac_func;
84185 return 0;
84187 _ACEOF
84188 rm -f conftest.$ac_objext conftest$ac_exeext
84189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84190 (eval $ac_link) 2>conftest.er1
84191 ac_status=$?
84192 grep -v '^ *+' conftest.er1 >conftest.err
84193 rm -f conftest.er1
84194 cat conftest.err >&5
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); } &&
84197 { ac_try='test -z "$ac_c_werror_flag"
84198 || test ! -s conftest.err'
84199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84200 (eval $ac_try) 2>&5
84201 ac_status=$?
84202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84203 (exit $ac_status); }; } &&
84204 { ac_try='test -s conftest$ac_exeext'
84205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84206 (eval $ac_try) 2>&5
84207 ac_status=$?
84208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84209 (exit $ac_status); }; }; then
84210 eval "$as_ac_var=yes"
84211 else
84212 echo "$as_me: failed program was:" >&5
84213 sed 's/^/| /' conftest.$ac_ext >&5
84215 eval "$as_ac_var=no"
84217 rm -f conftest.err conftest.$ac_objext \
84218 conftest$ac_exeext conftest.$ac_ext
84220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84222 if test `eval echo '${'$as_ac_var'}'` = yes; then
84223 cat >>confdefs.h <<_ACEOF
84224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84225 _ACEOF
84227 else
84228 ac_wfuncs=no
84230 done
84233 # Checks for wide character functions that are not required
84234 # for basic wchar_t support. Don't disable support if they are missing.
84235 # Injection of these is wrapped with guard macros.
84241 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84244 echo "$as_me:$LINENO: checking for $ac_func" >&5
84245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84246 if eval "test \"\${$as_ac_var+set}\" = set"; then
84247 echo $ECHO_N "(cached) $ECHO_C" >&6
84248 else
84249 if test x$gcc_no_link = xyes; then
84250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84252 { (exit 1); exit 1; }; }
84254 cat >conftest.$ac_ext <<_ACEOF
84255 /* confdefs.h. */
84256 _ACEOF
84257 cat confdefs.h >>conftest.$ac_ext
84258 cat >>conftest.$ac_ext <<_ACEOF
84259 /* end confdefs.h. */
84260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84262 #define $ac_func innocuous_$ac_func
84264 /* System header to define __stub macros and hopefully few prototypes,
84265 which can conflict with char $ac_func (); below.
84266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84267 <limits.h> exists even on freestanding compilers. */
84269 #ifdef __STDC__
84270 # include <limits.h>
84271 #else
84272 # include <assert.h>
84273 #endif
84275 #undef $ac_func
84277 /* Override any gcc2 internal prototype to avoid an error. */
84278 #ifdef __cplusplus
84279 extern "C"
84281 #endif
84282 /* We use char because int might match the return type of a gcc2
84283 builtin and then its argument prototype would still apply. */
84284 char $ac_func ();
84285 /* The GNU C library defines this for functions which it implements
84286 to always fail with ENOSYS. Some functions are actually named
84287 something starting with __ and the normal name is an alias. */
84288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84289 choke me
84290 #else
84291 char (*f) () = $ac_func;
84292 #endif
84293 #ifdef __cplusplus
84295 #endif
84298 main ()
84300 return f != $ac_func;
84302 return 0;
84304 _ACEOF
84305 rm -f conftest.$ac_objext conftest$ac_exeext
84306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84307 (eval $ac_link) 2>conftest.er1
84308 ac_status=$?
84309 grep -v '^ *+' conftest.er1 >conftest.err
84310 rm -f conftest.er1
84311 cat conftest.err >&5
84312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84313 (exit $ac_status); } &&
84314 { ac_try='test -z "$ac_c_werror_flag"
84315 || test ! -s conftest.err'
84316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84317 (eval $ac_try) 2>&5
84318 ac_status=$?
84319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320 (exit $ac_status); }; } &&
84321 { ac_try='test -s conftest$ac_exeext'
84322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84323 (eval $ac_try) 2>&5
84324 ac_status=$?
84325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84326 (exit $ac_status); }; }; then
84327 eval "$as_ac_var=yes"
84328 else
84329 echo "$as_me: failed program was:" >&5
84330 sed 's/^/| /' conftest.$ac_ext >&5
84332 eval "$as_ac_var=no"
84334 rm -f conftest.err conftest.$ac_objext \
84335 conftest$ac_exeext conftest.$ac_ext
84337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84339 if test `eval echo '${'$as_ac_var'}'` = yes; then
84340 cat >>confdefs.h <<_ACEOF
84341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84342 _ACEOF
84345 done
84348 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84349 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84350 if test x"$has_weof" = xyes &&
84351 test x"$has_wchar_minmax" = xyes &&
84352 test x"$ac_wfuncs" = xyes;
84353 then
84354 ac_isoC99_wchar_t=yes
84355 else
84356 ac_isoC99_wchar_t=no
84358 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84359 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84361 # Use iconv for wchar_t to char conversions. As such, check for
84362 # X/Open Portability Guide, version 2 features (XPG2).
84363 if test "${ac_cv_header_iconv_h+set}" = set; then
84364 echo "$as_me:$LINENO: checking for iconv.h" >&5
84365 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84366 if test "${ac_cv_header_iconv_h+set}" = set; then
84367 echo $ECHO_N "(cached) $ECHO_C" >&6
84369 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84370 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84371 else
84372 # Is the header compilable?
84373 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84374 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84375 cat >conftest.$ac_ext <<_ACEOF
84376 /* confdefs.h. */
84377 _ACEOF
84378 cat confdefs.h >>conftest.$ac_ext
84379 cat >>conftest.$ac_ext <<_ACEOF
84380 /* end confdefs.h. */
84381 $ac_includes_default
84382 #include <iconv.h>
84383 _ACEOF
84384 rm -f conftest.$ac_objext
84385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84386 (eval $ac_compile) 2>conftest.er1
84387 ac_status=$?
84388 grep -v '^ *+' conftest.er1 >conftest.err
84389 rm -f conftest.er1
84390 cat conftest.err >&5
84391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84392 (exit $ac_status); } &&
84393 { ac_try='test -z "$ac_c_werror_flag"
84394 || test ! -s conftest.err'
84395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84396 (eval $ac_try) 2>&5
84397 ac_status=$?
84398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399 (exit $ac_status); }; } &&
84400 { ac_try='test -s conftest.$ac_objext'
84401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84402 (eval $ac_try) 2>&5
84403 ac_status=$?
84404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84405 (exit $ac_status); }; }; then
84406 ac_header_compiler=yes
84407 else
84408 echo "$as_me: failed program was:" >&5
84409 sed 's/^/| /' conftest.$ac_ext >&5
84411 ac_header_compiler=no
84413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84415 echo "${ECHO_T}$ac_header_compiler" >&6
84417 # Is the header present?
84418 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84419 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84420 cat >conftest.$ac_ext <<_ACEOF
84421 /* confdefs.h. */
84422 _ACEOF
84423 cat confdefs.h >>conftest.$ac_ext
84424 cat >>conftest.$ac_ext <<_ACEOF
84425 /* end confdefs.h. */
84426 #include <iconv.h>
84427 _ACEOF
84428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84430 ac_status=$?
84431 grep -v '^ *+' conftest.er1 >conftest.err
84432 rm -f conftest.er1
84433 cat conftest.err >&5
84434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84435 (exit $ac_status); } >/dev/null; then
84436 if test -s conftest.err; then
84437 ac_cpp_err=$ac_c_preproc_warn_flag
84438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84439 else
84440 ac_cpp_err=
84442 else
84443 ac_cpp_err=yes
84445 if test -z "$ac_cpp_err"; then
84446 ac_header_preproc=yes
84447 else
84448 echo "$as_me: failed program was:" >&5
84449 sed 's/^/| /' conftest.$ac_ext >&5
84451 ac_header_preproc=no
84453 rm -f conftest.err conftest.$ac_ext
84454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84455 echo "${ECHO_T}$ac_header_preproc" >&6
84457 # So? What about this header?
84458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84459 yes:no: )
84460 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84461 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84462 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84463 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84464 ac_header_preproc=yes
84466 no:yes:* )
84467 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84468 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84469 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84470 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84471 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84472 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84473 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84474 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84475 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84476 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84477 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84478 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84480 cat <<\_ASBOX
84481 ## ----------------------------------------- ##
84482 ## Report this to the package-unused lists. ##
84483 ## ----------------------------------------- ##
84484 _ASBOX
84486 sed "s/^/$as_me: WARNING: /" >&2
84488 esac
84489 echo "$as_me:$LINENO: checking for iconv.h" >&5
84490 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84491 if test "${ac_cv_header_iconv_h+set}" = set; then
84492 echo $ECHO_N "(cached) $ECHO_C" >&6
84493 else
84494 ac_cv_header_iconv_h=$ac_header_preproc
84496 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84497 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84500 if test $ac_cv_header_iconv_h = yes; then
84501 ac_has_iconv_h=yes
84502 else
84503 ac_has_iconv_h=no
84507 if test "${ac_cv_header_langinfo_h+set}" = set; then
84508 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84509 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84510 if test "${ac_cv_header_langinfo_h+set}" = set; then
84511 echo $ECHO_N "(cached) $ECHO_C" >&6
84513 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84514 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84515 else
84516 # Is the header compilable?
84517 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84518 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84519 cat >conftest.$ac_ext <<_ACEOF
84520 /* confdefs.h. */
84521 _ACEOF
84522 cat confdefs.h >>conftest.$ac_ext
84523 cat >>conftest.$ac_ext <<_ACEOF
84524 /* end confdefs.h. */
84525 $ac_includes_default
84526 #include <langinfo.h>
84527 _ACEOF
84528 rm -f conftest.$ac_objext
84529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84530 (eval $ac_compile) 2>conftest.er1
84531 ac_status=$?
84532 grep -v '^ *+' conftest.er1 >conftest.err
84533 rm -f conftest.er1
84534 cat conftest.err >&5
84535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84536 (exit $ac_status); } &&
84537 { ac_try='test -z "$ac_c_werror_flag"
84538 || test ! -s conftest.err'
84539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84540 (eval $ac_try) 2>&5
84541 ac_status=$?
84542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84543 (exit $ac_status); }; } &&
84544 { ac_try='test -s conftest.$ac_objext'
84545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84546 (eval $ac_try) 2>&5
84547 ac_status=$?
84548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84549 (exit $ac_status); }; }; then
84550 ac_header_compiler=yes
84551 else
84552 echo "$as_me: failed program was:" >&5
84553 sed 's/^/| /' conftest.$ac_ext >&5
84555 ac_header_compiler=no
84557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84559 echo "${ECHO_T}$ac_header_compiler" >&6
84561 # Is the header present?
84562 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84563 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84564 cat >conftest.$ac_ext <<_ACEOF
84565 /* confdefs.h. */
84566 _ACEOF
84567 cat confdefs.h >>conftest.$ac_ext
84568 cat >>conftest.$ac_ext <<_ACEOF
84569 /* end confdefs.h. */
84570 #include <langinfo.h>
84571 _ACEOF
84572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84574 ac_status=$?
84575 grep -v '^ *+' conftest.er1 >conftest.err
84576 rm -f conftest.er1
84577 cat conftest.err >&5
84578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84579 (exit $ac_status); } >/dev/null; then
84580 if test -s conftest.err; then
84581 ac_cpp_err=$ac_c_preproc_warn_flag
84582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84583 else
84584 ac_cpp_err=
84586 else
84587 ac_cpp_err=yes
84589 if test -z "$ac_cpp_err"; then
84590 ac_header_preproc=yes
84591 else
84592 echo "$as_me: failed program was:" >&5
84593 sed 's/^/| /' conftest.$ac_ext >&5
84595 ac_header_preproc=no
84597 rm -f conftest.err conftest.$ac_ext
84598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84599 echo "${ECHO_T}$ac_header_preproc" >&6
84601 # So? What about this header?
84602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84603 yes:no: )
84604 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84605 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84606 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84607 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84608 ac_header_preproc=yes
84610 no:yes:* )
84611 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84612 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84613 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84614 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84615 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84616 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84617 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84618 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84619 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84620 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84621 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84622 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84624 cat <<\_ASBOX
84625 ## ----------------------------------------- ##
84626 ## Report this to the package-unused lists. ##
84627 ## ----------------------------------------- ##
84628 _ASBOX
84630 sed "s/^/$as_me: WARNING: /" >&2
84632 esac
84633 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84634 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84635 if test "${ac_cv_header_langinfo_h+set}" = set; then
84636 echo $ECHO_N "(cached) $ECHO_C" >&6
84637 else
84638 ac_cv_header_langinfo_h=$ac_header_preproc
84640 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84641 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84644 if test $ac_cv_header_langinfo_h = yes; then
84645 ac_has_langinfo_h=yes
84646 else
84647 ac_has_langinfo_h=no
84652 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84653 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84654 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84655 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84656 echo $ECHO_N "(cached) $ECHO_C" >&6
84657 else
84658 ac_check_lib_save_LIBS=$LIBS
84659 LIBS="-liconv $LIBS"
84660 if test x$gcc_no_link = xyes; then
84661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84663 { (exit 1); exit 1; }; }
84665 cat >conftest.$ac_ext <<_ACEOF
84666 /* confdefs.h. */
84667 _ACEOF
84668 cat confdefs.h >>conftest.$ac_ext
84669 cat >>conftest.$ac_ext <<_ACEOF
84670 /* end confdefs.h. */
84672 /* Override any gcc2 internal prototype to avoid an error. */
84673 #ifdef __cplusplus
84674 extern "C"
84675 #endif
84676 /* We use char because int might match the return type of a gcc2
84677 builtin and then its argument prototype would still apply. */
84678 char iconv ();
84680 main ()
84682 iconv ();
84684 return 0;
84686 _ACEOF
84687 rm -f conftest.$ac_objext conftest$ac_exeext
84688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84689 (eval $ac_link) 2>conftest.er1
84690 ac_status=$?
84691 grep -v '^ *+' conftest.er1 >conftest.err
84692 rm -f conftest.er1
84693 cat conftest.err >&5
84694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84695 (exit $ac_status); } &&
84696 { ac_try='test -z "$ac_c_werror_flag"
84697 || test ! -s conftest.err'
84698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84699 (eval $ac_try) 2>&5
84700 ac_status=$?
84701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84702 (exit $ac_status); }; } &&
84703 { ac_try='test -s conftest$ac_exeext'
84704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84705 (eval $ac_try) 2>&5
84706 ac_status=$?
84707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84708 (exit $ac_status); }; }; then
84709 ac_cv_lib_iconv_iconv=yes
84710 else
84711 echo "$as_me: failed program was:" >&5
84712 sed 's/^/| /' conftest.$ac_ext >&5
84714 ac_cv_lib_iconv_iconv=no
84716 rm -f conftest.err conftest.$ac_objext \
84717 conftest$ac_exeext conftest.$ac_ext
84718 LIBS=$ac_check_lib_save_LIBS
84720 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84721 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84722 if test $ac_cv_lib_iconv_iconv = yes; then
84723 LIBICONV="-liconv"
84726 ac_save_LIBS="$LIBS"
84727 LIBS="$LIBS $LIBICONV"
84734 for ac_func in iconv_open iconv_close iconv nl_langinfo
84736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84737 echo "$as_me:$LINENO: checking for $ac_func" >&5
84738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84739 if eval "test \"\${$as_ac_var+set}\" = set"; then
84740 echo $ECHO_N "(cached) $ECHO_C" >&6
84741 else
84742 if test x$gcc_no_link = xyes; then
84743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84745 { (exit 1); exit 1; }; }
84747 cat >conftest.$ac_ext <<_ACEOF
84748 /* confdefs.h. */
84749 _ACEOF
84750 cat confdefs.h >>conftest.$ac_ext
84751 cat >>conftest.$ac_ext <<_ACEOF
84752 /* end confdefs.h. */
84753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84755 #define $ac_func innocuous_$ac_func
84757 /* System header to define __stub macros and hopefully few prototypes,
84758 which can conflict with char $ac_func (); below.
84759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84760 <limits.h> exists even on freestanding compilers. */
84762 #ifdef __STDC__
84763 # include <limits.h>
84764 #else
84765 # include <assert.h>
84766 #endif
84768 #undef $ac_func
84770 /* Override any gcc2 internal prototype to avoid an error. */
84771 #ifdef __cplusplus
84772 extern "C"
84774 #endif
84775 /* We use char because int might match the return type of a gcc2
84776 builtin and then its argument prototype would still apply. */
84777 char $ac_func ();
84778 /* The GNU C library defines this for functions which it implements
84779 to always fail with ENOSYS. Some functions are actually named
84780 something starting with __ and the normal name is an alias. */
84781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84782 choke me
84783 #else
84784 char (*f) () = $ac_func;
84785 #endif
84786 #ifdef __cplusplus
84788 #endif
84791 main ()
84793 return f != $ac_func;
84795 return 0;
84797 _ACEOF
84798 rm -f conftest.$ac_objext conftest$ac_exeext
84799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84800 (eval $ac_link) 2>conftest.er1
84801 ac_status=$?
84802 grep -v '^ *+' conftest.er1 >conftest.err
84803 rm -f conftest.er1
84804 cat conftest.err >&5
84805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84806 (exit $ac_status); } &&
84807 { ac_try='test -z "$ac_c_werror_flag"
84808 || test ! -s conftest.err'
84809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84810 (eval $ac_try) 2>&5
84811 ac_status=$?
84812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84813 (exit $ac_status); }; } &&
84814 { ac_try='test -s conftest$ac_exeext'
84815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84816 (eval $ac_try) 2>&5
84817 ac_status=$?
84818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84819 (exit $ac_status); }; }; then
84820 eval "$as_ac_var=yes"
84821 else
84822 echo "$as_me: failed program was:" >&5
84823 sed 's/^/| /' conftest.$ac_ext >&5
84825 eval "$as_ac_var=no"
84827 rm -f conftest.err conftest.$ac_objext \
84828 conftest$ac_exeext conftest.$ac_ext
84830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84832 if test `eval echo '${'$as_ac_var'}'` = yes; then
84833 cat >>confdefs.h <<_ACEOF
84834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84835 _ACEOF
84836 ac_XPG2funcs=yes
84837 else
84838 ac_XPG2funcs=no
84840 done
84843 LIBS="$ac_save_LIBS"
84845 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84846 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84847 if test x"$ac_has_iconv_h" = xyes &&
84848 test x"$ac_has_langinfo_h" = xyes &&
84849 test x"$ac_XPG2funcs" = xyes;
84850 then
84851 ac_XPG2_wchar_t=yes
84852 else
84853 ac_XPG2_wchar_t=no
84855 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84856 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84858 # At the moment, only enable wchar_t specializations if all the
84859 # above support is present.
84860 if test x"$ac_isoC99_wchar_t" = xyes &&
84861 test x"$ac_XPG2_wchar_t" = xyes;
84862 then
84863 cat >>confdefs.h <<\_ACEOF
84864 #define _GLIBCXX_USE_WCHAR_T 1
84865 _ACEOF
84867 enable_wchar_t=yes
84870 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84871 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84872 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84873 echo "${ECHO_T}$enable_wchar_t" >&6
84876 *-netbsd*)
84889 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84890 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84891 fp.h locale.h float.h inttypes.h
84893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84895 echo "$as_me:$LINENO: checking for $ac_header" >&5
84896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84898 echo $ECHO_N "(cached) $ECHO_C" >&6
84900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84902 else
84903 # Is the header compilable?
84904 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84905 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84906 cat >conftest.$ac_ext <<_ACEOF
84907 /* confdefs.h. */
84908 _ACEOF
84909 cat confdefs.h >>conftest.$ac_ext
84910 cat >>conftest.$ac_ext <<_ACEOF
84911 /* end confdefs.h. */
84912 $ac_includes_default
84913 #include <$ac_header>
84914 _ACEOF
84915 rm -f conftest.$ac_objext
84916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84917 (eval $ac_compile) 2>conftest.er1
84918 ac_status=$?
84919 grep -v '^ *+' conftest.er1 >conftest.err
84920 rm -f conftest.er1
84921 cat conftest.err >&5
84922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84923 (exit $ac_status); } &&
84924 { ac_try='test -z "$ac_c_werror_flag"
84925 || test ! -s conftest.err'
84926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84927 (eval $ac_try) 2>&5
84928 ac_status=$?
84929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930 (exit $ac_status); }; } &&
84931 { ac_try='test -s conftest.$ac_objext'
84932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84933 (eval $ac_try) 2>&5
84934 ac_status=$?
84935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84936 (exit $ac_status); }; }; then
84937 ac_header_compiler=yes
84938 else
84939 echo "$as_me: failed program was:" >&5
84940 sed 's/^/| /' conftest.$ac_ext >&5
84942 ac_header_compiler=no
84944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84945 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84946 echo "${ECHO_T}$ac_header_compiler" >&6
84948 # Is the header present?
84949 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84950 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84951 cat >conftest.$ac_ext <<_ACEOF
84952 /* confdefs.h. */
84953 _ACEOF
84954 cat confdefs.h >>conftest.$ac_ext
84955 cat >>conftest.$ac_ext <<_ACEOF
84956 /* end confdefs.h. */
84957 #include <$ac_header>
84958 _ACEOF
84959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84961 ac_status=$?
84962 grep -v '^ *+' conftest.er1 >conftest.err
84963 rm -f conftest.er1
84964 cat conftest.err >&5
84965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84966 (exit $ac_status); } >/dev/null; then
84967 if test -s conftest.err; then
84968 ac_cpp_err=$ac_c_preproc_warn_flag
84969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84970 else
84971 ac_cpp_err=
84973 else
84974 ac_cpp_err=yes
84976 if test -z "$ac_cpp_err"; then
84977 ac_header_preproc=yes
84978 else
84979 echo "$as_me: failed program was:" >&5
84980 sed 's/^/| /' conftest.$ac_ext >&5
84982 ac_header_preproc=no
84984 rm -f conftest.err conftest.$ac_ext
84985 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84986 echo "${ECHO_T}$ac_header_preproc" >&6
84988 # So? What about this header?
84989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84990 yes:no: )
84991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84995 ac_header_preproc=yes
84997 no:yes:* )
84998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85011 cat <<\_ASBOX
85012 ## ----------------------------------------- ##
85013 ## Report this to the package-unused lists. ##
85014 ## ----------------------------------------- ##
85015 _ASBOX
85017 sed "s/^/$as_me: WARNING: /" >&2
85019 esac
85020 echo "$as_me:$LINENO: checking for $ac_header" >&5
85021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85023 echo $ECHO_N "(cached) $ECHO_C" >&6
85024 else
85025 eval "$as_ac_Header=\$ac_header_preproc"
85027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85032 cat >>confdefs.h <<_ACEOF
85033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85034 _ACEOF
85038 done
85040 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85043 # If we're not using GNU ld, then there's no point in even trying these
85044 # tests. Check for that first. We should have already tested for gld
85045 # by now (in libtool), but require it now just to be safe...
85046 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85047 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85051 # The name set by libtool depends on the version of libtool. Shame on us
85052 # for depending on an impl detail, but c'est la vie. Older versions used
85053 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85054 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85055 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85056 # set (hence we're using an older libtool), then set it.
85057 if test x${with_gnu_ld+set} != xset; then
85058 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85059 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85060 with_gnu_ld=no
85061 else
85062 with_gnu_ld=$ac_cv_prog_gnu_ld
85066 # Start by getting the version number. I think the libtool test already
85067 # does some of this, but throws away the result.
85069 ldver=`$LD --version 2>/dev/null | head -1 | \
85070 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85072 glibcxx_gnu_ld_version=`echo $ldver | \
85073 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85075 # Set --gc-sections.
85076 if test "$with_gnu_ld" = "notbroken"; then
85077 # GNU ld it is! Joy and bunny rabbits!
85079 # All these tests are for C++; save the language and the compiler flags.
85080 # Need to do this so that g++ won't try to link in libstdc++
85081 ac_test_CFLAGS="${CFLAGS+set}"
85082 ac_save_CFLAGS="$CFLAGS"
85083 CFLAGS='-x c++ -Wl,--gc-sections'
85085 # Check for -Wl,--gc-sections
85086 # XXX This test is broken at the moment, as symbols required for linking
85087 # are now in libsupc++ (not built yet). In addition, this test has
85088 # cored on solaris in the past. In addition, --gc-sections doesn't
85089 # really work at the moment (keeps on discarding used sections, first
85090 # .eh_frame and now some of the glibc sections for iconv).
85091 # Bzzzzt. Thanks for playing, maybe next time.
85092 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85093 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85094 if test "$cross_compiling" = yes; then
85095 ac_sectionLDflags=yes
85096 else
85097 cat >conftest.$ac_ext <<_ACEOF
85098 /* confdefs.h. */
85099 _ACEOF
85100 cat confdefs.h >>conftest.$ac_ext
85101 cat >>conftest.$ac_ext <<_ACEOF
85102 /* end confdefs.h. */
85104 int main(void)
85106 try { throw 1; }
85107 catch (...) { };
85108 return 0;
85111 _ACEOF
85112 rm -f conftest$ac_exeext
85113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85114 (eval $ac_link) 2>&5
85115 ac_status=$?
85116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85119 (eval $ac_try) 2>&5
85120 ac_status=$?
85121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122 (exit $ac_status); }; }; then
85123 ac_sectionLDflags=yes
85124 else
85125 echo "$as_me: program exited with status $ac_status" >&5
85126 echo "$as_me: failed program was:" >&5
85127 sed 's/^/| /' conftest.$ac_ext >&5
85129 ( exit $ac_status )
85130 ac_sectionLDflags=no
85132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85134 if test "$ac_test_CFLAGS" = set; then
85135 CFLAGS="$ac_save_CFLAGS"
85136 else
85137 # this is the suspicious part
85138 CFLAGS=''
85140 if test "$ac_sectionLDflags" = "yes"; then
85141 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85143 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85144 echo "${ECHO_T}$ac_sectionLDflags" >&6
85147 # Set linker optimization flags.
85148 if test x"$with_gnu_ld" = x"yes"; then
85149 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85157 echo "$as_me:$LINENO: checking for main in -lm" >&5
85158 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85159 if test "${ac_cv_lib_m_main+set}" = set; then
85160 echo $ECHO_N "(cached) $ECHO_C" >&6
85161 else
85162 ac_check_lib_save_LIBS=$LIBS
85163 LIBS="-lm $LIBS"
85164 if test x$gcc_no_link = xyes; then
85165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85167 { (exit 1); exit 1; }; }
85169 cat >conftest.$ac_ext <<_ACEOF
85170 /* confdefs.h. */
85171 _ACEOF
85172 cat confdefs.h >>conftest.$ac_ext
85173 cat >>conftest.$ac_ext <<_ACEOF
85174 /* end confdefs.h. */
85178 main ()
85180 main ();
85182 return 0;
85184 _ACEOF
85185 rm -f conftest.$ac_objext conftest$ac_exeext
85186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85187 (eval $ac_link) 2>conftest.er1
85188 ac_status=$?
85189 grep -v '^ *+' conftest.er1 >conftest.err
85190 rm -f conftest.er1
85191 cat conftest.err >&5
85192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85193 (exit $ac_status); } &&
85194 { ac_try='test -z "$ac_c_werror_flag"
85195 || test ! -s conftest.err'
85196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85197 (eval $ac_try) 2>&5
85198 ac_status=$?
85199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85200 (exit $ac_status); }; } &&
85201 { ac_try='test -s conftest$ac_exeext'
85202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85203 (eval $ac_try) 2>&5
85204 ac_status=$?
85205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85206 (exit $ac_status); }; }; then
85207 ac_cv_lib_m_main=yes
85208 else
85209 echo "$as_me: failed program was:" >&5
85210 sed 's/^/| /' conftest.$ac_ext >&5
85212 ac_cv_lib_m_main=no
85214 rm -f conftest.err conftest.$ac_objext \
85215 conftest$ac_exeext conftest.$ac_ext
85216 LIBS=$ac_check_lib_save_LIBS
85218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85219 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85220 if test $ac_cv_lib_m_main = yes; then
85221 cat >>confdefs.h <<_ACEOF
85222 #define HAVE_LIBM 1
85223 _ACEOF
85225 LIBS="-lm $LIBS"
85230 for ac_func in copysignf
85232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85233 echo "$as_me:$LINENO: checking for $ac_func" >&5
85234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85235 if eval "test \"\${$as_ac_var+set}\" = set"; then
85236 echo $ECHO_N "(cached) $ECHO_C" >&6
85237 else
85238 if test x$gcc_no_link = xyes; then
85239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85241 { (exit 1); exit 1; }; }
85243 cat >conftest.$ac_ext <<_ACEOF
85244 /* confdefs.h. */
85245 _ACEOF
85246 cat confdefs.h >>conftest.$ac_ext
85247 cat >>conftest.$ac_ext <<_ACEOF
85248 /* end confdefs.h. */
85249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85251 #define $ac_func innocuous_$ac_func
85253 /* System header to define __stub macros and hopefully few prototypes,
85254 which can conflict with char $ac_func (); below.
85255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85256 <limits.h> exists even on freestanding compilers. */
85258 #ifdef __STDC__
85259 # include <limits.h>
85260 #else
85261 # include <assert.h>
85262 #endif
85264 #undef $ac_func
85266 /* Override any gcc2 internal prototype to avoid an error. */
85267 #ifdef __cplusplus
85268 extern "C"
85270 #endif
85271 /* We use char because int might match the return type of a gcc2
85272 builtin and then its argument prototype would still apply. */
85273 char $ac_func ();
85274 /* The GNU C library defines this for functions which it implements
85275 to always fail with ENOSYS. Some functions are actually named
85276 something starting with __ and the normal name is an alias. */
85277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85278 choke me
85279 #else
85280 char (*f) () = $ac_func;
85281 #endif
85282 #ifdef __cplusplus
85284 #endif
85287 main ()
85289 return f != $ac_func;
85291 return 0;
85293 _ACEOF
85294 rm -f conftest.$ac_objext conftest$ac_exeext
85295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85296 (eval $ac_link) 2>conftest.er1
85297 ac_status=$?
85298 grep -v '^ *+' conftest.er1 >conftest.err
85299 rm -f conftest.er1
85300 cat conftest.err >&5
85301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85302 (exit $ac_status); } &&
85303 { ac_try='test -z "$ac_c_werror_flag"
85304 || test ! -s conftest.err'
85305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85306 (eval $ac_try) 2>&5
85307 ac_status=$?
85308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85309 (exit $ac_status); }; } &&
85310 { ac_try='test -s conftest$ac_exeext'
85311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85312 (eval $ac_try) 2>&5
85313 ac_status=$?
85314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85315 (exit $ac_status); }; }; then
85316 eval "$as_ac_var=yes"
85317 else
85318 echo "$as_me: failed program was:" >&5
85319 sed 's/^/| /' conftest.$ac_ext >&5
85321 eval "$as_ac_var=no"
85323 rm -f conftest.err conftest.$ac_objext \
85324 conftest$ac_exeext conftest.$ac_ext
85326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85328 if test `eval echo '${'$as_ac_var'}'` = yes; then
85329 cat >>confdefs.h <<_ACEOF
85330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85331 _ACEOF
85333 else
85334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85336 done
85340 for ac_func in __signbit
85342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85343 echo "$as_me:$LINENO: checking for $ac_func" >&5
85344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85345 if eval "test \"\${$as_ac_var+set}\" = set"; then
85346 echo $ECHO_N "(cached) $ECHO_C" >&6
85347 else
85348 if test x$gcc_no_link = xyes; then
85349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85351 { (exit 1); exit 1; }; }
85353 cat >conftest.$ac_ext <<_ACEOF
85354 /* confdefs.h. */
85355 _ACEOF
85356 cat confdefs.h >>conftest.$ac_ext
85357 cat >>conftest.$ac_ext <<_ACEOF
85358 /* end confdefs.h. */
85359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85361 #define $ac_func innocuous_$ac_func
85363 /* System header to define __stub macros and hopefully few prototypes,
85364 which can conflict with char $ac_func (); below.
85365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85366 <limits.h> exists even on freestanding compilers. */
85368 #ifdef __STDC__
85369 # include <limits.h>
85370 #else
85371 # include <assert.h>
85372 #endif
85374 #undef $ac_func
85376 /* Override any gcc2 internal prototype to avoid an error. */
85377 #ifdef __cplusplus
85378 extern "C"
85380 #endif
85381 /* We use char because int might match the return type of a gcc2
85382 builtin and then its argument prototype would still apply. */
85383 char $ac_func ();
85384 /* The GNU C library defines this for functions which it implements
85385 to always fail with ENOSYS. Some functions are actually named
85386 something starting with __ and the normal name is an alias. */
85387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85388 choke me
85389 #else
85390 char (*f) () = $ac_func;
85391 #endif
85392 #ifdef __cplusplus
85394 #endif
85397 main ()
85399 return f != $ac_func;
85401 return 0;
85403 _ACEOF
85404 rm -f conftest.$ac_objext conftest$ac_exeext
85405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85406 (eval $ac_link) 2>conftest.er1
85407 ac_status=$?
85408 grep -v '^ *+' conftest.er1 >conftest.err
85409 rm -f conftest.er1
85410 cat conftest.err >&5
85411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85412 (exit $ac_status); } &&
85413 { ac_try='test -z "$ac_c_werror_flag"
85414 || test ! -s conftest.err'
85415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85416 (eval $ac_try) 2>&5
85417 ac_status=$?
85418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419 (exit $ac_status); }; } &&
85420 { ac_try='test -s conftest$ac_exeext'
85421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85422 (eval $ac_try) 2>&5
85423 ac_status=$?
85424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85425 (exit $ac_status); }; }; then
85426 eval "$as_ac_var=yes"
85427 else
85428 echo "$as_me: failed program was:" >&5
85429 sed 's/^/| /' conftest.$ac_ext >&5
85431 eval "$as_ac_var=no"
85433 rm -f conftest.err conftest.$ac_objext \
85434 conftest$ac_exeext conftest.$ac_ext
85436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85438 if test `eval echo '${'$as_ac_var'}'` = yes; then
85439 cat >>confdefs.h <<_ACEOF
85440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85441 _ACEOF
85443 else
85444 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85446 done
85450 for ac_func in __signbitf
85452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85453 echo "$as_me:$LINENO: checking for $ac_func" >&5
85454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85455 if eval "test \"\${$as_ac_var+set}\" = set"; then
85456 echo $ECHO_N "(cached) $ECHO_C" >&6
85457 else
85458 if test x$gcc_no_link = xyes; then
85459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85461 { (exit 1); exit 1; }; }
85463 cat >conftest.$ac_ext <<_ACEOF
85464 /* confdefs.h. */
85465 _ACEOF
85466 cat confdefs.h >>conftest.$ac_ext
85467 cat >>conftest.$ac_ext <<_ACEOF
85468 /* end confdefs.h. */
85469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85471 #define $ac_func innocuous_$ac_func
85473 /* System header to define __stub macros and hopefully few prototypes,
85474 which can conflict with char $ac_func (); below.
85475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85476 <limits.h> exists even on freestanding compilers. */
85478 #ifdef __STDC__
85479 # include <limits.h>
85480 #else
85481 # include <assert.h>
85482 #endif
85484 #undef $ac_func
85486 /* Override any gcc2 internal prototype to avoid an error. */
85487 #ifdef __cplusplus
85488 extern "C"
85490 #endif
85491 /* We use char because int might match the return type of a gcc2
85492 builtin and then its argument prototype would still apply. */
85493 char $ac_func ();
85494 /* The GNU C library defines this for functions which it implements
85495 to always fail with ENOSYS. Some functions are actually named
85496 something starting with __ and the normal name is an alias. */
85497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85498 choke me
85499 #else
85500 char (*f) () = $ac_func;
85501 #endif
85502 #ifdef __cplusplus
85504 #endif
85507 main ()
85509 return f != $ac_func;
85511 return 0;
85513 _ACEOF
85514 rm -f conftest.$ac_objext conftest$ac_exeext
85515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85516 (eval $ac_link) 2>conftest.er1
85517 ac_status=$?
85518 grep -v '^ *+' conftest.er1 >conftest.err
85519 rm -f conftest.er1
85520 cat conftest.err >&5
85521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85522 (exit $ac_status); } &&
85523 { ac_try='test -z "$ac_c_werror_flag"
85524 || test ! -s conftest.err'
85525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85526 (eval $ac_try) 2>&5
85527 ac_status=$?
85528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85529 (exit $ac_status); }; } &&
85530 { ac_try='test -s conftest$ac_exeext'
85531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85532 (eval $ac_try) 2>&5
85533 ac_status=$?
85534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85535 (exit $ac_status); }; }; then
85536 eval "$as_ac_var=yes"
85537 else
85538 echo "$as_me: failed program was:" >&5
85539 sed 's/^/| /' conftest.$ac_ext >&5
85541 eval "$as_ac_var=no"
85543 rm -f conftest.err conftest.$ac_objext \
85544 conftest$ac_exeext conftest.$ac_ext
85546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85548 if test `eval echo '${'$as_ac_var'}'` = yes; then
85549 cat >>confdefs.h <<_ACEOF
85550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85551 _ACEOF
85553 else
85554 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85556 done
85559 if test x$ac_cv_func_copysignl = x"yes"; then
85561 for ac_func in __signbitl
85563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85564 echo "$as_me:$LINENO: checking for $ac_func" >&5
85565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85566 if eval "test \"\${$as_ac_var+set}\" = set"; then
85567 echo $ECHO_N "(cached) $ECHO_C" >&6
85568 else
85569 if test x$gcc_no_link = xyes; then
85570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85572 { (exit 1); exit 1; }; }
85574 cat >conftest.$ac_ext <<_ACEOF
85575 /* confdefs.h. */
85576 _ACEOF
85577 cat confdefs.h >>conftest.$ac_ext
85578 cat >>conftest.$ac_ext <<_ACEOF
85579 /* end confdefs.h. */
85580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85582 #define $ac_func innocuous_$ac_func
85584 /* System header to define __stub macros and hopefully few prototypes,
85585 which can conflict with char $ac_func (); below.
85586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85587 <limits.h> exists even on freestanding compilers. */
85589 #ifdef __STDC__
85590 # include <limits.h>
85591 #else
85592 # include <assert.h>
85593 #endif
85595 #undef $ac_func
85597 /* Override any gcc2 internal prototype to avoid an error. */
85598 #ifdef __cplusplus
85599 extern "C"
85601 #endif
85602 /* We use char because int might match the return type of a gcc2
85603 builtin and then its argument prototype would still apply. */
85604 char $ac_func ();
85605 /* The GNU C library defines this for functions which it implements
85606 to always fail with ENOSYS. Some functions are actually named
85607 something starting with __ and the normal name is an alias. */
85608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85609 choke me
85610 #else
85611 char (*f) () = $ac_func;
85612 #endif
85613 #ifdef __cplusplus
85615 #endif
85618 main ()
85620 return f != $ac_func;
85622 return 0;
85624 _ACEOF
85625 rm -f conftest.$ac_objext conftest$ac_exeext
85626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85627 (eval $ac_link) 2>conftest.er1
85628 ac_status=$?
85629 grep -v '^ *+' conftest.er1 >conftest.err
85630 rm -f conftest.er1
85631 cat conftest.err >&5
85632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85633 (exit $ac_status); } &&
85634 { ac_try='test -z "$ac_c_werror_flag"
85635 || test ! -s conftest.err'
85636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85637 (eval $ac_try) 2>&5
85638 ac_status=$?
85639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85640 (exit $ac_status); }; } &&
85641 { ac_try='test -s conftest$ac_exeext'
85642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85643 (eval $ac_try) 2>&5
85644 ac_status=$?
85645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85646 (exit $ac_status); }; }; then
85647 eval "$as_ac_var=yes"
85648 else
85649 echo "$as_me: failed program was:" >&5
85650 sed 's/^/| /' conftest.$ac_ext >&5
85652 eval "$as_ac_var=no"
85654 rm -f conftest.err conftest.$ac_objext \
85655 conftest$ac_exeext conftest.$ac_ext
85657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85659 if test `eval echo '${'$as_ac_var'}'` = yes; then
85660 cat >>confdefs.h <<_ACEOF
85661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85662 _ACEOF
85664 else
85665 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85667 done
85671 # Used in libmath/Makefile.am.
85672 if test -n "$LIBMATHOBJS"; then
85673 need_libmath=yes
85678 # Test wchar.h for mbstate_t, which is needed for char_traits and
85679 # others even if wchar_t support is not on.
85680 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85681 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85682 cat >conftest.$ac_ext <<_ACEOF
85683 /* confdefs.h. */
85684 _ACEOF
85685 cat confdefs.h >>conftest.$ac_ext
85686 cat >>conftest.$ac_ext <<_ACEOF
85687 /* end confdefs.h. */
85688 #include <wchar.h>
85690 main ()
85692 mbstate_t teststate;
85694 return 0;
85696 _ACEOF
85697 rm -f conftest.$ac_objext
85698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85699 (eval $ac_compile) 2>conftest.er1
85700 ac_status=$?
85701 grep -v '^ *+' conftest.er1 >conftest.err
85702 rm -f conftest.er1
85703 cat conftest.err >&5
85704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85705 (exit $ac_status); } &&
85706 { ac_try='test -z "$ac_c_werror_flag"
85707 || test ! -s conftest.err'
85708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85709 (eval $ac_try) 2>&5
85710 ac_status=$?
85711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712 (exit $ac_status); }; } &&
85713 { ac_try='test -s conftest.$ac_objext'
85714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85715 (eval $ac_try) 2>&5
85716 ac_status=$?
85717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85718 (exit $ac_status); }; }; then
85719 have_mbstate_t=yes
85720 else
85721 echo "$as_me: failed program was:" >&5
85722 sed 's/^/| /' conftest.$ac_ext >&5
85724 have_mbstate_t=no
85726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85727 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85728 echo "${ECHO_T}$have_mbstate_t" >&6
85729 if test x"$have_mbstate_t" = xyes; then
85730 cat >>confdefs.h <<\_ACEOF
85731 #define HAVE_MBSTATE_T 1
85732 _ACEOF
85736 # Sanity check for existence of ISO C99 headers for extended encoding.
85738 for ac_header in wchar.h
85740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85742 echo "$as_me:$LINENO: checking for $ac_header" >&5
85743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85745 echo $ECHO_N "(cached) $ECHO_C" >&6
85747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85749 else
85750 # Is the header compilable?
85751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85753 cat >conftest.$ac_ext <<_ACEOF
85754 /* confdefs.h. */
85755 _ACEOF
85756 cat confdefs.h >>conftest.$ac_ext
85757 cat >>conftest.$ac_ext <<_ACEOF
85758 /* end confdefs.h. */
85759 $ac_includes_default
85760 #include <$ac_header>
85761 _ACEOF
85762 rm -f conftest.$ac_objext
85763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85764 (eval $ac_compile) 2>conftest.er1
85765 ac_status=$?
85766 grep -v '^ *+' conftest.er1 >conftest.err
85767 rm -f conftest.er1
85768 cat conftest.err >&5
85769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85770 (exit $ac_status); } &&
85771 { ac_try='test -z "$ac_c_werror_flag"
85772 || test ! -s conftest.err'
85773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85774 (eval $ac_try) 2>&5
85775 ac_status=$?
85776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85777 (exit $ac_status); }; } &&
85778 { ac_try='test -s conftest.$ac_objext'
85779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85780 (eval $ac_try) 2>&5
85781 ac_status=$?
85782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85783 (exit $ac_status); }; }; then
85784 ac_header_compiler=yes
85785 else
85786 echo "$as_me: failed program was:" >&5
85787 sed 's/^/| /' conftest.$ac_ext >&5
85789 ac_header_compiler=no
85791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85793 echo "${ECHO_T}$ac_header_compiler" >&6
85795 # Is the header present?
85796 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85797 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85798 cat >conftest.$ac_ext <<_ACEOF
85799 /* confdefs.h. */
85800 _ACEOF
85801 cat confdefs.h >>conftest.$ac_ext
85802 cat >>conftest.$ac_ext <<_ACEOF
85803 /* end confdefs.h. */
85804 #include <$ac_header>
85805 _ACEOF
85806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85808 ac_status=$?
85809 grep -v '^ *+' conftest.er1 >conftest.err
85810 rm -f conftest.er1
85811 cat conftest.err >&5
85812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85813 (exit $ac_status); } >/dev/null; then
85814 if test -s conftest.err; then
85815 ac_cpp_err=$ac_c_preproc_warn_flag
85816 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85817 else
85818 ac_cpp_err=
85820 else
85821 ac_cpp_err=yes
85823 if test -z "$ac_cpp_err"; then
85824 ac_header_preproc=yes
85825 else
85826 echo "$as_me: failed program was:" >&5
85827 sed 's/^/| /' conftest.$ac_ext >&5
85829 ac_header_preproc=no
85831 rm -f conftest.err conftest.$ac_ext
85832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85833 echo "${ECHO_T}$ac_header_preproc" >&6
85835 # So? What about this header?
85836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85837 yes:no: )
85838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85839 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85841 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85842 ac_header_preproc=yes
85844 no:yes:* )
85845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85849 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85850 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85851 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85852 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85855 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85856 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85858 cat <<\_ASBOX
85859 ## ----------------------------------------- ##
85860 ## Report this to the package-unused lists. ##
85861 ## ----------------------------------------- ##
85862 _ASBOX
85864 sed "s/^/$as_me: WARNING: /" >&2
85866 esac
85867 echo "$as_me:$LINENO: checking for $ac_header" >&5
85868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85870 echo $ECHO_N "(cached) $ECHO_C" >&6
85871 else
85872 eval "$as_ac_Header=\$ac_header_preproc"
85874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85879 cat >>confdefs.h <<_ACEOF
85880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85881 _ACEOF
85882 ac_has_wchar_h=yes
85883 else
85884 ac_has_wchar_h=no
85887 done
85890 for ac_header in wctype.h
85892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85894 echo "$as_me:$LINENO: checking for $ac_header" >&5
85895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85897 echo $ECHO_N "(cached) $ECHO_C" >&6
85899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85901 else
85902 # Is the header compilable?
85903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85905 cat >conftest.$ac_ext <<_ACEOF
85906 /* confdefs.h. */
85907 _ACEOF
85908 cat confdefs.h >>conftest.$ac_ext
85909 cat >>conftest.$ac_ext <<_ACEOF
85910 /* end confdefs.h. */
85911 $ac_includes_default
85912 #include <$ac_header>
85913 _ACEOF
85914 rm -f conftest.$ac_objext
85915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85916 (eval $ac_compile) 2>conftest.er1
85917 ac_status=$?
85918 grep -v '^ *+' conftest.er1 >conftest.err
85919 rm -f conftest.er1
85920 cat conftest.err >&5
85921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85922 (exit $ac_status); } &&
85923 { ac_try='test -z "$ac_c_werror_flag"
85924 || test ! -s conftest.err'
85925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85926 (eval $ac_try) 2>&5
85927 ac_status=$?
85928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85929 (exit $ac_status); }; } &&
85930 { ac_try='test -s conftest.$ac_objext'
85931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85932 (eval $ac_try) 2>&5
85933 ac_status=$?
85934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85935 (exit $ac_status); }; }; then
85936 ac_header_compiler=yes
85937 else
85938 echo "$as_me: failed program was:" >&5
85939 sed 's/^/| /' conftest.$ac_ext >&5
85941 ac_header_compiler=no
85943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85945 echo "${ECHO_T}$ac_header_compiler" >&6
85947 # Is the header present?
85948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85950 cat >conftest.$ac_ext <<_ACEOF
85951 /* confdefs.h. */
85952 _ACEOF
85953 cat confdefs.h >>conftest.$ac_ext
85954 cat >>conftest.$ac_ext <<_ACEOF
85955 /* end confdefs.h. */
85956 #include <$ac_header>
85957 _ACEOF
85958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85960 ac_status=$?
85961 grep -v '^ *+' conftest.er1 >conftest.err
85962 rm -f conftest.er1
85963 cat conftest.err >&5
85964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85965 (exit $ac_status); } >/dev/null; then
85966 if test -s conftest.err; then
85967 ac_cpp_err=$ac_c_preproc_warn_flag
85968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85969 else
85970 ac_cpp_err=
85972 else
85973 ac_cpp_err=yes
85975 if test -z "$ac_cpp_err"; then
85976 ac_header_preproc=yes
85977 else
85978 echo "$as_me: failed program was:" >&5
85979 sed 's/^/| /' conftest.$ac_ext >&5
85981 ac_header_preproc=no
85983 rm -f conftest.err conftest.$ac_ext
85984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85985 echo "${ECHO_T}$ac_header_preproc" >&6
85987 # So? What about this header?
85988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85989 yes:no: )
85990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85994 ac_header_preproc=yes
85996 no:yes:* )
85997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86010 cat <<\_ASBOX
86011 ## ----------------------------------------- ##
86012 ## Report this to the package-unused lists. ##
86013 ## ----------------------------------------- ##
86014 _ASBOX
86016 sed "s/^/$as_me: WARNING: /" >&2
86018 esac
86019 echo "$as_me:$LINENO: checking for $ac_header" >&5
86020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86022 echo $ECHO_N "(cached) $ECHO_C" >&6
86023 else
86024 eval "$as_ac_Header=\$ac_header_preproc"
86026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86031 cat >>confdefs.h <<_ACEOF
86032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86033 _ACEOF
86034 ac_has_wctype_h=yes
86035 else
86036 ac_has_wctype_h=no
86039 done
86042 # Only continue checking if the ISO C99 headers exist and support is on.
86043 if test x"$ac_has_wchar_h" = xyes &&
86044 test x"$ac_has_wctype_h" = xyes &&
86045 test x"$enable_c_mbchar" != xno; then
86047 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86048 # numeric_limits can instantiate type_traits<wchar_t>
86049 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86050 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86051 cat >conftest.$ac_ext <<_ACEOF
86052 /* confdefs.h. */
86053 _ACEOF
86054 cat confdefs.h >>conftest.$ac_ext
86055 cat >>conftest.$ac_ext <<_ACEOF
86056 /* end confdefs.h. */
86057 #include <wchar.h>
86059 main ()
86061 int i = WCHAR_MIN; int j = WCHAR_MAX;
86063 return 0;
86065 _ACEOF
86066 rm -f conftest.$ac_objext
86067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86068 (eval $ac_compile) 2>conftest.er1
86069 ac_status=$?
86070 grep -v '^ *+' conftest.er1 >conftest.err
86071 rm -f conftest.er1
86072 cat conftest.err >&5
86073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86074 (exit $ac_status); } &&
86075 { ac_try='test -z "$ac_c_werror_flag"
86076 || test ! -s conftest.err'
86077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86078 (eval $ac_try) 2>&5
86079 ac_status=$?
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); }; } &&
86082 { ac_try='test -s conftest.$ac_objext'
86083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86084 (eval $ac_try) 2>&5
86085 ac_status=$?
86086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86087 (exit $ac_status); }; }; then
86088 has_wchar_minmax=yes
86089 else
86090 echo "$as_me: failed program was:" >&5
86091 sed 's/^/| /' conftest.$ac_ext >&5
86093 has_wchar_minmax=no
86095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86096 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86097 echo "${ECHO_T}$has_wchar_minmax" >&6
86099 # Test wchar.h for WEOF, which is what we use to determine whether
86100 # to specialize for char_traits<wchar_t> or not.
86101 echo "$as_me:$LINENO: checking for WEOF" >&5
86102 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86103 cat >conftest.$ac_ext <<_ACEOF
86104 /* confdefs.h. */
86105 _ACEOF
86106 cat confdefs.h >>conftest.$ac_ext
86107 cat >>conftest.$ac_ext <<_ACEOF
86108 /* end confdefs.h. */
86110 #include <wchar.h>
86111 #include <stddef.h>
86113 main ()
86115 wint_t i = WEOF;
86117 return 0;
86119 _ACEOF
86120 rm -f conftest.$ac_objext
86121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86122 (eval $ac_compile) 2>conftest.er1
86123 ac_status=$?
86124 grep -v '^ *+' conftest.er1 >conftest.err
86125 rm -f conftest.er1
86126 cat conftest.err >&5
86127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86128 (exit $ac_status); } &&
86129 { ac_try='test -z "$ac_c_werror_flag"
86130 || test ! -s conftest.err'
86131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86132 (eval $ac_try) 2>&5
86133 ac_status=$?
86134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135 (exit $ac_status); }; } &&
86136 { ac_try='test -s conftest.$ac_objext'
86137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86138 (eval $ac_try) 2>&5
86139 ac_status=$?
86140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86141 (exit $ac_status); }; }; then
86142 has_weof=yes
86143 else
86144 echo "$as_me: failed program was:" >&5
86145 sed 's/^/| /' conftest.$ac_ext >&5
86147 has_weof=no
86149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86150 echo "$as_me:$LINENO: result: $has_weof" >&5
86151 echo "${ECHO_T}$has_weof" >&6
86153 # Tests for wide character functions used in char_traits<wchar_t>.
86154 ac_wfuncs=yes
86161 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86164 echo "$as_me:$LINENO: checking for $ac_func" >&5
86165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86166 if eval "test \"\${$as_ac_var+set}\" = set"; then
86167 echo $ECHO_N "(cached) $ECHO_C" >&6
86168 else
86169 if test x$gcc_no_link = xyes; then
86170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86172 { (exit 1); exit 1; }; }
86174 cat >conftest.$ac_ext <<_ACEOF
86175 /* confdefs.h. */
86176 _ACEOF
86177 cat confdefs.h >>conftest.$ac_ext
86178 cat >>conftest.$ac_ext <<_ACEOF
86179 /* end confdefs.h. */
86180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86182 #define $ac_func innocuous_$ac_func
86184 /* System header to define __stub macros and hopefully few prototypes,
86185 which can conflict with char $ac_func (); below.
86186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86187 <limits.h> exists even on freestanding compilers. */
86189 #ifdef __STDC__
86190 # include <limits.h>
86191 #else
86192 # include <assert.h>
86193 #endif
86195 #undef $ac_func
86197 /* Override any gcc2 internal prototype to avoid an error. */
86198 #ifdef __cplusplus
86199 extern "C"
86201 #endif
86202 /* We use char because int might match the return type of a gcc2
86203 builtin and then its argument prototype would still apply. */
86204 char $ac_func ();
86205 /* The GNU C library defines this for functions which it implements
86206 to always fail with ENOSYS. Some functions are actually named
86207 something starting with __ and the normal name is an alias. */
86208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86209 choke me
86210 #else
86211 char (*f) () = $ac_func;
86212 #endif
86213 #ifdef __cplusplus
86215 #endif
86218 main ()
86220 return f != $ac_func;
86222 return 0;
86224 _ACEOF
86225 rm -f conftest.$ac_objext conftest$ac_exeext
86226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86227 (eval $ac_link) 2>conftest.er1
86228 ac_status=$?
86229 grep -v '^ *+' conftest.er1 >conftest.err
86230 rm -f conftest.er1
86231 cat conftest.err >&5
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); } &&
86234 { ac_try='test -z "$ac_c_werror_flag"
86235 || test ! -s conftest.err'
86236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86237 (eval $ac_try) 2>&5
86238 ac_status=$?
86239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86240 (exit $ac_status); }; } &&
86241 { ac_try='test -s conftest$ac_exeext'
86242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86243 (eval $ac_try) 2>&5
86244 ac_status=$?
86245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86246 (exit $ac_status); }; }; then
86247 eval "$as_ac_var=yes"
86248 else
86249 echo "$as_me: failed program was:" >&5
86250 sed 's/^/| /' conftest.$ac_ext >&5
86252 eval "$as_ac_var=no"
86254 rm -f conftest.err conftest.$ac_objext \
86255 conftest$ac_exeext conftest.$ac_ext
86257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86259 if test `eval echo '${'$as_ac_var'}'` = yes; then
86260 cat >>confdefs.h <<_ACEOF
86261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86262 _ACEOF
86264 else
86265 ac_wfuncs=no
86267 done
86270 # Checks for names injected into std:: by the c_std headers.
86317 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86318 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86319 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86320 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86321 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86322 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86325 echo "$as_me:$LINENO: checking for $ac_func" >&5
86326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86327 if eval "test \"\${$as_ac_var+set}\" = set"; then
86328 echo $ECHO_N "(cached) $ECHO_C" >&6
86329 else
86330 if test x$gcc_no_link = xyes; then
86331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86333 { (exit 1); exit 1; }; }
86335 cat >conftest.$ac_ext <<_ACEOF
86336 /* confdefs.h. */
86337 _ACEOF
86338 cat confdefs.h >>conftest.$ac_ext
86339 cat >>conftest.$ac_ext <<_ACEOF
86340 /* end confdefs.h. */
86341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86343 #define $ac_func innocuous_$ac_func
86345 /* System header to define __stub macros and hopefully few prototypes,
86346 which can conflict with char $ac_func (); below.
86347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86348 <limits.h> exists even on freestanding compilers. */
86350 #ifdef __STDC__
86351 # include <limits.h>
86352 #else
86353 # include <assert.h>
86354 #endif
86356 #undef $ac_func
86358 /* Override any gcc2 internal prototype to avoid an error. */
86359 #ifdef __cplusplus
86360 extern "C"
86362 #endif
86363 /* We use char because int might match the return type of a gcc2
86364 builtin and then its argument prototype would still apply. */
86365 char $ac_func ();
86366 /* The GNU C library defines this for functions which it implements
86367 to always fail with ENOSYS. Some functions are actually named
86368 something starting with __ and the normal name is an alias. */
86369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86370 choke me
86371 #else
86372 char (*f) () = $ac_func;
86373 #endif
86374 #ifdef __cplusplus
86376 #endif
86379 main ()
86381 return f != $ac_func;
86383 return 0;
86385 _ACEOF
86386 rm -f conftest.$ac_objext conftest$ac_exeext
86387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86388 (eval $ac_link) 2>conftest.er1
86389 ac_status=$?
86390 grep -v '^ *+' conftest.er1 >conftest.err
86391 rm -f conftest.er1
86392 cat conftest.err >&5
86393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86394 (exit $ac_status); } &&
86395 { ac_try='test -z "$ac_c_werror_flag"
86396 || test ! -s conftest.err'
86397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86398 (eval $ac_try) 2>&5
86399 ac_status=$?
86400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86401 (exit $ac_status); }; } &&
86402 { ac_try='test -s conftest$ac_exeext'
86403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86404 (eval $ac_try) 2>&5
86405 ac_status=$?
86406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86407 (exit $ac_status); }; }; then
86408 eval "$as_ac_var=yes"
86409 else
86410 echo "$as_me: failed program was:" >&5
86411 sed 's/^/| /' conftest.$ac_ext >&5
86413 eval "$as_ac_var=no"
86415 rm -f conftest.err conftest.$ac_objext \
86416 conftest$ac_exeext conftest.$ac_ext
86418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86420 if test `eval echo '${'$as_ac_var'}'` = yes; then
86421 cat >>confdefs.h <<_ACEOF
86422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86423 _ACEOF
86425 else
86426 ac_wfuncs=no
86428 done
86431 # Checks for wide character functions that are not required
86432 # for basic wchar_t support. Don't disable support if they are missing.
86433 # Injection of these is wrapped with guard macros.
86439 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86442 echo "$as_me:$LINENO: checking for $ac_func" >&5
86443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86444 if eval "test \"\${$as_ac_var+set}\" = set"; then
86445 echo $ECHO_N "(cached) $ECHO_C" >&6
86446 else
86447 if test x$gcc_no_link = xyes; then
86448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86450 { (exit 1); exit 1; }; }
86452 cat >conftest.$ac_ext <<_ACEOF
86453 /* confdefs.h. */
86454 _ACEOF
86455 cat confdefs.h >>conftest.$ac_ext
86456 cat >>conftest.$ac_ext <<_ACEOF
86457 /* end confdefs.h. */
86458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86460 #define $ac_func innocuous_$ac_func
86462 /* System header to define __stub macros and hopefully few prototypes,
86463 which can conflict with char $ac_func (); below.
86464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86465 <limits.h> exists even on freestanding compilers. */
86467 #ifdef __STDC__
86468 # include <limits.h>
86469 #else
86470 # include <assert.h>
86471 #endif
86473 #undef $ac_func
86475 /* Override any gcc2 internal prototype to avoid an error. */
86476 #ifdef __cplusplus
86477 extern "C"
86479 #endif
86480 /* We use char because int might match the return type of a gcc2
86481 builtin and then its argument prototype would still apply. */
86482 char $ac_func ();
86483 /* The GNU C library defines this for functions which it implements
86484 to always fail with ENOSYS. Some functions are actually named
86485 something starting with __ and the normal name is an alias. */
86486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86487 choke me
86488 #else
86489 char (*f) () = $ac_func;
86490 #endif
86491 #ifdef __cplusplus
86493 #endif
86496 main ()
86498 return f != $ac_func;
86500 return 0;
86502 _ACEOF
86503 rm -f conftest.$ac_objext conftest$ac_exeext
86504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86505 (eval $ac_link) 2>conftest.er1
86506 ac_status=$?
86507 grep -v '^ *+' conftest.er1 >conftest.err
86508 rm -f conftest.er1
86509 cat conftest.err >&5
86510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86511 (exit $ac_status); } &&
86512 { ac_try='test -z "$ac_c_werror_flag"
86513 || test ! -s conftest.err'
86514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86515 (eval $ac_try) 2>&5
86516 ac_status=$?
86517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86518 (exit $ac_status); }; } &&
86519 { ac_try='test -s conftest$ac_exeext'
86520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86521 (eval $ac_try) 2>&5
86522 ac_status=$?
86523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86524 (exit $ac_status); }; }; then
86525 eval "$as_ac_var=yes"
86526 else
86527 echo "$as_me: failed program was:" >&5
86528 sed 's/^/| /' conftest.$ac_ext >&5
86530 eval "$as_ac_var=no"
86532 rm -f conftest.err conftest.$ac_objext \
86533 conftest$ac_exeext conftest.$ac_ext
86535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86537 if test `eval echo '${'$as_ac_var'}'` = yes; then
86538 cat >>confdefs.h <<_ACEOF
86539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86540 _ACEOF
86543 done
86546 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86547 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86548 if test x"$has_weof" = xyes &&
86549 test x"$has_wchar_minmax" = xyes &&
86550 test x"$ac_wfuncs" = xyes;
86551 then
86552 ac_isoC99_wchar_t=yes
86553 else
86554 ac_isoC99_wchar_t=no
86556 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86557 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86559 # Use iconv for wchar_t to char conversions. As such, check for
86560 # X/Open Portability Guide, version 2 features (XPG2).
86561 if test "${ac_cv_header_iconv_h+set}" = set; then
86562 echo "$as_me:$LINENO: checking for iconv.h" >&5
86563 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86564 if test "${ac_cv_header_iconv_h+set}" = set; then
86565 echo $ECHO_N "(cached) $ECHO_C" >&6
86567 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86568 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86569 else
86570 # Is the header compilable?
86571 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86572 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86573 cat >conftest.$ac_ext <<_ACEOF
86574 /* confdefs.h. */
86575 _ACEOF
86576 cat confdefs.h >>conftest.$ac_ext
86577 cat >>conftest.$ac_ext <<_ACEOF
86578 /* end confdefs.h. */
86579 $ac_includes_default
86580 #include <iconv.h>
86581 _ACEOF
86582 rm -f conftest.$ac_objext
86583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86584 (eval $ac_compile) 2>conftest.er1
86585 ac_status=$?
86586 grep -v '^ *+' conftest.er1 >conftest.err
86587 rm -f conftest.er1
86588 cat conftest.err >&5
86589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86590 (exit $ac_status); } &&
86591 { ac_try='test -z "$ac_c_werror_flag"
86592 || test ! -s conftest.err'
86593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86594 (eval $ac_try) 2>&5
86595 ac_status=$?
86596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86597 (exit $ac_status); }; } &&
86598 { ac_try='test -s conftest.$ac_objext'
86599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86600 (eval $ac_try) 2>&5
86601 ac_status=$?
86602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86603 (exit $ac_status); }; }; then
86604 ac_header_compiler=yes
86605 else
86606 echo "$as_me: failed program was:" >&5
86607 sed 's/^/| /' conftest.$ac_ext >&5
86609 ac_header_compiler=no
86611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86613 echo "${ECHO_T}$ac_header_compiler" >&6
86615 # Is the header present?
86616 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86617 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86618 cat >conftest.$ac_ext <<_ACEOF
86619 /* confdefs.h. */
86620 _ACEOF
86621 cat confdefs.h >>conftest.$ac_ext
86622 cat >>conftest.$ac_ext <<_ACEOF
86623 /* end confdefs.h. */
86624 #include <iconv.h>
86625 _ACEOF
86626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86628 ac_status=$?
86629 grep -v '^ *+' conftest.er1 >conftest.err
86630 rm -f conftest.er1
86631 cat conftest.err >&5
86632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86633 (exit $ac_status); } >/dev/null; then
86634 if test -s conftest.err; then
86635 ac_cpp_err=$ac_c_preproc_warn_flag
86636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86637 else
86638 ac_cpp_err=
86640 else
86641 ac_cpp_err=yes
86643 if test -z "$ac_cpp_err"; then
86644 ac_header_preproc=yes
86645 else
86646 echo "$as_me: failed program was:" >&5
86647 sed 's/^/| /' conftest.$ac_ext >&5
86649 ac_header_preproc=no
86651 rm -f conftest.err conftest.$ac_ext
86652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86653 echo "${ECHO_T}$ac_header_preproc" >&6
86655 # So? What about this header?
86656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86657 yes:no: )
86658 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86659 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86660 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86661 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86662 ac_header_preproc=yes
86664 no:yes:* )
86665 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86666 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86667 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86668 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86669 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86670 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86671 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86672 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86673 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86674 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86675 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86676 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86678 cat <<\_ASBOX
86679 ## ----------------------------------------- ##
86680 ## Report this to the package-unused lists. ##
86681 ## ----------------------------------------- ##
86682 _ASBOX
86684 sed "s/^/$as_me: WARNING: /" >&2
86686 esac
86687 echo "$as_me:$LINENO: checking for iconv.h" >&5
86688 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86689 if test "${ac_cv_header_iconv_h+set}" = set; then
86690 echo $ECHO_N "(cached) $ECHO_C" >&6
86691 else
86692 ac_cv_header_iconv_h=$ac_header_preproc
86694 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86695 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86698 if test $ac_cv_header_iconv_h = yes; then
86699 ac_has_iconv_h=yes
86700 else
86701 ac_has_iconv_h=no
86705 if test "${ac_cv_header_langinfo_h+set}" = set; then
86706 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86707 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86708 if test "${ac_cv_header_langinfo_h+set}" = set; then
86709 echo $ECHO_N "(cached) $ECHO_C" >&6
86711 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86712 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86713 else
86714 # Is the header compilable?
86715 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86716 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86717 cat >conftest.$ac_ext <<_ACEOF
86718 /* confdefs.h. */
86719 _ACEOF
86720 cat confdefs.h >>conftest.$ac_ext
86721 cat >>conftest.$ac_ext <<_ACEOF
86722 /* end confdefs.h. */
86723 $ac_includes_default
86724 #include <langinfo.h>
86725 _ACEOF
86726 rm -f conftest.$ac_objext
86727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86728 (eval $ac_compile) 2>conftest.er1
86729 ac_status=$?
86730 grep -v '^ *+' conftest.er1 >conftest.err
86731 rm -f conftest.er1
86732 cat conftest.err >&5
86733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86734 (exit $ac_status); } &&
86735 { ac_try='test -z "$ac_c_werror_flag"
86736 || test ! -s conftest.err'
86737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86738 (eval $ac_try) 2>&5
86739 ac_status=$?
86740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741 (exit $ac_status); }; } &&
86742 { ac_try='test -s conftest.$ac_objext'
86743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86744 (eval $ac_try) 2>&5
86745 ac_status=$?
86746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86747 (exit $ac_status); }; }; then
86748 ac_header_compiler=yes
86749 else
86750 echo "$as_me: failed program was:" >&5
86751 sed 's/^/| /' conftest.$ac_ext >&5
86753 ac_header_compiler=no
86755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86757 echo "${ECHO_T}$ac_header_compiler" >&6
86759 # Is the header present?
86760 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86761 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86762 cat >conftest.$ac_ext <<_ACEOF
86763 /* confdefs.h. */
86764 _ACEOF
86765 cat confdefs.h >>conftest.$ac_ext
86766 cat >>conftest.$ac_ext <<_ACEOF
86767 /* end confdefs.h. */
86768 #include <langinfo.h>
86769 _ACEOF
86770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86772 ac_status=$?
86773 grep -v '^ *+' conftest.er1 >conftest.err
86774 rm -f conftest.er1
86775 cat conftest.err >&5
86776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86777 (exit $ac_status); } >/dev/null; then
86778 if test -s conftest.err; then
86779 ac_cpp_err=$ac_c_preproc_warn_flag
86780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86781 else
86782 ac_cpp_err=
86784 else
86785 ac_cpp_err=yes
86787 if test -z "$ac_cpp_err"; then
86788 ac_header_preproc=yes
86789 else
86790 echo "$as_me: failed program was:" >&5
86791 sed 's/^/| /' conftest.$ac_ext >&5
86793 ac_header_preproc=no
86795 rm -f conftest.err conftest.$ac_ext
86796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86797 echo "${ECHO_T}$ac_header_preproc" >&6
86799 # So? What about this header?
86800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86801 yes:no: )
86802 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86803 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86804 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86805 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86806 ac_header_preproc=yes
86808 no:yes:* )
86809 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86810 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86811 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86812 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86813 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86814 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86815 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86816 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86817 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86818 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86819 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86820 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86822 cat <<\_ASBOX
86823 ## ----------------------------------------- ##
86824 ## Report this to the package-unused lists. ##
86825 ## ----------------------------------------- ##
86826 _ASBOX
86828 sed "s/^/$as_me: WARNING: /" >&2
86830 esac
86831 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86832 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86833 if test "${ac_cv_header_langinfo_h+set}" = set; then
86834 echo $ECHO_N "(cached) $ECHO_C" >&6
86835 else
86836 ac_cv_header_langinfo_h=$ac_header_preproc
86838 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86839 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86842 if test $ac_cv_header_langinfo_h = yes; then
86843 ac_has_langinfo_h=yes
86844 else
86845 ac_has_langinfo_h=no
86850 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86851 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86852 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86853 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86854 echo $ECHO_N "(cached) $ECHO_C" >&6
86855 else
86856 ac_check_lib_save_LIBS=$LIBS
86857 LIBS="-liconv $LIBS"
86858 if test x$gcc_no_link = xyes; then
86859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86861 { (exit 1); exit 1; }; }
86863 cat >conftest.$ac_ext <<_ACEOF
86864 /* confdefs.h. */
86865 _ACEOF
86866 cat confdefs.h >>conftest.$ac_ext
86867 cat >>conftest.$ac_ext <<_ACEOF
86868 /* end confdefs.h. */
86870 /* Override any gcc2 internal prototype to avoid an error. */
86871 #ifdef __cplusplus
86872 extern "C"
86873 #endif
86874 /* We use char because int might match the return type of a gcc2
86875 builtin and then its argument prototype would still apply. */
86876 char iconv ();
86878 main ()
86880 iconv ();
86882 return 0;
86884 _ACEOF
86885 rm -f conftest.$ac_objext conftest$ac_exeext
86886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86887 (eval $ac_link) 2>conftest.er1
86888 ac_status=$?
86889 grep -v '^ *+' conftest.er1 >conftest.err
86890 rm -f conftest.er1
86891 cat conftest.err >&5
86892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86893 (exit $ac_status); } &&
86894 { ac_try='test -z "$ac_c_werror_flag"
86895 || test ! -s conftest.err'
86896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86897 (eval $ac_try) 2>&5
86898 ac_status=$?
86899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86900 (exit $ac_status); }; } &&
86901 { ac_try='test -s conftest$ac_exeext'
86902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86903 (eval $ac_try) 2>&5
86904 ac_status=$?
86905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86906 (exit $ac_status); }; }; then
86907 ac_cv_lib_iconv_iconv=yes
86908 else
86909 echo "$as_me: failed program was:" >&5
86910 sed 's/^/| /' conftest.$ac_ext >&5
86912 ac_cv_lib_iconv_iconv=no
86914 rm -f conftest.err conftest.$ac_objext \
86915 conftest$ac_exeext conftest.$ac_ext
86916 LIBS=$ac_check_lib_save_LIBS
86918 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86919 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86920 if test $ac_cv_lib_iconv_iconv = yes; then
86921 LIBICONV="-liconv"
86924 ac_save_LIBS="$LIBS"
86925 LIBS="$LIBS $LIBICONV"
86932 for ac_func in iconv_open iconv_close iconv nl_langinfo
86934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86935 echo "$as_me:$LINENO: checking for $ac_func" >&5
86936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86937 if eval "test \"\${$as_ac_var+set}\" = set"; then
86938 echo $ECHO_N "(cached) $ECHO_C" >&6
86939 else
86940 if test x$gcc_no_link = xyes; then
86941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86943 { (exit 1); exit 1; }; }
86945 cat >conftest.$ac_ext <<_ACEOF
86946 /* confdefs.h. */
86947 _ACEOF
86948 cat confdefs.h >>conftest.$ac_ext
86949 cat >>conftest.$ac_ext <<_ACEOF
86950 /* end confdefs.h. */
86951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86953 #define $ac_func innocuous_$ac_func
86955 /* System header to define __stub macros and hopefully few prototypes,
86956 which can conflict with char $ac_func (); below.
86957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86958 <limits.h> exists even on freestanding compilers. */
86960 #ifdef __STDC__
86961 # include <limits.h>
86962 #else
86963 # include <assert.h>
86964 #endif
86966 #undef $ac_func
86968 /* Override any gcc2 internal prototype to avoid an error. */
86969 #ifdef __cplusplus
86970 extern "C"
86972 #endif
86973 /* We use char because int might match the return type of a gcc2
86974 builtin and then its argument prototype would still apply. */
86975 char $ac_func ();
86976 /* The GNU C library defines this for functions which it implements
86977 to always fail with ENOSYS. Some functions are actually named
86978 something starting with __ and the normal name is an alias. */
86979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86980 choke me
86981 #else
86982 char (*f) () = $ac_func;
86983 #endif
86984 #ifdef __cplusplus
86986 #endif
86989 main ()
86991 return f != $ac_func;
86993 return 0;
86995 _ACEOF
86996 rm -f conftest.$ac_objext conftest$ac_exeext
86997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86998 (eval $ac_link) 2>conftest.er1
86999 ac_status=$?
87000 grep -v '^ *+' conftest.er1 >conftest.err
87001 rm -f conftest.er1
87002 cat conftest.err >&5
87003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004 (exit $ac_status); } &&
87005 { ac_try='test -z "$ac_c_werror_flag"
87006 || test ! -s conftest.err'
87007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87008 (eval $ac_try) 2>&5
87009 ac_status=$?
87010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87011 (exit $ac_status); }; } &&
87012 { ac_try='test -s conftest$ac_exeext'
87013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87014 (eval $ac_try) 2>&5
87015 ac_status=$?
87016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87017 (exit $ac_status); }; }; then
87018 eval "$as_ac_var=yes"
87019 else
87020 echo "$as_me: failed program was:" >&5
87021 sed 's/^/| /' conftest.$ac_ext >&5
87023 eval "$as_ac_var=no"
87025 rm -f conftest.err conftest.$ac_objext \
87026 conftest$ac_exeext conftest.$ac_ext
87028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87030 if test `eval echo '${'$as_ac_var'}'` = yes; then
87031 cat >>confdefs.h <<_ACEOF
87032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87033 _ACEOF
87034 ac_XPG2funcs=yes
87035 else
87036 ac_XPG2funcs=no
87038 done
87041 LIBS="$ac_save_LIBS"
87043 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87044 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87045 if test x"$ac_has_iconv_h" = xyes &&
87046 test x"$ac_has_langinfo_h" = xyes &&
87047 test x"$ac_XPG2funcs" = xyes;
87048 then
87049 ac_XPG2_wchar_t=yes
87050 else
87051 ac_XPG2_wchar_t=no
87053 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87054 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87056 # At the moment, only enable wchar_t specializations if all the
87057 # above support is present.
87058 if test x"$ac_isoC99_wchar_t" = xyes &&
87059 test x"$ac_XPG2_wchar_t" = xyes;
87060 then
87061 cat >>confdefs.h <<\_ACEOF
87062 #define _GLIBCXX_USE_WCHAR_T 1
87063 _ACEOF
87065 enable_wchar_t=yes
87068 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87069 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87070 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87071 echo "${ECHO_T}$enable_wchar_t" >&6
87073 cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_COPYSIGN 1
87075 _ACEOF
87077 cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_COPYSIGNF 1
87079 _ACEOF
87081 cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_FINITEF 1
87083 _ACEOF
87085 cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_FINITE 1
87087 _ACEOF
87089 cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_FREXPF 1
87091 _ACEOF
87093 cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_HYPOTF 1
87095 _ACEOF
87097 cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_ISINF 1
87099 _ACEOF
87101 cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISINFF 1
87103 _ACEOF
87105 cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_ISNAN 1
87107 _ACEOF
87109 cat >>confdefs.h <<\_ACEOF
87110 #define HAVE_ISNANF 1
87111 _ACEOF
87113 if test x"long_double_math_on_this_cpu" = x"yes"; then
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_FINITEL 1
87116 _ACEOF
87118 cat >>confdefs.h <<\_ACEOF
87119 #define HAVE_ISINFL 1
87120 _ACEOF
87122 cat >>confdefs.h <<\_ACEOF
87123 #define HAVE_ISNANL 1
87124 _ACEOF
87128 *-netware)
87137 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87138 sys/types.h locale.h float.h inttypes.h
87140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87142 echo "$as_me:$LINENO: checking for $ac_header" >&5
87143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87145 echo $ECHO_N "(cached) $ECHO_C" >&6
87147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87149 else
87150 # Is the header compilable?
87151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87153 cat >conftest.$ac_ext <<_ACEOF
87154 /* confdefs.h. */
87155 _ACEOF
87156 cat confdefs.h >>conftest.$ac_ext
87157 cat >>conftest.$ac_ext <<_ACEOF
87158 /* end confdefs.h. */
87159 $ac_includes_default
87160 #include <$ac_header>
87161 _ACEOF
87162 rm -f conftest.$ac_objext
87163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87164 (eval $ac_compile) 2>conftest.er1
87165 ac_status=$?
87166 grep -v '^ *+' conftest.er1 >conftest.err
87167 rm -f conftest.er1
87168 cat conftest.err >&5
87169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87170 (exit $ac_status); } &&
87171 { ac_try='test -z "$ac_c_werror_flag"
87172 || test ! -s conftest.err'
87173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87174 (eval $ac_try) 2>&5
87175 ac_status=$?
87176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87177 (exit $ac_status); }; } &&
87178 { ac_try='test -s conftest.$ac_objext'
87179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87180 (eval $ac_try) 2>&5
87181 ac_status=$?
87182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87183 (exit $ac_status); }; }; then
87184 ac_header_compiler=yes
87185 else
87186 echo "$as_me: failed program was:" >&5
87187 sed 's/^/| /' conftest.$ac_ext >&5
87189 ac_header_compiler=no
87191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87193 echo "${ECHO_T}$ac_header_compiler" >&6
87195 # Is the header present?
87196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87198 cat >conftest.$ac_ext <<_ACEOF
87199 /* confdefs.h. */
87200 _ACEOF
87201 cat confdefs.h >>conftest.$ac_ext
87202 cat >>conftest.$ac_ext <<_ACEOF
87203 /* end confdefs.h. */
87204 #include <$ac_header>
87205 _ACEOF
87206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87208 ac_status=$?
87209 grep -v '^ *+' conftest.er1 >conftest.err
87210 rm -f conftest.er1
87211 cat conftest.err >&5
87212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87213 (exit $ac_status); } >/dev/null; then
87214 if test -s conftest.err; then
87215 ac_cpp_err=$ac_c_preproc_warn_flag
87216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87217 else
87218 ac_cpp_err=
87220 else
87221 ac_cpp_err=yes
87223 if test -z "$ac_cpp_err"; then
87224 ac_header_preproc=yes
87225 else
87226 echo "$as_me: failed program was:" >&5
87227 sed 's/^/| /' conftest.$ac_ext >&5
87229 ac_header_preproc=no
87231 rm -f conftest.err conftest.$ac_ext
87232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87233 echo "${ECHO_T}$ac_header_preproc" >&6
87235 # So? What about this header?
87236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87237 yes:no: )
87238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87242 ac_header_preproc=yes
87244 no:yes:* )
87245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87258 cat <<\_ASBOX
87259 ## ----------------------------------------- ##
87260 ## Report this to the package-unused lists. ##
87261 ## ----------------------------------------- ##
87262 _ASBOX
87264 sed "s/^/$as_me: WARNING: /" >&2
87266 esac
87267 echo "$as_me:$LINENO: checking for $ac_header" >&5
87268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87270 echo $ECHO_N "(cached) $ECHO_C" >&6
87271 else
87272 eval "$as_ac_Header=\$ac_header_preproc"
87274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87279 cat >>confdefs.h <<_ACEOF
87280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87281 _ACEOF
87285 done
87287 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87290 # If we're not using GNU ld, then there's no point in even trying these
87291 # tests. Check for that first. We should have already tested for gld
87292 # by now (in libtool), but require it now just to be safe...
87293 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87294 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87298 # The name set by libtool depends on the version of libtool. Shame on us
87299 # for depending on an impl detail, but c'est la vie. Older versions used
87300 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87301 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87302 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87303 # set (hence we're using an older libtool), then set it.
87304 if test x${with_gnu_ld+set} != xset; then
87305 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87306 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87307 with_gnu_ld=no
87308 else
87309 with_gnu_ld=$ac_cv_prog_gnu_ld
87313 # Start by getting the version number. I think the libtool test already
87314 # does some of this, but throws away the result.
87316 ldver=`$LD --version 2>/dev/null | head -1 | \
87317 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87319 glibcxx_gnu_ld_version=`echo $ldver | \
87320 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87322 # Set --gc-sections.
87323 if test "$with_gnu_ld" = "notbroken"; then
87324 # GNU ld it is! Joy and bunny rabbits!
87326 # All these tests are for C++; save the language and the compiler flags.
87327 # Need to do this so that g++ won't try to link in libstdc++
87328 ac_test_CFLAGS="${CFLAGS+set}"
87329 ac_save_CFLAGS="$CFLAGS"
87330 CFLAGS='-x c++ -Wl,--gc-sections'
87332 # Check for -Wl,--gc-sections
87333 # XXX This test is broken at the moment, as symbols required for linking
87334 # are now in libsupc++ (not built yet). In addition, this test has
87335 # cored on solaris in the past. In addition, --gc-sections doesn't
87336 # really work at the moment (keeps on discarding used sections, first
87337 # .eh_frame and now some of the glibc sections for iconv).
87338 # Bzzzzt. Thanks for playing, maybe next time.
87339 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87340 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87341 if test "$cross_compiling" = yes; then
87342 ac_sectionLDflags=yes
87343 else
87344 cat >conftest.$ac_ext <<_ACEOF
87345 /* confdefs.h. */
87346 _ACEOF
87347 cat confdefs.h >>conftest.$ac_ext
87348 cat >>conftest.$ac_ext <<_ACEOF
87349 /* end confdefs.h. */
87351 int main(void)
87353 try { throw 1; }
87354 catch (...) { };
87355 return 0;
87358 _ACEOF
87359 rm -f conftest$ac_exeext
87360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87361 (eval $ac_link) 2>&5
87362 ac_status=$?
87363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87366 (eval $ac_try) 2>&5
87367 ac_status=$?
87368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87369 (exit $ac_status); }; }; then
87370 ac_sectionLDflags=yes
87371 else
87372 echo "$as_me: program exited with status $ac_status" >&5
87373 echo "$as_me: failed program was:" >&5
87374 sed 's/^/| /' conftest.$ac_ext >&5
87376 ( exit $ac_status )
87377 ac_sectionLDflags=no
87379 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87381 if test "$ac_test_CFLAGS" = set; then
87382 CFLAGS="$ac_save_CFLAGS"
87383 else
87384 # this is the suspicious part
87385 CFLAGS=''
87387 if test "$ac_sectionLDflags" = "yes"; then
87388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87390 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87391 echo "${ECHO_T}$ac_sectionLDflags" >&6
87394 # Set linker optimization flags.
87395 if test x"$with_gnu_ld" = x"yes"; then
87396 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87404 echo "$as_me:$LINENO: checking for main in -lm" >&5
87405 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87406 if test "${ac_cv_lib_m_main+set}" = set; then
87407 echo $ECHO_N "(cached) $ECHO_C" >&6
87408 else
87409 ac_check_lib_save_LIBS=$LIBS
87410 LIBS="-lm $LIBS"
87411 if test x$gcc_no_link = xyes; then
87412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87414 { (exit 1); exit 1; }; }
87416 cat >conftest.$ac_ext <<_ACEOF
87417 /* confdefs.h. */
87418 _ACEOF
87419 cat confdefs.h >>conftest.$ac_ext
87420 cat >>conftest.$ac_ext <<_ACEOF
87421 /* end confdefs.h. */
87425 main ()
87427 main ();
87429 return 0;
87431 _ACEOF
87432 rm -f conftest.$ac_objext conftest$ac_exeext
87433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87434 (eval $ac_link) 2>conftest.er1
87435 ac_status=$?
87436 grep -v '^ *+' conftest.er1 >conftest.err
87437 rm -f conftest.er1
87438 cat conftest.err >&5
87439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87440 (exit $ac_status); } &&
87441 { ac_try='test -z "$ac_c_werror_flag"
87442 || test ! -s conftest.err'
87443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87444 (eval $ac_try) 2>&5
87445 ac_status=$?
87446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87447 (exit $ac_status); }; } &&
87448 { ac_try='test -s conftest$ac_exeext'
87449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87450 (eval $ac_try) 2>&5
87451 ac_status=$?
87452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87453 (exit $ac_status); }; }; then
87454 ac_cv_lib_m_main=yes
87455 else
87456 echo "$as_me: failed program was:" >&5
87457 sed 's/^/| /' conftest.$ac_ext >&5
87459 ac_cv_lib_m_main=no
87461 rm -f conftest.err conftest.$ac_objext \
87462 conftest$ac_exeext conftest.$ac_ext
87463 LIBS=$ac_check_lib_save_LIBS
87465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87466 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87467 if test $ac_cv_lib_m_main = yes; then
87468 cat >>confdefs.h <<_ACEOF
87469 #define HAVE_LIBM 1
87470 _ACEOF
87472 LIBS="-lm $LIBS"
87477 for ac_func in copysignf
87479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87480 echo "$as_me:$LINENO: checking for $ac_func" >&5
87481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87482 if eval "test \"\${$as_ac_var+set}\" = set"; then
87483 echo $ECHO_N "(cached) $ECHO_C" >&6
87484 else
87485 if test x$gcc_no_link = xyes; then
87486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87488 { (exit 1); exit 1; }; }
87490 cat >conftest.$ac_ext <<_ACEOF
87491 /* confdefs.h. */
87492 _ACEOF
87493 cat confdefs.h >>conftest.$ac_ext
87494 cat >>conftest.$ac_ext <<_ACEOF
87495 /* end confdefs.h. */
87496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87498 #define $ac_func innocuous_$ac_func
87500 /* System header to define __stub macros and hopefully few prototypes,
87501 which can conflict with char $ac_func (); below.
87502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87503 <limits.h> exists even on freestanding compilers. */
87505 #ifdef __STDC__
87506 # include <limits.h>
87507 #else
87508 # include <assert.h>
87509 #endif
87511 #undef $ac_func
87513 /* Override any gcc2 internal prototype to avoid an error. */
87514 #ifdef __cplusplus
87515 extern "C"
87517 #endif
87518 /* We use char because int might match the return type of a gcc2
87519 builtin and then its argument prototype would still apply. */
87520 char $ac_func ();
87521 /* The GNU C library defines this for functions which it implements
87522 to always fail with ENOSYS. Some functions are actually named
87523 something starting with __ and the normal name is an alias. */
87524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87525 choke me
87526 #else
87527 char (*f) () = $ac_func;
87528 #endif
87529 #ifdef __cplusplus
87531 #endif
87534 main ()
87536 return f != $ac_func;
87538 return 0;
87540 _ACEOF
87541 rm -f conftest.$ac_objext conftest$ac_exeext
87542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87543 (eval $ac_link) 2>conftest.er1
87544 ac_status=$?
87545 grep -v '^ *+' conftest.er1 >conftest.err
87546 rm -f conftest.er1
87547 cat conftest.err >&5
87548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87549 (exit $ac_status); } &&
87550 { ac_try='test -z "$ac_c_werror_flag"
87551 || test ! -s conftest.err'
87552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87553 (eval $ac_try) 2>&5
87554 ac_status=$?
87555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556 (exit $ac_status); }; } &&
87557 { ac_try='test -s conftest$ac_exeext'
87558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87559 (eval $ac_try) 2>&5
87560 ac_status=$?
87561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87562 (exit $ac_status); }; }; then
87563 eval "$as_ac_var=yes"
87564 else
87565 echo "$as_me: failed program was:" >&5
87566 sed 's/^/| /' conftest.$ac_ext >&5
87568 eval "$as_ac_var=no"
87570 rm -f conftest.err conftest.$ac_objext \
87571 conftest$ac_exeext conftest.$ac_ext
87573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87575 if test `eval echo '${'$as_ac_var'}'` = yes; then
87576 cat >>confdefs.h <<_ACEOF
87577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87578 _ACEOF
87580 else
87581 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87583 done
87587 for ac_func in __signbit
87589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87590 echo "$as_me:$LINENO: checking for $ac_func" >&5
87591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87592 if eval "test \"\${$as_ac_var+set}\" = set"; then
87593 echo $ECHO_N "(cached) $ECHO_C" >&6
87594 else
87595 if test x$gcc_no_link = xyes; then
87596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87598 { (exit 1); exit 1; }; }
87600 cat >conftest.$ac_ext <<_ACEOF
87601 /* confdefs.h. */
87602 _ACEOF
87603 cat confdefs.h >>conftest.$ac_ext
87604 cat >>conftest.$ac_ext <<_ACEOF
87605 /* end confdefs.h. */
87606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87608 #define $ac_func innocuous_$ac_func
87610 /* System header to define __stub macros and hopefully few prototypes,
87611 which can conflict with char $ac_func (); below.
87612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87613 <limits.h> exists even on freestanding compilers. */
87615 #ifdef __STDC__
87616 # include <limits.h>
87617 #else
87618 # include <assert.h>
87619 #endif
87621 #undef $ac_func
87623 /* Override any gcc2 internal prototype to avoid an error. */
87624 #ifdef __cplusplus
87625 extern "C"
87627 #endif
87628 /* We use char because int might match the return type of a gcc2
87629 builtin and then its argument prototype would still apply. */
87630 char $ac_func ();
87631 /* The GNU C library defines this for functions which it implements
87632 to always fail with ENOSYS. Some functions are actually named
87633 something starting with __ and the normal name is an alias. */
87634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87635 choke me
87636 #else
87637 char (*f) () = $ac_func;
87638 #endif
87639 #ifdef __cplusplus
87641 #endif
87644 main ()
87646 return f != $ac_func;
87648 return 0;
87650 _ACEOF
87651 rm -f conftest.$ac_objext conftest$ac_exeext
87652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87653 (eval $ac_link) 2>conftest.er1
87654 ac_status=$?
87655 grep -v '^ *+' conftest.er1 >conftest.err
87656 rm -f conftest.er1
87657 cat conftest.err >&5
87658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87659 (exit $ac_status); } &&
87660 { ac_try='test -z "$ac_c_werror_flag"
87661 || test ! -s conftest.err'
87662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87663 (eval $ac_try) 2>&5
87664 ac_status=$?
87665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87666 (exit $ac_status); }; } &&
87667 { ac_try='test -s conftest$ac_exeext'
87668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87669 (eval $ac_try) 2>&5
87670 ac_status=$?
87671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87672 (exit $ac_status); }; }; then
87673 eval "$as_ac_var=yes"
87674 else
87675 echo "$as_me: failed program was:" >&5
87676 sed 's/^/| /' conftest.$ac_ext >&5
87678 eval "$as_ac_var=no"
87680 rm -f conftest.err conftest.$ac_objext \
87681 conftest$ac_exeext conftest.$ac_ext
87683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87685 if test `eval echo '${'$as_ac_var'}'` = yes; then
87686 cat >>confdefs.h <<_ACEOF
87687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87688 _ACEOF
87690 else
87691 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87693 done
87697 for ac_func in __signbitf
87699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87700 echo "$as_me:$LINENO: checking for $ac_func" >&5
87701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87702 if eval "test \"\${$as_ac_var+set}\" = set"; then
87703 echo $ECHO_N "(cached) $ECHO_C" >&6
87704 else
87705 if test x$gcc_no_link = xyes; then
87706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87708 { (exit 1); exit 1; }; }
87710 cat >conftest.$ac_ext <<_ACEOF
87711 /* confdefs.h. */
87712 _ACEOF
87713 cat confdefs.h >>conftest.$ac_ext
87714 cat >>conftest.$ac_ext <<_ACEOF
87715 /* end confdefs.h. */
87716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87718 #define $ac_func innocuous_$ac_func
87720 /* System header to define __stub macros and hopefully few prototypes,
87721 which can conflict with char $ac_func (); below.
87722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87723 <limits.h> exists even on freestanding compilers. */
87725 #ifdef __STDC__
87726 # include <limits.h>
87727 #else
87728 # include <assert.h>
87729 #endif
87731 #undef $ac_func
87733 /* Override any gcc2 internal prototype to avoid an error. */
87734 #ifdef __cplusplus
87735 extern "C"
87737 #endif
87738 /* We use char because int might match the return type of a gcc2
87739 builtin and then its argument prototype would still apply. */
87740 char $ac_func ();
87741 /* The GNU C library defines this for functions which it implements
87742 to always fail with ENOSYS. Some functions are actually named
87743 something starting with __ and the normal name is an alias. */
87744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87745 choke me
87746 #else
87747 char (*f) () = $ac_func;
87748 #endif
87749 #ifdef __cplusplus
87751 #endif
87754 main ()
87756 return f != $ac_func;
87758 return 0;
87760 _ACEOF
87761 rm -f conftest.$ac_objext conftest$ac_exeext
87762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87763 (eval $ac_link) 2>conftest.er1
87764 ac_status=$?
87765 grep -v '^ *+' conftest.er1 >conftest.err
87766 rm -f conftest.er1
87767 cat conftest.err >&5
87768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87769 (exit $ac_status); } &&
87770 { ac_try='test -z "$ac_c_werror_flag"
87771 || test ! -s conftest.err'
87772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87773 (eval $ac_try) 2>&5
87774 ac_status=$?
87775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87776 (exit $ac_status); }; } &&
87777 { ac_try='test -s conftest$ac_exeext'
87778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87779 (eval $ac_try) 2>&5
87780 ac_status=$?
87781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87782 (exit $ac_status); }; }; then
87783 eval "$as_ac_var=yes"
87784 else
87785 echo "$as_me: failed program was:" >&5
87786 sed 's/^/| /' conftest.$ac_ext >&5
87788 eval "$as_ac_var=no"
87790 rm -f conftest.err conftest.$ac_objext \
87791 conftest$ac_exeext conftest.$ac_ext
87793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87795 if test `eval echo '${'$as_ac_var'}'` = yes; then
87796 cat >>confdefs.h <<_ACEOF
87797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87798 _ACEOF
87800 else
87801 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87803 done
87806 if test x$ac_cv_func_copysignl = x"yes"; then
87808 for ac_func in __signbitl
87810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87811 echo "$as_me:$LINENO: checking for $ac_func" >&5
87812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87813 if eval "test \"\${$as_ac_var+set}\" = set"; then
87814 echo $ECHO_N "(cached) $ECHO_C" >&6
87815 else
87816 if test x$gcc_no_link = xyes; then
87817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87819 { (exit 1); exit 1; }; }
87821 cat >conftest.$ac_ext <<_ACEOF
87822 /* confdefs.h. */
87823 _ACEOF
87824 cat confdefs.h >>conftest.$ac_ext
87825 cat >>conftest.$ac_ext <<_ACEOF
87826 /* end confdefs.h. */
87827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87829 #define $ac_func innocuous_$ac_func
87831 /* System header to define __stub macros and hopefully few prototypes,
87832 which can conflict with char $ac_func (); below.
87833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87834 <limits.h> exists even on freestanding compilers. */
87836 #ifdef __STDC__
87837 # include <limits.h>
87838 #else
87839 # include <assert.h>
87840 #endif
87842 #undef $ac_func
87844 /* Override any gcc2 internal prototype to avoid an error. */
87845 #ifdef __cplusplus
87846 extern "C"
87848 #endif
87849 /* We use char because int might match the return type of a gcc2
87850 builtin and then its argument prototype would still apply. */
87851 char $ac_func ();
87852 /* The GNU C library defines this for functions which it implements
87853 to always fail with ENOSYS. Some functions are actually named
87854 something starting with __ and the normal name is an alias. */
87855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87856 choke me
87857 #else
87858 char (*f) () = $ac_func;
87859 #endif
87860 #ifdef __cplusplus
87862 #endif
87865 main ()
87867 return f != $ac_func;
87869 return 0;
87871 _ACEOF
87872 rm -f conftest.$ac_objext conftest$ac_exeext
87873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87874 (eval $ac_link) 2>conftest.er1
87875 ac_status=$?
87876 grep -v '^ *+' conftest.er1 >conftest.err
87877 rm -f conftest.er1
87878 cat conftest.err >&5
87879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87880 (exit $ac_status); } &&
87881 { ac_try='test -z "$ac_c_werror_flag"
87882 || test ! -s conftest.err'
87883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87884 (eval $ac_try) 2>&5
87885 ac_status=$?
87886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87887 (exit $ac_status); }; } &&
87888 { ac_try='test -s conftest$ac_exeext'
87889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87890 (eval $ac_try) 2>&5
87891 ac_status=$?
87892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87893 (exit $ac_status); }; }; then
87894 eval "$as_ac_var=yes"
87895 else
87896 echo "$as_me: failed program was:" >&5
87897 sed 's/^/| /' conftest.$ac_ext >&5
87899 eval "$as_ac_var=no"
87901 rm -f conftest.err conftest.$ac_objext \
87902 conftest$ac_exeext conftest.$ac_ext
87904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87906 if test `eval echo '${'$as_ac_var'}'` = yes; then
87907 cat >>confdefs.h <<_ACEOF
87908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87909 _ACEOF
87911 else
87912 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87914 done
87918 # Used in libmath/Makefile.am.
87919 if test -n "$LIBMATHOBJS"; then
87920 need_libmath=yes
87925 # Test wchar.h for mbstate_t, which is needed for char_traits and
87926 # others even if wchar_t support is not on.
87927 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87928 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87929 cat >conftest.$ac_ext <<_ACEOF
87930 /* confdefs.h. */
87931 _ACEOF
87932 cat confdefs.h >>conftest.$ac_ext
87933 cat >>conftest.$ac_ext <<_ACEOF
87934 /* end confdefs.h. */
87935 #include <wchar.h>
87937 main ()
87939 mbstate_t teststate;
87941 return 0;
87943 _ACEOF
87944 rm -f conftest.$ac_objext
87945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87946 (eval $ac_compile) 2>conftest.er1
87947 ac_status=$?
87948 grep -v '^ *+' conftest.er1 >conftest.err
87949 rm -f conftest.er1
87950 cat conftest.err >&5
87951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87952 (exit $ac_status); } &&
87953 { ac_try='test -z "$ac_c_werror_flag"
87954 || test ! -s conftest.err'
87955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87956 (eval $ac_try) 2>&5
87957 ac_status=$?
87958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87959 (exit $ac_status); }; } &&
87960 { ac_try='test -s conftest.$ac_objext'
87961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87962 (eval $ac_try) 2>&5
87963 ac_status=$?
87964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87965 (exit $ac_status); }; }; then
87966 have_mbstate_t=yes
87967 else
87968 echo "$as_me: failed program was:" >&5
87969 sed 's/^/| /' conftest.$ac_ext >&5
87971 have_mbstate_t=no
87973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87974 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87975 echo "${ECHO_T}$have_mbstate_t" >&6
87976 if test x"$have_mbstate_t" = xyes; then
87977 cat >>confdefs.h <<\_ACEOF
87978 #define HAVE_MBSTATE_T 1
87979 _ACEOF
87983 # Sanity check for existence of ISO C99 headers for extended encoding.
87985 for ac_header in wchar.h
87987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87989 echo "$as_me:$LINENO: checking for $ac_header" >&5
87990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87992 echo $ECHO_N "(cached) $ECHO_C" >&6
87994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87996 else
87997 # Is the header compilable?
87998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88000 cat >conftest.$ac_ext <<_ACEOF
88001 /* confdefs.h. */
88002 _ACEOF
88003 cat confdefs.h >>conftest.$ac_ext
88004 cat >>conftest.$ac_ext <<_ACEOF
88005 /* end confdefs.h. */
88006 $ac_includes_default
88007 #include <$ac_header>
88008 _ACEOF
88009 rm -f conftest.$ac_objext
88010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88011 (eval $ac_compile) 2>conftest.er1
88012 ac_status=$?
88013 grep -v '^ *+' conftest.er1 >conftest.err
88014 rm -f conftest.er1
88015 cat conftest.err >&5
88016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88017 (exit $ac_status); } &&
88018 { ac_try='test -z "$ac_c_werror_flag"
88019 || test ! -s conftest.err'
88020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88021 (eval $ac_try) 2>&5
88022 ac_status=$?
88023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88024 (exit $ac_status); }; } &&
88025 { ac_try='test -s conftest.$ac_objext'
88026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88027 (eval $ac_try) 2>&5
88028 ac_status=$?
88029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88030 (exit $ac_status); }; }; then
88031 ac_header_compiler=yes
88032 else
88033 echo "$as_me: failed program was:" >&5
88034 sed 's/^/| /' conftest.$ac_ext >&5
88036 ac_header_compiler=no
88038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88040 echo "${ECHO_T}$ac_header_compiler" >&6
88042 # Is the header present?
88043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88045 cat >conftest.$ac_ext <<_ACEOF
88046 /* confdefs.h. */
88047 _ACEOF
88048 cat confdefs.h >>conftest.$ac_ext
88049 cat >>conftest.$ac_ext <<_ACEOF
88050 /* end confdefs.h. */
88051 #include <$ac_header>
88052 _ACEOF
88053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88055 ac_status=$?
88056 grep -v '^ *+' conftest.er1 >conftest.err
88057 rm -f conftest.er1
88058 cat conftest.err >&5
88059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88060 (exit $ac_status); } >/dev/null; then
88061 if test -s conftest.err; then
88062 ac_cpp_err=$ac_c_preproc_warn_flag
88063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88064 else
88065 ac_cpp_err=
88067 else
88068 ac_cpp_err=yes
88070 if test -z "$ac_cpp_err"; then
88071 ac_header_preproc=yes
88072 else
88073 echo "$as_me: failed program was:" >&5
88074 sed 's/^/| /' conftest.$ac_ext >&5
88076 ac_header_preproc=no
88078 rm -f conftest.err conftest.$ac_ext
88079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88080 echo "${ECHO_T}$ac_header_preproc" >&6
88082 # So? What about this header?
88083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88084 yes:no: )
88085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88089 ac_header_preproc=yes
88091 no:yes:* )
88092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88105 cat <<\_ASBOX
88106 ## ----------------------------------------- ##
88107 ## Report this to the package-unused lists. ##
88108 ## ----------------------------------------- ##
88109 _ASBOX
88111 sed "s/^/$as_me: WARNING: /" >&2
88113 esac
88114 echo "$as_me:$LINENO: checking for $ac_header" >&5
88115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88117 echo $ECHO_N "(cached) $ECHO_C" >&6
88118 else
88119 eval "$as_ac_Header=\$ac_header_preproc"
88121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88126 cat >>confdefs.h <<_ACEOF
88127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88128 _ACEOF
88129 ac_has_wchar_h=yes
88130 else
88131 ac_has_wchar_h=no
88134 done
88137 for ac_header in wctype.h
88139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88141 echo "$as_me:$LINENO: checking for $ac_header" >&5
88142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88144 echo $ECHO_N "(cached) $ECHO_C" >&6
88146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88148 else
88149 # Is the header compilable?
88150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88152 cat >conftest.$ac_ext <<_ACEOF
88153 /* confdefs.h. */
88154 _ACEOF
88155 cat confdefs.h >>conftest.$ac_ext
88156 cat >>conftest.$ac_ext <<_ACEOF
88157 /* end confdefs.h. */
88158 $ac_includes_default
88159 #include <$ac_header>
88160 _ACEOF
88161 rm -f conftest.$ac_objext
88162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88163 (eval $ac_compile) 2>conftest.er1
88164 ac_status=$?
88165 grep -v '^ *+' conftest.er1 >conftest.err
88166 rm -f conftest.er1
88167 cat conftest.err >&5
88168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88169 (exit $ac_status); } &&
88170 { ac_try='test -z "$ac_c_werror_flag"
88171 || test ! -s conftest.err'
88172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88173 (eval $ac_try) 2>&5
88174 ac_status=$?
88175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176 (exit $ac_status); }; } &&
88177 { ac_try='test -s conftest.$ac_objext'
88178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88179 (eval $ac_try) 2>&5
88180 ac_status=$?
88181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88182 (exit $ac_status); }; }; then
88183 ac_header_compiler=yes
88184 else
88185 echo "$as_me: failed program was:" >&5
88186 sed 's/^/| /' conftest.$ac_ext >&5
88188 ac_header_compiler=no
88190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88192 echo "${ECHO_T}$ac_header_compiler" >&6
88194 # Is the header present?
88195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88197 cat >conftest.$ac_ext <<_ACEOF
88198 /* confdefs.h. */
88199 _ACEOF
88200 cat confdefs.h >>conftest.$ac_ext
88201 cat >>conftest.$ac_ext <<_ACEOF
88202 /* end confdefs.h. */
88203 #include <$ac_header>
88204 _ACEOF
88205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88207 ac_status=$?
88208 grep -v '^ *+' conftest.er1 >conftest.err
88209 rm -f conftest.er1
88210 cat conftest.err >&5
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); } >/dev/null; then
88213 if test -s conftest.err; then
88214 ac_cpp_err=$ac_c_preproc_warn_flag
88215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88216 else
88217 ac_cpp_err=
88219 else
88220 ac_cpp_err=yes
88222 if test -z "$ac_cpp_err"; then
88223 ac_header_preproc=yes
88224 else
88225 echo "$as_me: failed program was:" >&5
88226 sed 's/^/| /' conftest.$ac_ext >&5
88228 ac_header_preproc=no
88230 rm -f conftest.err conftest.$ac_ext
88231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88232 echo "${ECHO_T}$ac_header_preproc" >&6
88234 # So? What about this header?
88235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88236 yes:no: )
88237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88241 ac_header_preproc=yes
88243 no:yes:* )
88244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88257 cat <<\_ASBOX
88258 ## ----------------------------------------- ##
88259 ## Report this to the package-unused lists. ##
88260 ## ----------------------------------------- ##
88261 _ASBOX
88263 sed "s/^/$as_me: WARNING: /" >&2
88265 esac
88266 echo "$as_me:$LINENO: checking for $ac_header" >&5
88267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88269 echo $ECHO_N "(cached) $ECHO_C" >&6
88270 else
88271 eval "$as_ac_Header=\$ac_header_preproc"
88273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88278 cat >>confdefs.h <<_ACEOF
88279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88280 _ACEOF
88281 ac_has_wctype_h=yes
88282 else
88283 ac_has_wctype_h=no
88286 done
88289 # Only continue checking if the ISO C99 headers exist and support is on.
88290 if test x"$ac_has_wchar_h" = xyes &&
88291 test x"$ac_has_wctype_h" = xyes &&
88292 test x"$enable_c_mbchar" != xno; then
88294 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88295 # numeric_limits can instantiate type_traits<wchar_t>
88296 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88297 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88298 cat >conftest.$ac_ext <<_ACEOF
88299 /* confdefs.h. */
88300 _ACEOF
88301 cat confdefs.h >>conftest.$ac_ext
88302 cat >>conftest.$ac_ext <<_ACEOF
88303 /* end confdefs.h. */
88304 #include <wchar.h>
88306 main ()
88308 int i = WCHAR_MIN; int j = WCHAR_MAX;
88310 return 0;
88312 _ACEOF
88313 rm -f conftest.$ac_objext
88314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88315 (eval $ac_compile) 2>conftest.er1
88316 ac_status=$?
88317 grep -v '^ *+' conftest.er1 >conftest.err
88318 rm -f conftest.er1
88319 cat conftest.err >&5
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); } &&
88322 { ac_try='test -z "$ac_c_werror_flag"
88323 || test ! -s conftest.err'
88324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88325 (eval $ac_try) 2>&5
88326 ac_status=$?
88327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88328 (exit $ac_status); }; } &&
88329 { ac_try='test -s conftest.$ac_objext'
88330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88331 (eval $ac_try) 2>&5
88332 ac_status=$?
88333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88334 (exit $ac_status); }; }; then
88335 has_wchar_minmax=yes
88336 else
88337 echo "$as_me: failed program was:" >&5
88338 sed 's/^/| /' conftest.$ac_ext >&5
88340 has_wchar_minmax=no
88342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88343 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88344 echo "${ECHO_T}$has_wchar_minmax" >&6
88346 # Test wchar.h for WEOF, which is what we use to determine whether
88347 # to specialize for char_traits<wchar_t> or not.
88348 echo "$as_me:$LINENO: checking for WEOF" >&5
88349 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88350 cat >conftest.$ac_ext <<_ACEOF
88351 /* confdefs.h. */
88352 _ACEOF
88353 cat confdefs.h >>conftest.$ac_ext
88354 cat >>conftest.$ac_ext <<_ACEOF
88355 /* end confdefs.h. */
88357 #include <wchar.h>
88358 #include <stddef.h>
88360 main ()
88362 wint_t i = WEOF;
88364 return 0;
88366 _ACEOF
88367 rm -f conftest.$ac_objext
88368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88369 (eval $ac_compile) 2>conftest.er1
88370 ac_status=$?
88371 grep -v '^ *+' conftest.er1 >conftest.err
88372 rm -f conftest.er1
88373 cat conftest.err >&5
88374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375 (exit $ac_status); } &&
88376 { ac_try='test -z "$ac_c_werror_flag"
88377 || test ! -s conftest.err'
88378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88379 (eval $ac_try) 2>&5
88380 ac_status=$?
88381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88382 (exit $ac_status); }; } &&
88383 { ac_try='test -s conftest.$ac_objext'
88384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88385 (eval $ac_try) 2>&5
88386 ac_status=$?
88387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388 (exit $ac_status); }; }; then
88389 has_weof=yes
88390 else
88391 echo "$as_me: failed program was:" >&5
88392 sed 's/^/| /' conftest.$ac_ext >&5
88394 has_weof=no
88396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88397 echo "$as_me:$LINENO: result: $has_weof" >&5
88398 echo "${ECHO_T}$has_weof" >&6
88400 # Tests for wide character functions used in char_traits<wchar_t>.
88401 ac_wfuncs=yes
88408 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88411 echo "$as_me:$LINENO: checking for $ac_func" >&5
88412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88413 if eval "test \"\${$as_ac_var+set}\" = set"; then
88414 echo $ECHO_N "(cached) $ECHO_C" >&6
88415 else
88416 if test x$gcc_no_link = xyes; then
88417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88419 { (exit 1); exit 1; }; }
88421 cat >conftest.$ac_ext <<_ACEOF
88422 /* confdefs.h. */
88423 _ACEOF
88424 cat confdefs.h >>conftest.$ac_ext
88425 cat >>conftest.$ac_ext <<_ACEOF
88426 /* end confdefs.h. */
88427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88429 #define $ac_func innocuous_$ac_func
88431 /* System header to define __stub macros and hopefully few prototypes,
88432 which can conflict with char $ac_func (); below.
88433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88434 <limits.h> exists even on freestanding compilers. */
88436 #ifdef __STDC__
88437 # include <limits.h>
88438 #else
88439 # include <assert.h>
88440 #endif
88442 #undef $ac_func
88444 /* Override any gcc2 internal prototype to avoid an error. */
88445 #ifdef __cplusplus
88446 extern "C"
88448 #endif
88449 /* We use char because int might match the return type of a gcc2
88450 builtin and then its argument prototype would still apply. */
88451 char $ac_func ();
88452 /* The GNU C library defines this for functions which it implements
88453 to always fail with ENOSYS. Some functions are actually named
88454 something starting with __ and the normal name is an alias. */
88455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88456 choke me
88457 #else
88458 char (*f) () = $ac_func;
88459 #endif
88460 #ifdef __cplusplus
88462 #endif
88465 main ()
88467 return f != $ac_func;
88469 return 0;
88471 _ACEOF
88472 rm -f conftest.$ac_objext conftest$ac_exeext
88473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88474 (eval $ac_link) 2>conftest.er1
88475 ac_status=$?
88476 grep -v '^ *+' conftest.er1 >conftest.err
88477 rm -f conftest.er1
88478 cat conftest.err >&5
88479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88480 (exit $ac_status); } &&
88481 { ac_try='test -z "$ac_c_werror_flag"
88482 || test ! -s conftest.err'
88483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88484 (eval $ac_try) 2>&5
88485 ac_status=$?
88486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88487 (exit $ac_status); }; } &&
88488 { ac_try='test -s conftest$ac_exeext'
88489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88490 (eval $ac_try) 2>&5
88491 ac_status=$?
88492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88493 (exit $ac_status); }; }; then
88494 eval "$as_ac_var=yes"
88495 else
88496 echo "$as_me: failed program was:" >&5
88497 sed 's/^/| /' conftest.$ac_ext >&5
88499 eval "$as_ac_var=no"
88501 rm -f conftest.err conftest.$ac_objext \
88502 conftest$ac_exeext conftest.$ac_ext
88504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88506 if test `eval echo '${'$as_ac_var'}'` = yes; then
88507 cat >>confdefs.h <<_ACEOF
88508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88509 _ACEOF
88511 else
88512 ac_wfuncs=no
88514 done
88517 # Checks for names injected into std:: by the c_std headers.
88564 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88565 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88566 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88567 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88568 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88569 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88572 echo "$as_me:$LINENO: checking for $ac_func" >&5
88573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88574 if eval "test \"\${$as_ac_var+set}\" = set"; then
88575 echo $ECHO_N "(cached) $ECHO_C" >&6
88576 else
88577 if test x$gcc_no_link = xyes; then
88578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88580 { (exit 1); exit 1; }; }
88582 cat >conftest.$ac_ext <<_ACEOF
88583 /* confdefs.h. */
88584 _ACEOF
88585 cat confdefs.h >>conftest.$ac_ext
88586 cat >>conftest.$ac_ext <<_ACEOF
88587 /* end confdefs.h. */
88588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88590 #define $ac_func innocuous_$ac_func
88592 /* System header to define __stub macros and hopefully few prototypes,
88593 which can conflict with char $ac_func (); below.
88594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88595 <limits.h> exists even on freestanding compilers. */
88597 #ifdef __STDC__
88598 # include <limits.h>
88599 #else
88600 # include <assert.h>
88601 #endif
88603 #undef $ac_func
88605 /* Override any gcc2 internal prototype to avoid an error. */
88606 #ifdef __cplusplus
88607 extern "C"
88609 #endif
88610 /* We use char because int might match the return type of a gcc2
88611 builtin and then its argument prototype would still apply. */
88612 char $ac_func ();
88613 /* The GNU C library defines this for functions which it implements
88614 to always fail with ENOSYS. Some functions are actually named
88615 something starting with __ and the normal name is an alias. */
88616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88617 choke me
88618 #else
88619 char (*f) () = $ac_func;
88620 #endif
88621 #ifdef __cplusplus
88623 #endif
88626 main ()
88628 return f != $ac_func;
88630 return 0;
88632 _ACEOF
88633 rm -f conftest.$ac_objext conftest$ac_exeext
88634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88635 (eval $ac_link) 2>conftest.er1
88636 ac_status=$?
88637 grep -v '^ *+' conftest.er1 >conftest.err
88638 rm -f conftest.er1
88639 cat conftest.err >&5
88640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88641 (exit $ac_status); } &&
88642 { ac_try='test -z "$ac_c_werror_flag"
88643 || test ! -s conftest.err'
88644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88645 (eval $ac_try) 2>&5
88646 ac_status=$?
88647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88648 (exit $ac_status); }; } &&
88649 { ac_try='test -s conftest$ac_exeext'
88650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88651 (eval $ac_try) 2>&5
88652 ac_status=$?
88653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88654 (exit $ac_status); }; }; then
88655 eval "$as_ac_var=yes"
88656 else
88657 echo "$as_me: failed program was:" >&5
88658 sed 's/^/| /' conftest.$ac_ext >&5
88660 eval "$as_ac_var=no"
88662 rm -f conftest.err conftest.$ac_objext \
88663 conftest$ac_exeext conftest.$ac_ext
88665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88667 if test `eval echo '${'$as_ac_var'}'` = yes; then
88668 cat >>confdefs.h <<_ACEOF
88669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88670 _ACEOF
88672 else
88673 ac_wfuncs=no
88675 done
88678 # Checks for wide character functions that are not required
88679 # for basic wchar_t support. Don't disable support if they are missing.
88680 # Injection of these is wrapped with guard macros.
88686 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88689 echo "$as_me:$LINENO: checking for $ac_func" >&5
88690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88691 if eval "test \"\${$as_ac_var+set}\" = set"; then
88692 echo $ECHO_N "(cached) $ECHO_C" >&6
88693 else
88694 if test x$gcc_no_link = xyes; then
88695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88697 { (exit 1); exit 1; }; }
88699 cat >conftest.$ac_ext <<_ACEOF
88700 /* confdefs.h. */
88701 _ACEOF
88702 cat confdefs.h >>conftest.$ac_ext
88703 cat >>conftest.$ac_ext <<_ACEOF
88704 /* end confdefs.h. */
88705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88707 #define $ac_func innocuous_$ac_func
88709 /* System header to define __stub macros and hopefully few prototypes,
88710 which can conflict with char $ac_func (); below.
88711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88712 <limits.h> exists even on freestanding compilers. */
88714 #ifdef __STDC__
88715 # include <limits.h>
88716 #else
88717 # include <assert.h>
88718 #endif
88720 #undef $ac_func
88722 /* Override any gcc2 internal prototype to avoid an error. */
88723 #ifdef __cplusplus
88724 extern "C"
88726 #endif
88727 /* We use char because int might match the return type of a gcc2
88728 builtin and then its argument prototype would still apply. */
88729 char $ac_func ();
88730 /* The GNU C library defines this for functions which it implements
88731 to always fail with ENOSYS. Some functions are actually named
88732 something starting with __ and the normal name is an alias. */
88733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88734 choke me
88735 #else
88736 char (*f) () = $ac_func;
88737 #endif
88738 #ifdef __cplusplus
88740 #endif
88743 main ()
88745 return f != $ac_func;
88747 return 0;
88749 _ACEOF
88750 rm -f conftest.$ac_objext conftest$ac_exeext
88751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88752 (eval $ac_link) 2>conftest.er1
88753 ac_status=$?
88754 grep -v '^ *+' conftest.er1 >conftest.err
88755 rm -f conftest.er1
88756 cat conftest.err >&5
88757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88758 (exit $ac_status); } &&
88759 { ac_try='test -z "$ac_c_werror_flag"
88760 || test ! -s conftest.err'
88761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88762 (eval $ac_try) 2>&5
88763 ac_status=$?
88764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765 (exit $ac_status); }; } &&
88766 { ac_try='test -s conftest$ac_exeext'
88767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88768 (eval $ac_try) 2>&5
88769 ac_status=$?
88770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771 (exit $ac_status); }; }; then
88772 eval "$as_ac_var=yes"
88773 else
88774 echo "$as_me: failed program was:" >&5
88775 sed 's/^/| /' conftest.$ac_ext >&5
88777 eval "$as_ac_var=no"
88779 rm -f conftest.err conftest.$ac_objext \
88780 conftest$ac_exeext conftest.$ac_ext
88782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88784 if test `eval echo '${'$as_ac_var'}'` = yes; then
88785 cat >>confdefs.h <<_ACEOF
88786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88787 _ACEOF
88790 done
88793 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88794 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88795 if test x"$has_weof" = xyes &&
88796 test x"$has_wchar_minmax" = xyes &&
88797 test x"$ac_wfuncs" = xyes;
88798 then
88799 ac_isoC99_wchar_t=yes
88800 else
88801 ac_isoC99_wchar_t=no
88803 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88804 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88806 # Use iconv for wchar_t to char conversions. As such, check for
88807 # X/Open Portability Guide, version 2 features (XPG2).
88808 if test "${ac_cv_header_iconv_h+set}" = set; then
88809 echo "$as_me:$LINENO: checking for iconv.h" >&5
88810 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88811 if test "${ac_cv_header_iconv_h+set}" = set; then
88812 echo $ECHO_N "(cached) $ECHO_C" >&6
88814 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88815 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88816 else
88817 # Is the header compilable?
88818 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88819 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88820 cat >conftest.$ac_ext <<_ACEOF
88821 /* confdefs.h. */
88822 _ACEOF
88823 cat confdefs.h >>conftest.$ac_ext
88824 cat >>conftest.$ac_ext <<_ACEOF
88825 /* end confdefs.h. */
88826 $ac_includes_default
88827 #include <iconv.h>
88828 _ACEOF
88829 rm -f conftest.$ac_objext
88830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88831 (eval $ac_compile) 2>conftest.er1
88832 ac_status=$?
88833 grep -v '^ *+' conftest.er1 >conftest.err
88834 rm -f conftest.er1
88835 cat conftest.err >&5
88836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88837 (exit $ac_status); } &&
88838 { ac_try='test -z "$ac_c_werror_flag"
88839 || test ! -s conftest.err'
88840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88841 (eval $ac_try) 2>&5
88842 ac_status=$?
88843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88844 (exit $ac_status); }; } &&
88845 { ac_try='test -s conftest.$ac_objext'
88846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88847 (eval $ac_try) 2>&5
88848 ac_status=$?
88849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88850 (exit $ac_status); }; }; then
88851 ac_header_compiler=yes
88852 else
88853 echo "$as_me: failed program was:" >&5
88854 sed 's/^/| /' conftest.$ac_ext >&5
88856 ac_header_compiler=no
88858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88860 echo "${ECHO_T}$ac_header_compiler" >&6
88862 # Is the header present?
88863 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88864 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88865 cat >conftest.$ac_ext <<_ACEOF
88866 /* confdefs.h. */
88867 _ACEOF
88868 cat confdefs.h >>conftest.$ac_ext
88869 cat >>conftest.$ac_ext <<_ACEOF
88870 /* end confdefs.h. */
88871 #include <iconv.h>
88872 _ACEOF
88873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88875 ac_status=$?
88876 grep -v '^ *+' conftest.er1 >conftest.err
88877 rm -f conftest.er1
88878 cat conftest.err >&5
88879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880 (exit $ac_status); } >/dev/null; then
88881 if test -s conftest.err; then
88882 ac_cpp_err=$ac_c_preproc_warn_flag
88883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88884 else
88885 ac_cpp_err=
88887 else
88888 ac_cpp_err=yes
88890 if test -z "$ac_cpp_err"; then
88891 ac_header_preproc=yes
88892 else
88893 echo "$as_me: failed program was:" >&5
88894 sed 's/^/| /' conftest.$ac_ext >&5
88896 ac_header_preproc=no
88898 rm -f conftest.err conftest.$ac_ext
88899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88900 echo "${ECHO_T}$ac_header_preproc" >&6
88902 # So? What about this header?
88903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88904 yes:no: )
88905 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88906 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88907 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88908 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88909 ac_header_preproc=yes
88911 no:yes:* )
88912 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88913 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88914 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88915 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88916 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88917 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88918 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88919 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88920 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88921 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88922 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88923 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88925 cat <<\_ASBOX
88926 ## ----------------------------------------- ##
88927 ## Report this to the package-unused lists. ##
88928 ## ----------------------------------------- ##
88929 _ASBOX
88931 sed "s/^/$as_me: WARNING: /" >&2
88933 esac
88934 echo "$as_me:$LINENO: checking for iconv.h" >&5
88935 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88936 if test "${ac_cv_header_iconv_h+set}" = set; then
88937 echo $ECHO_N "(cached) $ECHO_C" >&6
88938 else
88939 ac_cv_header_iconv_h=$ac_header_preproc
88941 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88942 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88945 if test $ac_cv_header_iconv_h = yes; then
88946 ac_has_iconv_h=yes
88947 else
88948 ac_has_iconv_h=no
88952 if test "${ac_cv_header_langinfo_h+set}" = set; then
88953 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88954 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88955 if test "${ac_cv_header_langinfo_h+set}" = set; then
88956 echo $ECHO_N "(cached) $ECHO_C" >&6
88958 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88959 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88960 else
88961 # Is the header compilable?
88962 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88963 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88964 cat >conftest.$ac_ext <<_ACEOF
88965 /* confdefs.h. */
88966 _ACEOF
88967 cat confdefs.h >>conftest.$ac_ext
88968 cat >>conftest.$ac_ext <<_ACEOF
88969 /* end confdefs.h. */
88970 $ac_includes_default
88971 #include <langinfo.h>
88972 _ACEOF
88973 rm -f conftest.$ac_objext
88974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88975 (eval $ac_compile) 2>conftest.er1
88976 ac_status=$?
88977 grep -v '^ *+' conftest.er1 >conftest.err
88978 rm -f conftest.er1
88979 cat conftest.err >&5
88980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88981 (exit $ac_status); } &&
88982 { ac_try='test -z "$ac_c_werror_flag"
88983 || test ! -s conftest.err'
88984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88985 (eval $ac_try) 2>&5
88986 ac_status=$?
88987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88988 (exit $ac_status); }; } &&
88989 { ac_try='test -s conftest.$ac_objext'
88990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88991 (eval $ac_try) 2>&5
88992 ac_status=$?
88993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88994 (exit $ac_status); }; }; then
88995 ac_header_compiler=yes
88996 else
88997 echo "$as_me: failed program was:" >&5
88998 sed 's/^/| /' conftest.$ac_ext >&5
89000 ac_header_compiler=no
89002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89004 echo "${ECHO_T}$ac_header_compiler" >&6
89006 # Is the header present?
89007 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
89008 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
89009 cat >conftest.$ac_ext <<_ACEOF
89010 /* confdefs.h. */
89011 _ACEOF
89012 cat confdefs.h >>conftest.$ac_ext
89013 cat >>conftest.$ac_ext <<_ACEOF
89014 /* end confdefs.h. */
89015 #include <langinfo.h>
89016 _ACEOF
89017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89019 ac_status=$?
89020 grep -v '^ *+' conftest.er1 >conftest.err
89021 rm -f conftest.er1
89022 cat conftest.err >&5
89023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89024 (exit $ac_status); } >/dev/null; then
89025 if test -s conftest.err; then
89026 ac_cpp_err=$ac_c_preproc_warn_flag
89027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89028 else
89029 ac_cpp_err=
89031 else
89032 ac_cpp_err=yes
89034 if test -z "$ac_cpp_err"; then
89035 ac_header_preproc=yes
89036 else
89037 echo "$as_me: failed program was:" >&5
89038 sed 's/^/| /' conftest.$ac_ext >&5
89040 ac_header_preproc=no
89042 rm -f conftest.err conftest.$ac_ext
89043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89044 echo "${ECHO_T}$ac_header_preproc" >&6
89046 # So? What about this header?
89047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89048 yes:no: )
89049 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89050 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89051 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89052 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89053 ac_header_preproc=yes
89055 no:yes:* )
89056 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89057 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89058 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89059 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89060 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89061 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89062 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89063 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89064 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89065 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89066 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89067 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89069 cat <<\_ASBOX
89070 ## ----------------------------------------- ##
89071 ## Report this to the package-unused lists. ##
89072 ## ----------------------------------------- ##
89073 _ASBOX
89075 sed "s/^/$as_me: WARNING: /" >&2
89077 esac
89078 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89079 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89080 if test "${ac_cv_header_langinfo_h+set}" = set; then
89081 echo $ECHO_N "(cached) $ECHO_C" >&6
89082 else
89083 ac_cv_header_langinfo_h=$ac_header_preproc
89085 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89086 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89089 if test $ac_cv_header_langinfo_h = yes; then
89090 ac_has_langinfo_h=yes
89091 else
89092 ac_has_langinfo_h=no
89097 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89098 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89099 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89100 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89101 echo $ECHO_N "(cached) $ECHO_C" >&6
89102 else
89103 ac_check_lib_save_LIBS=$LIBS
89104 LIBS="-liconv $LIBS"
89105 if test x$gcc_no_link = xyes; then
89106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89108 { (exit 1); exit 1; }; }
89110 cat >conftest.$ac_ext <<_ACEOF
89111 /* confdefs.h. */
89112 _ACEOF
89113 cat confdefs.h >>conftest.$ac_ext
89114 cat >>conftest.$ac_ext <<_ACEOF
89115 /* end confdefs.h. */
89117 /* Override any gcc2 internal prototype to avoid an error. */
89118 #ifdef __cplusplus
89119 extern "C"
89120 #endif
89121 /* We use char because int might match the return type of a gcc2
89122 builtin and then its argument prototype would still apply. */
89123 char iconv ();
89125 main ()
89127 iconv ();
89129 return 0;
89131 _ACEOF
89132 rm -f conftest.$ac_objext conftest$ac_exeext
89133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89134 (eval $ac_link) 2>conftest.er1
89135 ac_status=$?
89136 grep -v '^ *+' conftest.er1 >conftest.err
89137 rm -f conftest.er1
89138 cat conftest.err >&5
89139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89140 (exit $ac_status); } &&
89141 { ac_try='test -z "$ac_c_werror_flag"
89142 || test ! -s conftest.err'
89143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89144 (eval $ac_try) 2>&5
89145 ac_status=$?
89146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89147 (exit $ac_status); }; } &&
89148 { ac_try='test -s conftest$ac_exeext'
89149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89150 (eval $ac_try) 2>&5
89151 ac_status=$?
89152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89153 (exit $ac_status); }; }; then
89154 ac_cv_lib_iconv_iconv=yes
89155 else
89156 echo "$as_me: failed program was:" >&5
89157 sed 's/^/| /' conftest.$ac_ext >&5
89159 ac_cv_lib_iconv_iconv=no
89161 rm -f conftest.err conftest.$ac_objext \
89162 conftest$ac_exeext conftest.$ac_ext
89163 LIBS=$ac_check_lib_save_LIBS
89165 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89166 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89167 if test $ac_cv_lib_iconv_iconv = yes; then
89168 LIBICONV="-liconv"
89171 ac_save_LIBS="$LIBS"
89172 LIBS="$LIBS $LIBICONV"
89179 for ac_func in iconv_open iconv_close iconv nl_langinfo
89181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89182 echo "$as_me:$LINENO: checking for $ac_func" >&5
89183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89184 if eval "test \"\${$as_ac_var+set}\" = set"; then
89185 echo $ECHO_N "(cached) $ECHO_C" >&6
89186 else
89187 if test x$gcc_no_link = xyes; then
89188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89190 { (exit 1); exit 1; }; }
89192 cat >conftest.$ac_ext <<_ACEOF
89193 /* confdefs.h. */
89194 _ACEOF
89195 cat confdefs.h >>conftest.$ac_ext
89196 cat >>conftest.$ac_ext <<_ACEOF
89197 /* end confdefs.h. */
89198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89200 #define $ac_func innocuous_$ac_func
89202 /* System header to define __stub macros and hopefully few prototypes,
89203 which can conflict with char $ac_func (); below.
89204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89205 <limits.h> exists even on freestanding compilers. */
89207 #ifdef __STDC__
89208 # include <limits.h>
89209 #else
89210 # include <assert.h>
89211 #endif
89213 #undef $ac_func
89215 /* Override any gcc2 internal prototype to avoid an error. */
89216 #ifdef __cplusplus
89217 extern "C"
89219 #endif
89220 /* We use char because int might match the return type of a gcc2
89221 builtin and then its argument prototype would still apply. */
89222 char $ac_func ();
89223 /* The GNU C library defines this for functions which it implements
89224 to always fail with ENOSYS. Some functions are actually named
89225 something starting with __ and the normal name is an alias. */
89226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89227 choke me
89228 #else
89229 char (*f) () = $ac_func;
89230 #endif
89231 #ifdef __cplusplus
89233 #endif
89236 main ()
89238 return f != $ac_func;
89240 return 0;
89242 _ACEOF
89243 rm -f conftest.$ac_objext conftest$ac_exeext
89244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89245 (eval $ac_link) 2>conftest.er1
89246 ac_status=$?
89247 grep -v '^ *+' conftest.er1 >conftest.err
89248 rm -f conftest.er1
89249 cat conftest.err >&5
89250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89251 (exit $ac_status); } &&
89252 { ac_try='test -z "$ac_c_werror_flag"
89253 || test ! -s conftest.err'
89254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89255 (eval $ac_try) 2>&5
89256 ac_status=$?
89257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89258 (exit $ac_status); }; } &&
89259 { ac_try='test -s conftest$ac_exeext'
89260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89261 (eval $ac_try) 2>&5
89262 ac_status=$?
89263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264 (exit $ac_status); }; }; then
89265 eval "$as_ac_var=yes"
89266 else
89267 echo "$as_me: failed program was:" >&5
89268 sed 's/^/| /' conftest.$ac_ext >&5
89270 eval "$as_ac_var=no"
89272 rm -f conftest.err conftest.$ac_objext \
89273 conftest$ac_exeext conftest.$ac_ext
89275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89277 if test `eval echo '${'$as_ac_var'}'` = yes; then
89278 cat >>confdefs.h <<_ACEOF
89279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89280 _ACEOF
89281 ac_XPG2funcs=yes
89282 else
89283 ac_XPG2funcs=no
89285 done
89288 LIBS="$ac_save_LIBS"
89290 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89291 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89292 if test x"$ac_has_iconv_h" = xyes &&
89293 test x"$ac_has_langinfo_h" = xyes &&
89294 test x"$ac_XPG2funcs" = xyes;
89295 then
89296 ac_XPG2_wchar_t=yes
89297 else
89298 ac_XPG2_wchar_t=no
89300 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89301 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89303 # At the moment, only enable wchar_t specializations if all the
89304 # above support is present.
89305 if test x"$ac_isoC99_wchar_t" = xyes &&
89306 test x"$ac_XPG2_wchar_t" = xyes;
89307 then
89308 cat >>confdefs.h <<\_ACEOF
89309 #define _GLIBCXX_USE_WCHAR_T 1
89310 _ACEOF
89312 enable_wchar_t=yes
89315 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89316 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89317 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89318 echo "${ECHO_T}$enable_wchar_t" >&6
89321 # For showmanyc_helper().
89324 for ac_header in sys/ioctl.h sys/filio.h
89326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89328 echo "$as_me:$LINENO: checking for $ac_header" >&5
89329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89331 echo $ECHO_N "(cached) $ECHO_C" >&6
89333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89335 else
89336 # Is the header compilable?
89337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89339 cat >conftest.$ac_ext <<_ACEOF
89340 /* confdefs.h. */
89341 _ACEOF
89342 cat confdefs.h >>conftest.$ac_ext
89343 cat >>conftest.$ac_ext <<_ACEOF
89344 /* end confdefs.h. */
89345 $ac_includes_default
89346 #include <$ac_header>
89347 _ACEOF
89348 rm -f conftest.$ac_objext
89349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89350 (eval $ac_compile) 2>conftest.er1
89351 ac_status=$?
89352 grep -v '^ *+' conftest.er1 >conftest.err
89353 rm -f conftest.er1
89354 cat conftest.err >&5
89355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89356 (exit $ac_status); } &&
89357 { ac_try='test -z "$ac_c_werror_flag"
89358 || test ! -s conftest.err'
89359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89360 (eval $ac_try) 2>&5
89361 ac_status=$?
89362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89363 (exit $ac_status); }; } &&
89364 { ac_try='test -s conftest.$ac_objext'
89365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89366 (eval $ac_try) 2>&5
89367 ac_status=$?
89368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89369 (exit $ac_status); }; }; then
89370 ac_header_compiler=yes
89371 else
89372 echo "$as_me: failed program was:" >&5
89373 sed 's/^/| /' conftest.$ac_ext >&5
89375 ac_header_compiler=no
89377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89379 echo "${ECHO_T}$ac_header_compiler" >&6
89381 # Is the header present?
89382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89384 cat >conftest.$ac_ext <<_ACEOF
89385 /* confdefs.h. */
89386 _ACEOF
89387 cat confdefs.h >>conftest.$ac_ext
89388 cat >>conftest.$ac_ext <<_ACEOF
89389 /* end confdefs.h. */
89390 #include <$ac_header>
89391 _ACEOF
89392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89394 ac_status=$?
89395 grep -v '^ *+' conftest.er1 >conftest.err
89396 rm -f conftest.er1
89397 cat conftest.err >&5
89398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89399 (exit $ac_status); } >/dev/null; then
89400 if test -s conftest.err; then
89401 ac_cpp_err=$ac_c_preproc_warn_flag
89402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89403 else
89404 ac_cpp_err=
89406 else
89407 ac_cpp_err=yes
89409 if test -z "$ac_cpp_err"; then
89410 ac_header_preproc=yes
89411 else
89412 echo "$as_me: failed program was:" >&5
89413 sed 's/^/| /' conftest.$ac_ext >&5
89415 ac_header_preproc=no
89417 rm -f conftest.err conftest.$ac_ext
89418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89419 echo "${ECHO_T}$ac_header_preproc" >&6
89421 # So? What about this header?
89422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89423 yes:no: )
89424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89428 ac_header_preproc=yes
89430 no:yes:* )
89431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89444 cat <<\_ASBOX
89445 ## ----------------------------------------- ##
89446 ## Report this to the package-unused lists. ##
89447 ## ----------------------------------------- ##
89448 _ASBOX
89450 sed "s/^/$as_me: WARNING: /" >&2
89452 esac
89453 echo "$as_me:$LINENO: checking for $ac_header" >&5
89454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89456 echo $ECHO_N "(cached) $ECHO_C" >&6
89457 else
89458 eval "$as_ac_Header=\$ac_header_preproc"
89460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89465 cat >>confdefs.h <<_ACEOF
89466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89467 _ACEOF
89471 done
89474 if test "${glibcxx_cv_POLL+set}" = set; then
89475 echo $ECHO_N "(cached) $ECHO_C" >&6
89476 else
89478 if test x$gcc_no_link = xyes; then
89479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89481 { (exit 1); exit 1; }; }
89483 cat >conftest.$ac_ext <<_ACEOF
89484 /* confdefs.h. */
89485 _ACEOF
89486 cat confdefs.h >>conftest.$ac_ext
89487 cat >>conftest.$ac_ext <<_ACEOF
89488 /* end confdefs.h. */
89489 #include <poll.h>
89491 main ()
89493 struct pollfd pfd[1];
89494 pfd[0].events = POLLIN;
89495 poll(pfd, 1, 0);
89497 return 0;
89499 _ACEOF
89500 rm -f conftest.$ac_objext conftest$ac_exeext
89501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89502 (eval $ac_link) 2>conftest.er1
89503 ac_status=$?
89504 grep -v '^ *+' conftest.er1 >conftest.err
89505 rm -f conftest.er1
89506 cat conftest.err >&5
89507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89508 (exit $ac_status); } &&
89509 { ac_try='test -z "$ac_c_werror_flag"
89510 || test ! -s conftest.err'
89511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89512 (eval $ac_try) 2>&5
89513 ac_status=$?
89514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515 (exit $ac_status); }; } &&
89516 { ac_try='test -s conftest$ac_exeext'
89517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89518 (eval $ac_try) 2>&5
89519 ac_status=$?
89520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89521 (exit $ac_status); }; }; then
89522 glibcxx_cv_POLL=yes
89523 else
89524 echo "$as_me: failed program was:" >&5
89525 sed 's/^/| /' conftest.$ac_ext >&5
89527 glibcxx_cv_POLL=no
89529 rm -f conftest.err conftest.$ac_objext \
89530 conftest$ac_exeext conftest.$ac_ext
89534 if test $glibcxx_cv_POLL = yes; then
89535 cat >>confdefs.h <<\_ACEOF
89536 #define HAVE_POLL 1
89537 _ACEOF
89542 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89543 echo $ECHO_N "(cached) $ECHO_C" >&6
89544 else
89546 if test x$gcc_no_link = xyes; then
89547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89549 { (exit 1); exit 1; }; }
89551 cat >conftest.$ac_ext <<_ACEOF
89552 /* confdefs.h. */
89553 _ACEOF
89554 cat confdefs.h >>conftest.$ac_ext
89555 cat >>conftest.$ac_ext <<_ACEOF
89556 /* end confdefs.h. */
89557 #include <sys/stat.h>
89559 main ()
89561 struct stat buffer;
89562 fstat(0, &buffer);
89563 S_ISREG(buffer.st_mode);
89565 return 0;
89567 _ACEOF
89568 rm -f conftest.$ac_objext conftest$ac_exeext
89569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89570 (eval $ac_link) 2>conftest.er1
89571 ac_status=$?
89572 grep -v '^ *+' conftest.er1 >conftest.err
89573 rm -f conftest.er1
89574 cat conftest.err >&5
89575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89576 (exit $ac_status); } &&
89577 { ac_try='test -z "$ac_c_werror_flag"
89578 || test ! -s conftest.err'
89579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89580 (eval $ac_try) 2>&5
89581 ac_status=$?
89582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89583 (exit $ac_status); }; } &&
89584 { ac_try='test -s conftest$ac_exeext'
89585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89586 (eval $ac_try) 2>&5
89587 ac_status=$?
89588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89589 (exit $ac_status); }; }; then
89590 glibcxx_cv_S_ISREG=yes
89591 else
89592 echo "$as_me: failed program was:" >&5
89593 sed 's/^/| /' conftest.$ac_ext >&5
89595 glibcxx_cv_S_ISREG=no
89597 rm -f conftest.err conftest.$ac_objext \
89598 conftest$ac_exeext conftest.$ac_ext
89602 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89603 echo $ECHO_N "(cached) $ECHO_C" >&6
89604 else
89606 if test x$gcc_no_link = xyes; then
89607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89609 { (exit 1); exit 1; }; }
89611 cat >conftest.$ac_ext <<_ACEOF
89612 /* confdefs.h. */
89613 _ACEOF
89614 cat confdefs.h >>conftest.$ac_ext
89615 cat >>conftest.$ac_ext <<_ACEOF
89616 /* end confdefs.h. */
89617 #include <sys/stat.h>
89619 main ()
89621 struct stat buffer;
89622 fstat(0, &buffer);
89623 S_IFREG & buffer.st_mode;
89625 return 0;
89627 _ACEOF
89628 rm -f conftest.$ac_objext conftest$ac_exeext
89629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89630 (eval $ac_link) 2>conftest.er1
89631 ac_status=$?
89632 grep -v '^ *+' conftest.er1 >conftest.err
89633 rm -f conftest.er1
89634 cat conftest.err >&5
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); } &&
89637 { ac_try='test -z "$ac_c_werror_flag"
89638 || test ! -s conftest.err'
89639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89640 (eval $ac_try) 2>&5
89641 ac_status=$?
89642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89643 (exit $ac_status); }; } &&
89644 { ac_try='test -s conftest$ac_exeext'
89645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89646 (eval $ac_try) 2>&5
89647 ac_status=$?
89648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89649 (exit $ac_status); }; }; then
89650 glibcxx_cv_S_IFREG=yes
89651 else
89652 echo "$as_me: failed program was:" >&5
89653 sed 's/^/| /' conftest.$ac_ext >&5
89655 glibcxx_cv_S_IFREG=no
89657 rm -f conftest.err conftest.$ac_objext \
89658 conftest$ac_exeext conftest.$ac_ext
89662 if test $glibcxx_cv_S_ISREG = yes; then
89663 cat >>confdefs.h <<\_ACEOF
89664 #define HAVE_S_ISREG 1
89665 _ACEOF
89667 elif test $glibcxx_cv_S_IFREG = yes; then
89668 cat >>confdefs.h <<\_ACEOF
89669 #define HAVE_S_IFREG 1
89670 _ACEOF
89675 # For xsputn_2().
89677 for ac_header in sys/uio.h
89679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89681 echo "$as_me:$LINENO: checking for $ac_header" >&5
89682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89684 echo $ECHO_N "(cached) $ECHO_C" >&6
89686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89688 else
89689 # Is the header compilable?
89690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89692 cat >conftest.$ac_ext <<_ACEOF
89693 /* confdefs.h. */
89694 _ACEOF
89695 cat confdefs.h >>conftest.$ac_ext
89696 cat >>conftest.$ac_ext <<_ACEOF
89697 /* end confdefs.h. */
89698 $ac_includes_default
89699 #include <$ac_header>
89700 _ACEOF
89701 rm -f conftest.$ac_objext
89702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89703 (eval $ac_compile) 2>conftest.er1
89704 ac_status=$?
89705 grep -v '^ *+' conftest.er1 >conftest.err
89706 rm -f conftest.er1
89707 cat conftest.err >&5
89708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89709 (exit $ac_status); } &&
89710 { ac_try='test -z "$ac_c_werror_flag"
89711 || test ! -s conftest.err'
89712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713 (eval $ac_try) 2>&5
89714 ac_status=$?
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); }; } &&
89717 { ac_try='test -s conftest.$ac_objext'
89718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89719 (eval $ac_try) 2>&5
89720 ac_status=$?
89721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89722 (exit $ac_status); }; }; then
89723 ac_header_compiler=yes
89724 else
89725 echo "$as_me: failed program was:" >&5
89726 sed 's/^/| /' conftest.$ac_ext >&5
89728 ac_header_compiler=no
89730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89732 echo "${ECHO_T}$ac_header_compiler" >&6
89734 # Is the header present?
89735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89737 cat >conftest.$ac_ext <<_ACEOF
89738 /* confdefs.h. */
89739 _ACEOF
89740 cat confdefs.h >>conftest.$ac_ext
89741 cat >>conftest.$ac_ext <<_ACEOF
89742 /* end confdefs.h. */
89743 #include <$ac_header>
89744 _ACEOF
89745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89747 ac_status=$?
89748 grep -v '^ *+' conftest.er1 >conftest.err
89749 rm -f conftest.er1
89750 cat conftest.err >&5
89751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89752 (exit $ac_status); } >/dev/null; then
89753 if test -s conftest.err; then
89754 ac_cpp_err=$ac_c_preproc_warn_flag
89755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89756 else
89757 ac_cpp_err=
89759 else
89760 ac_cpp_err=yes
89762 if test -z "$ac_cpp_err"; then
89763 ac_header_preproc=yes
89764 else
89765 echo "$as_me: failed program was:" >&5
89766 sed 's/^/| /' conftest.$ac_ext >&5
89768 ac_header_preproc=no
89770 rm -f conftest.err conftest.$ac_ext
89771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89772 echo "${ECHO_T}$ac_header_preproc" >&6
89774 # So? What about this header?
89775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89776 yes:no: )
89777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89781 ac_header_preproc=yes
89783 no:yes:* )
89784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89797 cat <<\_ASBOX
89798 ## ----------------------------------------- ##
89799 ## Report this to the package-unused lists. ##
89800 ## ----------------------------------------- ##
89801 _ASBOX
89803 sed "s/^/$as_me: WARNING: /" >&2
89805 esac
89806 echo "$as_me:$LINENO: checking for $ac_header" >&5
89807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89809 echo $ECHO_N "(cached) $ECHO_C" >&6
89810 else
89811 eval "$as_ac_Header=\$ac_header_preproc"
89813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89818 cat >>confdefs.h <<_ACEOF
89819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89820 _ACEOF
89824 done
89827 if test "${glibcxx_cv_WRITEV+set}" = set; then
89828 echo $ECHO_N "(cached) $ECHO_C" >&6
89829 else
89831 if test x$gcc_no_link = xyes; then
89832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89834 { (exit 1); exit 1; }; }
89836 cat >conftest.$ac_ext <<_ACEOF
89837 /* confdefs.h. */
89838 _ACEOF
89839 cat confdefs.h >>conftest.$ac_ext
89840 cat >>conftest.$ac_ext <<_ACEOF
89841 /* end confdefs.h. */
89842 #include <sys/uio.h>
89844 main ()
89846 struct iovec iov[2];
89847 writev(0, iov, 0);
89849 return 0;
89851 _ACEOF
89852 rm -f conftest.$ac_objext conftest$ac_exeext
89853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89854 (eval $ac_link) 2>conftest.er1
89855 ac_status=$?
89856 grep -v '^ *+' conftest.er1 >conftest.err
89857 rm -f conftest.er1
89858 cat conftest.err >&5
89859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89860 (exit $ac_status); } &&
89861 { ac_try='test -z "$ac_c_werror_flag"
89862 || test ! -s conftest.err'
89863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89864 (eval $ac_try) 2>&5
89865 ac_status=$?
89866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867 (exit $ac_status); }; } &&
89868 { ac_try='test -s conftest$ac_exeext'
89869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89870 (eval $ac_try) 2>&5
89871 ac_status=$?
89872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873 (exit $ac_status); }; }; then
89874 glibcxx_cv_WRITEV=yes
89875 else
89876 echo "$as_me: failed program was:" >&5
89877 sed 's/^/| /' conftest.$ac_ext >&5
89879 glibcxx_cv_WRITEV=no
89881 rm -f conftest.err conftest.$ac_objext \
89882 conftest$ac_exeext conftest.$ac_ext
89886 if test $glibcxx_cv_WRITEV = yes; then
89887 cat >>confdefs.h <<\_ACEOF
89888 #define HAVE_WRITEV 1
89889 _ACEOF
89894 *-qnx6.1* | *-qnx6.2*)
89895 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89898 # If we're not using GNU ld, then there's no point in even trying these
89899 # tests. Check for that first. We should have already tested for gld
89900 # by now (in libtool), but require it now just to be safe...
89901 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89902 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89906 # The name set by libtool depends on the version of libtool. Shame on us
89907 # for depending on an impl detail, but c'est la vie. Older versions used
89908 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89909 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89910 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89911 # set (hence we're using an older libtool), then set it.
89912 if test x${with_gnu_ld+set} != xset; then
89913 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89914 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89915 with_gnu_ld=no
89916 else
89917 with_gnu_ld=$ac_cv_prog_gnu_ld
89921 # Start by getting the version number. I think the libtool test already
89922 # does some of this, but throws away the result.
89924 ldver=`$LD --version 2>/dev/null | head -1 | \
89925 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89927 glibcxx_gnu_ld_version=`echo $ldver | \
89928 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89930 # Set --gc-sections.
89931 if test "$with_gnu_ld" = "notbroken"; then
89932 # GNU ld it is! Joy and bunny rabbits!
89934 # All these tests are for C++; save the language and the compiler flags.
89935 # Need to do this so that g++ won't try to link in libstdc++
89936 ac_test_CFLAGS="${CFLAGS+set}"
89937 ac_save_CFLAGS="$CFLAGS"
89938 CFLAGS='-x c++ -Wl,--gc-sections'
89940 # Check for -Wl,--gc-sections
89941 # XXX This test is broken at the moment, as symbols required for linking
89942 # are now in libsupc++ (not built yet). In addition, this test has
89943 # cored on solaris in the past. In addition, --gc-sections doesn't
89944 # really work at the moment (keeps on discarding used sections, first
89945 # .eh_frame and now some of the glibc sections for iconv).
89946 # Bzzzzt. Thanks for playing, maybe next time.
89947 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89948 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89949 if test "$cross_compiling" = yes; then
89950 ac_sectionLDflags=yes
89951 else
89952 cat >conftest.$ac_ext <<_ACEOF
89953 /* confdefs.h. */
89954 _ACEOF
89955 cat confdefs.h >>conftest.$ac_ext
89956 cat >>conftest.$ac_ext <<_ACEOF
89957 /* end confdefs.h. */
89959 int main(void)
89961 try { throw 1; }
89962 catch (...) { };
89963 return 0;
89966 _ACEOF
89967 rm -f conftest$ac_exeext
89968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89969 (eval $ac_link) 2>&5
89970 ac_status=$?
89971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89974 (eval $ac_try) 2>&5
89975 ac_status=$?
89976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89977 (exit $ac_status); }; }; then
89978 ac_sectionLDflags=yes
89979 else
89980 echo "$as_me: program exited with status $ac_status" >&5
89981 echo "$as_me: failed program was:" >&5
89982 sed 's/^/| /' conftest.$ac_ext >&5
89984 ( exit $ac_status )
89985 ac_sectionLDflags=no
89987 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89989 if test "$ac_test_CFLAGS" = set; then
89990 CFLAGS="$ac_save_CFLAGS"
89991 else
89992 # this is the suspicious part
89993 CFLAGS=''
89995 if test "$ac_sectionLDflags" = "yes"; then
89996 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89998 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89999 echo "${ECHO_T}$ac_sectionLDflags" >&6
90002 # Set linker optimization flags.
90003 if test x"$with_gnu_ld" = x"yes"; then
90004 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90012 echo "$as_me:$LINENO: checking for main in -lm" >&5
90013 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90014 if test "${ac_cv_lib_m_main+set}" = set; then
90015 echo $ECHO_N "(cached) $ECHO_C" >&6
90016 else
90017 ac_check_lib_save_LIBS=$LIBS
90018 LIBS="-lm $LIBS"
90019 if test x$gcc_no_link = xyes; then
90020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90022 { (exit 1); exit 1; }; }
90024 cat >conftest.$ac_ext <<_ACEOF
90025 /* confdefs.h. */
90026 _ACEOF
90027 cat confdefs.h >>conftest.$ac_ext
90028 cat >>conftest.$ac_ext <<_ACEOF
90029 /* end confdefs.h. */
90033 main ()
90035 main ();
90037 return 0;
90039 _ACEOF
90040 rm -f conftest.$ac_objext conftest$ac_exeext
90041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90042 (eval $ac_link) 2>conftest.er1
90043 ac_status=$?
90044 grep -v '^ *+' conftest.er1 >conftest.err
90045 rm -f conftest.er1
90046 cat conftest.err >&5
90047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90048 (exit $ac_status); } &&
90049 { ac_try='test -z "$ac_c_werror_flag"
90050 || test ! -s conftest.err'
90051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90052 (eval $ac_try) 2>&5
90053 ac_status=$?
90054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90055 (exit $ac_status); }; } &&
90056 { ac_try='test -s conftest$ac_exeext'
90057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90058 (eval $ac_try) 2>&5
90059 ac_status=$?
90060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90061 (exit $ac_status); }; }; then
90062 ac_cv_lib_m_main=yes
90063 else
90064 echo "$as_me: failed program was:" >&5
90065 sed 's/^/| /' conftest.$ac_ext >&5
90067 ac_cv_lib_m_main=no
90069 rm -f conftest.err conftest.$ac_objext \
90070 conftest$ac_exeext conftest.$ac_ext
90071 LIBS=$ac_check_lib_save_LIBS
90073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90074 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90075 if test $ac_cv_lib_m_main = yes; then
90076 cat >>confdefs.h <<_ACEOF
90077 #define HAVE_LIBM 1
90078 _ACEOF
90080 LIBS="-lm $LIBS"
90085 for ac_func in copysignf
90087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90088 echo "$as_me:$LINENO: checking for $ac_func" >&5
90089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90090 if eval "test \"\${$as_ac_var+set}\" = set"; then
90091 echo $ECHO_N "(cached) $ECHO_C" >&6
90092 else
90093 if test x$gcc_no_link = xyes; then
90094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90096 { (exit 1); exit 1; }; }
90098 cat >conftest.$ac_ext <<_ACEOF
90099 /* confdefs.h. */
90100 _ACEOF
90101 cat confdefs.h >>conftest.$ac_ext
90102 cat >>conftest.$ac_ext <<_ACEOF
90103 /* end confdefs.h. */
90104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90106 #define $ac_func innocuous_$ac_func
90108 /* System header to define __stub macros and hopefully few prototypes,
90109 which can conflict with char $ac_func (); below.
90110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90111 <limits.h> exists even on freestanding compilers. */
90113 #ifdef __STDC__
90114 # include <limits.h>
90115 #else
90116 # include <assert.h>
90117 #endif
90119 #undef $ac_func
90121 /* Override any gcc2 internal prototype to avoid an error. */
90122 #ifdef __cplusplus
90123 extern "C"
90125 #endif
90126 /* We use char because int might match the return type of a gcc2
90127 builtin and then its argument prototype would still apply. */
90128 char $ac_func ();
90129 /* The GNU C library defines this for functions which it implements
90130 to always fail with ENOSYS. Some functions are actually named
90131 something starting with __ and the normal name is an alias. */
90132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90133 choke me
90134 #else
90135 char (*f) () = $ac_func;
90136 #endif
90137 #ifdef __cplusplus
90139 #endif
90142 main ()
90144 return f != $ac_func;
90146 return 0;
90148 _ACEOF
90149 rm -f conftest.$ac_objext conftest$ac_exeext
90150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90151 (eval $ac_link) 2>conftest.er1
90152 ac_status=$?
90153 grep -v '^ *+' conftest.er1 >conftest.err
90154 rm -f conftest.er1
90155 cat conftest.err >&5
90156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90157 (exit $ac_status); } &&
90158 { ac_try='test -z "$ac_c_werror_flag"
90159 || test ! -s conftest.err'
90160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90161 (eval $ac_try) 2>&5
90162 ac_status=$?
90163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90164 (exit $ac_status); }; } &&
90165 { ac_try='test -s conftest$ac_exeext'
90166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90167 (eval $ac_try) 2>&5
90168 ac_status=$?
90169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90170 (exit $ac_status); }; }; then
90171 eval "$as_ac_var=yes"
90172 else
90173 echo "$as_me: failed program was:" >&5
90174 sed 's/^/| /' conftest.$ac_ext >&5
90176 eval "$as_ac_var=no"
90178 rm -f conftest.err conftest.$ac_objext \
90179 conftest$ac_exeext conftest.$ac_ext
90181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90183 if test `eval echo '${'$as_ac_var'}'` = yes; then
90184 cat >>confdefs.h <<_ACEOF
90185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90186 _ACEOF
90188 else
90189 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90191 done
90195 for ac_func in __signbit
90197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90198 echo "$as_me:$LINENO: checking for $ac_func" >&5
90199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90200 if eval "test \"\${$as_ac_var+set}\" = set"; then
90201 echo $ECHO_N "(cached) $ECHO_C" >&6
90202 else
90203 if test x$gcc_no_link = xyes; then
90204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90206 { (exit 1); exit 1; }; }
90208 cat >conftest.$ac_ext <<_ACEOF
90209 /* confdefs.h. */
90210 _ACEOF
90211 cat confdefs.h >>conftest.$ac_ext
90212 cat >>conftest.$ac_ext <<_ACEOF
90213 /* end confdefs.h. */
90214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90216 #define $ac_func innocuous_$ac_func
90218 /* System header to define __stub macros and hopefully few prototypes,
90219 which can conflict with char $ac_func (); below.
90220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90221 <limits.h> exists even on freestanding compilers. */
90223 #ifdef __STDC__
90224 # include <limits.h>
90225 #else
90226 # include <assert.h>
90227 #endif
90229 #undef $ac_func
90231 /* Override any gcc2 internal prototype to avoid an error. */
90232 #ifdef __cplusplus
90233 extern "C"
90235 #endif
90236 /* We use char because int might match the return type of a gcc2
90237 builtin and then its argument prototype would still apply. */
90238 char $ac_func ();
90239 /* The GNU C library defines this for functions which it implements
90240 to always fail with ENOSYS. Some functions are actually named
90241 something starting with __ and the normal name is an alias. */
90242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90243 choke me
90244 #else
90245 char (*f) () = $ac_func;
90246 #endif
90247 #ifdef __cplusplus
90249 #endif
90252 main ()
90254 return f != $ac_func;
90256 return 0;
90258 _ACEOF
90259 rm -f conftest.$ac_objext conftest$ac_exeext
90260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90261 (eval $ac_link) 2>conftest.er1
90262 ac_status=$?
90263 grep -v '^ *+' conftest.er1 >conftest.err
90264 rm -f conftest.er1
90265 cat conftest.err >&5
90266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90267 (exit $ac_status); } &&
90268 { ac_try='test -z "$ac_c_werror_flag"
90269 || test ! -s conftest.err'
90270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90271 (eval $ac_try) 2>&5
90272 ac_status=$?
90273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90274 (exit $ac_status); }; } &&
90275 { ac_try='test -s conftest$ac_exeext'
90276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90277 (eval $ac_try) 2>&5
90278 ac_status=$?
90279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90280 (exit $ac_status); }; }; then
90281 eval "$as_ac_var=yes"
90282 else
90283 echo "$as_me: failed program was:" >&5
90284 sed 's/^/| /' conftest.$ac_ext >&5
90286 eval "$as_ac_var=no"
90288 rm -f conftest.err conftest.$ac_objext \
90289 conftest$ac_exeext conftest.$ac_ext
90291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90293 if test `eval echo '${'$as_ac_var'}'` = yes; then
90294 cat >>confdefs.h <<_ACEOF
90295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90296 _ACEOF
90298 else
90299 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90301 done
90305 for ac_func in __signbitf
90307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90308 echo "$as_me:$LINENO: checking for $ac_func" >&5
90309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90310 if eval "test \"\${$as_ac_var+set}\" = set"; then
90311 echo $ECHO_N "(cached) $ECHO_C" >&6
90312 else
90313 if test x$gcc_no_link = xyes; then
90314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90316 { (exit 1); exit 1; }; }
90318 cat >conftest.$ac_ext <<_ACEOF
90319 /* confdefs.h. */
90320 _ACEOF
90321 cat confdefs.h >>conftest.$ac_ext
90322 cat >>conftest.$ac_ext <<_ACEOF
90323 /* end confdefs.h. */
90324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90326 #define $ac_func innocuous_$ac_func
90328 /* System header to define __stub macros and hopefully few prototypes,
90329 which can conflict with char $ac_func (); below.
90330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90331 <limits.h> exists even on freestanding compilers. */
90333 #ifdef __STDC__
90334 # include <limits.h>
90335 #else
90336 # include <assert.h>
90337 #endif
90339 #undef $ac_func
90341 /* Override any gcc2 internal prototype to avoid an error. */
90342 #ifdef __cplusplus
90343 extern "C"
90345 #endif
90346 /* We use char because int might match the return type of a gcc2
90347 builtin and then its argument prototype would still apply. */
90348 char $ac_func ();
90349 /* The GNU C library defines this for functions which it implements
90350 to always fail with ENOSYS. Some functions are actually named
90351 something starting with __ and the normal name is an alias. */
90352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90353 choke me
90354 #else
90355 char (*f) () = $ac_func;
90356 #endif
90357 #ifdef __cplusplus
90359 #endif
90362 main ()
90364 return f != $ac_func;
90366 return 0;
90368 _ACEOF
90369 rm -f conftest.$ac_objext conftest$ac_exeext
90370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90371 (eval $ac_link) 2>conftest.er1
90372 ac_status=$?
90373 grep -v '^ *+' conftest.er1 >conftest.err
90374 rm -f conftest.er1
90375 cat conftest.err >&5
90376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90377 (exit $ac_status); } &&
90378 { ac_try='test -z "$ac_c_werror_flag"
90379 || test ! -s conftest.err'
90380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381 (eval $ac_try) 2>&5
90382 ac_status=$?
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); }; } &&
90385 { ac_try='test -s conftest$ac_exeext'
90386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90387 (eval $ac_try) 2>&5
90388 ac_status=$?
90389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90390 (exit $ac_status); }; }; then
90391 eval "$as_ac_var=yes"
90392 else
90393 echo "$as_me: failed program was:" >&5
90394 sed 's/^/| /' conftest.$ac_ext >&5
90396 eval "$as_ac_var=no"
90398 rm -f conftest.err conftest.$ac_objext \
90399 conftest$ac_exeext conftest.$ac_ext
90401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90403 if test `eval echo '${'$as_ac_var'}'` = yes; then
90404 cat >>confdefs.h <<_ACEOF
90405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90406 _ACEOF
90408 else
90409 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90411 done
90414 if test x$ac_cv_func_copysignl = x"yes"; then
90416 for ac_func in __signbitl
90418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90419 echo "$as_me:$LINENO: checking for $ac_func" >&5
90420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90421 if eval "test \"\${$as_ac_var+set}\" = set"; then
90422 echo $ECHO_N "(cached) $ECHO_C" >&6
90423 else
90424 if test x$gcc_no_link = xyes; then
90425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90427 { (exit 1); exit 1; }; }
90429 cat >conftest.$ac_ext <<_ACEOF
90430 /* confdefs.h. */
90431 _ACEOF
90432 cat confdefs.h >>conftest.$ac_ext
90433 cat >>conftest.$ac_ext <<_ACEOF
90434 /* end confdefs.h. */
90435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90437 #define $ac_func innocuous_$ac_func
90439 /* System header to define __stub macros and hopefully few prototypes,
90440 which can conflict with char $ac_func (); below.
90441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90442 <limits.h> exists even on freestanding compilers. */
90444 #ifdef __STDC__
90445 # include <limits.h>
90446 #else
90447 # include <assert.h>
90448 #endif
90450 #undef $ac_func
90452 /* Override any gcc2 internal prototype to avoid an error. */
90453 #ifdef __cplusplus
90454 extern "C"
90456 #endif
90457 /* We use char because int might match the return type of a gcc2
90458 builtin and then its argument prototype would still apply. */
90459 char $ac_func ();
90460 /* The GNU C library defines this for functions which it implements
90461 to always fail with ENOSYS. Some functions are actually named
90462 something starting with __ and the normal name is an alias. */
90463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90464 choke me
90465 #else
90466 char (*f) () = $ac_func;
90467 #endif
90468 #ifdef __cplusplus
90470 #endif
90473 main ()
90475 return f != $ac_func;
90477 return 0;
90479 _ACEOF
90480 rm -f conftest.$ac_objext conftest$ac_exeext
90481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90482 (eval $ac_link) 2>conftest.er1
90483 ac_status=$?
90484 grep -v '^ *+' conftest.er1 >conftest.err
90485 rm -f conftest.er1
90486 cat conftest.err >&5
90487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90488 (exit $ac_status); } &&
90489 { ac_try='test -z "$ac_c_werror_flag"
90490 || test ! -s conftest.err'
90491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90492 (eval $ac_try) 2>&5
90493 ac_status=$?
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); }; } &&
90496 { ac_try='test -s conftest$ac_exeext'
90497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90498 (eval $ac_try) 2>&5
90499 ac_status=$?
90500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90501 (exit $ac_status); }; }; then
90502 eval "$as_ac_var=yes"
90503 else
90504 echo "$as_me: failed program was:" >&5
90505 sed 's/^/| /' conftest.$ac_ext >&5
90507 eval "$as_ac_var=no"
90509 rm -f conftest.err conftest.$ac_objext \
90510 conftest$ac_exeext conftest.$ac_ext
90512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90514 if test `eval echo '${'$as_ac_var'}'` = yes; then
90515 cat >>confdefs.h <<_ACEOF
90516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90517 _ACEOF
90519 else
90520 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90522 done
90526 # Used in libmath/Makefile.am.
90527 if test -n "$LIBMATHOBJS"; then
90528 need_libmath=yes
90533 # Test wchar.h for mbstate_t, which is needed for char_traits and
90534 # others even if wchar_t support is not on.
90535 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90536 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90537 cat >conftest.$ac_ext <<_ACEOF
90538 /* confdefs.h. */
90539 _ACEOF
90540 cat confdefs.h >>conftest.$ac_ext
90541 cat >>conftest.$ac_ext <<_ACEOF
90542 /* end confdefs.h. */
90543 #include <wchar.h>
90545 main ()
90547 mbstate_t teststate;
90549 return 0;
90551 _ACEOF
90552 rm -f conftest.$ac_objext
90553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90554 (eval $ac_compile) 2>conftest.er1
90555 ac_status=$?
90556 grep -v '^ *+' conftest.er1 >conftest.err
90557 rm -f conftest.er1
90558 cat conftest.err >&5
90559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90560 (exit $ac_status); } &&
90561 { ac_try='test -z "$ac_c_werror_flag"
90562 || test ! -s conftest.err'
90563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90564 (eval $ac_try) 2>&5
90565 ac_status=$?
90566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90567 (exit $ac_status); }; } &&
90568 { ac_try='test -s conftest.$ac_objext'
90569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90570 (eval $ac_try) 2>&5
90571 ac_status=$?
90572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90573 (exit $ac_status); }; }; then
90574 have_mbstate_t=yes
90575 else
90576 echo "$as_me: failed program was:" >&5
90577 sed 's/^/| /' conftest.$ac_ext >&5
90579 have_mbstate_t=no
90581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90582 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90583 echo "${ECHO_T}$have_mbstate_t" >&6
90584 if test x"$have_mbstate_t" = xyes; then
90585 cat >>confdefs.h <<\_ACEOF
90586 #define HAVE_MBSTATE_T 1
90587 _ACEOF
90591 # Sanity check for existence of ISO C99 headers for extended encoding.
90593 for ac_header in wchar.h
90595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90597 echo "$as_me:$LINENO: checking for $ac_header" >&5
90598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90600 echo $ECHO_N "(cached) $ECHO_C" >&6
90602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90604 else
90605 # Is the header compilable?
90606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90608 cat >conftest.$ac_ext <<_ACEOF
90609 /* confdefs.h. */
90610 _ACEOF
90611 cat confdefs.h >>conftest.$ac_ext
90612 cat >>conftest.$ac_ext <<_ACEOF
90613 /* end confdefs.h. */
90614 $ac_includes_default
90615 #include <$ac_header>
90616 _ACEOF
90617 rm -f conftest.$ac_objext
90618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90619 (eval $ac_compile) 2>conftest.er1
90620 ac_status=$?
90621 grep -v '^ *+' conftest.er1 >conftest.err
90622 rm -f conftest.er1
90623 cat conftest.err >&5
90624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90625 (exit $ac_status); } &&
90626 { ac_try='test -z "$ac_c_werror_flag"
90627 || test ! -s conftest.err'
90628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90629 (eval $ac_try) 2>&5
90630 ac_status=$?
90631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90632 (exit $ac_status); }; } &&
90633 { ac_try='test -s conftest.$ac_objext'
90634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90635 (eval $ac_try) 2>&5
90636 ac_status=$?
90637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90638 (exit $ac_status); }; }; then
90639 ac_header_compiler=yes
90640 else
90641 echo "$as_me: failed program was:" >&5
90642 sed 's/^/| /' conftest.$ac_ext >&5
90644 ac_header_compiler=no
90646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90648 echo "${ECHO_T}$ac_header_compiler" >&6
90650 # Is the header present?
90651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90653 cat >conftest.$ac_ext <<_ACEOF
90654 /* confdefs.h. */
90655 _ACEOF
90656 cat confdefs.h >>conftest.$ac_ext
90657 cat >>conftest.$ac_ext <<_ACEOF
90658 /* end confdefs.h. */
90659 #include <$ac_header>
90660 _ACEOF
90661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90663 ac_status=$?
90664 grep -v '^ *+' conftest.er1 >conftest.err
90665 rm -f conftest.er1
90666 cat conftest.err >&5
90667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90668 (exit $ac_status); } >/dev/null; then
90669 if test -s conftest.err; then
90670 ac_cpp_err=$ac_c_preproc_warn_flag
90671 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90672 else
90673 ac_cpp_err=
90675 else
90676 ac_cpp_err=yes
90678 if test -z "$ac_cpp_err"; then
90679 ac_header_preproc=yes
90680 else
90681 echo "$as_me: failed program was:" >&5
90682 sed 's/^/| /' conftest.$ac_ext >&5
90684 ac_header_preproc=no
90686 rm -f conftest.err conftest.$ac_ext
90687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90688 echo "${ECHO_T}$ac_header_preproc" >&6
90690 # So? What about this header?
90691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90692 yes:no: )
90693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90697 ac_header_preproc=yes
90699 no:yes:* )
90700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90713 cat <<\_ASBOX
90714 ## ----------------------------------------- ##
90715 ## Report this to the package-unused lists. ##
90716 ## ----------------------------------------- ##
90717 _ASBOX
90719 sed "s/^/$as_me: WARNING: /" >&2
90721 esac
90722 echo "$as_me:$LINENO: checking for $ac_header" >&5
90723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90725 echo $ECHO_N "(cached) $ECHO_C" >&6
90726 else
90727 eval "$as_ac_Header=\$ac_header_preproc"
90729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90734 cat >>confdefs.h <<_ACEOF
90735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90736 _ACEOF
90737 ac_has_wchar_h=yes
90738 else
90739 ac_has_wchar_h=no
90742 done
90745 for ac_header in wctype.h
90747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90749 echo "$as_me:$LINENO: checking for $ac_header" >&5
90750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90752 echo $ECHO_N "(cached) $ECHO_C" >&6
90754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90756 else
90757 # Is the header compilable?
90758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90760 cat >conftest.$ac_ext <<_ACEOF
90761 /* confdefs.h. */
90762 _ACEOF
90763 cat confdefs.h >>conftest.$ac_ext
90764 cat >>conftest.$ac_ext <<_ACEOF
90765 /* end confdefs.h. */
90766 $ac_includes_default
90767 #include <$ac_header>
90768 _ACEOF
90769 rm -f conftest.$ac_objext
90770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90771 (eval $ac_compile) 2>conftest.er1
90772 ac_status=$?
90773 grep -v '^ *+' conftest.er1 >conftest.err
90774 rm -f conftest.er1
90775 cat conftest.err >&5
90776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90777 (exit $ac_status); } &&
90778 { ac_try='test -z "$ac_c_werror_flag"
90779 || test ! -s conftest.err'
90780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90781 (eval $ac_try) 2>&5
90782 ac_status=$?
90783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90784 (exit $ac_status); }; } &&
90785 { ac_try='test -s conftest.$ac_objext'
90786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90787 (eval $ac_try) 2>&5
90788 ac_status=$?
90789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90790 (exit $ac_status); }; }; then
90791 ac_header_compiler=yes
90792 else
90793 echo "$as_me: failed program was:" >&5
90794 sed 's/^/| /' conftest.$ac_ext >&5
90796 ac_header_compiler=no
90798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90800 echo "${ECHO_T}$ac_header_compiler" >&6
90802 # Is the header present?
90803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90805 cat >conftest.$ac_ext <<_ACEOF
90806 /* confdefs.h. */
90807 _ACEOF
90808 cat confdefs.h >>conftest.$ac_ext
90809 cat >>conftest.$ac_ext <<_ACEOF
90810 /* end confdefs.h. */
90811 #include <$ac_header>
90812 _ACEOF
90813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90815 ac_status=$?
90816 grep -v '^ *+' conftest.er1 >conftest.err
90817 rm -f conftest.er1
90818 cat conftest.err >&5
90819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90820 (exit $ac_status); } >/dev/null; then
90821 if test -s conftest.err; then
90822 ac_cpp_err=$ac_c_preproc_warn_flag
90823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90824 else
90825 ac_cpp_err=
90827 else
90828 ac_cpp_err=yes
90830 if test -z "$ac_cpp_err"; then
90831 ac_header_preproc=yes
90832 else
90833 echo "$as_me: failed program was:" >&5
90834 sed 's/^/| /' conftest.$ac_ext >&5
90836 ac_header_preproc=no
90838 rm -f conftest.err conftest.$ac_ext
90839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90840 echo "${ECHO_T}$ac_header_preproc" >&6
90842 # So? What about this header?
90843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90844 yes:no: )
90845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90849 ac_header_preproc=yes
90851 no:yes:* )
90852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90865 cat <<\_ASBOX
90866 ## ----------------------------------------- ##
90867 ## Report this to the package-unused lists. ##
90868 ## ----------------------------------------- ##
90869 _ASBOX
90871 sed "s/^/$as_me: WARNING: /" >&2
90873 esac
90874 echo "$as_me:$LINENO: checking for $ac_header" >&5
90875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90877 echo $ECHO_N "(cached) $ECHO_C" >&6
90878 else
90879 eval "$as_ac_Header=\$ac_header_preproc"
90881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90886 cat >>confdefs.h <<_ACEOF
90887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90888 _ACEOF
90889 ac_has_wctype_h=yes
90890 else
90891 ac_has_wctype_h=no
90894 done
90897 # Only continue checking if the ISO C99 headers exist and support is on.
90898 if test x"$ac_has_wchar_h" = xyes &&
90899 test x"$ac_has_wctype_h" = xyes &&
90900 test x"$enable_c_mbchar" != xno; then
90902 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90903 # numeric_limits can instantiate type_traits<wchar_t>
90904 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90905 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90906 cat >conftest.$ac_ext <<_ACEOF
90907 /* confdefs.h. */
90908 _ACEOF
90909 cat confdefs.h >>conftest.$ac_ext
90910 cat >>conftest.$ac_ext <<_ACEOF
90911 /* end confdefs.h. */
90912 #include <wchar.h>
90914 main ()
90916 int i = WCHAR_MIN; int j = WCHAR_MAX;
90918 return 0;
90920 _ACEOF
90921 rm -f conftest.$ac_objext
90922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90923 (eval $ac_compile) 2>conftest.er1
90924 ac_status=$?
90925 grep -v '^ *+' conftest.er1 >conftest.err
90926 rm -f conftest.er1
90927 cat conftest.err >&5
90928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90929 (exit $ac_status); } &&
90930 { ac_try='test -z "$ac_c_werror_flag"
90931 || test ! -s conftest.err'
90932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90933 (eval $ac_try) 2>&5
90934 ac_status=$?
90935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936 (exit $ac_status); }; } &&
90937 { ac_try='test -s conftest.$ac_objext'
90938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90939 (eval $ac_try) 2>&5
90940 ac_status=$?
90941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90942 (exit $ac_status); }; }; then
90943 has_wchar_minmax=yes
90944 else
90945 echo "$as_me: failed program was:" >&5
90946 sed 's/^/| /' conftest.$ac_ext >&5
90948 has_wchar_minmax=no
90950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90951 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90952 echo "${ECHO_T}$has_wchar_minmax" >&6
90954 # Test wchar.h for WEOF, which is what we use to determine whether
90955 # to specialize for char_traits<wchar_t> or not.
90956 echo "$as_me:$LINENO: checking for WEOF" >&5
90957 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90958 cat >conftest.$ac_ext <<_ACEOF
90959 /* confdefs.h. */
90960 _ACEOF
90961 cat confdefs.h >>conftest.$ac_ext
90962 cat >>conftest.$ac_ext <<_ACEOF
90963 /* end confdefs.h. */
90965 #include <wchar.h>
90966 #include <stddef.h>
90968 main ()
90970 wint_t i = WEOF;
90972 return 0;
90974 _ACEOF
90975 rm -f conftest.$ac_objext
90976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90977 (eval $ac_compile) 2>conftest.er1
90978 ac_status=$?
90979 grep -v '^ *+' conftest.er1 >conftest.err
90980 rm -f conftest.er1
90981 cat conftest.err >&5
90982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90983 (exit $ac_status); } &&
90984 { ac_try='test -z "$ac_c_werror_flag"
90985 || test ! -s conftest.err'
90986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90987 (eval $ac_try) 2>&5
90988 ac_status=$?
90989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90990 (exit $ac_status); }; } &&
90991 { ac_try='test -s conftest.$ac_objext'
90992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90993 (eval $ac_try) 2>&5
90994 ac_status=$?
90995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90996 (exit $ac_status); }; }; then
90997 has_weof=yes
90998 else
90999 echo "$as_me: failed program was:" >&5
91000 sed 's/^/| /' conftest.$ac_ext >&5
91002 has_weof=no
91004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91005 echo "$as_me:$LINENO: result: $has_weof" >&5
91006 echo "${ECHO_T}$has_weof" >&6
91008 # Tests for wide character functions used in char_traits<wchar_t>.
91009 ac_wfuncs=yes
91016 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91019 echo "$as_me:$LINENO: checking for $ac_func" >&5
91020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91021 if eval "test \"\${$as_ac_var+set}\" = set"; then
91022 echo $ECHO_N "(cached) $ECHO_C" >&6
91023 else
91024 if test x$gcc_no_link = xyes; then
91025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91027 { (exit 1); exit 1; }; }
91029 cat >conftest.$ac_ext <<_ACEOF
91030 /* confdefs.h. */
91031 _ACEOF
91032 cat confdefs.h >>conftest.$ac_ext
91033 cat >>conftest.$ac_ext <<_ACEOF
91034 /* end confdefs.h. */
91035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91037 #define $ac_func innocuous_$ac_func
91039 /* System header to define __stub macros and hopefully few prototypes,
91040 which can conflict with char $ac_func (); below.
91041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91042 <limits.h> exists even on freestanding compilers. */
91044 #ifdef __STDC__
91045 # include <limits.h>
91046 #else
91047 # include <assert.h>
91048 #endif
91050 #undef $ac_func
91052 /* Override any gcc2 internal prototype to avoid an error. */
91053 #ifdef __cplusplus
91054 extern "C"
91056 #endif
91057 /* We use char because int might match the return type of a gcc2
91058 builtin and then its argument prototype would still apply. */
91059 char $ac_func ();
91060 /* The GNU C library defines this for functions which it implements
91061 to always fail with ENOSYS. Some functions are actually named
91062 something starting with __ and the normal name is an alias. */
91063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91064 choke me
91065 #else
91066 char (*f) () = $ac_func;
91067 #endif
91068 #ifdef __cplusplus
91070 #endif
91073 main ()
91075 return f != $ac_func;
91077 return 0;
91079 _ACEOF
91080 rm -f conftest.$ac_objext conftest$ac_exeext
91081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91082 (eval $ac_link) 2>conftest.er1
91083 ac_status=$?
91084 grep -v '^ *+' conftest.er1 >conftest.err
91085 rm -f conftest.er1
91086 cat conftest.err >&5
91087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91088 (exit $ac_status); } &&
91089 { ac_try='test -z "$ac_c_werror_flag"
91090 || test ! -s conftest.err'
91091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91092 (eval $ac_try) 2>&5
91093 ac_status=$?
91094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91095 (exit $ac_status); }; } &&
91096 { ac_try='test -s conftest$ac_exeext'
91097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91098 (eval $ac_try) 2>&5
91099 ac_status=$?
91100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91101 (exit $ac_status); }; }; then
91102 eval "$as_ac_var=yes"
91103 else
91104 echo "$as_me: failed program was:" >&5
91105 sed 's/^/| /' conftest.$ac_ext >&5
91107 eval "$as_ac_var=no"
91109 rm -f conftest.err conftest.$ac_objext \
91110 conftest$ac_exeext conftest.$ac_ext
91112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91114 if test `eval echo '${'$as_ac_var'}'` = yes; then
91115 cat >>confdefs.h <<_ACEOF
91116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91117 _ACEOF
91119 else
91120 ac_wfuncs=no
91122 done
91125 # Checks for names injected into std:: by the c_std headers.
91172 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91173 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91174 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91175 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91176 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91177 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91180 echo "$as_me:$LINENO: checking for $ac_func" >&5
91181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91182 if eval "test \"\${$as_ac_var+set}\" = set"; then
91183 echo $ECHO_N "(cached) $ECHO_C" >&6
91184 else
91185 if test x$gcc_no_link = xyes; then
91186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91188 { (exit 1); exit 1; }; }
91190 cat >conftest.$ac_ext <<_ACEOF
91191 /* confdefs.h. */
91192 _ACEOF
91193 cat confdefs.h >>conftest.$ac_ext
91194 cat >>conftest.$ac_ext <<_ACEOF
91195 /* end confdefs.h. */
91196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91198 #define $ac_func innocuous_$ac_func
91200 /* System header to define __stub macros and hopefully few prototypes,
91201 which can conflict with char $ac_func (); below.
91202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91203 <limits.h> exists even on freestanding compilers. */
91205 #ifdef __STDC__
91206 # include <limits.h>
91207 #else
91208 # include <assert.h>
91209 #endif
91211 #undef $ac_func
91213 /* Override any gcc2 internal prototype to avoid an error. */
91214 #ifdef __cplusplus
91215 extern "C"
91217 #endif
91218 /* We use char because int might match the return type of a gcc2
91219 builtin and then its argument prototype would still apply. */
91220 char $ac_func ();
91221 /* The GNU C library defines this for functions which it implements
91222 to always fail with ENOSYS. Some functions are actually named
91223 something starting with __ and the normal name is an alias. */
91224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91225 choke me
91226 #else
91227 char (*f) () = $ac_func;
91228 #endif
91229 #ifdef __cplusplus
91231 #endif
91234 main ()
91236 return f != $ac_func;
91238 return 0;
91240 _ACEOF
91241 rm -f conftest.$ac_objext conftest$ac_exeext
91242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91243 (eval $ac_link) 2>conftest.er1
91244 ac_status=$?
91245 grep -v '^ *+' conftest.er1 >conftest.err
91246 rm -f conftest.er1
91247 cat conftest.err >&5
91248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91249 (exit $ac_status); } &&
91250 { ac_try='test -z "$ac_c_werror_flag"
91251 || test ! -s conftest.err'
91252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91253 (eval $ac_try) 2>&5
91254 ac_status=$?
91255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91256 (exit $ac_status); }; } &&
91257 { ac_try='test -s conftest$ac_exeext'
91258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91259 (eval $ac_try) 2>&5
91260 ac_status=$?
91261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91262 (exit $ac_status); }; }; then
91263 eval "$as_ac_var=yes"
91264 else
91265 echo "$as_me: failed program was:" >&5
91266 sed 's/^/| /' conftest.$ac_ext >&5
91268 eval "$as_ac_var=no"
91270 rm -f conftest.err conftest.$ac_objext \
91271 conftest$ac_exeext conftest.$ac_ext
91273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91275 if test `eval echo '${'$as_ac_var'}'` = yes; then
91276 cat >>confdefs.h <<_ACEOF
91277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91278 _ACEOF
91280 else
91281 ac_wfuncs=no
91283 done
91286 # Checks for wide character functions that are not required
91287 # for basic wchar_t support. Don't disable support if they are missing.
91288 # Injection of these is wrapped with guard macros.
91294 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91297 echo "$as_me:$LINENO: checking for $ac_func" >&5
91298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91299 if eval "test \"\${$as_ac_var+set}\" = set"; then
91300 echo $ECHO_N "(cached) $ECHO_C" >&6
91301 else
91302 if test x$gcc_no_link = xyes; then
91303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91305 { (exit 1); exit 1; }; }
91307 cat >conftest.$ac_ext <<_ACEOF
91308 /* confdefs.h. */
91309 _ACEOF
91310 cat confdefs.h >>conftest.$ac_ext
91311 cat >>conftest.$ac_ext <<_ACEOF
91312 /* end confdefs.h. */
91313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91315 #define $ac_func innocuous_$ac_func
91317 /* System header to define __stub macros and hopefully few prototypes,
91318 which can conflict with char $ac_func (); below.
91319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91320 <limits.h> exists even on freestanding compilers. */
91322 #ifdef __STDC__
91323 # include <limits.h>
91324 #else
91325 # include <assert.h>
91326 #endif
91328 #undef $ac_func
91330 /* Override any gcc2 internal prototype to avoid an error. */
91331 #ifdef __cplusplus
91332 extern "C"
91334 #endif
91335 /* We use char because int might match the return type of a gcc2
91336 builtin and then its argument prototype would still apply. */
91337 char $ac_func ();
91338 /* The GNU C library defines this for functions which it implements
91339 to always fail with ENOSYS. Some functions are actually named
91340 something starting with __ and the normal name is an alias. */
91341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91342 choke me
91343 #else
91344 char (*f) () = $ac_func;
91345 #endif
91346 #ifdef __cplusplus
91348 #endif
91351 main ()
91353 return f != $ac_func;
91355 return 0;
91357 _ACEOF
91358 rm -f conftest.$ac_objext conftest$ac_exeext
91359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91360 (eval $ac_link) 2>conftest.er1
91361 ac_status=$?
91362 grep -v '^ *+' conftest.er1 >conftest.err
91363 rm -f conftest.er1
91364 cat conftest.err >&5
91365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91366 (exit $ac_status); } &&
91367 { ac_try='test -z "$ac_c_werror_flag"
91368 || test ! -s conftest.err'
91369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91370 (eval $ac_try) 2>&5
91371 ac_status=$?
91372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91373 (exit $ac_status); }; } &&
91374 { ac_try='test -s conftest$ac_exeext'
91375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91376 (eval $ac_try) 2>&5
91377 ac_status=$?
91378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91379 (exit $ac_status); }; }; then
91380 eval "$as_ac_var=yes"
91381 else
91382 echo "$as_me: failed program was:" >&5
91383 sed 's/^/| /' conftest.$ac_ext >&5
91385 eval "$as_ac_var=no"
91387 rm -f conftest.err conftest.$ac_objext \
91388 conftest$ac_exeext conftest.$ac_ext
91390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91392 if test `eval echo '${'$as_ac_var'}'` = yes; then
91393 cat >>confdefs.h <<_ACEOF
91394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91395 _ACEOF
91398 done
91401 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91402 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91403 if test x"$has_weof" = xyes &&
91404 test x"$has_wchar_minmax" = xyes &&
91405 test x"$ac_wfuncs" = xyes;
91406 then
91407 ac_isoC99_wchar_t=yes
91408 else
91409 ac_isoC99_wchar_t=no
91411 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91412 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91414 # Use iconv for wchar_t to char conversions. As such, check for
91415 # X/Open Portability Guide, version 2 features (XPG2).
91416 if test "${ac_cv_header_iconv_h+set}" = set; then
91417 echo "$as_me:$LINENO: checking for iconv.h" >&5
91418 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91419 if test "${ac_cv_header_iconv_h+set}" = set; then
91420 echo $ECHO_N "(cached) $ECHO_C" >&6
91422 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91423 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91424 else
91425 # Is the header compilable?
91426 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91427 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91428 cat >conftest.$ac_ext <<_ACEOF
91429 /* confdefs.h. */
91430 _ACEOF
91431 cat confdefs.h >>conftest.$ac_ext
91432 cat >>conftest.$ac_ext <<_ACEOF
91433 /* end confdefs.h. */
91434 $ac_includes_default
91435 #include <iconv.h>
91436 _ACEOF
91437 rm -f conftest.$ac_objext
91438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91439 (eval $ac_compile) 2>conftest.er1
91440 ac_status=$?
91441 grep -v '^ *+' conftest.er1 >conftest.err
91442 rm -f conftest.er1
91443 cat conftest.err >&5
91444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91445 (exit $ac_status); } &&
91446 { ac_try='test -z "$ac_c_werror_flag"
91447 || test ! -s conftest.err'
91448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91449 (eval $ac_try) 2>&5
91450 ac_status=$?
91451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91452 (exit $ac_status); }; } &&
91453 { ac_try='test -s conftest.$ac_objext'
91454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91455 (eval $ac_try) 2>&5
91456 ac_status=$?
91457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91458 (exit $ac_status); }; }; then
91459 ac_header_compiler=yes
91460 else
91461 echo "$as_me: failed program was:" >&5
91462 sed 's/^/| /' conftest.$ac_ext >&5
91464 ac_header_compiler=no
91466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91468 echo "${ECHO_T}$ac_header_compiler" >&6
91470 # Is the header present?
91471 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91472 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91473 cat >conftest.$ac_ext <<_ACEOF
91474 /* confdefs.h. */
91475 _ACEOF
91476 cat confdefs.h >>conftest.$ac_ext
91477 cat >>conftest.$ac_ext <<_ACEOF
91478 /* end confdefs.h. */
91479 #include <iconv.h>
91480 _ACEOF
91481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91483 ac_status=$?
91484 grep -v '^ *+' conftest.er1 >conftest.err
91485 rm -f conftest.er1
91486 cat conftest.err >&5
91487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91488 (exit $ac_status); } >/dev/null; then
91489 if test -s conftest.err; then
91490 ac_cpp_err=$ac_c_preproc_warn_flag
91491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91492 else
91493 ac_cpp_err=
91495 else
91496 ac_cpp_err=yes
91498 if test -z "$ac_cpp_err"; then
91499 ac_header_preproc=yes
91500 else
91501 echo "$as_me: failed program was:" >&5
91502 sed 's/^/| /' conftest.$ac_ext >&5
91504 ac_header_preproc=no
91506 rm -f conftest.err conftest.$ac_ext
91507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91508 echo "${ECHO_T}$ac_header_preproc" >&6
91510 # So? What about this header?
91511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91512 yes:no: )
91513 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91514 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91515 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91516 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91517 ac_header_preproc=yes
91519 no:yes:* )
91520 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91521 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91522 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91523 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91524 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91525 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91526 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91527 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91528 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91529 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91530 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91531 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91533 cat <<\_ASBOX
91534 ## ----------------------------------------- ##
91535 ## Report this to the package-unused lists. ##
91536 ## ----------------------------------------- ##
91537 _ASBOX
91539 sed "s/^/$as_me: WARNING: /" >&2
91541 esac
91542 echo "$as_me:$LINENO: checking for iconv.h" >&5
91543 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91544 if test "${ac_cv_header_iconv_h+set}" = set; then
91545 echo $ECHO_N "(cached) $ECHO_C" >&6
91546 else
91547 ac_cv_header_iconv_h=$ac_header_preproc
91549 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91550 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91553 if test $ac_cv_header_iconv_h = yes; then
91554 ac_has_iconv_h=yes
91555 else
91556 ac_has_iconv_h=no
91560 if test "${ac_cv_header_langinfo_h+set}" = set; then
91561 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91562 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91563 if test "${ac_cv_header_langinfo_h+set}" = set; then
91564 echo $ECHO_N "(cached) $ECHO_C" >&6
91566 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91567 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91568 else
91569 # Is the header compilable?
91570 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91571 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91572 cat >conftest.$ac_ext <<_ACEOF
91573 /* confdefs.h. */
91574 _ACEOF
91575 cat confdefs.h >>conftest.$ac_ext
91576 cat >>conftest.$ac_ext <<_ACEOF
91577 /* end confdefs.h. */
91578 $ac_includes_default
91579 #include <langinfo.h>
91580 _ACEOF
91581 rm -f conftest.$ac_objext
91582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91583 (eval $ac_compile) 2>conftest.er1
91584 ac_status=$?
91585 grep -v '^ *+' conftest.er1 >conftest.err
91586 rm -f conftest.er1
91587 cat conftest.err >&5
91588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589 (exit $ac_status); } &&
91590 { ac_try='test -z "$ac_c_werror_flag"
91591 || test ! -s conftest.err'
91592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91593 (eval $ac_try) 2>&5
91594 ac_status=$?
91595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596 (exit $ac_status); }; } &&
91597 { ac_try='test -s conftest.$ac_objext'
91598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91599 (eval $ac_try) 2>&5
91600 ac_status=$?
91601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91602 (exit $ac_status); }; }; then
91603 ac_header_compiler=yes
91604 else
91605 echo "$as_me: failed program was:" >&5
91606 sed 's/^/| /' conftest.$ac_ext >&5
91608 ac_header_compiler=no
91610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91612 echo "${ECHO_T}$ac_header_compiler" >&6
91614 # Is the header present?
91615 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91616 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91617 cat >conftest.$ac_ext <<_ACEOF
91618 /* confdefs.h. */
91619 _ACEOF
91620 cat confdefs.h >>conftest.$ac_ext
91621 cat >>conftest.$ac_ext <<_ACEOF
91622 /* end confdefs.h. */
91623 #include <langinfo.h>
91624 _ACEOF
91625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91627 ac_status=$?
91628 grep -v '^ *+' conftest.er1 >conftest.err
91629 rm -f conftest.er1
91630 cat conftest.err >&5
91631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91632 (exit $ac_status); } >/dev/null; then
91633 if test -s conftest.err; then
91634 ac_cpp_err=$ac_c_preproc_warn_flag
91635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91636 else
91637 ac_cpp_err=
91639 else
91640 ac_cpp_err=yes
91642 if test -z "$ac_cpp_err"; then
91643 ac_header_preproc=yes
91644 else
91645 echo "$as_me: failed program was:" >&5
91646 sed 's/^/| /' conftest.$ac_ext >&5
91648 ac_header_preproc=no
91650 rm -f conftest.err conftest.$ac_ext
91651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91652 echo "${ECHO_T}$ac_header_preproc" >&6
91654 # So? What about this header?
91655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91656 yes:no: )
91657 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91658 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91659 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91660 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91661 ac_header_preproc=yes
91663 no:yes:* )
91664 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91665 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91666 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91667 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91668 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91669 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91670 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91671 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91672 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91673 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91674 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91675 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91677 cat <<\_ASBOX
91678 ## ----------------------------------------- ##
91679 ## Report this to the package-unused lists. ##
91680 ## ----------------------------------------- ##
91681 _ASBOX
91683 sed "s/^/$as_me: WARNING: /" >&2
91685 esac
91686 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91687 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91688 if test "${ac_cv_header_langinfo_h+set}" = set; then
91689 echo $ECHO_N "(cached) $ECHO_C" >&6
91690 else
91691 ac_cv_header_langinfo_h=$ac_header_preproc
91693 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91694 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91697 if test $ac_cv_header_langinfo_h = yes; then
91698 ac_has_langinfo_h=yes
91699 else
91700 ac_has_langinfo_h=no
91705 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91706 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91707 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91708 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91709 echo $ECHO_N "(cached) $ECHO_C" >&6
91710 else
91711 ac_check_lib_save_LIBS=$LIBS
91712 LIBS="-liconv $LIBS"
91713 if test x$gcc_no_link = xyes; then
91714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91716 { (exit 1); exit 1; }; }
91718 cat >conftest.$ac_ext <<_ACEOF
91719 /* confdefs.h. */
91720 _ACEOF
91721 cat confdefs.h >>conftest.$ac_ext
91722 cat >>conftest.$ac_ext <<_ACEOF
91723 /* end confdefs.h. */
91725 /* Override any gcc2 internal prototype to avoid an error. */
91726 #ifdef __cplusplus
91727 extern "C"
91728 #endif
91729 /* We use char because int might match the return type of a gcc2
91730 builtin and then its argument prototype would still apply. */
91731 char iconv ();
91733 main ()
91735 iconv ();
91737 return 0;
91739 _ACEOF
91740 rm -f conftest.$ac_objext conftest$ac_exeext
91741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91742 (eval $ac_link) 2>conftest.er1
91743 ac_status=$?
91744 grep -v '^ *+' conftest.er1 >conftest.err
91745 rm -f conftest.er1
91746 cat conftest.err >&5
91747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91748 (exit $ac_status); } &&
91749 { ac_try='test -z "$ac_c_werror_flag"
91750 || test ! -s conftest.err'
91751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91752 (eval $ac_try) 2>&5
91753 ac_status=$?
91754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91755 (exit $ac_status); }; } &&
91756 { ac_try='test -s conftest$ac_exeext'
91757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91758 (eval $ac_try) 2>&5
91759 ac_status=$?
91760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91761 (exit $ac_status); }; }; then
91762 ac_cv_lib_iconv_iconv=yes
91763 else
91764 echo "$as_me: failed program was:" >&5
91765 sed 's/^/| /' conftest.$ac_ext >&5
91767 ac_cv_lib_iconv_iconv=no
91769 rm -f conftest.err conftest.$ac_objext \
91770 conftest$ac_exeext conftest.$ac_ext
91771 LIBS=$ac_check_lib_save_LIBS
91773 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91774 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91775 if test $ac_cv_lib_iconv_iconv = yes; then
91776 LIBICONV="-liconv"
91779 ac_save_LIBS="$LIBS"
91780 LIBS="$LIBS $LIBICONV"
91787 for ac_func in iconv_open iconv_close iconv nl_langinfo
91789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91790 echo "$as_me:$LINENO: checking for $ac_func" >&5
91791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91792 if eval "test \"\${$as_ac_var+set}\" = set"; then
91793 echo $ECHO_N "(cached) $ECHO_C" >&6
91794 else
91795 if test x$gcc_no_link = xyes; then
91796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91798 { (exit 1); exit 1; }; }
91800 cat >conftest.$ac_ext <<_ACEOF
91801 /* confdefs.h. */
91802 _ACEOF
91803 cat confdefs.h >>conftest.$ac_ext
91804 cat >>conftest.$ac_ext <<_ACEOF
91805 /* end confdefs.h. */
91806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91808 #define $ac_func innocuous_$ac_func
91810 /* System header to define __stub macros and hopefully few prototypes,
91811 which can conflict with char $ac_func (); below.
91812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91813 <limits.h> exists even on freestanding compilers. */
91815 #ifdef __STDC__
91816 # include <limits.h>
91817 #else
91818 # include <assert.h>
91819 #endif
91821 #undef $ac_func
91823 /* Override any gcc2 internal prototype to avoid an error. */
91824 #ifdef __cplusplus
91825 extern "C"
91827 #endif
91828 /* We use char because int might match the return type of a gcc2
91829 builtin and then its argument prototype would still apply. */
91830 char $ac_func ();
91831 /* The GNU C library defines this for functions which it implements
91832 to always fail with ENOSYS. Some functions are actually named
91833 something starting with __ and the normal name is an alias. */
91834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91835 choke me
91836 #else
91837 char (*f) () = $ac_func;
91838 #endif
91839 #ifdef __cplusplus
91841 #endif
91844 main ()
91846 return f != $ac_func;
91848 return 0;
91850 _ACEOF
91851 rm -f conftest.$ac_objext conftest$ac_exeext
91852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91853 (eval $ac_link) 2>conftest.er1
91854 ac_status=$?
91855 grep -v '^ *+' conftest.er1 >conftest.err
91856 rm -f conftest.er1
91857 cat conftest.err >&5
91858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91859 (exit $ac_status); } &&
91860 { ac_try='test -z "$ac_c_werror_flag"
91861 || test ! -s conftest.err'
91862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91863 (eval $ac_try) 2>&5
91864 ac_status=$?
91865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866 (exit $ac_status); }; } &&
91867 { ac_try='test -s conftest$ac_exeext'
91868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91869 (eval $ac_try) 2>&5
91870 ac_status=$?
91871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91872 (exit $ac_status); }; }; then
91873 eval "$as_ac_var=yes"
91874 else
91875 echo "$as_me: failed program was:" >&5
91876 sed 's/^/| /' conftest.$ac_ext >&5
91878 eval "$as_ac_var=no"
91880 rm -f conftest.err conftest.$ac_objext \
91881 conftest$ac_exeext conftest.$ac_ext
91883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91885 if test `eval echo '${'$as_ac_var'}'` = yes; then
91886 cat >>confdefs.h <<_ACEOF
91887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91888 _ACEOF
91889 ac_XPG2funcs=yes
91890 else
91891 ac_XPG2funcs=no
91893 done
91896 LIBS="$ac_save_LIBS"
91898 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91899 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91900 if test x"$ac_has_iconv_h" = xyes &&
91901 test x"$ac_has_langinfo_h" = xyes &&
91902 test x"$ac_XPG2funcs" = xyes;
91903 then
91904 ac_XPG2_wchar_t=yes
91905 else
91906 ac_XPG2_wchar_t=no
91908 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91909 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91911 # At the moment, only enable wchar_t specializations if all the
91912 # above support is present.
91913 if test x"$ac_isoC99_wchar_t" = xyes &&
91914 test x"$ac_XPG2_wchar_t" = xyes;
91915 then
91916 cat >>confdefs.h <<\_ACEOF
91917 #define _GLIBCXX_USE_WCHAR_T 1
91918 _ACEOF
91920 enable_wchar_t=yes
91923 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91924 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91925 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91926 echo "${ECHO_T}$enable_wchar_t" >&6
91928 cat >>confdefs.h <<\_ACEOF
91929 #define HAVE_COSF 1
91930 _ACEOF
91932 cat >>confdefs.h <<\_ACEOF
91933 #define HAVE_COSL 1
91934 _ACEOF
91936 cat >>confdefs.h <<\_ACEOF
91937 #define HAVE_COSHF 1
91938 _ACEOF
91940 cat >>confdefs.h <<\_ACEOF
91941 #define HAVE_COSHL 1
91942 _ACEOF
91944 cat >>confdefs.h <<\_ACEOF
91945 #define HAVE_LOGF 1
91946 _ACEOF
91948 cat >>confdefs.h <<\_ACEOF
91949 #define HAVE_LOGL 1
91950 _ACEOF
91952 cat >>confdefs.h <<\_ACEOF
91953 #define HAVE_LOG10F 1
91954 _ACEOF
91956 cat >>confdefs.h <<\_ACEOF
91957 #define HAVE_LOG10L 1
91958 _ACEOF
91960 cat >>confdefs.h <<\_ACEOF
91961 #define HAVE_SINF 1
91962 _ACEOF
91964 cat >>confdefs.h <<\_ACEOF
91965 #define HAVE_SINL 1
91966 _ACEOF
91968 cat >>confdefs.h <<\_ACEOF
91969 #define HAVE_SINHF 1
91970 _ACEOF
91972 cat >>confdefs.h <<\_ACEOF
91973 #define HAVE_SINHL 1
91974 _ACEOF
91977 *-solaris*)
91978 case "$target" in
91979 # *-solaris2.5)
91980 # os_include_dir="os/solaris/solaris2.5"
91981 # ;;
91982 # *-solaris2.6)
91983 # os_include_dir="os/solaris/solaris2.6"
91984 # ;;
91985 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91986 cat >>confdefs.h <<\_ACEOF
91987 #define HAVE_GETPAGESIZE 1
91988 _ACEOF
91990 cat >>confdefs.h <<\_ACEOF
91991 #define HAVE_SIGSETJMP 1
91992 _ACEOF
91994 cat >>confdefs.h <<\_ACEOF
91995 #define HAVE_MBSTATE_T 1
91996 _ACEOF
91998 cat >>confdefs.h <<\_ACEOF
91999 #define HAVE_POLL 1
92000 _ACEOF
92002 cat >>confdefs.h <<\_ACEOF
92003 #define HAVE_S_ISREG 1
92004 _ACEOF
92006 cat >>confdefs.h <<\_ACEOF
92007 #define HAVE_LC_MESSAGES 1
92008 _ACEOF
92010 cat >>confdefs.h <<\_ACEOF
92011 #define HAVE_BTOWC 1
92012 _ACEOF
92014 cat >>confdefs.h <<\_ACEOF
92015 #define HAVE_FGETWC 1
92016 _ACEOF
92018 cat >>confdefs.h <<\_ACEOF
92019 #define HAVE_FGETWS 1
92020 _ACEOF
92022 cat >>confdefs.h <<\_ACEOF
92023 #define HAVE_FINITE 1
92024 _ACEOF
92026 cat >>confdefs.h <<\_ACEOF
92027 #define HAVE_FPCLASS 1
92028 _ACEOF
92030 cat >>confdefs.h <<\_ACEOF
92031 #define HAVE_FPUTWC 1
92032 _ACEOF
92034 cat >>confdefs.h <<\_ACEOF
92035 #define HAVE_FPUTWS 1
92036 _ACEOF
92038 cat >>confdefs.h <<\_ACEOF
92039 #define HAVE_FWIDE 1
92040 _ACEOF
92042 cat >>confdefs.h <<\_ACEOF
92043 #define HAVE_FWPRINTF 1
92044 _ACEOF
92046 cat >>confdefs.h <<\_ACEOF
92047 #define HAVE_FWSCANF 1
92048 _ACEOF
92050 cat >>confdefs.h <<\_ACEOF
92051 #define HAVE_GETPAGESIZE 1
92052 _ACEOF
92054 cat >>confdefs.h <<\_ACEOF
92055 #define HAVE_GETWC 1
92056 _ACEOF
92058 cat >>confdefs.h <<\_ACEOF
92059 #define HAVE_GETWCHAR 1
92060 _ACEOF
92062 cat >>confdefs.h <<\_ACEOF
92063 #define HAVE_MBRLEN 1
92064 _ACEOF
92066 cat >>confdefs.h <<\_ACEOF
92067 #define HAVE_MBRTOWC 1
92068 _ACEOF
92070 cat >>confdefs.h <<\_ACEOF
92071 #define HAVE_MBSINIT 1
92072 _ACEOF
92074 cat >>confdefs.h <<\_ACEOF
92075 #define HAVE_MBSRTOWCS 1
92076 _ACEOF
92078 cat >>confdefs.h <<\_ACEOF
92079 #define HAVE_NL_LANGINFO 1
92080 _ACEOF
92082 cat >>confdefs.h <<\_ACEOF
92083 #define HAVE_PUTWC 1
92084 _ACEOF
92086 cat >>confdefs.h <<\_ACEOF
92087 #define HAVE_PUTWCHAR 1
92088 _ACEOF
92090 cat >>confdefs.h <<\_ACEOF
92091 #define HAVE_SWPRINTF 1
92092 _ACEOF
92094 cat >>confdefs.h <<\_ACEOF
92095 #define HAVE_SWSCANF 1
92096 _ACEOF
92098 cat >>confdefs.h <<\_ACEOF
92099 #define HAVE_UNGETWC 1
92100 _ACEOF
92102 cat >>confdefs.h <<\_ACEOF
92103 #define HAVE_VFWPRINTF 1
92104 _ACEOF
92106 cat >>confdefs.h <<\_ACEOF
92107 #define HAVE_VSWPRINTF 1
92108 _ACEOF
92110 cat >>confdefs.h <<\_ACEOF
92111 #define HAVE_VWPRINTF 1
92112 _ACEOF
92114 cat >>confdefs.h <<\_ACEOF
92115 #define HAVE_WCRTOMB 1
92116 _ACEOF
92118 cat >>confdefs.h <<\_ACEOF
92119 #define HAVE_WCSCAT 1
92120 _ACEOF
92122 cat >>confdefs.h <<\_ACEOF
92123 #define HAVE_WCSCHR 1
92124 _ACEOF
92126 cat >>confdefs.h <<\_ACEOF
92127 #define HAVE_WCSCMP 1
92128 _ACEOF
92130 cat >>confdefs.h <<\_ACEOF
92131 #define HAVE_WCSCOLL 1
92132 _ACEOF
92134 cat >>confdefs.h <<\_ACEOF
92135 #define HAVE_WCSCPY 1
92136 _ACEOF
92138 cat >>confdefs.h <<\_ACEOF
92139 #define HAVE_WCSCSPN 1
92140 _ACEOF
92142 cat >>confdefs.h <<\_ACEOF
92143 #define HAVE_WCSFTIME 1
92144 _ACEOF
92146 cat >>confdefs.h <<\_ACEOF
92147 #define HAVE_WCSLEN 1
92148 _ACEOF
92150 cat >>confdefs.h <<\_ACEOF
92151 #define HAVE_WCSNCAT 1
92152 _ACEOF
92154 cat >>confdefs.h <<\_ACEOF
92155 #define HAVE_WCSNCMP 1
92156 _ACEOF
92158 cat >>confdefs.h <<\_ACEOF
92159 #define HAVE_WCSNCPY 1
92160 _ACEOF
92162 cat >>confdefs.h <<\_ACEOF
92163 #define HAVE_WCSPBRK 1
92164 _ACEOF
92166 cat >>confdefs.h <<\_ACEOF
92167 #define HAVE_WCSRCHR 1
92168 _ACEOF
92170 cat >>confdefs.h <<\_ACEOF
92171 #define HAVE_WCSRTOMBS 1
92172 _ACEOF
92174 cat >>confdefs.h <<\_ACEOF
92175 #define HAVE_WCSSPN 1
92176 _ACEOF
92178 cat >>confdefs.h <<\_ACEOF
92179 #define HAVE_WCSSTR 1
92180 _ACEOF
92182 cat >>confdefs.h <<\_ACEOF
92183 #define HAVE_WCSTOD 1
92184 _ACEOF
92186 cat >>confdefs.h <<\_ACEOF
92187 #define HAVE_WCSTOK 1
92188 _ACEOF
92190 cat >>confdefs.h <<\_ACEOF
92191 #define HAVE_WCSTOL 1
92192 _ACEOF
92194 cat >>confdefs.h <<\_ACEOF
92195 #define HAVE_WCSTOUL 1
92196 _ACEOF
92198 cat >>confdefs.h <<\_ACEOF
92199 #define HAVE_WCSXFRM 1
92200 _ACEOF
92202 cat >>confdefs.h <<\_ACEOF
92203 #define HAVE_WCTOB 1
92204 _ACEOF
92206 cat >>confdefs.h <<\_ACEOF
92207 #define HAVE_WMEMCHR 1
92208 _ACEOF
92210 cat >>confdefs.h <<\_ACEOF
92211 #define HAVE_WMEMCMP 1
92212 _ACEOF
92214 cat >>confdefs.h <<\_ACEOF
92215 #define HAVE_WMEMCPY 1
92216 _ACEOF
92218 cat >>confdefs.h <<\_ACEOF
92219 #define HAVE_WMEMMOVE 1
92220 _ACEOF
92222 cat >>confdefs.h <<\_ACEOF
92223 #define HAVE_WMEMSET 1
92224 _ACEOF
92226 cat >>confdefs.h <<\_ACEOF
92227 #define HAVE_WPRINTF 1
92228 _ACEOF
92230 cat >>confdefs.h <<\_ACEOF
92231 #define HAVE_WSCANF 1
92232 _ACEOF
92234 cat >>confdefs.h <<\_ACEOF
92235 #define HAVE_ICONV 1
92236 _ACEOF
92238 cat >>confdefs.h <<\_ACEOF
92239 #define HAVE_ICONV_CLOSE 1
92240 _ACEOF
92242 cat >>confdefs.h <<\_ACEOF
92243 #define HAVE_ICONV_OPEN 1
92244 _ACEOF
92246 # Look for the pieces required for wchar_t support in order to
92247 # get all the right HAVE_* macros defined.
92249 # Test wchar.h for mbstate_t, which is needed for char_traits and
92250 # others even if wchar_t support is not on.
92251 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92252 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92253 cat >conftest.$ac_ext <<_ACEOF
92254 /* confdefs.h. */
92255 _ACEOF
92256 cat confdefs.h >>conftest.$ac_ext
92257 cat >>conftest.$ac_ext <<_ACEOF
92258 /* end confdefs.h. */
92259 #include <wchar.h>
92261 main ()
92263 mbstate_t teststate;
92265 return 0;
92267 _ACEOF
92268 rm -f conftest.$ac_objext
92269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92270 (eval $ac_compile) 2>conftest.er1
92271 ac_status=$?
92272 grep -v '^ *+' conftest.er1 >conftest.err
92273 rm -f conftest.er1
92274 cat conftest.err >&5
92275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92276 (exit $ac_status); } &&
92277 { ac_try='test -z "$ac_c_werror_flag"
92278 || test ! -s conftest.err'
92279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92280 (eval $ac_try) 2>&5
92281 ac_status=$?
92282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92283 (exit $ac_status); }; } &&
92284 { ac_try='test -s conftest.$ac_objext'
92285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92286 (eval $ac_try) 2>&5
92287 ac_status=$?
92288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92289 (exit $ac_status); }; }; then
92290 have_mbstate_t=yes
92291 else
92292 echo "$as_me: failed program was:" >&5
92293 sed 's/^/| /' conftest.$ac_ext >&5
92295 have_mbstate_t=no
92297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92298 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92299 echo "${ECHO_T}$have_mbstate_t" >&6
92300 if test x"$have_mbstate_t" = xyes; then
92301 cat >>confdefs.h <<\_ACEOF
92302 #define HAVE_MBSTATE_T 1
92303 _ACEOF
92307 # Sanity check for existence of ISO C99 headers for extended encoding.
92309 for ac_header in wchar.h
92311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92313 echo "$as_me:$LINENO: checking for $ac_header" >&5
92314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92316 echo $ECHO_N "(cached) $ECHO_C" >&6
92318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92320 else
92321 # Is the header compilable?
92322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92324 cat >conftest.$ac_ext <<_ACEOF
92325 /* confdefs.h. */
92326 _ACEOF
92327 cat confdefs.h >>conftest.$ac_ext
92328 cat >>conftest.$ac_ext <<_ACEOF
92329 /* end confdefs.h. */
92330 $ac_includes_default
92331 #include <$ac_header>
92332 _ACEOF
92333 rm -f conftest.$ac_objext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92335 (eval $ac_compile) 2>conftest.er1
92336 ac_status=$?
92337 grep -v '^ *+' conftest.er1 >conftest.err
92338 rm -f conftest.er1
92339 cat conftest.err >&5
92340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341 (exit $ac_status); } &&
92342 { ac_try='test -z "$ac_c_werror_flag"
92343 || test ! -s conftest.err'
92344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345 (eval $ac_try) 2>&5
92346 ac_status=$?
92347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348 (exit $ac_status); }; } &&
92349 { ac_try='test -s conftest.$ac_objext'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; }; then
92355 ac_header_compiler=yes
92356 else
92357 echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92360 ac_header_compiler=no
92362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92364 echo "${ECHO_T}$ac_header_compiler" >&6
92366 # Is the header present?
92367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92369 cat >conftest.$ac_ext <<_ACEOF
92370 /* confdefs.h. */
92371 _ACEOF
92372 cat confdefs.h >>conftest.$ac_ext
92373 cat >>conftest.$ac_ext <<_ACEOF
92374 /* end confdefs.h. */
92375 #include <$ac_header>
92376 _ACEOF
92377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92379 ac_status=$?
92380 grep -v '^ *+' conftest.er1 >conftest.err
92381 rm -f conftest.er1
92382 cat conftest.err >&5
92383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92384 (exit $ac_status); } >/dev/null; then
92385 if test -s conftest.err; then
92386 ac_cpp_err=$ac_c_preproc_warn_flag
92387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92388 else
92389 ac_cpp_err=
92391 else
92392 ac_cpp_err=yes
92394 if test -z "$ac_cpp_err"; then
92395 ac_header_preproc=yes
92396 else
92397 echo "$as_me: failed program was:" >&5
92398 sed 's/^/| /' conftest.$ac_ext >&5
92400 ac_header_preproc=no
92402 rm -f conftest.err conftest.$ac_ext
92403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92404 echo "${ECHO_T}$ac_header_preproc" >&6
92406 # So? What about this header?
92407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92408 yes:no: )
92409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92413 ac_header_preproc=yes
92415 no:yes:* )
92416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92429 cat <<\_ASBOX
92430 ## ----------------------------------------- ##
92431 ## Report this to the package-unused lists. ##
92432 ## ----------------------------------------- ##
92433 _ASBOX
92435 sed "s/^/$as_me: WARNING: /" >&2
92437 esac
92438 echo "$as_me:$LINENO: checking for $ac_header" >&5
92439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92441 echo $ECHO_N "(cached) $ECHO_C" >&6
92442 else
92443 eval "$as_ac_Header=\$ac_header_preproc"
92445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92450 cat >>confdefs.h <<_ACEOF
92451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92452 _ACEOF
92453 ac_has_wchar_h=yes
92454 else
92455 ac_has_wchar_h=no
92458 done
92461 for ac_header in wctype.h
92463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92465 echo "$as_me:$LINENO: checking for $ac_header" >&5
92466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92468 echo $ECHO_N "(cached) $ECHO_C" >&6
92470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92472 else
92473 # Is the header compilable?
92474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92476 cat >conftest.$ac_ext <<_ACEOF
92477 /* confdefs.h. */
92478 _ACEOF
92479 cat confdefs.h >>conftest.$ac_ext
92480 cat >>conftest.$ac_ext <<_ACEOF
92481 /* end confdefs.h. */
92482 $ac_includes_default
92483 #include <$ac_header>
92484 _ACEOF
92485 rm -f conftest.$ac_objext
92486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92487 (eval $ac_compile) 2>conftest.er1
92488 ac_status=$?
92489 grep -v '^ *+' conftest.er1 >conftest.err
92490 rm -f conftest.er1
92491 cat conftest.err >&5
92492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92493 (exit $ac_status); } &&
92494 { ac_try='test -z "$ac_c_werror_flag"
92495 || test ! -s conftest.err'
92496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92497 (eval $ac_try) 2>&5
92498 ac_status=$?
92499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92500 (exit $ac_status); }; } &&
92501 { ac_try='test -s conftest.$ac_objext'
92502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92503 (eval $ac_try) 2>&5
92504 ac_status=$?
92505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92506 (exit $ac_status); }; }; then
92507 ac_header_compiler=yes
92508 else
92509 echo "$as_me: failed program was:" >&5
92510 sed 's/^/| /' conftest.$ac_ext >&5
92512 ac_header_compiler=no
92514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92516 echo "${ECHO_T}$ac_header_compiler" >&6
92518 # Is the header present?
92519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92521 cat >conftest.$ac_ext <<_ACEOF
92522 /* confdefs.h. */
92523 _ACEOF
92524 cat confdefs.h >>conftest.$ac_ext
92525 cat >>conftest.$ac_ext <<_ACEOF
92526 /* end confdefs.h. */
92527 #include <$ac_header>
92528 _ACEOF
92529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92531 ac_status=$?
92532 grep -v '^ *+' conftest.er1 >conftest.err
92533 rm -f conftest.er1
92534 cat conftest.err >&5
92535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92536 (exit $ac_status); } >/dev/null; then
92537 if test -s conftest.err; then
92538 ac_cpp_err=$ac_c_preproc_warn_flag
92539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92540 else
92541 ac_cpp_err=
92543 else
92544 ac_cpp_err=yes
92546 if test -z "$ac_cpp_err"; then
92547 ac_header_preproc=yes
92548 else
92549 echo "$as_me: failed program was:" >&5
92550 sed 's/^/| /' conftest.$ac_ext >&5
92552 ac_header_preproc=no
92554 rm -f conftest.err conftest.$ac_ext
92555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92556 echo "${ECHO_T}$ac_header_preproc" >&6
92558 # So? What about this header?
92559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92560 yes:no: )
92561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92565 ac_header_preproc=yes
92567 no:yes:* )
92568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92581 cat <<\_ASBOX
92582 ## ----------------------------------------- ##
92583 ## Report this to the package-unused lists. ##
92584 ## ----------------------------------------- ##
92585 _ASBOX
92587 sed "s/^/$as_me: WARNING: /" >&2
92589 esac
92590 echo "$as_me:$LINENO: checking for $ac_header" >&5
92591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92593 echo $ECHO_N "(cached) $ECHO_C" >&6
92594 else
92595 eval "$as_ac_Header=\$ac_header_preproc"
92597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92602 cat >>confdefs.h <<_ACEOF
92603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92604 _ACEOF
92605 ac_has_wctype_h=yes
92606 else
92607 ac_has_wctype_h=no
92610 done
92613 # Only continue checking if the ISO C99 headers exist and support is on.
92614 if test x"$ac_has_wchar_h" = xyes &&
92615 test x"$ac_has_wctype_h" = xyes &&
92616 test x"$enable_c_mbchar" != xno; then
92618 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92619 # numeric_limits can instantiate type_traits<wchar_t>
92620 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92621 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92622 cat >conftest.$ac_ext <<_ACEOF
92623 /* confdefs.h. */
92624 _ACEOF
92625 cat confdefs.h >>conftest.$ac_ext
92626 cat >>conftest.$ac_ext <<_ACEOF
92627 /* end confdefs.h. */
92628 #include <wchar.h>
92630 main ()
92632 int i = WCHAR_MIN; int j = WCHAR_MAX;
92634 return 0;
92636 _ACEOF
92637 rm -f conftest.$ac_objext
92638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92639 (eval $ac_compile) 2>conftest.er1
92640 ac_status=$?
92641 grep -v '^ *+' conftest.er1 >conftest.err
92642 rm -f conftest.er1
92643 cat conftest.err >&5
92644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92645 (exit $ac_status); } &&
92646 { ac_try='test -z "$ac_c_werror_flag"
92647 || test ! -s conftest.err'
92648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92649 (eval $ac_try) 2>&5
92650 ac_status=$?
92651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652 (exit $ac_status); }; } &&
92653 { ac_try='test -s conftest.$ac_objext'
92654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92655 (eval $ac_try) 2>&5
92656 ac_status=$?
92657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92658 (exit $ac_status); }; }; then
92659 has_wchar_minmax=yes
92660 else
92661 echo "$as_me: failed program was:" >&5
92662 sed 's/^/| /' conftest.$ac_ext >&5
92664 has_wchar_minmax=no
92666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92667 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92668 echo "${ECHO_T}$has_wchar_minmax" >&6
92670 # Test wchar.h for WEOF, which is what we use to determine whether
92671 # to specialize for char_traits<wchar_t> or not.
92672 echo "$as_me:$LINENO: checking for WEOF" >&5
92673 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92674 cat >conftest.$ac_ext <<_ACEOF
92675 /* confdefs.h. */
92676 _ACEOF
92677 cat confdefs.h >>conftest.$ac_ext
92678 cat >>conftest.$ac_ext <<_ACEOF
92679 /* end confdefs.h. */
92681 #include <wchar.h>
92682 #include <stddef.h>
92684 main ()
92686 wint_t i = WEOF;
92688 return 0;
92690 _ACEOF
92691 rm -f conftest.$ac_objext
92692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92693 (eval $ac_compile) 2>conftest.er1
92694 ac_status=$?
92695 grep -v '^ *+' conftest.er1 >conftest.err
92696 rm -f conftest.er1
92697 cat conftest.err >&5
92698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92699 (exit $ac_status); } &&
92700 { ac_try='test -z "$ac_c_werror_flag"
92701 || test ! -s conftest.err'
92702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92703 (eval $ac_try) 2>&5
92704 ac_status=$?
92705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706 (exit $ac_status); }; } &&
92707 { ac_try='test -s conftest.$ac_objext'
92708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709 (eval $ac_try) 2>&5
92710 ac_status=$?
92711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712 (exit $ac_status); }; }; then
92713 has_weof=yes
92714 else
92715 echo "$as_me: failed program was:" >&5
92716 sed 's/^/| /' conftest.$ac_ext >&5
92718 has_weof=no
92720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92721 echo "$as_me:$LINENO: result: $has_weof" >&5
92722 echo "${ECHO_T}$has_weof" >&6
92724 # Tests for wide character functions used in char_traits<wchar_t>.
92725 ac_wfuncs=yes
92732 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92735 echo "$as_me:$LINENO: checking for $ac_func" >&5
92736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92737 if eval "test \"\${$as_ac_var+set}\" = set"; then
92738 echo $ECHO_N "(cached) $ECHO_C" >&6
92739 else
92740 if test x$gcc_no_link = xyes; then
92741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92743 { (exit 1); exit 1; }; }
92745 cat >conftest.$ac_ext <<_ACEOF
92746 /* confdefs.h. */
92747 _ACEOF
92748 cat confdefs.h >>conftest.$ac_ext
92749 cat >>conftest.$ac_ext <<_ACEOF
92750 /* end confdefs.h. */
92751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92753 #define $ac_func innocuous_$ac_func
92755 /* System header to define __stub macros and hopefully few prototypes,
92756 which can conflict with char $ac_func (); below.
92757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92758 <limits.h> exists even on freestanding compilers. */
92760 #ifdef __STDC__
92761 # include <limits.h>
92762 #else
92763 # include <assert.h>
92764 #endif
92766 #undef $ac_func
92768 /* Override any gcc2 internal prototype to avoid an error. */
92769 #ifdef __cplusplus
92770 extern "C"
92772 #endif
92773 /* We use char because int might match the return type of a gcc2
92774 builtin and then its argument prototype would still apply. */
92775 char $ac_func ();
92776 /* The GNU C library defines this for functions which it implements
92777 to always fail with ENOSYS. Some functions are actually named
92778 something starting with __ and the normal name is an alias. */
92779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92780 choke me
92781 #else
92782 char (*f) () = $ac_func;
92783 #endif
92784 #ifdef __cplusplus
92786 #endif
92789 main ()
92791 return f != $ac_func;
92793 return 0;
92795 _ACEOF
92796 rm -f conftest.$ac_objext conftest$ac_exeext
92797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92798 (eval $ac_link) 2>conftest.er1
92799 ac_status=$?
92800 grep -v '^ *+' conftest.er1 >conftest.err
92801 rm -f conftest.er1
92802 cat conftest.err >&5
92803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92804 (exit $ac_status); } &&
92805 { ac_try='test -z "$ac_c_werror_flag"
92806 || test ! -s conftest.err'
92807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92808 (eval $ac_try) 2>&5
92809 ac_status=$?
92810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811 (exit $ac_status); }; } &&
92812 { ac_try='test -s conftest$ac_exeext'
92813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92814 (eval $ac_try) 2>&5
92815 ac_status=$?
92816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92817 (exit $ac_status); }; }; then
92818 eval "$as_ac_var=yes"
92819 else
92820 echo "$as_me: failed program was:" >&5
92821 sed 's/^/| /' conftest.$ac_ext >&5
92823 eval "$as_ac_var=no"
92825 rm -f conftest.err conftest.$ac_objext \
92826 conftest$ac_exeext conftest.$ac_ext
92828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92830 if test `eval echo '${'$as_ac_var'}'` = yes; then
92831 cat >>confdefs.h <<_ACEOF
92832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92833 _ACEOF
92835 else
92836 ac_wfuncs=no
92838 done
92841 # Checks for names injected into std:: by the c_std headers.
92888 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92889 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92890 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92891 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92892 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92893 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92896 echo "$as_me:$LINENO: checking for $ac_func" >&5
92897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92898 if eval "test \"\${$as_ac_var+set}\" = set"; then
92899 echo $ECHO_N "(cached) $ECHO_C" >&6
92900 else
92901 if test x$gcc_no_link = xyes; then
92902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92904 { (exit 1); exit 1; }; }
92906 cat >conftest.$ac_ext <<_ACEOF
92907 /* confdefs.h. */
92908 _ACEOF
92909 cat confdefs.h >>conftest.$ac_ext
92910 cat >>conftest.$ac_ext <<_ACEOF
92911 /* end confdefs.h. */
92912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92914 #define $ac_func innocuous_$ac_func
92916 /* System header to define __stub macros and hopefully few prototypes,
92917 which can conflict with char $ac_func (); below.
92918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92919 <limits.h> exists even on freestanding compilers. */
92921 #ifdef __STDC__
92922 # include <limits.h>
92923 #else
92924 # include <assert.h>
92925 #endif
92927 #undef $ac_func
92929 /* Override any gcc2 internal prototype to avoid an error. */
92930 #ifdef __cplusplus
92931 extern "C"
92933 #endif
92934 /* We use char because int might match the return type of a gcc2
92935 builtin and then its argument prototype would still apply. */
92936 char $ac_func ();
92937 /* The GNU C library defines this for functions which it implements
92938 to always fail with ENOSYS. Some functions are actually named
92939 something starting with __ and the normal name is an alias. */
92940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92941 choke me
92942 #else
92943 char (*f) () = $ac_func;
92944 #endif
92945 #ifdef __cplusplus
92947 #endif
92950 main ()
92952 return f != $ac_func;
92954 return 0;
92956 _ACEOF
92957 rm -f conftest.$ac_objext conftest$ac_exeext
92958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92959 (eval $ac_link) 2>conftest.er1
92960 ac_status=$?
92961 grep -v '^ *+' conftest.er1 >conftest.err
92962 rm -f conftest.er1
92963 cat conftest.err >&5
92964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92965 (exit $ac_status); } &&
92966 { ac_try='test -z "$ac_c_werror_flag"
92967 || test ! -s conftest.err'
92968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92969 (eval $ac_try) 2>&5
92970 ac_status=$?
92971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92972 (exit $ac_status); }; } &&
92973 { ac_try='test -s conftest$ac_exeext'
92974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92975 (eval $ac_try) 2>&5
92976 ac_status=$?
92977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92978 (exit $ac_status); }; }; then
92979 eval "$as_ac_var=yes"
92980 else
92981 echo "$as_me: failed program was:" >&5
92982 sed 's/^/| /' conftest.$ac_ext >&5
92984 eval "$as_ac_var=no"
92986 rm -f conftest.err conftest.$ac_objext \
92987 conftest$ac_exeext conftest.$ac_ext
92989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92991 if test `eval echo '${'$as_ac_var'}'` = yes; then
92992 cat >>confdefs.h <<_ACEOF
92993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92994 _ACEOF
92996 else
92997 ac_wfuncs=no
92999 done
93002 # Checks for wide character functions that are not required
93003 # for basic wchar_t support. Don't disable support if they are missing.
93004 # Injection of these is wrapped with guard macros.
93010 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
93012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93013 echo "$as_me:$LINENO: checking for $ac_func" >&5
93014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93015 if eval "test \"\${$as_ac_var+set}\" = set"; then
93016 echo $ECHO_N "(cached) $ECHO_C" >&6
93017 else
93018 if test x$gcc_no_link = xyes; then
93019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93021 { (exit 1); exit 1; }; }
93023 cat >conftest.$ac_ext <<_ACEOF
93024 /* confdefs.h. */
93025 _ACEOF
93026 cat confdefs.h >>conftest.$ac_ext
93027 cat >>conftest.$ac_ext <<_ACEOF
93028 /* end confdefs.h. */
93029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93031 #define $ac_func innocuous_$ac_func
93033 /* System header to define __stub macros and hopefully few prototypes,
93034 which can conflict with char $ac_func (); below.
93035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93036 <limits.h> exists even on freestanding compilers. */
93038 #ifdef __STDC__
93039 # include <limits.h>
93040 #else
93041 # include <assert.h>
93042 #endif
93044 #undef $ac_func
93046 /* Override any gcc2 internal prototype to avoid an error. */
93047 #ifdef __cplusplus
93048 extern "C"
93050 #endif
93051 /* We use char because int might match the return type of a gcc2
93052 builtin and then its argument prototype would still apply. */
93053 char $ac_func ();
93054 /* The GNU C library defines this for functions which it implements
93055 to always fail with ENOSYS. Some functions are actually named
93056 something starting with __ and the normal name is an alias. */
93057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93058 choke me
93059 #else
93060 char (*f) () = $ac_func;
93061 #endif
93062 #ifdef __cplusplus
93064 #endif
93067 main ()
93069 return f != $ac_func;
93071 return 0;
93073 _ACEOF
93074 rm -f conftest.$ac_objext conftest$ac_exeext
93075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93076 (eval $ac_link) 2>conftest.er1
93077 ac_status=$?
93078 grep -v '^ *+' conftest.er1 >conftest.err
93079 rm -f conftest.er1
93080 cat conftest.err >&5
93081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93082 (exit $ac_status); } &&
93083 { ac_try='test -z "$ac_c_werror_flag"
93084 || test ! -s conftest.err'
93085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93086 (eval $ac_try) 2>&5
93087 ac_status=$?
93088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93089 (exit $ac_status); }; } &&
93090 { ac_try='test -s conftest$ac_exeext'
93091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93092 (eval $ac_try) 2>&5
93093 ac_status=$?
93094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93095 (exit $ac_status); }; }; then
93096 eval "$as_ac_var=yes"
93097 else
93098 echo "$as_me: failed program was:" >&5
93099 sed 's/^/| /' conftest.$ac_ext >&5
93101 eval "$as_ac_var=no"
93103 rm -f conftest.err conftest.$ac_objext \
93104 conftest$ac_exeext conftest.$ac_ext
93106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93108 if test `eval echo '${'$as_ac_var'}'` = yes; then
93109 cat >>confdefs.h <<_ACEOF
93110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93111 _ACEOF
93114 done
93117 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93118 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93119 if test x"$has_weof" = xyes &&
93120 test x"$has_wchar_minmax" = xyes &&
93121 test x"$ac_wfuncs" = xyes;
93122 then
93123 ac_isoC99_wchar_t=yes
93124 else
93125 ac_isoC99_wchar_t=no
93127 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93128 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93130 # Use iconv for wchar_t to char conversions. As such, check for
93131 # X/Open Portability Guide, version 2 features (XPG2).
93132 if test "${ac_cv_header_iconv_h+set}" = set; then
93133 echo "$as_me:$LINENO: checking for iconv.h" >&5
93134 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93135 if test "${ac_cv_header_iconv_h+set}" = set; then
93136 echo $ECHO_N "(cached) $ECHO_C" >&6
93138 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93139 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93140 else
93141 # Is the header compilable?
93142 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93143 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93144 cat >conftest.$ac_ext <<_ACEOF
93145 /* confdefs.h. */
93146 _ACEOF
93147 cat confdefs.h >>conftest.$ac_ext
93148 cat >>conftest.$ac_ext <<_ACEOF
93149 /* end confdefs.h. */
93150 $ac_includes_default
93151 #include <iconv.h>
93152 _ACEOF
93153 rm -f conftest.$ac_objext
93154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93155 (eval $ac_compile) 2>conftest.er1
93156 ac_status=$?
93157 grep -v '^ *+' conftest.er1 >conftest.err
93158 rm -f conftest.er1
93159 cat conftest.err >&5
93160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93161 (exit $ac_status); } &&
93162 { ac_try='test -z "$ac_c_werror_flag"
93163 || test ! -s conftest.err'
93164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93165 (eval $ac_try) 2>&5
93166 ac_status=$?
93167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93168 (exit $ac_status); }; } &&
93169 { ac_try='test -s conftest.$ac_objext'
93170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93171 (eval $ac_try) 2>&5
93172 ac_status=$?
93173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93174 (exit $ac_status); }; }; then
93175 ac_header_compiler=yes
93176 else
93177 echo "$as_me: failed program was:" >&5
93178 sed 's/^/| /' conftest.$ac_ext >&5
93180 ac_header_compiler=no
93182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93184 echo "${ECHO_T}$ac_header_compiler" >&6
93186 # Is the header present?
93187 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93188 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93189 cat >conftest.$ac_ext <<_ACEOF
93190 /* confdefs.h. */
93191 _ACEOF
93192 cat confdefs.h >>conftest.$ac_ext
93193 cat >>conftest.$ac_ext <<_ACEOF
93194 /* end confdefs.h. */
93195 #include <iconv.h>
93196 _ACEOF
93197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93199 ac_status=$?
93200 grep -v '^ *+' conftest.er1 >conftest.err
93201 rm -f conftest.er1
93202 cat conftest.err >&5
93203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93204 (exit $ac_status); } >/dev/null; then
93205 if test -s conftest.err; then
93206 ac_cpp_err=$ac_c_preproc_warn_flag
93207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93208 else
93209 ac_cpp_err=
93211 else
93212 ac_cpp_err=yes
93214 if test -z "$ac_cpp_err"; then
93215 ac_header_preproc=yes
93216 else
93217 echo "$as_me: failed program was:" >&5
93218 sed 's/^/| /' conftest.$ac_ext >&5
93220 ac_header_preproc=no
93222 rm -f conftest.err conftest.$ac_ext
93223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93224 echo "${ECHO_T}$ac_header_preproc" >&6
93226 # So? What about this header?
93227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93228 yes:no: )
93229 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93230 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93231 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93232 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93233 ac_header_preproc=yes
93235 no:yes:* )
93236 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93237 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93238 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93239 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93240 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93241 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93242 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93243 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93244 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93245 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93246 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93247 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93249 cat <<\_ASBOX
93250 ## ----------------------------------------- ##
93251 ## Report this to the package-unused lists. ##
93252 ## ----------------------------------------- ##
93253 _ASBOX
93255 sed "s/^/$as_me: WARNING: /" >&2
93257 esac
93258 echo "$as_me:$LINENO: checking for iconv.h" >&5
93259 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93260 if test "${ac_cv_header_iconv_h+set}" = set; then
93261 echo $ECHO_N "(cached) $ECHO_C" >&6
93262 else
93263 ac_cv_header_iconv_h=$ac_header_preproc
93265 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93266 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93269 if test $ac_cv_header_iconv_h = yes; then
93270 ac_has_iconv_h=yes
93271 else
93272 ac_has_iconv_h=no
93276 if test "${ac_cv_header_langinfo_h+set}" = set; then
93277 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93278 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93279 if test "${ac_cv_header_langinfo_h+set}" = set; then
93280 echo $ECHO_N "(cached) $ECHO_C" >&6
93282 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93283 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93284 else
93285 # Is the header compilable?
93286 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93287 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93288 cat >conftest.$ac_ext <<_ACEOF
93289 /* confdefs.h. */
93290 _ACEOF
93291 cat confdefs.h >>conftest.$ac_ext
93292 cat >>conftest.$ac_ext <<_ACEOF
93293 /* end confdefs.h. */
93294 $ac_includes_default
93295 #include <langinfo.h>
93296 _ACEOF
93297 rm -f conftest.$ac_objext
93298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93299 (eval $ac_compile) 2>conftest.er1
93300 ac_status=$?
93301 grep -v '^ *+' conftest.er1 >conftest.err
93302 rm -f conftest.er1
93303 cat conftest.err >&5
93304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93305 (exit $ac_status); } &&
93306 { ac_try='test -z "$ac_c_werror_flag"
93307 || test ! -s conftest.err'
93308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93309 (eval $ac_try) 2>&5
93310 ac_status=$?
93311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93312 (exit $ac_status); }; } &&
93313 { ac_try='test -s conftest.$ac_objext'
93314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93315 (eval $ac_try) 2>&5
93316 ac_status=$?
93317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93318 (exit $ac_status); }; }; then
93319 ac_header_compiler=yes
93320 else
93321 echo "$as_me: failed program was:" >&5
93322 sed 's/^/| /' conftest.$ac_ext >&5
93324 ac_header_compiler=no
93326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93328 echo "${ECHO_T}$ac_header_compiler" >&6
93330 # Is the header present?
93331 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93332 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93333 cat >conftest.$ac_ext <<_ACEOF
93334 /* confdefs.h. */
93335 _ACEOF
93336 cat confdefs.h >>conftest.$ac_ext
93337 cat >>conftest.$ac_ext <<_ACEOF
93338 /* end confdefs.h. */
93339 #include <langinfo.h>
93340 _ACEOF
93341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93343 ac_status=$?
93344 grep -v '^ *+' conftest.er1 >conftest.err
93345 rm -f conftest.er1
93346 cat conftest.err >&5
93347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93348 (exit $ac_status); } >/dev/null; then
93349 if test -s conftest.err; then
93350 ac_cpp_err=$ac_c_preproc_warn_flag
93351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93352 else
93353 ac_cpp_err=
93355 else
93356 ac_cpp_err=yes
93358 if test -z "$ac_cpp_err"; then
93359 ac_header_preproc=yes
93360 else
93361 echo "$as_me: failed program was:" >&5
93362 sed 's/^/| /' conftest.$ac_ext >&5
93364 ac_header_preproc=no
93366 rm -f conftest.err conftest.$ac_ext
93367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93368 echo "${ECHO_T}$ac_header_preproc" >&6
93370 # So? What about this header?
93371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93372 yes:no: )
93373 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93374 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93375 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93376 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93377 ac_header_preproc=yes
93379 no:yes:* )
93380 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93381 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93382 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93383 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93384 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93385 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93386 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93387 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93388 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93389 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93390 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93391 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93393 cat <<\_ASBOX
93394 ## ----------------------------------------- ##
93395 ## Report this to the package-unused lists. ##
93396 ## ----------------------------------------- ##
93397 _ASBOX
93399 sed "s/^/$as_me: WARNING: /" >&2
93401 esac
93402 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93403 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93404 if test "${ac_cv_header_langinfo_h+set}" = set; then
93405 echo $ECHO_N "(cached) $ECHO_C" >&6
93406 else
93407 ac_cv_header_langinfo_h=$ac_header_preproc
93409 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93410 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93413 if test $ac_cv_header_langinfo_h = yes; then
93414 ac_has_langinfo_h=yes
93415 else
93416 ac_has_langinfo_h=no
93421 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93422 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93423 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93424 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93425 echo $ECHO_N "(cached) $ECHO_C" >&6
93426 else
93427 ac_check_lib_save_LIBS=$LIBS
93428 LIBS="-liconv $LIBS"
93429 if test x$gcc_no_link = xyes; then
93430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93432 { (exit 1); exit 1; }; }
93434 cat >conftest.$ac_ext <<_ACEOF
93435 /* confdefs.h. */
93436 _ACEOF
93437 cat confdefs.h >>conftest.$ac_ext
93438 cat >>conftest.$ac_ext <<_ACEOF
93439 /* end confdefs.h. */
93441 /* Override any gcc2 internal prototype to avoid an error. */
93442 #ifdef __cplusplus
93443 extern "C"
93444 #endif
93445 /* We use char because int might match the return type of a gcc2
93446 builtin and then its argument prototype would still apply. */
93447 char iconv ();
93449 main ()
93451 iconv ();
93453 return 0;
93455 _ACEOF
93456 rm -f conftest.$ac_objext conftest$ac_exeext
93457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93458 (eval $ac_link) 2>conftest.er1
93459 ac_status=$?
93460 grep -v '^ *+' conftest.er1 >conftest.err
93461 rm -f conftest.er1
93462 cat conftest.err >&5
93463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93464 (exit $ac_status); } &&
93465 { ac_try='test -z "$ac_c_werror_flag"
93466 || test ! -s conftest.err'
93467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93468 (eval $ac_try) 2>&5
93469 ac_status=$?
93470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93471 (exit $ac_status); }; } &&
93472 { ac_try='test -s conftest$ac_exeext'
93473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93474 (eval $ac_try) 2>&5
93475 ac_status=$?
93476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93477 (exit $ac_status); }; }; then
93478 ac_cv_lib_iconv_iconv=yes
93479 else
93480 echo "$as_me: failed program was:" >&5
93481 sed 's/^/| /' conftest.$ac_ext >&5
93483 ac_cv_lib_iconv_iconv=no
93485 rm -f conftest.err conftest.$ac_objext \
93486 conftest$ac_exeext conftest.$ac_ext
93487 LIBS=$ac_check_lib_save_LIBS
93489 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93490 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93491 if test $ac_cv_lib_iconv_iconv = yes; then
93492 LIBICONV="-liconv"
93495 ac_save_LIBS="$LIBS"
93496 LIBS="$LIBS $LIBICONV"
93503 for ac_func in iconv_open iconv_close iconv nl_langinfo
93505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93506 echo "$as_me:$LINENO: checking for $ac_func" >&5
93507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93508 if eval "test \"\${$as_ac_var+set}\" = set"; then
93509 echo $ECHO_N "(cached) $ECHO_C" >&6
93510 else
93511 if test x$gcc_no_link = xyes; then
93512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93514 { (exit 1); exit 1; }; }
93516 cat >conftest.$ac_ext <<_ACEOF
93517 /* confdefs.h. */
93518 _ACEOF
93519 cat confdefs.h >>conftest.$ac_ext
93520 cat >>conftest.$ac_ext <<_ACEOF
93521 /* end confdefs.h. */
93522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93524 #define $ac_func innocuous_$ac_func
93526 /* System header to define __stub macros and hopefully few prototypes,
93527 which can conflict with char $ac_func (); below.
93528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93529 <limits.h> exists even on freestanding compilers. */
93531 #ifdef __STDC__
93532 # include <limits.h>
93533 #else
93534 # include <assert.h>
93535 #endif
93537 #undef $ac_func
93539 /* Override any gcc2 internal prototype to avoid an error. */
93540 #ifdef __cplusplus
93541 extern "C"
93543 #endif
93544 /* We use char because int might match the return type of a gcc2
93545 builtin and then its argument prototype would still apply. */
93546 char $ac_func ();
93547 /* The GNU C library defines this for functions which it implements
93548 to always fail with ENOSYS. Some functions are actually named
93549 something starting with __ and the normal name is an alias. */
93550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93551 choke me
93552 #else
93553 char (*f) () = $ac_func;
93554 #endif
93555 #ifdef __cplusplus
93557 #endif
93560 main ()
93562 return f != $ac_func;
93564 return 0;
93566 _ACEOF
93567 rm -f conftest.$ac_objext conftest$ac_exeext
93568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93569 (eval $ac_link) 2>conftest.er1
93570 ac_status=$?
93571 grep -v '^ *+' conftest.er1 >conftest.err
93572 rm -f conftest.er1
93573 cat conftest.err >&5
93574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93575 (exit $ac_status); } &&
93576 { ac_try='test -z "$ac_c_werror_flag"
93577 || test ! -s conftest.err'
93578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93579 (eval $ac_try) 2>&5
93580 ac_status=$?
93581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582 (exit $ac_status); }; } &&
93583 { ac_try='test -s conftest$ac_exeext'
93584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93585 (eval $ac_try) 2>&5
93586 ac_status=$?
93587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93588 (exit $ac_status); }; }; then
93589 eval "$as_ac_var=yes"
93590 else
93591 echo "$as_me: failed program was:" >&5
93592 sed 's/^/| /' conftest.$ac_ext >&5
93594 eval "$as_ac_var=no"
93596 rm -f conftest.err conftest.$ac_objext \
93597 conftest$ac_exeext conftest.$ac_ext
93599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93601 if test `eval echo '${'$as_ac_var'}'` = yes; then
93602 cat >>confdefs.h <<_ACEOF
93603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93604 _ACEOF
93605 ac_XPG2funcs=yes
93606 else
93607 ac_XPG2funcs=no
93609 done
93612 LIBS="$ac_save_LIBS"
93614 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93615 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93616 if test x"$ac_has_iconv_h" = xyes &&
93617 test x"$ac_has_langinfo_h" = xyes &&
93618 test x"$ac_XPG2funcs" = xyes;
93619 then
93620 ac_XPG2_wchar_t=yes
93621 else
93622 ac_XPG2_wchar_t=no
93624 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93625 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93627 # At the moment, only enable wchar_t specializations if all the
93628 # above support is present.
93629 if test x"$ac_isoC99_wchar_t" = xyes &&
93630 test x"$ac_XPG2_wchar_t" = xyes;
93631 then
93632 cat >>confdefs.h <<\_ACEOF
93633 #define _GLIBCXX_USE_WCHAR_T 1
93634 _ACEOF
93636 enable_wchar_t=yes
93639 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93640 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93641 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93642 echo "${ECHO_T}$enable_wchar_t" >&6
93644 # All of the dependencies for wide character support are here, so
93645 # turn it on. This requires some syncronization with the
93646 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93647 cat >>confdefs.h <<\_ACEOF
93648 #define _GLIBCXX_USE_WCHAR_T 1
93649 _ACEOF
93651 # Are these tested for even when cross?
93652 cat >>confdefs.h <<\_ACEOF
93653 #define HAVE_FLOAT_H 1
93654 _ACEOF
93656 cat >>confdefs.h <<\_ACEOF
93657 #define HAVE_IEEEFP_H 1
93658 _ACEOF
93660 cat >>confdefs.h <<\_ACEOF
93661 #define HAVE_INTTYPES_H 1
93662 _ACEOF
93664 cat >>confdefs.h <<\_ACEOF
93665 #define HAVE_LOCALE_H 1
93666 _ACEOF
93668 cat >>confdefs.h <<\_ACEOF
93669 #define HAVE_NAN_H 1
93670 _ACEOF
93672 cat >>confdefs.h <<\_ACEOF
93673 #define HAVE_SYS_FILIO_H 1
93674 _ACEOF
93676 cat >>confdefs.h <<\_ACEOF
93677 #define HAVE_SYS_IOCTL_H 1
93678 _ACEOF
93680 cat >>confdefs.h <<\_ACEOF
93681 #define HAVE_SYS_ISA_DEFS_H 1
93682 _ACEOF
93684 cat >>confdefs.h <<\_ACEOF
93685 #define HAVE_SYS_RESOURCE_H 1
93686 _ACEOF
93688 cat >>confdefs.h <<\_ACEOF
93689 #define HAVE_SYS_TIME_H 1
93690 _ACEOF
93692 cat >>confdefs.h <<\_ACEOF
93693 #define HAVE_SYS_TYPES_H 1
93694 _ACEOF
93696 cat >>confdefs.h <<\_ACEOF
93697 #define HAVE_UNISTD_H 1
93698 _ACEOF
93700 cat >>confdefs.h <<\_ACEOF
93701 #define HAVE_WCHAR_H 1
93702 _ACEOF
93704 cat >>confdefs.h <<\_ACEOF
93705 #define HAVE_WCTYPE_H 1
93706 _ACEOF
93708 cat >>confdefs.h <<\_ACEOF
93709 #define HAVE_LIBM 1
93710 _ACEOF
93713 esac
93714 case "$target" in
93715 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93716 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93717 cat >>confdefs.h <<\_ACEOF
93718 #define HAVE___BUILTIN_ABS 1
93719 _ACEOF
93721 cat >>confdefs.h <<\_ACEOF
93722 #define HAVE___BUILTIN_LABS 1
93723 _ACEOF
93725 cat >>confdefs.h <<\_ACEOF
93726 #define HAVE___BUILTIN_FABS 1
93727 _ACEOF
93729 cat >>confdefs.h <<\_ACEOF
93730 #define HAVE___BUILTIN_FABSF 1
93731 _ACEOF
93733 cat >>confdefs.h <<\_ACEOF
93734 #define HAVE___BUILTIN_FABSL 1
93735 _ACEOF
93737 cat >>confdefs.h <<\_ACEOF
93738 #define HAVE___BUILTIN_COS 1
93739 _ACEOF
93741 cat >>confdefs.h <<\_ACEOF
93742 #define HAVE___BUILTIN_COSF 1
93743 _ACEOF
93745 cat >>confdefs.h <<\_ACEOF
93746 #define HAVE___BUILTIN_SIN 1
93747 _ACEOF
93749 cat >>confdefs.h <<\_ACEOF
93750 #define HAVE___BUILTIN_SINF 1
93751 _ACEOF
93754 esac
93755 cat >>confdefs.h <<\_ACEOF
93756 #define HAVE_STRTOF 1
93757 _ACEOF
93759 cat >>confdefs.h <<\_ACEOF
93760 #define HAVE_STRTOLD 1
93761 _ACEOF
93763 cat >>confdefs.h <<\_ACEOF
93764 #define HAVE_MMAP 1
93765 _ACEOF
93767 cat >>confdefs.h <<\_ACEOF
93768 #define HAVE_COPYSIGN 1
93769 _ACEOF
93771 cat >>confdefs.h <<\_ACEOF
93772 #define HAVE_ISNAN 1
93773 _ACEOF
93775 cat >>confdefs.h <<\_ACEOF
93776 #define HAVE_ISNANF 1
93777 _ACEOF
93779 cat >>confdefs.h <<\_ACEOF
93780 #define HAVE_MODFF 1
93781 _ACEOF
93783 cat >>confdefs.h <<\_ACEOF
93784 #define HAVE_HYPOT 1
93785 _ACEOF
93788 *-tpf)
93797 for ac_header in nan.h endian.h machine/endian.h \
93798 sys/param.h sys/types.h locale.h float.h inttypes.h
93800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93802 echo "$as_me:$LINENO: checking for $ac_header" >&5
93803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93805 echo $ECHO_N "(cached) $ECHO_C" >&6
93807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93809 else
93810 # Is the header compilable?
93811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93813 cat >conftest.$ac_ext <<_ACEOF
93814 /* confdefs.h. */
93815 _ACEOF
93816 cat confdefs.h >>conftest.$ac_ext
93817 cat >>conftest.$ac_ext <<_ACEOF
93818 /* end confdefs.h. */
93819 $ac_includes_default
93820 #include <$ac_header>
93821 _ACEOF
93822 rm -f conftest.$ac_objext
93823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93824 (eval $ac_compile) 2>conftest.er1
93825 ac_status=$?
93826 grep -v '^ *+' conftest.er1 >conftest.err
93827 rm -f conftest.er1
93828 cat conftest.err >&5
93829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93830 (exit $ac_status); } &&
93831 { ac_try='test -z "$ac_c_werror_flag"
93832 || test ! -s conftest.err'
93833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93834 (eval $ac_try) 2>&5
93835 ac_status=$?
93836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93837 (exit $ac_status); }; } &&
93838 { ac_try='test -s conftest.$ac_objext'
93839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93840 (eval $ac_try) 2>&5
93841 ac_status=$?
93842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93843 (exit $ac_status); }; }; then
93844 ac_header_compiler=yes
93845 else
93846 echo "$as_me: failed program was:" >&5
93847 sed 's/^/| /' conftest.$ac_ext >&5
93849 ac_header_compiler=no
93851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93853 echo "${ECHO_T}$ac_header_compiler" >&6
93855 # Is the header present?
93856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93858 cat >conftest.$ac_ext <<_ACEOF
93859 /* confdefs.h. */
93860 _ACEOF
93861 cat confdefs.h >>conftest.$ac_ext
93862 cat >>conftest.$ac_ext <<_ACEOF
93863 /* end confdefs.h. */
93864 #include <$ac_header>
93865 _ACEOF
93866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93868 ac_status=$?
93869 grep -v '^ *+' conftest.er1 >conftest.err
93870 rm -f conftest.er1
93871 cat conftest.err >&5
93872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93873 (exit $ac_status); } >/dev/null; then
93874 if test -s conftest.err; then
93875 ac_cpp_err=$ac_c_preproc_warn_flag
93876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93877 else
93878 ac_cpp_err=
93880 else
93881 ac_cpp_err=yes
93883 if test -z "$ac_cpp_err"; then
93884 ac_header_preproc=yes
93885 else
93886 echo "$as_me: failed program was:" >&5
93887 sed 's/^/| /' conftest.$ac_ext >&5
93889 ac_header_preproc=no
93891 rm -f conftest.err conftest.$ac_ext
93892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93893 echo "${ECHO_T}$ac_header_preproc" >&6
93895 # So? What about this header?
93896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93897 yes:no: )
93898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93902 ac_header_preproc=yes
93904 no:yes:* )
93905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93918 cat <<\_ASBOX
93919 ## ----------------------------------------- ##
93920 ## Report this to the package-unused lists. ##
93921 ## ----------------------------------------- ##
93922 _ASBOX
93924 sed "s/^/$as_me: WARNING: /" >&2
93926 esac
93927 echo "$as_me:$LINENO: checking for $ac_header" >&5
93928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93930 echo $ECHO_N "(cached) $ECHO_C" >&6
93931 else
93932 eval "$as_ac_Header=\$ac_header_preproc"
93934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93939 cat >>confdefs.h <<_ACEOF
93940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93941 _ACEOF
93945 done
93947 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93950 # If we're not using GNU ld, then there's no point in even trying these
93951 # tests. Check for that first. We should have already tested for gld
93952 # by now (in libtool), but require it now just to be safe...
93953 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93954 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93958 # The name set by libtool depends on the version of libtool. Shame on us
93959 # for depending on an impl detail, but c'est la vie. Older versions used
93960 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93961 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93962 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93963 # set (hence we're using an older libtool), then set it.
93964 if test x${with_gnu_ld+set} != xset; then
93965 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93966 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93967 with_gnu_ld=no
93968 else
93969 with_gnu_ld=$ac_cv_prog_gnu_ld
93973 # Start by getting the version number. I think the libtool test already
93974 # does some of this, but throws away the result.
93976 ldver=`$LD --version 2>/dev/null | head -1 | \
93977 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93979 glibcxx_gnu_ld_version=`echo $ldver | \
93980 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93982 # Set --gc-sections.
93983 if test "$with_gnu_ld" = "notbroken"; then
93984 # GNU ld it is! Joy and bunny rabbits!
93986 # All these tests are for C++; save the language and the compiler flags.
93987 # Need to do this so that g++ won't try to link in libstdc++
93988 ac_test_CFLAGS="${CFLAGS+set}"
93989 ac_save_CFLAGS="$CFLAGS"
93990 CFLAGS='-x c++ -Wl,--gc-sections'
93992 # Check for -Wl,--gc-sections
93993 # XXX This test is broken at the moment, as symbols required for linking
93994 # are now in libsupc++ (not built yet). In addition, this test has
93995 # cored on solaris in the past. In addition, --gc-sections doesn't
93996 # really work at the moment (keeps on discarding used sections, first
93997 # .eh_frame and now some of the glibc sections for iconv).
93998 # Bzzzzt. Thanks for playing, maybe next time.
93999 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94000 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94001 if test "$cross_compiling" = yes; then
94002 ac_sectionLDflags=yes
94003 else
94004 cat >conftest.$ac_ext <<_ACEOF
94005 /* confdefs.h. */
94006 _ACEOF
94007 cat confdefs.h >>conftest.$ac_ext
94008 cat >>conftest.$ac_ext <<_ACEOF
94009 /* end confdefs.h. */
94011 int main(void)
94013 try { throw 1; }
94014 catch (...) { };
94015 return 0;
94018 _ACEOF
94019 rm -f conftest$ac_exeext
94020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94021 (eval $ac_link) 2>&5
94022 ac_status=$?
94023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94026 (eval $ac_try) 2>&5
94027 ac_status=$?
94028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94029 (exit $ac_status); }; }; then
94030 ac_sectionLDflags=yes
94031 else
94032 echo "$as_me: program exited with status $ac_status" >&5
94033 echo "$as_me: failed program was:" >&5
94034 sed 's/^/| /' conftest.$ac_ext >&5
94036 ( exit $ac_status )
94037 ac_sectionLDflags=no
94039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94041 if test "$ac_test_CFLAGS" = set; then
94042 CFLAGS="$ac_save_CFLAGS"
94043 else
94044 # this is the suspicious part
94045 CFLAGS=''
94047 if test "$ac_sectionLDflags" = "yes"; then
94048 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94050 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94051 echo "${ECHO_T}$ac_sectionLDflags" >&6
94054 # Set linker optimization flags.
94055 if test x"$with_gnu_ld" = x"yes"; then
94056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94064 echo "$as_me:$LINENO: checking for main in -lm" >&5
94065 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94066 if test "${ac_cv_lib_m_main+set}" = set; then
94067 echo $ECHO_N "(cached) $ECHO_C" >&6
94068 else
94069 ac_check_lib_save_LIBS=$LIBS
94070 LIBS="-lm $LIBS"
94071 if test x$gcc_no_link = xyes; then
94072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94074 { (exit 1); exit 1; }; }
94076 cat >conftest.$ac_ext <<_ACEOF
94077 /* confdefs.h. */
94078 _ACEOF
94079 cat confdefs.h >>conftest.$ac_ext
94080 cat >>conftest.$ac_ext <<_ACEOF
94081 /* end confdefs.h. */
94085 main ()
94087 main ();
94089 return 0;
94091 _ACEOF
94092 rm -f conftest.$ac_objext conftest$ac_exeext
94093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94094 (eval $ac_link) 2>conftest.er1
94095 ac_status=$?
94096 grep -v '^ *+' conftest.er1 >conftest.err
94097 rm -f conftest.er1
94098 cat conftest.err >&5
94099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94100 (exit $ac_status); } &&
94101 { ac_try='test -z "$ac_c_werror_flag"
94102 || test ! -s conftest.err'
94103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94104 (eval $ac_try) 2>&5
94105 ac_status=$?
94106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94107 (exit $ac_status); }; } &&
94108 { ac_try='test -s conftest$ac_exeext'
94109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94110 (eval $ac_try) 2>&5
94111 ac_status=$?
94112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94113 (exit $ac_status); }; }; then
94114 ac_cv_lib_m_main=yes
94115 else
94116 echo "$as_me: failed program was:" >&5
94117 sed 's/^/| /' conftest.$ac_ext >&5
94119 ac_cv_lib_m_main=no
94121 rm -f conftest.err conftest.$ac_objext \
94122 conftest$ac_exeext conftest.$ac_ext
94123 LIBS=$ac_check_lib_save_LIBS
94125 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94126 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94127 if test $ac_cv_lib_m_main = yes; then
94128 cat >>confdefs.h <<_ACEOF
94129 #define HAVE_LIBM 1
94130 _ACEOF
94132 LIBS="-lm $LIBS"
94137 for ac_func in copysignf
94139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94140 echo "$as_me:$LINENO: checking for $ac_func" >&5
94141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94142 if eval "test \"\${$as_ac_var+set}\" = set"; then
94143 echo $ECHO_N "(cached) $ECHO_C" >&6
94144 else
94145 if test x$gcc_no_link = xyes; then
94146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94148 { (exit 1); exit 1; }; }
94150 cat >conftest.$ac_ext <<_ACEOF
94151 /* confdefs.h. */
94152 _ACEOF
94153 cat confdefs.h >>conftest.$ac_ext
94154 cat >>conftest.$ac_ext <<_ACEOF
94155 /* end confdefs.h. */
94156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94158 #define $ac_func innocuous_$ac_func
94160 /* System header to define __stub macros and hopefully few prototypes,
94161 which can conflict with char $ac_func (); below.
94162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94163 <limits.h> exists even on freestanding compilers. */
94165 #ifdef __STDC__
94166 # include <limits.h>
94167 #else
94168 # include <assert.h>
94169 #endif
94171 #undef $ac_func
94173 /* Override any gcc2 internal prototype to avoid an error. */
94174 #ifdef __cplusplus
94175 extern "C"
94177 #endif
94178 /* We use char because int might match the return type of a gcc2
94179 builtin and then its argument prototype would still apply. */
94180 char $ac_func ();
94181 /* The GNU C library defines this for functions which it implements
94182 to always fail with ENOSYS. Some functions are actually named
94183 something starting with __ and the normal name is an alias. */
94184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94185 choke me
94186 #else
94187 char (*f) () = $ac_func;
94188 #endif
94189 #ifdef __cplusplus
94191 #endif
94194 main ()
94196 return f != $ac_func;
94198 return 0;
94200 _ACEOF
94201 rm -f conftest.$ac_objext conftest$ac_exeext
94202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94203 (eval $ac_link) 2>conftest.er1
94204 ac_status=$?
94205 grep -v '^ *+' conftest.er1 >conftest.err
94206 rm -f conftest.er1
94207 cat conftest.err >&5
94208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94209 (exit $ac_status); } &&
94210 { ac_try='test -z "$ac_c_werror_flag"
94211 || test ! -s conftest.err'
94212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94213 (eval $ac_try) 2>&5
94214 ac_status=$?
94215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 (exit $ac_status); }; } &&
94217 { ac_try='test -s conftest$ac_exeext'
94218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94219 (eval $ac_try) 2>&5
94220 ac_status=$?
94221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94222 (exit $ac_status); }; }; then
94223 eval "$as_ac_var=yes"
94224 else
94225 echo "$as_me: failed program was:" >&5
94226 sed 's/^/| /' conftest.$ac_ext >&5
94228 eval "$as_ac_var=no"
94230 rm -f conftest.err conftest.$ac_objext \
94231 conftest$ac_exeext conftest.$ac_ext
94233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94235 if test `eval echo '${'$as_ac_var'}'` = yes; then
94236 cat >>confdefs.h <<_ACEOF
94237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94238 _ACEOF
94240 else
94241 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94243 done
94247 for ac_func in __signbit
94249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94250 echo "$as_me:$LINENO: checking for $ac_func" >&5
94251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94252 if eval "test \"\${$as_ac_var+set}\" = set"; then
94253 echo $ECHO_N "(cached) $ECHO_C" >&6
94254 else
94255 if test x$gcc_no_link = xyes; then
94256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94258 { (exit 1); exit 1; }; }
94260 cat >conftest.$ac_ext <<_ACEOF
94261 /* confdefs.h. */
94262 _ACEOF
94263 cat confdefs.h >>conftest.$ac_ext
94264 cat >>conftest.$ac_ext <<_ACEOF
94265 /* end confdefs.h. */
94266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94268 #define $ac_func innocuous_$ac_func
94270 /* System header to define __stub macros and hopefully few prototypes,
94271 which can conflict with char $ac_func (); below.
94272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94273 <limits.h> exists even on freestanding compilers. */
94275 #ifdef __STDC__
94276 # include <limits.h>
94277 #else
94278 # include <assert.h>
94279 #endif
94281 #undef $ac_func
94283 /* Override any gcc2 internal prototype to avoid an error. */
94284 #ifdef __cplusplus
94285 extern "C"
94287 #endif
94288 /* We use char because int might match the return type of a gcc2
94289 builtin and then its argument prototype would still apply. */
94290 char $ac_func ();
94291 /* The GNU C library defines this for functions which it implements
94292 to always fail with ENOSYS. Some functions are actually named
94293 something starting with __ and the normal name is an alias. */
94294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94295 choke me
94296 #else
94297 char (*f) () = $ac_func;
94298 #endif
94299 #ifdef __cplusplus
94301 #endif
94304 main ()
94306 return f != $ac_func;
94308 return 0;
94310 _ACEOF
94311 rm -f conftest.$ac_objext conftest$ac_exeext
94312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94313 (eval $ac_link) 2>conftest.er1
94314 ac_status=$?
94315 grep -v '^ *+' conftest.er1 >conftest.err
94316 rm -f conftest.er1
94317 cat conftest.err >&5
94318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94319 (exit $ac_status); } &&
94320 { ac_try='test -z "$ac_c_werror_flag"
94321 || test ! -s conftest.err'
94322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94323 (eval $ac_try) 2>&5
94324 ac_status=$?
94325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326 (exit $ac_status); }; } &&
94327 { ac_try='test -s conftest$ac_exeext'
94328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94329 (eval $ac_try) 2>&5
94330 ac_status=$?
94331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94332 (exit $ac_status); }; }; then
94333 eval "$as_ac_var=yes"
94334 else
94335 echo "$as_me: failed program was:" >&5
94336 sed 's/^/| /' conftest.$ac_ext >&5
94338 eval "$as_ac_var=no"
94340 rm -f conftest.err conftest.$ac_objext \
94341 conftest$ac_exeext conftest.$ac_ext
94343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94345 if test `eval echo '${'$as_ac_var'}'` = yes; then
94346 cat >>confdefs.h <<_ACEOF
94347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94348 _ACEOF
94350 else
94351 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94353 done
94357 for ac_func in __signbitf
94359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94360 echo "$as_me:$LINENO: checking for $ac_func" >&5
94361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94362 if eval "test \"\${$as_ac_var+set}\" = set"; then
94363 echo $ECHO_N "(cached) $ECHO_C" >&6
94364 else
94365 if test x$gcc_no_link = xyes; then
94366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94368 { (exit 1); exit 1; }; }
94370 cat >conftest.$ac_ext <<_ACEOF
94371 /* confdefs.h. */
94372 _ACEOF
94373 cat confdefs.h >>conftest.$ac_ext
94374 cat >>conftest.$ac_ext <<_ACEOF
94375 /* end confdefs.h. */
94376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94378 #define $ac_func innocuous_$ac_func
94380 /* System header to define __stub macros and hopefully few prototypes,
94381 which can conflict with char $ac_func (); below.
94382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94383 <limits.h> exists even on freestanding compilers. */
94385 #ifdef __STDC__
94386 # include <limits.h>
94387 #else
94388 # include <assert.h>
94389 #endif
94391 #undef $ac_func
94393 /* Override any gcc2 internal prototype to avoid an error. */
94394 #ifdef __cplusplus
94395 extern "C"
94397 #endif
94398 /* We use char because int might match the return type of a gcc2
94399 builtin and then its argument prototype would still apply. */
94400 char $ac_func ();
94401 /* The GNU C library defines this for functions which it implements
94402 to always fail with ENOSYS. Some functions are actually named
94403 something starting with __ and the normal name is an alias. */
94404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94405 choke me
94406 #else
94407 char (*f) () = $ac_func;
94408 #endif
94409 #ifdef __cplusplus
94411 #endif
94414 main ()
94416 return f != $ac_func;
94418 return 0;
94420 _ACEOF
94421 rm -f conftest.$ac_objext conftest$ac_exeext
94422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94423 (eval $ac_link) 2>conftest.er1
94424 ac_status=$?
94425 grep -v '^ *+' conftest.er1 >conftest.err
94426 rm -f conftest.er1
94427 cat conftest.err >&5
94428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94429 (exit $ac_status); } &&
94430 { ac_try='test -z "$ac_c_werror_flag"
94431 || test ! -s conftest.err'
94432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94433 (eval $ac_try) 2>&5
94434 ac_status=$?
94435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94436 (exit $ac_status); }; } &&
94437 { ac_try='test -s conftest$ac_exeext'
94438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94439 (eval $ac_try) 2>&5
94440 ac_status=$?
94441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94442 (exit $ac_status); }; }; then
94443 eval "$as_ac_var=yes"
94444 else
94445 echo "$as_me: failed program was:" >&5
94446 sed 's/^/| /' conftest.$ac_ext >&5
94448 eval "$as_ac_var=no"
94450 rm -f conftest.err conftest.$ac_objext \
94451 conftest$ac_exeext conftest.$ac_ext
94453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94455 if test `eval echo '${'$as_ac_var'}'` = yes; then
94456 cat >>confdefs.h <<_ACEOF
94457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94458 _ACEOF
94460 else
94461 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94463 done
94466 if test x$ac_cv_func_copysignl = x"yes"; then
94468 for ac_func in __signbitl
94470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94471 echo "$as_me:$LINENO: checking for $ac_func" >&5
94472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94473 if eval "test \"\${$as_ac_var+set}\" = set"; then
94474 echo $ECHO_N "(cached) $ECHO_C" >&6
94475 else
94476 if test x$gcc_no_link = xyes; then
94477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94479 { (exit 1); exit 1; }; }
94481 cat >conftest.$ac_ext <<_ACEOF
94482 /* confdefs.h. */
94483 _ACEOF
94484 cat confdefs.h >>conftest.$ac_ext
94485 cat >>conftest.$ac_ext <<_ACEOF
94486 /* end confdefs.h. */
94487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94489 #define $ac_func innocuous_$ac_func
94491 /* System header to define __stub macros and hopefully few prototypes,
94492 which can conflict with char $ac_func (); below.
94493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94494 <limits.h> exists even on freestanding compilers. */
94496 #ifdef __STDC__
94497 # include <limits.h>
94498 #else
94499 # include <assert.h>
94500 #endif
94502 #undef $ac_func
94504 /* Override any gcc2 internal prototype to avoid an error. */
94505 #ifdef __cplusplus
94506 extern "C"
94508 #endif
94509 /* We use char because int might match the return type of a gcc2
94510 builtin and then its argument prototype would still apply. */
94511 char $ac_func ();
94512 /* The GNU C library defines this for functions which it implements
94513 to always fail with ENOSYS. Some functions are actually named
94514 something starting with __ and the normal name is an alias. */
94515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94516 choke me
94517 #else
94518 char (*f) () = $ac_func;
94519 #endif
94520 #ifdef __cplusplus
94522 #endif
94525 main ()
94527 return f != $ac_func;
94529 return 0;
94531 _ACEOF
94532 rm -f conftest.$ac_objext conftest$ac_exeext
94533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94534 (eval $ac_link) 2>conftest.er1
94535 ac_status=$?
94536 grep -v '^ *+' conftest.er1 >conftest.err
94537 rm -f conftest.er1
94538 cat conftest.err >&5
94539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94540 (exit $ac_status); } &&
94541 { ac_try='test -z "$ac_c_werror_flag"
94542 || test ! -s conftest.err'
94543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94544 (eval $ac_try) 2>&5
94545 ac_status=$?
94546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94547 (exit $ac_status); }; } &&
94548 { ac_try='test -s conftest$ac_exeext'
94549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94550 (eval $ac_try) 2>&5
94551 ac_status=$?
94552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553 (exit $ac_status); }; }; then
94554 eval "$as_ac_var=yes"
94555 else
94556 echo "$as_me: failed program was:" >&5
94557 sed 's/^/| /' conftest.$ac_ext >&5
94559 eval "$as_ac_var=no"
94561 rm -f conftest.err conftest.$ac_objext \
94562 conftest$ac_exeext conftest.$ac_ext
94564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94566 if test `eval echo '${'$as_ac_var'}'` = yes; then
94567 cat >>confdefs.h <<_ACEOF
94568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94569 _ACEOF
94571 else
94572 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94574 done
94578 # Used in libmath/Makefile.am.
94579 if test -n "$LIBMATHOBJS"; then
94580 need_libmath=yes
94585 # Test wchar.h for mbstate_t, which is needed for char_traits and
94586 # others even if wchar_t support is not on.
94587 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94588 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94589 cat >conftest.$ac_ext <<_ACEOF
94590 /* confdefs.h. */
94591 _ACEOF
94592 cat confdefs.h >>conftest.$ac_ext
94593 cat >>conftest.$ac_ext <<_ACEOF
94594 /* end confdefs.h. */
94595 #include <wchar.h>
94597 main ()
94599 mbstate_t teststate;
94601 return 0;
94603 _ACEOF
94604 rm -f conftest.$ac_objext
94605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94606 (eval $ac_compile) 2>conftest.er1
94607 ac_status=$?
94608 grep -v '^ *+' conftest.er1 >conftest.err
94609 rm -f conftest.er1
94610 cat conftest.err >&5
94611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94612 (exit $ac_status); } &&
94613 { ac_try='test -z "$ac_c_werror_flag"
94614 || test ! -s conftest.err'
94615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94616 (eval $ac_try) 2>&5
94617 ac_status=$?
94618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94619 (exit $ac_status); }; } &&
94620 { ac_try='test -s conftest.$ac_objext'
94621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94622 (eval $ac_try) 2>&5
94623 ac_status=$?
94624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94625 (exit $ac_status); }; }; then
94626 have_mbstate_t=yes
94627 else
94628 echo "$as_me: failed program was:" >&5
94629 sed 's/^/| /' conftest.$ac_ext >&5
94631 have_mbstate_t=no
94633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94634 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94635 echo "${ECHO_T}$have_mbstate_t" >&6
94636 if test x"$have_mbstate_t" = xyes; then
94637 cat >>confdefs.h <<\_ACEOF
94638 #define HAVE_MBSTATE_T 1
94639 _ACEOF
94643 # Sanity check for existence of ISO C99 headers for extended encoding.
94645 for ac_header in wchar.h
94647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94649 echo "$as_me:$LINENO: checking for $ac_header" >&5
94650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94652 echo $ECHO_N "(cached) $ECHO_C" >&6
94654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94656 else
94657 # Is the header compilable?
94658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94660 cat >conftest.$ac_ext <<_ACEOF
94661 /* confdefs.h. */
94662 _ACEOF
94663 cat confdefs.h >>conftest.$ac_ext
94664 cat >>conftest.$ac_ext <<_ACEOF
94665 /* end confdefs.h. */
94666 $ac_includes_default
94667 #include <$ac_header>
94668 _ACEOF
94669 rm -f conftest.$ac_objext
94670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94671 (eval $ac_compile) 2>conftest.er1
94672 ac_status=$?
94673 grep -v '^ *+' conftest.er1 >conftest.err
94674 rm -f conftest.er1
94675 cat conftest.err >&5
94676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94677 (exit $ac_status); } &&
94678 { ac_try='test -z "$ac_c_werror_flag"
94679 || test ! -s conftest.err'
94680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94681 (eval $ac_try) 2>&5
94682 ac_status=$?
94683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94684 (exit $ac_status); }; } &&
94685 { ac_try='test -s conftest.$ac_objext'
94686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94687 (eval $ac_try) 2>&5
94688 ac_status=$?
94689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94690 (exit $ac_status); }; }; then
94691 ac_header_compiler=yes
94692 else
94693 echo "$as_me: failed program was:" >&5
94694 sed 's/^/| /' conftest.$ac_ext >&5
94696 ac_header_compiler=no
94698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94700 echo "${ECHO_T}$ac_header_compiler" >&6
94702 # Is the header present?
94703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94705 cat >conftest.$ac_ext <<_ACEOF
94706 /* confdefs.h. */
94707 _ACEOF
94708 cat confdefs.h >>conftest.$ac_ext
94709 cat >>conftest.$ac_ext <<_ACEOF
94710 /* end confdefs.h. */
94711 #include <$ac_header>
94712 _ACEOF
94713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94715 ac_status=$?
94716 grep -v '^ *+' conftest.er1 >conftest.err
94717 rm -f conftest.er1
94718 cat conftest.err >&5
94719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94720 (exit $ac_status); } >/dev/null; then
94721 if test -s conftest.err; then
94722 ac_cpp_err=$ac_c_preproc_warn_flag
94723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94724 else
94725 ac_cpp_err=
94727 else
94728 ac_cpp_err=yes
94730 if test -z "$ac_cpp_err"; then
94731 ac_header_preproc=yes
94732 else
94733 echo "$as_me: failed program was:" >&5
94734 sed 's/^/| /' conftest.$ac_ext >&5
94736 ac_header_preproc=no
94738 rm -f conftest.err conftest.$ac_ext
94739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94740 echo "${ECHO_T}$ac_header_preproc" >&6
94742 # So? What about this header?
94743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94744 yes:no: )
94745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94749 ac_header_preproc=yes
94751 no:yes:* )
94752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94765 cat <<\_ASBOX
94766 ## ----------------------------------------- ##
94767 ## Report this to the package-unused lists. ##
94768 ## ----------------------------------------- ##
94769 _ASBOX
94771 sed "s/^/$as_me: WARNING: /" >&2
94773 esac
94774 echo "$as_me:$LINENO: checking for $ac_header" >&5
94775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94777 echo $ECHO_N "(cached) $ECHO_C" >&6
94778 else
94779 eval "$as_ac_Header=\$ac_header_preproc"
94781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94786 cat >>confdefs.h <<_ACEOF
94787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94788 _ACEOF
94789 ac_has_wchar_h=yes
94790 else
94791 ac_has_wchar_h=no
94794 done
94797 for ac_header in wctype.h
94799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94801 echo "$as_me:$LINENO: checking for $ac_header" >&5
94802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94804 echo $ECHO_N "(cached) $ECHO_C" >&6
94806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94808 else
94809 # Is the header compilable?
94810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94812 cat >conftest.$ac_ext <<_ACEOF
94813 /* confdefs.h. */
94814 _ACEOF
94815 cat confdefs.h >>conftest.$ac_ext
94816 cat >>conftest.$ac_ext <<_ACEOF
94817 /* end confdefs.h. */
94818 $ac_includes_default
94819 #include <$ac_header>
94820 _ACEOF
94821 rm -f conftest.$ac_objext
94822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94823 (eval $ac_compile) 2>conftest.er1
94824 ac_status=$?
94825 grep -v '^ *+' conftest.er1 >conftest.err
94826 rm -f conftest.er1
94827 cat conftest.err >&5
94828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94829 (exit $ac_status); } &&
94830 { ac_try='test -z "$ac_c_werror_flag"
94831 || test ! -s conftest.err'
94832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94833 (eval $ac_try) 2>&5
94834 ac_status=$?
94835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94836 (exit $ac_status); }; } &&
94837 { ac_try='test -s conftest.$ac_objext'
94838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94839 (eval $ac_try) 2>&5
94840 ac_status=$?
94841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94842 (exit $ac_status); }; }; then
94843 ac_header_compiler=yes
94844 else
94845 echo "$as_me: failed program was:" >&5
94846 sed 's/^/| /' conftest.$ac_ext >&5
94848 ac_header_compiler=no
94850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94852 echo "${ECHO_T}$ac_header_compiler" >&6
94854 # Is the header present?
94855 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94857 cat >conftest.$ac_ext <<_ACEOF
94858 /* confdefs.h. */
94859 _ACEOF
94860 cat confdefs.h >>conftest.$ac_ext
94861 cat >>conftest.$ac_ext <<_ACEOF
94862 /* end confdefs.h. */
94863 #include <$ac_header>
94864 _ACEOF
94865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94867 ac_status=$?
94868 grep -v '^ *+' conftest.er1 >conftest.err
94869 rm -f conftest.er1
94870 cat conftest.err >&5
94871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94872 (exit $ac_status); } >/dev/null; then
94873 if test -s conftest.err; then
94874 ac_cpp_err=$ac_c_preproc_warn_flag
94875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94876 else
94877 ac_cpp_err=
94879 else
94880 ac_cpp_err=yes
94882 if test -z "$ac_cpp_err"; then
94883 ac_header_preproc=yes
94884 else
94885 echo "$as_me: failed program was:" >&5
94886 sed 's/^/| /' conftest.$ac_ext >&5
94888 ac_header_preproc=no
94890 rm -f conftest.err conftest.$ac_ext
94891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94892 echo "${ECHO_T}$ac_header_preproc" >&6
94894 # So? What about this header?
94895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94896 yes:no: )
94897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94900 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94901 ac_header_preproc=yes
94903 no:yes:* )
94904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94908 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94909 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94910 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94911 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94914 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94915 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94917 cat <<\_ASBOX
94918 ## ----------------------------------------- ##
94919 ## Report this to the package-unused lists. ##
94920 ## ----------------------------------------- ##
94921 _ASBOX
94923 sed "s/^/$as_me: WARNING: /" >&2
94925 esac
94926 echo "$as_me:$LINENO: checking for $ac_header" >&5
94927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94929 echo $ECHO_N "(cached) $ECHO_C" >&6
94930 else
94931 eval "$as_ac_Header=\$ac_header_preproc"
94933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94938 cat >>confdefs.h <<_ACEOF
94939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94940 _ACEOF
94941 ac_has_wctype_h=yes
94942 else
94943 ac_has_wctype_h=no
94946 done
94949 # Only continue checking if the ISO C99 headers exist and support is on.
94950 if test x"$ac_has_wchar_h" = xyes &&
94951 test x"$ac_has_wctype_h" = xyes &&
94952 test x"$enable_c_mbchar" != xno; then
94954 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94955 # numeric_limits can instantiate type_traits<wchar_t>
94956 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94957 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94958 cat >conftest.$ac_ext <<_ACEOF
94959 /* confdefs.h. */
94960 _ACEOF
94961 cat confdefs.h >>conftest.$ac_ext
94962 cat >>conftest.$ac_ext <<_ACEOF
94963 /* end confdefs.h. */
94964 #include <wchar.h>
94966 main ()
94968 int i = WCHAR_MIN; int j = WCHAR_MAX;
94970 return 0;
94972 _ACEOF
94973 rm -f conftest.$ac_objext
94974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94975 (eval $ac_compile) 2>conftest.er1
94976 ac_status=$?
94977 grep -v '^ *+' conftest.er1 >conftest.err
94978 rm -f conftest.er1
94979 cat conftest.err >&5
94980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94981 (exit $ac_status); } &&
94982 { ac_try='test -z "$ac_c_werror_flag"
94983 || test ! -s conftest.err'
94984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94985 (eval $ac_try) 2>&5
94986 ac_status=$?
94987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94988 (exit $ac_status); }; } &&
94989 { ac_try='test -s conftest.$ac_objext'
94990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94991 (eval $ac_try) 2>&5
94992 ac_status=$?
94993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94994 (exit $ac_status); }; }; then
94995 has_wchar_minmax=yes
94996 else
94997 echo "$as_me: failed program was:" >&5
94998 sed 's/^/| /' conftest.$ac_ext >&5
95000 has_wchar_minmax=no
95002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95003 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
95004 echo "${ECHO_T}$has_wchar_minmax" >&6
95006 # Test wchar.h for WEOF, which is what we use to determine whether
95007 # to specialize for char_traits<wchar_t> or not.
95008 echo "$as_me:$LINENO: checking for WEOF" >&5
95009 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
95010 cat >conftest.$ac_ext <<_ACEOF
95011 /* confdefs.h. */
95012 _ACEOF
95013 cat confdefs.h >>conftest.$ac_ext
95014 cat >>conftest.$ac_ext <<_ACEOF
95015 /* end confdefs.h. */
95017 #include <wchar.h>
95018 #include <stddef.h>
95020 main ()
95022 wint_t i = WEOF;
95024 return 0;
95026 _ACEOF
95027 rm -f conftest.$ac_objext
95028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95029 (eval $ac_compile) 2>conftest.er1
95030 ac_status=$?
95031 grep -v '^ *+' conftest.er1 >conftest.err
95032 rm -f conftest.er1
95033 cat conftest.err >&5
95034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95035 (exit $ac_status); } &&
95036 { ac_try='test -z "$ac_c_werror_flag"
95037 || test ! -s conftest.err'
95038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95039 (eval $ac_try) 2>&5
95040 ac_status=$?
95041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95042 (exit $ac_status); }; } &&
95043 { ac_try='test -s conftest.$ac_objext'
95044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95045 (eval $ac_try) 2>&5
95046 ac_status=$?
95047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95048 (exit $ac_status); }; }; then
95049 has_weof=yes
95050 else
95051 echo "$as_me: failed program was:" >&5
95052 sed 's/^/| /' conftest.$ac_ext >&5
95054 has_weof=no
95056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95057 echo "$as_me:$LINENO: result: $has_weof" >&5
95058 echo "${ECHO_T}$has_weof" >&6
95060 # Tests for wide character functions used in char_traits<wchar_t>.
95061 ac_wfuncs=yes
95068 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95071 echo "$as_me:$LINENO: checking for $ac_func" >&5
95072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95073 if eval "test \"\${$as_ac_var+set}\" = set"; then
95074 echo $ECHO_N "(cached) $ECHO_C" >&6
95075 else
95076 if test x$gcc_no_link = xyes; then
95077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95079 { (exit 1); exit 1; }; }
95081 cat >conftest.$ac_ext <<_ACEOF
95082 /* confdefs.h. */
95083 _ACEOF
95084 cat confdefs.h >>conftest.$ac_ext
95085 cat >>conftest.$ac_ext <<_ACEOF
95086 /* end confdefs.h. */
95087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95089 #define $ac_func innocuous_$ac_func
95091 /* System header to define __stub macros and hopefully few prototypes,
95092 which can conflict with char $ac_func (); below.
95093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95094 <limits.h> exists even on freestanding compilers. */
95096 #ifdef __STDC__
95097 # include <limits.h>
95098 #else
95099 # include <assert.h>
95100 #endif
95102 #undef $ac_func
95104 /* Override any gcc2 internal prototype to avoid an error. */
95105 #ifdef __cplusplus
95106 extern "C"
95108 #endif
95109 /* We use char because int might match the return type of a gcc2
95110 builtin and then its argument prototype would still apply. */
95111 char $ac_func ();
95112 /* The GNU C library defines this for functions which it implements
95113 to always fail with ENOSYS. Some functions are actually named
95114 something starting with __ and the normal name is an alias. */
95115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95116 choke me
95117 #else
95118 char (*f) () = $ac_func;
95119 #endif
95120 #ifdef __cplusplus
95122 #endif
95125 main ()
95127 return f != $ac_func;
95129 return 0;
95131 _ACEOF
95132 rm -f conftest.$ac_objext conftest$ac_exeext
95133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95134 (eval $ac_link) 2>conftest.er1
95135 ac_status=$?
95136 grep -v '^ *+' conftest.er1 >conftest.err
95137 rm -f conftest.er1
95138 cat conftest.err >&5
95139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95140 (exit $ac_status); } &&
95141 { ac_try='test -z "$ac_c_werror_flag"
95142 || test ! -s conftest.err'
95143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95144 (eval $ac_try) 2>&5
95145 ac_status=$?
95146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147 (exit $ac_status); }; } &&
95148 { ac_try='test -s conftest$ac_exeext'
95149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95150 (eval $ac_try) 2>&5
95151 ac_status=$?
95152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95153 (exit $ac_status); }; }; then
95154 eval "$as_ac_var=yes"
95155 else
95156 echo "$as_me: failed program was:" >&5
95157 sed 's/^/| /' conftest.$ac_ext >&5
95159 eval "$as_ac_var=no"
95161 rm -f conftest.err conftest.$ac_objext \
95162 conftest$ac_exeext conftest.$ac_ext
95164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95166 if test `eval echo '${'$as_ac_var'}'` = yes; then
95167 cat >>confdefs.h <<_ACEOF
95168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95169 _ACEOF
95171 else
95172 ac_wfuncs=no
95174 done
95177 # Checks for names injected into std:: by the c_std headers.
95224 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95225 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95226 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95227 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95228 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95229 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95232 echo "$as_me:$LINENO: checking for $ac_func" >&5
95233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95234 if eval "test \"\${$as_ac_var+set}\" = set"; then
95235 echo $ECHO_N "(cached) $ECHO_C" >&6
95236 else
95237 if test x$gcc_no_link = xyes; then
95238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95240 { (exit 1); exit 1; }; }
95242 cat >conftest.$ac_ext <<_ACEOF
95243 /* confdefs.h. */
95244 _ACEOF
95245 cat confdefs.h >>conftest.$ac_ext
95246 cat >>conftest.$ac_ext <<_ACEOF
95247 /* end confdefs.h. */
95248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95250 #define $ac_func innocuous_$ac_func
95252 /* System header to define __stub macros and hopefully few prototypes,
95253 which can conflict with char $ac_func (); below.
95254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95255 <limits.h> exists even on freestanding compilers. */
95257 #ifdef __STDC__
95258 # include <limits.h>
95259 #else
95260 # include <assert.h>
95261 #endif
95263 #undef $ac_func
95265 /* Override any gcc2 internal prototype to avoid an error. */
95266 #ifdef __cplusplus
95267 extern "C"
95269 #endif
95270 /* We use char because int might match the return type of a gcc2
95271 builtin and then its argument prototype would still apply. */
95272 char $ac_func ();
95273 /* The GNU C library defines this for functions which it implements
95274 to always fail with ENOSYS. Some functions are actually named
95275 something starting with __ and the normal name is an alias. */
95276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95277 choke me
95278 #else
95279 char (*f) () = $ac_func;
95280 #endif
95281 #ifdef __cplusplus
95283 #endif
95286 main ()
95288 return f != $ac_func;
95290 return 0;
95292 _ACEOF
95293 rm -f conftest.$ac_objext conftest$ac_exeext
95294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95295 (eval $ac_link) 2>conftest.er1
95296 ac_status=$?
95297 grep -v '^ *+' conftest.er1 >conftest.err
95298 rm -f conftest.er1
95299 cat conftest.err >&5
95300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95301 (exit $ac_status); } &&
95302 { ac_try='test -z "$ac_c_werror_flag"
95303 || test ! -s conftest.err'
95304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95305 (eval $ac_try) 2>&5
95306 ac_status=$?
95307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95308 (exit $ac_status); }; } &&
95309 { ac_try='test -s conftest$ac_exeext'
95310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95311 (eval $ac_try) 2>&5
95312 ac_status=$?
95313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95314 (exit $ac_status); }; }; then
95315 eval "$as_ac_var=yes"
95316 else
95317 echo "$as_me: failed program was:" >&5
95318 sed 's/^/| /' conftest.$ac_ext >&5
95320 eval "$as_ac_var=no"
95322 rm -f conftest.err conftest.$ac_objext \
95323 conftest$ac_exeext conftest.$ac_ext
95325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95327 if test `eval echo '${'$as_ac_var'}'` = yes; then
95328 cat >>confdefs.h <<_ACEOF
95329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95330 _ACEOF
95332 else
95333 ac_wfuncs=no
95335 done
95338 # Checks for wide character functions that are not required
95339 # for basic wchar_t support. Don't disable support if they are missing.
95340 # Injection of these is wrapped with guard macros.
95346 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95349 echo "$as_me:$LINENO: checking for $ac_func" >&5
95350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95351 if eval "test \"\${$as_ac_var+set}\" = set"; then
95352 echo $ECHO_N "(cached) $ECHO_C" >&6
95353 else
95354 if test x$gcc_no_link = xyes; then
95355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95357 { (exit 1); exit 1; }; }
95359 cat >conftest.$ac_ext <<_ACEOF
95360 /* confdefs.h. */
95361 _ACEOF
95362 cat confdefs.h >>conftest.$ac_ext
95363 cat >>conftest.$ac_ext <<_ACEOF
95364 /* end confdefs.h. */
95365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95367 #define $ac_func innocuous_$ac_func
95369 /* System header to define __stub macros and hopefully few prototypes,
95370 which can conflict with char $ac_func (); below.
95371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95372 <limits.h> exists even on freestanding compilers. */
95374 #ifdef __STDC__
95375 # include <limits.h>
95376 #else
95377 # include <assert.h>
95378 #endif
95380 #undef $ac_func
95382 /* Override any gcc2 internal prototype to avoid an error. */
95383 #ifdef __cplusplus
95384 extern "C"
95386 #endif
95387 /* We use char because int might match the return type of a gcc2
95388 builtin and then its argument prototype would still apply. */
95389 char $ac_func ();
95390 /* The GNU C library defines this for functions which it implements
95391 to always fail with ENOSYS. Some functions are actually named
95392 something starting with __ and the normal name is an alias. */
95393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95394 choke me
95395 #else
95396 char (*f) () = $ac_func;
95397 #endif
95398 #ifdef __cplusplus
95400 #endif
95403 main ()
95405 return f != $ac_func;
95407 return 0;
95409 _ACEOF
95410 rm -f conftest.$ac_objext conftest$ac_exeext
95411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95412 (eval $ac_link) 2>conftest.er1
95413 ac_status=$?
95414 grep -v '^ *+' conftest.er1 >conftest.err
95415 rm -f conftest.er1
95416 cat conftest.err >&5
95417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95418 (exit $ac_status); } &&
95419 { ac_try='test -z "$ac_c_werror_flag"
95420 || test ! -s conftest.err'
95421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95422 (eval $ac_try) 2>&5
95423 ac_status=$?
95424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95425 (exit $ac_status); }; } &&
95426 { ac_try='test -s conftest$ac_exeext'
95427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95428 (eval $ac_try) 2>&5
95429 ac_status=$?
95430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95431 (exit $ac_status); }; }; then
95432 eval "$as_ac_var=yes"
95433 else
95434 echo "$as_me: failed program was:" >&5
95435 sed 's/^/| /' conftest.$ac_ext >&5
95437 eval "$as_ac_var=no"
95439 rm -f conftest.err conftest.$ac_objext \
95440 conftest$ac_exeext conftest.$ac_ext
95442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95444 if test `eval echo '${'$as_ac_var'}'` = yes; then
95445 cat >>confdefs.h <<_ACEOF
95446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95447 _ACEOF
95450 done
95453 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95454 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95455 if test x"$has_weof" = xyes &&
95456 test x"$has_wchar_minmax" = xyes &&
95457 test x"$ac_wfuncs" = xyes;
95458 then
95459 ac_isoC99_wchar_t=yes
95460 else
95461 ac_isoC99_wchar_t=no
95463 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95464 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95466 # Use iconv for wchar_t to char conversions. As such, check for
95467 # X/Open Portability Guide, version 2 features (XPG2).
95468 if test "${ac_cv_header_iconv_h+set}" = set; then
95469 echo "$as_me:$LINENO: checking for iconv.h" >&5
95470 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95471 if test "${ac_cv_header_iconv_h+set}" = set; then
95472 echo $ECHO_N "(cached) $ECHO_C" >&6
95474 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95475 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95476 else
95477 # Is the header compilable?
95478 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95479 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95480 cat >conftest.$ac_ext <<_ACEOF
95481 /* confdefs.h. */
95482 _ACEOF
95483 cat confdefs.h >>conftest.$ac_ext
95484 cat >>conftest.$ac_ext <<_ACEOF
95485 /* end confdefs.h. */
95486 $ac_includes_default
95487 #include <iconv.h>
95488 _ACEOF
95489 rm -f conftest.$ac_objext
95490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95491 (eval $ac_compile) 2>conftest.er1
95492 ac_status=$?
95493 grep -v '^ *+' conftest.er1 >conftest.err
95494 rm -f conftest.er1
95495 cat conftest.err >&5
95496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95497 (exit $ac_status); } &&
95498 { ac_try='test -z "$ac_c_werror_flag"
95499 || test ! -s conftest.err'
95500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95501 (eval $ac_try) 2>&5
95502 ac_status=$?
95503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95504 (exit $ac_status); }; } &&
95505 { ac_try='test -s conftest.$ac_objext'
95506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95507 (eval $ac_try) 2>&5
95508 ac_status=$?
95509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95510 (exit $ac_status); }; }; then
95511 ac_header_compiler=yes
95512 else
95513 echo "$as_me: failed program was:" >&5
95514 sed 's/^/| /' conftest.$ac_ext >&5
95516 ac_header_compiler=no
95518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95520 echo "${ECHO_T}$ac_header_compiler" >&6
95522 # Is the header present?
95523 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95524 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95525 cat >conftest.$ac_ext <<_ACEOF
95526 /* confdefs.h. */
95527 _ACEOF
95528 cat confdefs.h >>conftest.$ac_ext
95529 cat >>conftest.$ac_ext <<_ACEOF
95530 /* end confdefs.h. */
95531 #include <iconv.h>
95532 _ACEOF
95533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95535 ac_status=$?
95536 grep -v '^ *+' conftest.er1 >conftest.err
95537 rm -f conftest.er1
95538 cat conftest.err >&5
95539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95540 (exit $ac_status); } >/dev/null; then
95541 if test -s conftest.err; then
95542 ac_cpp_err=$ac_c_preproc_warn_flag
95543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95544 else
95545 ac_cpp_err=
95547 else
95548 ac_cpp_err=yes
95550 if test -z "$ac_cpp_err"; then
95551 ac_header_preproc=yes
95552 else
95553 echo "$as_me: failed program was:" >&5
95554 sed 's/^/| /' conftest.$ac_ext >&5
95556 ac_header_preproc=no
95558 rm -f conftest.err conftest.$ac_ext
95559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95560 echo "${ECHO_T}$ac_header_preproc" >&6
95562 # So? What about this header?
95563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95564 yes:no: )
95565 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95566 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95567 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95568 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95569 ac_header_preproc=yes
95571 no:yes:* )
95572 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95573 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95574 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95575 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95576 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95577 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95578 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95579 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95580 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95581 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95582 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95583 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95585 cat <<\_ASBOX
95586 ## ----------------------------------------- ##
95587 ## Report this to the package-unused lists. ##
95588 ## ----------------------------------------- ##
95589 _ASBOX
95591 sed "s/^/$as_me: WARNING: /" >&2
95593 esac
95594 echo "$as_me:$LINENO: checking for iconv.h" >&5
95595 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95596 if test "${ac_cv_header_iconv_h+set}" = set; then
95597 echo $ECHO_N "(cached) $ECHO_C" >&6
95598 else
95599 ac_cv_header_iconv_h=$ac_header_preproc
95601 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95602 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95605 if test $ac_cv_header_iconv_h = yes; then
95606 ac_has_iconv_h=yes
95607 else
95608 ac_has_iconv_h=no
95612 if test "${ac_cv_header_langinfo_h+set}" = set; then
95613 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95614 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95615 if test "${ac_cv_header_langinfo_h+set}" = set; then
95616 echo $ECHO_N "(cached) $ECHO_C" >&6
95618 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95619 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95620 else
95621 # Is the header compilable?
95622 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95623 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95624 cat >conftest.$ac_ext <<_ACEOF
95625 /* confdefs.h. */
95626 _ACEOF
95627 cat confdefs.h >>conftest.$ac_ext
95628 cat >>conftest.$ac_ext <<_ACEOF
95629 /* end confdefs.h. */
95630 $ac_includes_default
95631 #include <langinfo.h>
95632 _ACEOF
95633 rm -f conftest.$ac_objext
95634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95635 (eval $ac_compile) 2>conftest.er1
95636 ac_status=$?
95637 grep -v '^ *+' conftest.er1 >conftest.err
95638 rm -f conftest.er1
95639 cat conftest.err >&5
95640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95641 (exit $ac_status); } &&
95642 { ac_try='test -z "$ac_c_werror_flag"
95643 || test ! -s conftest.err'
95644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95645 (eval $ac_try) 2>&5
95646 ac_status=$?
95647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95648 (exit $ac_status); }; } &&
95649 { ac_try='test -s conftest.$ac_objext'
95650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95651 (eval $ac_try) 2>&5
95652 ac_status=$?
95653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95654 (exit $ac_status); }; }; then
95655 ac_header_compiler=yes
95656 else
95657 echo "$as_me: failed program was:" >&5
95658 sed 's/^/| /' conftest.$ac_ext >&5
95660 ac_header_compiler=no
95662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95664 echo "${ECHO_T}$ac_header_compiler" >&6
95666 # Is the header present?
95667 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95668 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95669 cat >conftest.$ac_ext <<_ACEOF
95670 /* confdefs.h. */
95671 _ACEOF
95672 cat confdefs.h >>conftest.$ac_ext
95673 cat >>conftest.$ac_ext <<_ACEOF
95674 /* end confdefs.h. */
95675 #include <langinfo.h>
95676 _ACEOF
95677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95679 ac_status=$?
95680 grep -v '^ *+' conftest.er1 >conftest.err
95681 rm -f conftest.er1
95682 cat conftest.err >&5
95683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95684 (exit $ac_status); } >/dev/null; then
95685 if test -s conftest.err; then
95686 ac_cpp_err=$ac_c_preproc_warn_flag
95687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95688 else
95689 ac_cpp_err=
95691 else
95692 ac_cpp_err=yes
95694 if test -z "$ac_cpp_err"; then
95695 ac_header_preproc=yes
95696 else
95697 echo "$as_me: failed program was:" >&5
95698 sed 's/^/| /' conftest.$ac_ext >&5
95700 ac_header_preproc=no
95702 rm -f conftest.err conftest.$ac_ext
95703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95704 echo "${ECHO_T}$ac_header_preproc" >&6
95706 # So? What about this header?
95707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95708 yes:no: )
95709 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95710 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95711 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95712 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95713 ac_header_preproc=yes
95715 no:yes:* )
95716 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95717 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95718 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95719 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95720 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95721 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95722 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95723 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95724 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95725 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95726 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95727 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95729 cat <<\_ASBOX
95730 ## ----------------------------------------- ##
95731 ## Report this to the package-unused lists. ##
95732 ## ----------------------------------------- ##
95733 _ASBOX
95735 sed "s/^/$as_me: WARNING: /" >&2
95737 esac
95738 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95739 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95740 if test "${ac_cv_header_langinfo_h+set}" = set; then
95741 echo $ECHO_N "(cached) $ECHO_C" >&6
95742 else
95743 ac_cv_header_langinfo_h=$ac_header_preproc
95745 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95746 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95749 if test $ac_cv_header_langinfo_h = yes; then
95750 ac_has_langinfo_h=yes
95751 else
95752 ac_has_langinfo_h=no
95757 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95758 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95759 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95760 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95761 echo $ECHO_N "(cached) $ECHO_C" >&6
95762 else
95763 ac_check_lib_save_LIBS=$LIBS
95764 LIBS="-liconv $LIBS"
95765 if test x$gcc_no_link = xyes; then
95766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95768 { (exit 1); exit 1; }; }
95770 cat >conftest.$ac_ext <<_ACEOF
95771 /* confdefs.h. */
95772 _ACEOF
95773 cat confdefs.h >>conftest.$ac_ext
95774 cat >>conftest.$ac_ext <<_ACEOF
95775 /* end confdefs.h. */
95777 /* Override any gcc2 internal prototype to avoid an error. */
95778 #ifdef __cplusplus
95779 extern "C"
95780 #endif
95781 /* We use char because int might match the return type of a gcc2
95782 builtin and then its argument prototype would still apply. */
95783 char iconv ();
95785 main ()
95787 iconv ();
95789 return 0;
95791 _ACEOF
95792 rm -f conftest.$ac_objext conftest$ac_exeext
95793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95794 (eval $ac_link) 2>conftest.er1
95795 ac_status=$?
95796 grep -v '^ *+' conftest.er1 >conftest.err
95797 rm -f conftest.er1
95798 cat conftest.err >&5
95799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95800 (exit $ac_status); } &&
95801 { ac_try='test -z "$ac_c_werror_flag"
95802 || test ! -s conftest.err'
95803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95804 (eval $ac_try) 2>&5
95805 ac_status=$?
95806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95807 (exit $ac_status); }; } &&
95808 { ac_try='test -s conftest$ac_exeext'
95809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95810 (eval $ac_try) 2>&5
95811 ac_status=$?
95812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95813 (exit $ac_status); }; }; then
95814 ac_cv_lib_iconv_iconv=yes
95815 else
95816 echo "$as_me: failed program was:" >&5
95817 sed 's/^/| /' conftest.$ac_ext >&5
95819 ac_cv_lib_iconv_iconv=no
95821 rm -f conftest.err conftest.$ac_objext \
95822 conftest$ac_exeext conftest.$ac_ext
95823 LIBS=$ac_check_lib_save_LIBS
95825 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95826 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95827 if test $ac_cv_lib_iconv_iconv = yes; then
95828 LIBICONV="-liconv"
95831 ac_save_LIBS="$LIBS"
95832 LIBS="$LIBS $LIBICONV"
95839 for ac_func in iconv_open iconv_close iconv nl_langinfo
95841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95842 echo "$as_me:$LINENO: checking for $ac_func" >&5
95843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95844 if eval "test \"\${$as_ac_var+set}\" = set"; then
95845 echo $ECHO_N "(cached) $ECHO_C" >&6
95846 else
95847 if test x$gcc_no_link = xyes; then
95848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95850 { (exit 1); exit 1; }; }
95852 cat >conftest.$ac_ext <<_ACEOF
95853 /* confdefs.h. */
95854 _ACEOF
95855 cat confdefs.h >>conftest.$ac_ext
95856 cat >>conftest.$ac_ext <<_ACEOF
95857 /* end confdefs.h. */
95858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95860 #define $ac_func innocuous_$ac_func
95862 /* System header to define __stub macros and hopefully few prototypes,
95863 which can conflict with char $ac_func (); below.
95864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95865 <limits.h> exists even on freestanding compilers. */
95867 #ifdef __STDC__
95868 # include <limits.h>
95869 #else
95870 # include <assert.h>
95871 #endif
95873 #undef $ac_func
95875 /* Override any gcc2 internal prototype to avoid an error. */
95876 #ifdef __cplusplus
95877 extern "C"
95879 #endif
95880 /* We use char because int might match the return type of a gcc2
95881 builtin and then its argument prototype would still apply. */
95882 char $ac_func ();
95883 /* The GNU C library defines this for functions which it implements
95884 to always fail with ENOSYS. Some functions are actually named
95885 something starting with __ and the normal name is an alias. */
95886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95887 choke me
95888 #else
95889 char (*f) () = $ac_func;
95890 #endif
95891 #ifdef __cplusplus
95893 #endif
95896 main ()
95898 return f != $ac_func;
95900 return 0;
95902 _ACEOF
95903 rm -f conftest.$ac_objext conftest$ac_exeext
95904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95905 (eval $ac_link) 2>conftest.er1
95906 ac_status=$?
95907 grep -v '^ *+' conftest.er1 >conftest.err
95908 rm -f conftest.er1
95909 cat conftest.err >&5
95910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95911 (exit $ac_status); } &&
95912 { ac_try='test -z "$ac_c_werror_flag"
95913 || test ! -s conftest.err'
95914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95915 (eval $ac_try) 2>&5
95916 ac_status=$?
95917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95918 (exit $ac_status); }; } &&
95919 { ac_try='test -s conftest$ac_exeext'
95920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95921 (eval $ac_try) 2>&5
95922 ac_status=$?
95923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95924 (exit $ac_status); }; }; then
95925 eval "$as_ac_var=yes"
95926 else
95927 echo "$as_me: failed program was:" >&5
95928 sed 's/^/| /' conftest.$ac_ext >&5
95930 eval "$as_ac_var=no"
95932 rm -f conftest.err conftest.$ac_objext \
95933 conftest$ac_exeext conftest.$ac_ext
95935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95937 if test `eval echo '${'$as_ac_var'}'` = yes; then
95938 cat >>confdefs.h <<_ACEOF
95939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95940 _ACEOF
95941 ac_XPG2funcs=yes
95942 else
95943 ac_XPG2funcs=no
95945 done
95948 LIBS="$ac_save_LIBS"
95950 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95951 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95952 if test x"$ac_has_iconv_h" = xyes &&
95953 test x"$ac_has_langinfo_h" = xyes &&
95954 test x"$ac_XPG2funcs" = xyes;
95955 then
95956 ac_XPG2_wchar_t=yes
95957 else
95958 ac_XPG2_wchar_t=no
95960 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95961 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95963 # At the moment, only enable wchar_t specializations if all the
95964 # above support is present.
95965 if test x"$ac_isoC99_wchar_t" = xyes &&
95966 test x"$ac_XPG2_wchar_t" = xyes;
95967 then
95968 cat >>confdefs.h <<\_ACEOF
95969 #define _GLIBCXX_USE_WCHAR_T 1
95970 _ACEOF
95972 enable_wchar_t=yes
95975 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95976 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95977 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95978 echo "${ECHO_T}$enable_wchar_t" >&6
95980 cat >>confdefs.h <<\_ACEOF
95981 #define HAVE_COPYSIGN 1
95982 _ACEOF
95984 cat >>confdefs.h <<\_ACEOF
95985 #define HAVE_COPYSIGNF 1
95986 _ACEOF
95988 cat >>confdefs.h <<\_ACEOF
95989 #define HAVE_FINITE 1
95990 _ACEOF
95992 cat >>confdefs.h <<\_ACEOF
95993 #define HAVE_FINITEF 1
95994 _ACEOF
95996 cat >>confdefs.h <<\_ACEOF
95997 #define HAVE_FREXPF 1
95998 _ACEOF
96000 cat >>confdefs.h <<\_ACEOF
96001 #define HAVE_HYPOTF 1
96002 _ACEOF
96004 cat >>confdefs.h <<\_ACEOF
96005 #define HAVE_ISINF 1
96006 _ACEOF
96008 cat >>confdefs.h <<\_ACEOF
96009 #define HAVE_ISINFF 1
96010 _ACEOF
96012 cat >>confdefs.h <<\_ACEOF
96013 #define HAVE_ISNAN 1
96014 _ACEOF
96016 cat >>confdefs.h <<\_ACEOF
96017 #define HAVE_ISNANF 1
96018 _ACEOF
96020 cat >>confdefs.h <<\_ACEOF
96021 #define HAVE_SINCOS 1
96022 _ACEOF
96024 cat >>confdefs.h <<\_ACEOF
96025 #define HAVE_SINCOSF 1
96026 _ACEOF
96028 if test x"long_double_math_on_this_cpu" = x"yes"; then
96029 cat >>confdefs.h <<\_ACEOF
96030 #define HAVE_FINITEL 1
96031 _ACEOF
96033 cat >>confdefs.h <<\_ACEOF
96034 #define HAVE_HYPOTL 1
96035 _ACEOF
96037 cat >>confdefs.h <<\_ACEOF
96038 #define HAVE_ISINFL 1
96039 _ACEOF
96041 cat >>confdefs.h <<\_ACEOF
96042 #define HAVE_ISNANL 1
96043 _ACEOF
96047 *-vxworks)
96048 cat >>confdefs.h <<\_ACEOF
96049 #define HAVE_MMAP 1
96050 _ACEOF
96052 cat >>confdefs.h <<\_ACEOF
96053 #define HAVE_ACOSF 1
96054 _ACEOF
96056 cat >>confdefs.h <<\_ACEOF
96057 #define HAVE_ASINF 1
96058 _ACEOF
96060 cat >>confdefs.h <<\_ACEOF
96061 #define HAVE_ATAN2F 1
96062 _ACEOF
96064 cat >>confdefs.h <<\_ACEOF
96065 #define HAVE_ATANF 1
96066 _ACEOF
96068 cat >>confdefs.h <<\_ACEOF
96069 #define HAVE_CEILF 1
96070 _ACEOF
96072 cat >>confdefs.h <<\_ACEOF
96073 #define HAVE_COSF 1
96074 _ACEOF
96076 cat >>confdefs.h <<\_ACEOF
96077 #define HAVE_COSHF 1
96078 _ACEOF
96080 cat >>confdefs.h <<\_ACEOF
96081 #define HAVE_EXPF 1
96082 _ACEOF
96084 cat >>confdefs.h <<\_ACEOF
96085 #define HAVE_FABSF 1
96086 _ACEOF
96088 cat >>confdefs.h <<\_ACEOF
96089 #define HAVE_FLOORF 1
96090 _ACEOF
96092 cat >>confdefs.h <<\_ACEOF
96093 #define HAVE_FMODF 1
96094 _ACEOF
96096 cat >>confdefs.h <<\_ACEOF
96097 #define HAVE_HYPOT 1
96098 _ACEOF
96100 cat >>confdefs.h <<\_ACEOF
96101 #define HAVE_LOG10F 1
96102 _ACEOF
96104 cat >>confdefs.h <<\_ACEOF
96105 #define HAVE_LOGF 1
96106 _ACEOF
96108 cat >>confdefs.h <<\_ACEOF
96109 #define HAVE_POWF 1
96110 _ACEOF
96112 cat >>confdefs.h <<\_ACEOF
96113 #define HAVE_SINF 1
96114 _ACEOF
96116 cat >>confdefs.h <<\_ACEOF
96117 #define HAVE_SINHF 1
96118 _ACEOF
96120 cat >>confdefs.h <<\_ACEOF
96121 #define HAVE_SQRTF 1
96122 _ACEOF
96124 cat >>confdefs.h <<\_ACEOF
96125 #define HAVE_TANF 1
96126 _ACEOF
96128 cat >>confdefs.h <<\_ACEOF
96129 #define HAVE_TANHF 1
96130 _ACEOF
96133 *-windiss*)
96134 cat >>confdefs.h <<\_ACEOF
96135 #define HAVE_ACOSF 1
96136 _ACEOF
96138 cat >>confdefs.h <<\_ACEOF
96139 #define HAVE_ACOSL 1
96140 _ACEOF
96142 cat >>confdefs.h <<\_ACEOF
96143 #define HAVE_ASINF 1
96144 _ACEOF
96146 cat >>confdefs.h <<\_ACEOF
96147 #define HAVE_ASINL 1
96148 _ACEOF
96150 cat >>confdefs.h <<\_ACEOF
96151 #define HAVE_ATAN2F 1
96152 _ACEOF
96154 cat >>confdefs.h <<\_ACEOF
96155 #define HAVE_ATAN2L 1
96156 _ACEOF
96158 cat >>confdefs.h <<\_ACEOF
96159 #define HAVE_ATANF 1
96160 _ACEOF
96162 cat >>confdefs.h <<\_ACEOF
96163 #define HAVE_ATANL 1
96164 _ACEOF
96166 cat >>confdefs.h <<\_ACEOF
96167 #define HAVE_CEILF 1
96168 _ACEOF
96170 cat >>confdefs.h <<\_ACEOF
96171 #define HAVE_CEILL 1
96172 _ACEOF
96174 cat >>confdefs.h <<\_ACEOF
96175 #define HAVE_COPYSIGN 1
96176 _ACEOF
96178 cat >>confdefs.h <<\_ACEOF
96179 #define HAVE_COPYSIGNF 1
96180 _ACEOF
96182 cat >>confdefs.h <<\_ACEOF
96183 #define HAVE_COSF 1
96184 _ACEOF
96186 cat >>confdefs.h <<\_ACEOF
96187 #define HAVE_COSL 1
96188 _ACEOF
96190 cat >>confdefs.h <<\_ACEOF
96191 #define HAVE_COSHF 1
96192 _ACEOF
96194 cat >>confdefs.h <<\_ACEOF
96195 #define HAVE_COSHL 1
96196 _ACEOF
96198 cat >>confdefs.h <<\_ACEOF
96199 #define HAVE_EXPF 1
96200 _ACEOF
96202 cat >>confdefs.h <<\_ACEOF
96203 #define HAVE_EXPL 1
96204 _ACEOF
96206 cat >>confdefs.h <<\_ACEOF
96207 #define HAVE_FABSF 1
96208 _ACEOF
96210 cat >>confdefs.h <<\_ACEOF
96211 #define HAVE_FABSL 1
96212 _ACEOF
96214 cat >>confdefs.h <<\_ACEOF
96215 #define HAVE_FLOORF 1
96216 _ACEOF
96218 cat >>confdefs.h <<\_ACEOF
96219 #define HAVE_FLOORL 1
96220 _ACEOF
96222 cat >>confdefs.h <<\_ACEOF
96223 #define HAVE_FMODF 1
96224 _ACEOF
96226 cat >>confdefs.h <<\_ACEOF
96227 #define HAVE_FMODL 1
96228 _ACEOF
96230 cat >>confdefs.h <<\_ACEOF
96231 #define HAVE_FREXPF 1
96232 _ACEOF
96234 cat >>confdefs.h <<\_ACEOF
96235 #define HAVE_FREXPL 1
96236 _ACEOF
96238 cat >>confdefs.h <<\_ACEOF
96239 #define HAVE_LDEXPF 1
96240 _ACEOF
96242 cat >>confdefs.h <<\_ACEOF
96243 #define HAVE_LDEXPL 1
96244 _ACEOF
96246 cat >>confdefs.h <<\_ACEOF
96247 #define HAVE_LOG10F 1
96248 _ACEOF
96250 cat >>confdefs.h <<\_ACEOF
96251 #define HAVE_LOG10L 1
96252 _ACEOF
96254 cat >>confdefs.h <<\_ACEOF
96255 #define HAVE_LOGF 1
96256 _ACEOF
96258 cat >>confdefs.h <<\_ACEOF
96259 #define HAVE_MODFF 1
96260 _ACEOF
96262 cat >>confdefs.h <<\_ACEOF
96263 #define HAVE_MODFL 1
96264 _ACEOF
96266 cat >>confdefs.h <<\_ACEOF
96267 #define HAVE_POWF 1
96268 _ACEOF
96270 cat >>confdefs.h <<\_ACEOF
96271 #define HAVE_POWL 1
96272 _ACEOF
96274 cat >>confdefs.h <<\_ACEOF
96275 #define HAVE_SINF 1
96276 _ACEOF
96278 cat >>confdefs.h <<\_ACEOF
96279 #define HAVE_SINL 1
96280 _ACEOF
96282 cat >>confdefs.h <<\_ACEOF
96283 #define HAVE_SINHF 1
96284 _ACEOF
96286 cat >>confdefs.h <<\_ACEOF
96287 #define HAVE_SINHL 1
96288 _ACEOF
96290 cat >>confdefs.h <<\_ACEOF
96291 #define HAVE_SQRTF 1
96292 _ACEOF
96294 cat >>confdefs.h <<\_ACEOF
96295 #define HAVE_SQRTL 1
96296 _ACEOF
96298 cat >>confdefs.h <<\_ACEOF
96299 #define HAVE_TANF 1
96300 _ACEOF
96302 cat >>confdefs.h <<\_ACEOF
96303 #define HAVE_TANL 1
96304 _ACEOF
96306 cat >>confdefs.h <<\_ACEOF
96307 #define HAVE_TANHF 1
96308 _ACEOF
96310 cat >>confdefs.h <<\_ACEOF
96311 #define HAVE_TANHL 1
96312 _ACEOF
96316 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96317 echo "$as_me: error: No support for this host/target combination." >&2;}
96318 { (exit 1); exit 1; }; }
96320 esac
96325 # At some point, we should differentiate between architectures
96326 # like x86, which have long double versions, and alpha/powerpc/etc.,
96327 # which don't. For the time being, punt.
96328 if test x"long_double_math_on_this_cpu" = x"yes"; then
96329 cat >>confdefs.h <<\_ACEOF
96330 #define HAVE_ACOSL 1
96331 _ACEOF
96333 cat >>confdefs.h <<\_ACEOF
96334 #define HAVE_ASINL 1
96335 _ACEOF
96337 cat >>confdefs.h <<\_ACEOF
96338 #define HAVE_ATAN2L 1
96339 _ACEOF
96341 cat >>confdefs.h <<\_ACEOF
96342 #define HAVE_ATANL 1
96343 _ACEOF
96345 cat >>confdefs.h <<\_ACEOF
96346 #define HAVE_CEILL 1
96347 _ACEOF
96349 cat >>confdefs.h <<\_ACEOF
96350 #define HAVE_COPYSIGNL 1
96351 _ACEOF
96353 cat >>confdefs.h <<\_ACEOF
96354 #define HAVE_COSL 1
96355 _ACEOF
96357 cat >>confdefs.h <<\_ACEOF
96358 #define HAVE_COSHL 1
96359 _ACEOF
96361 cat >>confdefs.h <<\_ACEOF
96362 #define HAVE_EXPL 1
96363 _ACEOF
96365 cat >>confdefs.h <<\_ACEOF
96366 #define HAVE_FABSL 1
96367 _ACEOF
96369 cat >>confdefs.h <<\_ACEOF
96370 #define HAVE_FLOORL 1
96371 _ACEOF
96373 cat >>confdefs.h <<\_ACEOF
96374 #define HAVE_FMODL 1
96375 _ACEOF
96377 cat >>confdefs.h <<\_ACEOF
96378 #define HAVE_FREXPL 1
96379 _ACEOF
96381 cat >>confdefs.h <<\_ACEOF
96382 #define HAVE_LDEXPL 1
96383 _ACEOF
96385 cat >>confdefs.h <<\_ACEOF
96386 #define HAVE_LOG10L 1
96387 _ACEOF
96389 cat >>confdefs.h <<\_ACEOF
96390 #define HAVE_LOGL 1
96391 _ACEOF
96393 cat >>confdefs.h <<\_ACEOF
96394 #define HAVE_MODFL 1
96395 _ACEOF
96397 cat >>confdefs.h <<\_ACEOF
96398 #define HAVE_POWL 1
96399 _ACEOF
96401 cat >>confdefs.h <<\_ACEOF
96402 #define HAVE_SINCOSL 1
96403 _ACEOF
96405 cat >>confdefs.h <<\_ACEOF
96406 #define HAVE_SINL 1
96407 _ACEOF
96409 cat >>confdefs.h <<\_ACEOF
96410 #define HAVE_SINHL 1
96411 _ACEOF
96413 cat >>confdefs.h <<\_ACEOF
96414 #define HAVE_SQRTL 1
96415 _ACEOF
96417 cat >>confdefs.h <<\_ACEOF
96418 #define HAVE_TANL 1
96419 _ACEOF
96421 cat >>confdefs.h <<\_ACEOF
96422 #define HAVE_TANHL 1
96423 _ACEOF
96429 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96432 # Check whether --enable-symvers or --disable-symvers was given.
96433 if test "${enable_symvers+set}" = set; then
96434 enableval="$enable_symvers"
96436 case "$enableval" in
96437 yes|no|gnu) ;;
96438 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96439 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96440 { (exit 1); exit 1; }; } ;;
96441 esac
96443 else
96444 enable_symvers=yes
96448 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96449 # don't know enough about $LD to do tricks...
96451 # FIXME The following test is too strict, in theory.
96452 if test $enable_shared = no ||
96453 test "x$LD" = x ||
96454 test x$glibcxx_gnu_ld_version = x; then
96455 enable_symvers=no
96458 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96459 if test $enable_symvers != no; then
96460 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96461 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96462 ac_save_CFLAGS="$CFLAGS"
96463 CFLAGS=' -lgcc_s'
96464 if test x$gcc_no_link = xyes; then
96465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96467 { (exit 1); exit 1; }; }
96469 cat >conftest.$ac_ext <<_ACEOF
96470 /* confdefs.h. */
96471 _ACEOF
96472 cat confdefs.h >>conftest.$ac_ext
96473 cat >>conftest.$ac_ext <<_ACEOF
96474 /* end confdefs.h. */
96477 main ()
96479 return 0;
96481 return 0;
96483 _ACEOF
96484 rm -f conftest.$ac_objext conftest$ac_exeext
96485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96486 (eval $ac_link) 2>conftest.er1
96487 ac_status=$?
96488 grep -v '^ *+' conftest.er1 >conftest.err
96489 rm -f conftest.er1
96490 cat conftest.err >&5
96491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96492 (exit $ac_status); } &&
96493 { ac_try='test -z "$ac_c_werror_flag"
96494 || test ! -s conftest.err'
96495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96496 (eval $ac_try) 2>&5
96497 ac_status=$?
96498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96499 (exit $ac_status); }; } &&
96500 { ac_try='test -s conftest$ac_exeext'
96501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96502 (eval $ac_try) 2>&5
96503 ac_status=$?
96504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96505 (exit $ac_status); }; }; then
96506 glibcxx_shared_libgcc=yes
96507 else
96508 echo "$as_me: failed program was:" >&5
96509 sed 's/^/| /' conftest.$ac_ext >&5
96511 glibcxx_shared_libgcc=no
96513 rm -f conftest.err conftest.$ac_objext \
96514 conftest$ac_exeext conftest.$ac_ext
96515 CFLAGS="$ac_save_CFLAGS"
96516 if test $glibcxx_shared_libgcc = no; then
96517 cat > conftest.c <<EOF
96518 int main (void) { return 0; }
96520 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96521 -shared -shared-libgcc -o conftest.so \
96522 conftest.c -v 2>&1 >/dev/null \
96523 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96524 rm -f conftest.c conftest.so
96525 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96526 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96527 if test x$gcc_no_link = xyes; then
96528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96530 { (exit 1); exit 1; }; }
96532 cat >conftest.$ac_ext <<_ACEOF
96533 /* confdefs.h. */
96534 _ACEOF
96535 cat confdefs.h >>conftest.$ac_ext
96536 cat >>conftest.$ac_ext <<_ACEOF
96537 /* end confdefs.h. */
96540 main ()
96542 return 0;
96544 return 0;
96546 _ACEOF
96547 rm -f conftest.$ac_objext conftest$ac_exeext
96548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96549 (eval $ac_link) 2>conftest.er1
96550 ac_status=$?
96551 grep -v '^ *+' conftest.er1 >conftest.err
96552 rm -f conftest.er1
96553 cat conftest.err >&5
96554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96555 (exit $ac_status); } &&
96556 { ac_try='test -z "$ac_c_werror_flag"
96557 || test ! -s conftest.err'
96558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96559 (eval $ac_try) 2>&5
96560 ac_status=$?
96561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96562 (exit $ac_status); }; } &&
96563 { ac_try='test -s conftest$ac_exeext'
96564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96565 (eval $ac_try) 2>&5
96566 ac_status=$?
96567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96568 (exit $ac_status); }; }; then
96569 glibcxx_shared_libgcc=yes
96570 else
96571 echo "$as_me: failed program was:" >&5
96572 sed 's/^/| /' conftest.$ac_ext >&5
96575 rm -f conftest.err conftest.$ac_objext \
96576 conftest$ac_exeext conftest.$ac_ext
96577 CFLAGS="$ac_save_CFLAGS"
96580 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96581 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96584 # For GNU ld, we need at least this version. The format is described in
96585 # GLIBCXX_CHECK_LINKER_FEATURES above.
96586 glibcxx_min_gnu_ld_version=21400
96587 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96589 # Check to see if unspecified "yes" value can win, given results above.
96590 # Change "yes" into either "no" or a style name.
96591 if test $enable_symvers = yes; then
96592 if test $with_gnu_ld = yes &&
96593 test $glibcxx_shared_libgcc = yes;
96594 then
96595 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96596 enable_symvers=gnu
96597 else
96598 # The right tools, the right setup, but too old. Fallbacks?
96599 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96600 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96601 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96602 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96603 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96604 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96605 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96606 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96607 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96608 # Globbing fix is present, proper block support is not.
96609 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96610 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96611 enable_symvers=no
96612 else
96613 # 2.11 or older.
96614 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96615 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96616 enable_symvers=no
96619 else
96620 # just fail for now
96621 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96622 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96623 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96624 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96625 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96626 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96627 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96628 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96629 enable_symvers=no
96633 # Everything parsed; figure out what file to use.
96634 case $enable_symvers in
96636 SYMVER_MAP=config/linker-map.dummy
96638 gnu)
96639 SYMVER_MAP=config/linker-map.gnu
96640 cat >>confdefs.h <<\_ACEOF
96641 #define _GLIBCXX_SYMVER 1
96642 _ACEOF
96645 esac
96650 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96651 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96654 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96656 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96657 # Do checks for resource limit functions.
96659 setrlimit_have_headers=yes
96663 for ac_header in unistd.h sys/time.h sys/resource.h
96665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96667 echo "$as_me:$LINENO: checking for $ac_header" >&5
96668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96670 echo $ECHO_N "(cached) $ECHO_C" >&6
96672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96674 else
96675 # Is the header compilable?
96676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96678 cat >conftest.$ac_ext <<_ACEOF
96679 /* confdefs.h. */
96680 _ACEOF
96681 cat confdefs.h >>conftest.$ac_ext
96682 cat >>conftest.$ac_ext <<_ACEOF
96683 /* end confdefs.h. */
96684 $ac_includes_default
96685 #include <$ac_header>
96686 _ACEOF
96687 rm -f conftest.$ac_objext
96688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96689 (eval $ac_compile) 2>conftest.er1
96690 ac_status=$?
96691 grep -v '^ *+' conftest.er1 >conftest.err
96692 rm -f conftest.er1
96693 cat conftest.err >&5
96694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96695 (exit $ac_status); } &&
96696 { ac_try='test -z "$ac_c_werror_flag"
96697 || test ! -s conftest.err'
96698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96699 (eval $ac_try) 2>&5
96700 ac_status=$?
96701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96702 (exit $ac_status); }; } &&
96703 { ac_try='test -s conftest.$ac_objext'
96704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96705 (eval $ac_try) 2>&5
96706 ac_status=$?
96707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96708 (exit $ac_status); }; }; then
96709 ac_header_compiler=yes
96710 else
96711 echo "$as_me: failed program was:" >&5
96712 sed 's/^/| /' conftest.$ac_ext >&5
96714 ac_header_compiler=no
96716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96718 echo "${ECHO_T}$ac_header_compiler" >&6
96720 # Is the header present?
96721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96723 cat >conftest.$ac_ext <<_ACEOF
96724 /* confdefs.h. */
96725 _ACEOF
96726 cat confdefs.h >>conftest.$ac_ext
96727 cat >>conftest.$ac_ext <<_ACEOF
96728 /* end confdefs.h. */
96729 #include <$ac_header>
96730 _ACEOF
96731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96733 ac_status=$?
96734 grep -v '^ *+' conftest.er1 >conftest.err
96735 rm -f conftest.er1
96736 cat conftest.err >&5
96737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96738 (exit $ac_status); } >/dev/null; then
96739 if test -s conftest.err; then
96740 ac_cpp_err=$ac_c_preproc_warn_flag
96741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96742 else
96743 ac_cpp_err=
96745 else
96746 ac_cpp_err=yes
96748 if test -z "$ac_cpp_err"; then
96749 ac_header_preproc=yes
96750 else
96751 echo "$as_me: failed program was:" >&5
96752 sed 's/^/| /' conftest.$ac_ext >&5
96754 ac_header_preproc=no
96756 rm -f conftest.err conftest.$ac_ext
96757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96758 echo "${ECHO_T}$ac_header_preproc" >&6
96760 # So? What about this header?
96761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96762 yes:no: )
96763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96767 ac_header_preproc=yes
96769 no:yes:* )
96770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96783 cat <<\_ASBOX
96784 ## ----------------------------------------- ##
96785 ## Report this to the package-unused lists. ##
96786 ## ----------------------------------------- ##
96787 _ASBOX
96789 sed "s/^/$as_me: WARNING: /" >&2
96791 esac
96792 echo "$as_me:$LINENO: checking for $ac_header" >&5
96793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96795 echo $ECHO_N "(cached) $ECHO_C" >&6
96796 else
96797 eval "$as_ac_Header=\$ac_header_preproc"
96799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96804 cat >>confdefs.h <<_ACEOF
96805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96806 _ACEOF
96808 else
96809 setrlimit_have_headers=no
96812 done
96814 # If don't have the headers, then we can't run the tests now, and we
96815 # won't be seeing any of these during testsuite compilation.
96816 if test $setrlimit_have_headers = yes; then
96817 # Can't do these in a loop, else the resulting syntax is wrong.
96819 cat >conftest.$ac_ext <<_ACEOF
96820 /* confdefs.h. */
96821 _ACEOF
96822 cat confdefs.h >>conftest.$ac_ext
96823 cat >>conftest.$ac_ext <<_ACEOF
96824 /* end confdefs.h. */
96825 #include <unistd.h>
96826 #include <sys/time.h>
96827 #include <sys/resource.h>
96830 main ()
96832 int f = RLIMIT_DATA ;
96834 return 0;
96836 _ACEOF
96837 rm -f conftest.$ac_objext
96838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96839 (eval $ac_compile) 2>conftest.er1
96840 ac_status=$?
96841 grep -v '^ *+' conftest.er1 >conftest.err
96842 rm -f conftest.er1
96843 cat conftest.err >&5
96844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96845 (exit $ac_status); } &&
96846 { ac_try='test -z "$ac_c_werror_flag"
96847 || test ! -s conftest.err'
96848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96849 (eval $ac_try) 2>&5
96850 ac_status=$?
96851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852 (exit $ac_status); }; } &&
96853 { ac_try='test -s conftest.$ac_objext'
96854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96855 (eval $ac_try) 2>&5
96856 ac_status=$?
96857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96858 (exit $ac_status); }; }; then
96859 glibcxx_mresult=1
96860 else
96861 echo "$as_me: failed program was:" >&5
96862 sed 's/^/| /' conftest.$ac_ext >&5
96864 glibcxx_mresult=0
96866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96868 cat >>confdefs.h <<_ACEOF
96869 #define HAVE_LIMIT_DATA $glibcxx_mresult
96870 _ACEOF
96874 cat >conftest.$ac_ext <<_ACEOF
96875 /* confdefs.h. */
96876 _ACEOF
96877 cat confdefs.h >>conftest.$ac_ext
96878 cat >>conftest.$ac_ext <<_ACEOF
96879 /* end confdefs.h. */
96880 #include <unistd.h>
96881 #include <sys/time.h>
96882 #include <sys/resource.h>
96885 main ()
96887 int f = RLIMIT_RSS ;
96889 return 0;
96891 _ACEOF
96892 rm -f conftest.$ac_objext
96893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96894 (eval $ac_compile) 2>conftest.er1
96895 ac_status=$?
96896 grep -v '^ *+' conftest.er1 >conftest.err
96897 rm -f conftest.er1
96898 cat conftest.err >&5
96899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96900 (exit $ac_status); } &&
96901 { ac_try='test -z "$ac_c_werror_flag"
96902 || test ! -s conftest.err'
96903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96904 (eval $ac_try) 2>&5
96905 ac_status=$?
96906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96907 (exit $ac_status); }; } &&
96908 { ac_try='test -s conftest.$ac_objext'
96909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96910 (eval $ac_try) 2>&5
96911 ac_status=$?
96912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96913 (exit $ac_status); }; }; then
96914 glibcxx_mresult=1
96915 else
96916 echo "$as_me: failed program was:" >&5
96917 sed 's/^/| /' conftest.$ac_ext >&5
96919 glibcxx_mresult=0
96921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96923 cat >>confdefs.h <<_ACEOF
96924 #define HAVE_LIMIT_RSS $glibcxx_mresult
96925 _ACEOF
96929 cat >conftest.$ac_ext <<_ACEOF
96930 /* confdefs.h. */
96931 _ACEOF
96932 cat confdefs.h >>conftest.$ac_ext
96933 cat >>conftest.$ac_ext <<_ACEOF
96934 /* end confdefs.h. */
96935 #include <unistd.h>
96936 #include <sys/time.h>
96937 #include <sys/resource.h>
96940 main ()
96942 int f = RLIMIT_VMEM ;
96944 return 0;
96946 _ACEOF
96947 rm -f conftest.$ac_objext
96948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96949 (eval $ac_compile) 2>conftest.er1
96950 ac_status=$?
96951 grep -v '^ *+' conftest.er1 >conftest.err
96952 rm -f conftest.er1
96953 cat conftest.err >&5
96954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96955 (exit $ac_status); } &&
96956 { ac_try='test -z "$ac_c_werror_flag"
96957 || test ! -s conftest.err'
96958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96959 (eval $ac_try) 2>&5
96960 ac_status=$?
96961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96962 (exit $ac_status); }; } &&
96963 { ac_try='test -s conftest.$ac_objext'
96964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96965 (eval $ac_try) 2>&5
96966 ac_status=$?
96967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96968 (exit $ac_status); }; }; then
96969 glibcxx_mresult=1
96970 else
96971 echo "$as_me: failed program was:" >&5
96972 sed 's/^/| /' conftest.$ac_ext >&5
96974 glibcxx_mresult=0
96976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96978 cat >>confdefs.h <<_ACEOF
96979 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96980 _ACEOF
96984 cat >conftest.$ac_ext <<_ACEOF
96985 /* confdefs.h. */
96986 _ACEOF
96987 cat confdefs.h >>conftest.$ac_ext
96988 cat >>conftest.$ac_ext <<_ACEOF
96989 /* end confdefs.h. */
96990 #include <unistd.h>
96991 #include <sys/time.h>
96992 #include <sys/resource.h>
96995 main ()
96997 int f = RLIMIT_AS ;
96999 return 0;
97001 _ACEOF
97002 rm -f conftest.$ac_objext
97003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97004 (eval $ac_compile) 2>conftest.er1
97005 ac_status=$?
97006 grep -v '^ *+' conftest.er1 >conftest.err
97007 rm -f conftest.er1
97008 cat conftest.err >&5
97009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97010 (exit $ac_status); } &&
97011 { ac_try='test -z "$ac_c_werror_flag"
97012 || test ! -s conftest.err'
97013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97014 (eval $ac_try) 2>&5
97015 ac_status=$?
97016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017 (exit $ac_status); }; } &&
97018 { ac_try='test -s conftest.$ac_objext'
97019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97020 (eval $ac_try) 2>&5
97021 ac_status=$?
97022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97023 (exit $ac_status); }; }; then
97024 glibcxx_mresult=1
97025 else
97026 echo "$as_me: failed program was:" >&5
97027 sed 's/^/| /' conftest.$ac_ext >&5
97029 glibcxx_mresult=0
97031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97033 cat >>confdefs.h <<_ACEOF
97034 #define HAVE_LIMIT_AS $glibcxx_mresult
97035 _ACEOF
97039 cat >conftest.$ac_ext <<_ACEOF
97040 /* confdefs.h. */
97041 _ACEOF
97042 cat confdefs.h >>conftest.$ac_ext
97043 cat >>conftest.$ac_ext <<_ACEOF
97044 /* end confdefs.h. */
97045 #include <unistd.h>
97046 #include <sys/time.h>
97047 #include <sys/resource.h>
97050 main ()
97052 int f = RLIMIT_FSIZE ;
97054 return 0;
97056 _ACEOF
97057 rm -f conftest.$ac_objext
97058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97059 (eval $ac_compile) 2>conftest.er1
97060 ac_status=$?
97061 grep -v '^ *+' conftest.er1 >conftest.err
97062 rm -f conftest.er1
97063 cat conftest.err >&5
97064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97065 (exit $ac_status); } &&
97066 { ac_try='test -z "$ac_c_werror_flag"
97067 || test ! -s conftest.err'
97068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97069 (eval $ac_try) 2>&5
97070 ac_status=$?
97071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072 (exit $ac_status); }; } &&
97073 { ac_try='test -s conftest.$ac_objext'
97074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97075 (eval $ac_try) 2>&5
97076 ac_status=$?
97077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97078 (exit $ac_status); }; }; then
97079 glibcxx_mresult=1
97080 else
97081 echo "$as_me: failed program was:" >&5
97082 sed 's/^/| /' conftest.$ac_ext >&5
97084 glibcxx_mresult=0
97086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97088 cat >>confdefs.h <<_ACEOF
97089 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97090 _ACEOF
97094 # Check for rlimit, setrlimit.
97095 if test "${ac_setrlimit+set}" = set; then
97096 echo $ECHO_N "(cached) $ECHO_C" >&6
97097 else
97099 cat >conftest.$ac_ext <<_ACEOF
97100 /* confdefs.h. */
97101 _ACEOF
97102 cat confdefs.h >>conftest.$ac_ext
97103 cat >>conftest.$ac_ext <<_ACEOF
97104 /* end confdefs.h. */
97105 #include <unistd.h>
97106 #include <sys/time.h>
97107 #include <sys/resource.h>
97110 main ()
97112 struct rlimit r;
97113 setrlimit(0, &r);
97115 return 0;
97117 _ACEOF
97118 rm -f conftest.$ac_objext
97119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97120 (eval $ac_compile) 2>conftest.er1
97121 ac_status=$?
97122 grep -v '^ *+' conftest.er1 >conftest.err
97123 rm -f conftest.er1
97124 cat conftest.err >&5
97125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97126 (exit $ac_status); } &&
97127 { ac_try='test -z "$ac_c_werror_flag"
97128 || test ! -s conftest.err'
97129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97130 (eval $ac_try) 2>&5
97131 ac_status=$?
97132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97133 (exit $ac_status); }; } &&
97134 { ac_try='test -s conftest.$ac_objext'
97135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97136 (eval $ac_try) 2>&5
97137 ac_status=$?
97138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97139 (exit $ac_status); }; }; then
97140 ac_setrlimit=yes
97141 else
97142 echo "$as_me: failed program was:" >&5
97143 sed 's/^/| /' conftest.$ac_ext >&5
97145 ac_setrlimit=no
97147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97153 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97154 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97155 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97156 ac_res_limits=yes
97157 cat >>confdefs.h <<\_ACEOF
97158 #define _GLIBCXX_RES_LIMITS 1
97159 _ACEOF
97161 else
97162 ac_res_limits=no
97164 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97165 echo "${ECHO_T}$ac_res_limits" >&6
97168 # Look for setenv, so that extended locale tests can be performed.
97170 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97171 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97172 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97173 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97174 echo $ECHO_N "(cached) $ECHO_C" >&6
97175 else
97179 ac_ext=cc
97180 ac_cpp='$CXXCPP $CPPFLAGS'
97181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97185 cat >conftest.$ac_ext <<_ACEOF
97186 /* confdefs.h. */
97187 _ACEOF
97188 cat confdefs.h >>conftest.$ac_ext
97189 cat >>conftest.$ac_ext <<_ACEOF
97190 /* end confdefs.h. */
97191 #include <stdlib.h>
97193 main ()
97195 setenv(0, 0, 0);
97197 return 0;
97199 _ACEOF
97200 rm -f conftest.$ac_objext
97201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97202 (eval $ac_compile) 2>conftest.er1
97203 ac_status=$?
97204 grep -v '^ *+' conftest.er1 >conftest.err
97205 rm -f conftest.er1
97206 cat conftest.err >&5
97207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208 (exit $ac_status); } &&
97209 { ac_try='test -z "$ac_cxx_werror_flag"
97210 || test ! -s conftest.err'
97211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97212 (eval $ac_try) 2>&5
97213 ac_status=$?
97214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97215 (exit $ac_status); }; } &&
97216 { ac_try='test -s conftest.$ac_objext'
97217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97218 (eval $ac_try) 2>&5
97219 ac_status=$?
97220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221 (exit $ac_status); }; }; then
97222 glibcxx_cv_func_setenv_use=yes
97223 else
97224 echo "$as_me: failed program was:" >&5
97225 sed 's/^/| /' conftest.$ac_ext >&5
97227 glibcxx_cv_func_setenv_use=no
97229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97230 ac_ext=c
97231 ac_cpp='$CPP $CPPFLAGS'
97232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97241 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97242 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97244 for ac_func in setenv
97246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97247 echo "$as_me:$LINENO: checking for $ac_func" >&5
97248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97249 if eval "test \"\${$as_ac_var+set}\" = set"; then
97250 echo $ECHO_N "(cached) $ECHO_C" >&6
97251 else
97252 if test x$gcc_no_link = xyes; then
97253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97255 { (exit 1); exit 1; }; }
97257 cat >conftest.$ac_ext <<_ACEOF
97258 /* confdefs.h. */
97259 _ACEOF
97260 cat confdefs.h >>conftest.$ac_ext
97261 cat >>conftest.$ac_ext <<_ACEOF
97262 /* end confdefs.h. */
97263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97265 #define $ac_func innocuous_$ac_func
97267 /* System header to define __stub macros and hopefully few prototypes,
97268 which can conflict with char $ac_func (); below.
97269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97270 <limits.h> exists even on freestanding compilers. */
97272 #ifdef __STDC__
97273 # include <limits.h>
97274 #else
97275 # include <assert.h>
97276 #endif
97278 #undef $ac_func
97280 /* Override any gcc2 internal prototype to avoid an error. */
97281 #ifdef __cplusplus
97282 extern "C"
97284 #endif
97285 /* We use char because int might match the return type of a gcc2
97286 builtin and then its argument prototype would still apply. */
97287 char $ac_func ();
97288 /* The GNU C library defines this for functions which it implements
97289 to always fail with ENOSYS. Some functions are actually named
97290 something starting with __ and the normal name is an alias. */
97291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97292 choke me
97293 #else
97294 char (*f) () = $ac_func;
97295 #endif
97296 #ifdef __cplusplus
97298 #endif
97301 main ()
97303 return f != $ac_func;
97305 return 0;
97307 _ACEOF
97308 rm -f conftest.$ac_objext conftest$ac_exeext
97309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97310 (eval $ac_link) 2>conftest.er1
97311 ac_status=$?
97312 grep -v '^ *+' conftest.er1 >conftest.err
97313 rm -f conftest.er1
97314 cat conftest.err >&5
97315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97316 (exit $ac_status); } &&
97317 { ac_try='test -z "$ac_c_werror_flag"
97318 || test ! -s conftest.err'
97319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97320 (eval $ac_try) 2>&5
97321 ac_status=$?
97322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323 (exit $ac_status); }; } &&
97324 { ac_try='test -s conftest$ac_exeext'
97325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97326 (eval $ac_try) 2>&5
97327 ac_status=$?
97328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97329 (exit $ac_status); }; }; then
97330 eval "$as_ac_var=yes"
97331 else
97332 echo "$as_me: failed program was:" >&5
97333 sed 's/^/| /' conftest.$ac_ext >&5
97335 eval "$as_ac_var=no"
97337 rm -f conftest.err conftest.$ac_objext \
97338 conftest$ac_exeext conftest.$ac_ext
97340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97342 if test `eval echo '${'$as_ac_var'}'` = yes; then
97343 cat >>confdefs.h <<_ACEOF
97344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97345 _ACEOF
97348 done
97353 if test $enable_symvers = no; then
97354 enable_abi_check=no
97355 else
97356 case "$host" in
97357 *-*-cygwin*)
97358 enable_abi_check=no ;;
97360 enable_abi_check=yes ;;
97361 esac
97363 else
97364 # Only build this as native, since automake does not understand
97365 # CXX_FOR_BUILD.
97366 enable_abi_check=no
97369 # Export file names for ABI checking.
97370 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97378 # Propagate the target-specific source directories through the build chain.
97379 ATOMICITY_SRCDIR=config/${atomicity_dir}
97380 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97381 OS_INC_SRCDIR=config/${os_include_dir}
97382 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97388 # Determine cross-compile flags and AM_CONDITIONALs.
97389 #AC_SUBST(GLIBCXX_IS_NATIVE)
97390 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97391 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97392 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97395 if test $is_hosted = yes; then
97396 GLIBCXX_HOSTED_TRUE=
97397 GLIBCXX_HOSTED_FALSE='#'
97398 else
97399 GLIBCXX_HOSTED_TRUE='#'
97400 GLIBCXX_HOSTED_FALSE=
97406 if test $enable_libstdcxx_pch = yes; then
97407 GLIBCXX_BUILD_PCH_TRUE=
97408 GLIBCXX_BUILD_PCH_FALSE='#'
97409 else
97410 GLIBCXX_BUILD_PCH_TRUE='#'
97411 GLIBCXX_BUILD_PCH_FALSE=
97417 if test $enable_cheaders = c; then
97418 GLIBCXX_C_HEADERS_C_TRUE=
97419 GLIBCXX_C_HEADERS_C_FALSE='#'
97420 else
97421 GLIBCXX_C_HEADERS_C_TRUE='#'
97422 GLIBCXX_C_HEADERS_C_FALSE=
97428 if test $enable_cheaders = c_std; then
97429 GLIBCXX_C_HEADERS_C_STD_TRUE=
97430 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97431 else
97432 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97433 GLIBCXX_C_HEADERS_C_STD_FALSE=
97439 if test $c_compatibility = yes; then
97440 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97441 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97442 else
97443 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97444 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97450 if test $enable_libstdcxx_debug = yes; then
97451 GLIBCXX_BUILD_DEBUG_TRUE=
97452 GLIBCXX_BUILD_DEBUG_FALSE='#'
97453 else
97454 GLIBCXX_BUILD_DEBUG_TRUE='#'
97455 GLIBCXX_BUILD_DEBUG_FALSE=
97461 if test $enable_symvers != no; then
97462 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97463 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97464 else
97465 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97466 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97472 if test $enable_wchar_t = yes; then
97473 GLIBCXX_TEST_WCHAR_T_TRUE=
97474 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97475 else
97476 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97477 GLIBCXX_TEST_WCHAR_T_FALSE=
97483 if test $enable_thread = yes; then
97484 GLIBCXX_TEST_THREAD_TRUE=
97485 GLIBCXX_TEST_THREAD_FALSE='#'
97486 else
97487 GLIBCXX_TEST_THREAD_TRUE='#'
97488 GLIBCXX_TEST_THREAD_FALSE=
97494 if test $enable_abi_check = yes; then
97495 GLIBCXX_TEST_ABI_TRUE=
97496 GLIBCXX_TEST_ABI_FALSE='#'
97497 else
97498 GLIBCXX_TEST_ABI_TRUE='#'
97499 GLIBCXX_TEST_ABI_FALSE=
97505 cat >confcache <<\_ACEOF
97506 # This file is a shell script that caches the results of configure
97507 # tests run on this system so they can be shared between configure
97508 # scripts and configure runs, see configure's option --config-cache.
97509 # It is not useful on other systems. If it contains results you don't
97510 # want to keep, you may remove or edit it.
97512 # config.status only pays attention to the cache file if you give it
97513 # the --recheck option to rerun configure.
97515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97517 # following values.
97519 _ACEOF
97521 # The following way of writing the cache mishandles newlines in values,
97522 # but we know of no workaround that is simple, portable, and efficient.
97523 # So, don't put newlines in cache variables' values.
97524 # Ultrix sh set writes to stderr and can't be redirected directly,
97525 # and sets the high bit in the cache file unless we assign to the vars.
97527 (set) 2>&1 |
97528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97529 *ac_space=\ *)
97530 # `set' does not quote correctly, so add quotes (double-quote
97531 # substitution turns \\\\ into \\, and sed turns \\ into \).
97532 sed -n \
97533 "s/'/'\\\\''/g;
97534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97537 # `set' quotes correctly as required by POSIX, so do not add quotes.
97538 sed -n \
97539 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97541 esac;
97543 sed '
97544 t clear
97545 : clear
97546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97547 t end
97548 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97549 : end' >>confcache
97550 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97551 if test -w $cache_file; then
97552 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97553 cat confcache >$cache_file
97554 else
97555 echo "not updating unwritable cache $cache_file"
97558 rm -f confcache
97560 if test ${multilib} = yes; then
97561 multilib_arg="--enable-multilib"
97562 else
97563 multilib_arg=
97566 # Export all the install information.
97568 glibcxx_toolexecdir=no
97569 glibcxx_toolexeclibdir=no
97570 glibcxx_prefixdir=$prefix
97572 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97573 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97575 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97576 if test "${with_gxx_include_dir+set}" = set; then
97577 withval="$with_gxx_include_dir"
97578 case "$withval" in
97579 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97580 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97581 { (exit 1); exit 1; }; } ;;
97582 no) gxx_include_dir=no ;;
97583 *) gxx_include_dir=$withval ;;
97584 esac
97585 else
97586 gxx_include_dir=no
97588 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97589 echo "${ECHO_T}$gxx_include_dir" >&6
97591 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97592 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97593 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97594 if test "${enable_version_specific_runtime_libs+set}" = set; then
97595 enableval="$enable_version_specific_runtime_libs"
97596 case "$enableval" in
97597 yes) version_specific_libs=yes ;;
97598 no) version_specific_libs=no ;;
97599 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97600 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97601 { (exit 1); exit 1; }; };;
97602 esac
97603 else
97604 version_specific_libs=no
97606 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97607 echo "${ECHO_T}$version_specific_libs" >&6
97609 # Default case for install directory for include files.
97610 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97611 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97614 # Version-specific runtime libs processing.
97615 if test $version_specific_libs = yes; then
97616 # Need the gcc compiler version to know where to install libraries
97617 # and header files if --enable-version-specific-runtime-libs option
97618 # is selected. FIXME: these variables are misnamed, there are
97619 # no executables installed in _toolexecdir or _toolexeclibdir.
97620 if test x"$gxx_include_dir" = x"no"; then
97621 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97623 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97624 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97627 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97628 # Install a library built with a cross compiler in tooldir, not libdir.
97629 if test x"$glibcxx_toolexecdir" = x"no"; then
97630 if test -n "$with_cross_host" &&
97631 test x"$with_cross_host" != x"no"; then
97632 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97633 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97634 else
97635 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97636 glibcxx_toolexeclibdir='${libdir}'
97638 multi_os_directory=`$CXX -print-multi-os-directory`
97639 case $multi_os_directory in
97640 .) ;; # Avoid trailing /.
97641 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97642 esac
97645 echo "$as_me:$LINENO: checking for install location" >&5
97646 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97647 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97648 echo "${ECHO_T}$gxx_include_dir" >&6
97656 # Export all the include and flag information to Makefiles.
97658 # Used for every C++ compile we perform.
97659 GLIBCXX_INCLUDES="\
97660 -I$glibcxx_builddir/include/$host_alias \
97661 -I$glibcxx_builddir/include \
97662 -I$glibcxx_srcdir/libsupc++"
97664 # For Canadian crosses, pick this up too.
97665 if test $CANADIAN = yes; then
97666 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97669 # Stuff in the actual top level. Currently only used by libsupc++ to
97670 # get unwind* headers from the gcc dir.
97671 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97672 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97674 # Now, export this to all the little Makefiles....
97679 # Optimization flags that are probably a good idea for thrill-seekers. Just
97680 # uncomment the lines below and make, everything else is ready to go...
97681 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97682 OPTIMIZE_CXXFLAGS=
97685 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97689 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97690 grep "enable shared" > /dev/null;
97691 then
97692 LIBSUPCXX_PICFLAGS=-prefer-pic
97693 else
97694 LIBSUPCXX_PICFLAGS=
97698 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97700 ac_config_files="$ac_config_files scripts/check_survey"
97702 ac_config_files="$ac_config_files scripts/testsuite_flags"
97705 ac_config_commands="$ac_config_commands default"
97708 cat >confcache <<\_ACEOF
97709 # This file is a shell script that caches the results of configure
97710 # tests run on this system so they can be shared between configure
97711 # scripts and configure runs, see configure's option --config-cache.
97712 # It is not useful on other systems. If it contains results you don't
97713 # want to keep, you may remove or edit it.
97715 # config.status only pays attention to the cache file if you give it
97716 # the --recheck option to rerun configure.
97718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97720 # following values.
97722 _ACEOF
97724 # The following way of writing the cache mishandles newlines in values,
97725 # but we know of no workaround that is simple, portable, and efficient.
97726 # So, don't put newlines in cache variables' values.
97727 # Ultrix sh set writes to stderr and can't be redirected directly,
97728 # and sets the high bit in the cache file unless we assign to the vars.
97730 (set) 2>&1 |
97731 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97732 *ac_space=\ *)
97733 # `set' does not quote correctly, so add quotes (double-quote
97734 # substitution turns \\\\ into \\, and sed turns \\ into \).
97735 sed -n \
97736 "s/'/'\\\\''/g;
97737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97740 # `set' quotes correctly as required by POSIX, so do not add quotes.
97741 sed -n \
97742 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97744 esac;
97746 sed '
97747 t clear
97748 : clear
97749 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97750 t end
97751 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97752 : end' >>confcache
97753 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97754 if test -w $cache_file; then
97755 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97756 cat confcache >$cache_file
97757 else
97758 echo "not updating unwritable cache $cache_file"
97761 rm -f confcache
97763 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97764 # Let make expand exec_prefix.
97765 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97767 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97768 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97769 # trailing colons and then remove the whole line if VPATH becomes empty
97770 # (actually we leave an empty line to preserve line numbers).
97771 if test "x$srcdir" = x.; then
97772 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97773 s/:*\$(srcdir):*/:/;
97774 s/:*\${srcdir}:*/:/;
97775 s/:*@srcdir@:*/:/;
97776 s/^\([^=]*=[ ]*\):*/\1/;
97777 s/:*$//;
97778 s/^[^=]*=[ ]*$//;
97782 DEFS=-DHAVE_CONFIG_H
97784 ac_libobjs=
97785 ac_ltlibobjs=
97786 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97787 # 1. Remove the extension, and $U if already installed.
97788 ac_i=`echo "$ac_i" |
97789 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97790 # 2. Add them.
97791 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97792 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97793 done
97794 LIBOBJS=$ac_libobjs
97796 LTLIBOBJS=$ac_ltlibobjs
97799 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97800 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97801 Usually this means the macro was only invoked conditionally." >&5
97802 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97803 Usually this means the macro was only invoked conditionally." >&2;}
97804 { (exit 1); exit 1; }; }
97806 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97807 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97808 Usually this means the macro was only invoked conditionally." >&5
97809 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97810 Usually this means the macro was only invoked conditionally." >&2;}
97811 { (exit 1); exit 1; }; }
97813 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97814 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97815 Usually this means the macro was only invoked conditionally." >&5
97816 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97817 Usually this means the macro was only invoked conditionally." >&2;}
97818 { (exit 1); exit 1; }; }
97820 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97821 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97822 Usually this means the macro was only invoked conditionally." >&5
97823 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97824 Usually this means the macro was only invoked conditionally." >&2;}
97825 { (exit 1); exit 1; }; }
97827 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97828 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97829 Usually this means the macro was only invoked conditionally." >&5
97830 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97831 Usually this means the macro was only invoked conditionally." >&2;}
97832 { (exit 1); exit 1; }; }
97834 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97835 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97836 Usually this means the macro was only invoked conditionally." >&5
97837 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97838 Usually this means the macro was only invoked conditionally." >&2;}
97839 { (exit 1); exit 1; }; }
97841 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97842 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97843 Usually this means the macro was only invoked conditionally." >&5
97844 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97845 Usually this means the macro was only invoked conditionally." >&2;}
97846 { (exit 1); exit 1; }; }
97848 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97849 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97850 Usually this means the macro was only invoked conditionally." >&5
97851 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97852 Usually this means the macro was only invoked conditionally." >&2;}
97853 { (exit 1); exit 1; }; }
97855 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97856 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97857 Usually this means the macro was only invoked conditionally." >&5
97858 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97859 Usually this means the macro was only invoked conditionally." >&2;}
97860 { (exit 1); exit 1; }; }
97862 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97863 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97864 Usually this means the macro was only invoked conditionally." >&5
97865 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97866 Usually this means the macro was only invoked conditionally." >&2;}
97867 { (exit 1); exit 1; }; }
97869 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97870 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97871 Usually this means the macro was only invoked conditionally." >&5
97872 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97873 Usually this means the macro was only invoked conditionally." >&2;}
97874 { (exit 1); exit 1; }; }
97877 : ${CONFIG_STATUS=./config.status}
97878 ac_clean_files_save=$ac_clean_files
97879 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97880 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97881 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97882 cat >$CONFIG_STATUS <<_ACEOF
97883 #! $SHELL
97884 # Generated by $as_me.
97885 # Run this file to recreate the current configuration.
97886 # Compiler output produced by configure, useful for debugging
97887 # configure, is in config.log if it exists.
97889 debug=false
97890 ac_cs_recheck=false
97891 ac_cs_silent=false
97892 SHELL=\${CONFIG_SHELL-$SHELL}
97893 _ACEOF
97895 cat >>$CONFIG_STATUS <<\_ACEOF
97896 ## --------------------- ##
97897 ## M4sh Initialization. ##
97898 ## --------------------- ##
97900 # Be Bourne compatible
97901 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97902 emulate sh
97903 NULLCMD=:
97904 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97905 # is contrary to our usage. Disable this feature.
97906 alias -g '${1+"$@"}'='"$@"'
97907 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97908 set -o posix
97910 DUALCASE=1; export DUALCASE # for MKS sh
97912 # Support unset when possible.
97913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97914 as_unset=unset
97915 else
97916 as_unset=false
97920 # Work around bugs in pre-3.0 UWIN ksh.
97921 $as_unset ENV MAIL MAILPATH
97922 PS1='$ '
97923 PS2='> '
97924 PS4='+ '
97926 # NLS nuisances.
97927 for as_var in \
97928 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97929 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97930 LC_TELEPHONE LC_TIME
97932 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97933 eval $as_var=C; export $as_var
97934 else
97935 $as_unset $as_var
97937 done
97939 # Required to use basename.
97940 if expr a : '\(a\)' >/dev/null 2>&1; then
97941 as_expr=expr
97942 else
97943 as_expr=false
97946 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97947 as_basename=basename
97948 else
97949 as_basename=false
97953 # Name of the executable.
97954 as_me=`$as_basename "$0" ||
97955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97956 X"$0" : 'X\(//\)$' \| \
97957 X"$0" : 'X\(/\)$' \| \
97958 . : '\(.\)' 2>/dev/null ||
97959 echo X/"$0" |
97960 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97961 /^X\/\(\/\/\)$/{ s//\1/; q; }
97962 /^X\/\(\/\).*/{ s//\1/; q; }
97963 s/.*/./; q'`
97966 # PATH needs CR, and LINENO needs CR and PATH.
97967 # Avoid depending upon Character Ranges.
97968 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97969 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97970 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97971 as_cr_digits='0123456789'
97972 as_cr_alnum=$as_cr_Letters$as_cr_digits
97974 # The user is always right.
97975 if test "${PATH_SEPARATOR+set}" != set; then
97976 echo "#! /bin/sh" >conf$$.sh
97977 echo "exit 0" >>conf$$.sh
97978 chmod +x conf$$.sh
97979 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97980 PATH_SEPARATOR=';'
97981 else
97982 PATH_SEPARATOR=:
97984 rm -f conf$$.sh
97988 as_lineno_1=$LINENO
97989 as_lineno_2=$LINENO
97990 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97991 test "x$as_lineno_1" != "x$as_lineno_2" &&
97992 test "x$as_lineno_3" = "x$as_lineno_2" || {
97993 # Find who we are. Look in the path if we contain no path at all
97994 # relative or not.
97995 case $0 in
97996 *[\\/]* ) as_myself=$0 ;;
97997 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97998 for as_dir in $PATH
98000 IFS=$as_save_IFS
98001 test -z "$as_dir" && as_dir=.
98002 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98003 done
98006 esac
98007 # We did not find ourselves, most probably we were run as `sh COMMAND'
98008 # in which case we are not to be found in the path.
98009 if test "x$as_myself" = x; then
98010 as_myself=$0
98012 if test ! -f "$as_myself"; then
98013 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98014 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98015 { (exit 1); exit 1; }; }
98017 case $CONFIG_SHELL in
98019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98020 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98022 IFS=$as_save_IFS
98023 test -z "$as_dir" && as_dir=.
98024 for as_base in sh bash ksh sh5; do
98025 case $as_dir in
98027 if ("$as_dir/$as_base" -c '
98028 as_lineno_1=$LINENO
98029 as_lineno_2=$LINENO
98030 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98031 test "x$as_lineno_1" != "x$as_lineno_2" &&
98032 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98033 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98034 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98035 CONFIG_SHELL=$as_dir/$as_base
98036 export CONFIG_SHELL
98037 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98038 fi;;
98039 esac
98040 done
98041 done
98043 esac
98045 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98046 # uniformly replaced by the line number. The first 'sed' inserts a
98047 # line-number line before each line; the second 'sed' does the real
98048 # work. The second script uses 'N' to pair each line-number line
98049 # with the numbered line, and appends trailing '-' during
98050 # substitution so that $LINENO is not a special case at line end.
98051 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98052 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98053 sed '=' <$as_myself |
98054 sed '
98056 s,$,-,
98057 : loop
98058 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98059 t loop
98060 s,-$,,
98061 s,^['$as_cr_digits']*\n,,
98062 ' >$as_me.lineno &&
98063 chmod +x $as_me.lineno ||
98064 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98065 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98066 { (exit 1); exit 1; }; }
98068 # Don't try to exec as it changes $[0], causing all sort of problems
98069 # (the dirname of $[0] is not the place where we might find the
98070 # original and so on. Autoconf is especially sensible to this).
98071 . ./$as_me.lineno
98072 # Exit status is that of the last command.
98073 exit
98077 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98078 *c*,-n*) ECHO_N= ECHO_C='
98079 ' ECHO_T=' ' ;;
98080 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98081 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98082 esac
98084 if expr a : '\(a\)' >/dev/null 2>&1; then
98085 as_expr=expr
98086 else
98087 as_expr=false
98090 rm -f conf$$ conf$$.exe conf$$.file
98091 echo >conf$$.file
98092 if ln -s conf$$.file conf$$ 2>/dev/null; then
98093 # We could just check for DJGPP; but this test a) works b) is more generic
98094 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98095 if test -f conf$$.exe; then
98096 # Don't use ln at all; we don't have any links
98097 as_ln_s='cp -p'
98098 else
98099 as_ln_s='ln -s'
98101 elif ln conf$$.file conf$$ 2>/dev/null; then
98102 as_ln_s=ln
98103 else
98104 as_ln_s='cp -p'
98106 rm -f conf$$ conf$$.exe conf$$.file
98108 if mkdir -p . 2>/dev/null; then
98109 as_mkdir_p=:
98110 else
98111 test -d ./-p && rmdir ./-p
98112 as_mkdir_p=false
98115 as_executable_p="test -f"
98117 # Sed expression to map a string onto a valid CPP name.
98118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98120 # Sed expression to map a string onto a valid variable name.
98121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98124 # IFS
98125 # We need space, tab and new line, in precisely that order.
98126 as_nl='
98128 IFS=" $as_nl"
98130 # CDPATH.
98131 $as_unset CDPATH
98133 exec 6>&1
98135 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98136 # report actual input values of CONFIG_FILES etc. instead of their
98137 # values after options handling. Logging --version etc. is OK.
98138 exec 5>>config.log
98140 echo
98141 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98142 ## Running $as_me. ##
98143 _ASBOX
98144 } >&5
98145 cat >&5 <<_CSEOF
98147 This file was extended by package-unused $as_me version-unused, which was
98148 generated by GNU Autoconf 2.59. Invocation command line was
98150 CONFIG_FILES = $CONFIG_FILES
98151 CONFIG_HEADERS = $CONFIG_HEADERS
98152 CONFIG_LINKS = $CONFIG_LINKS
98153 CONFIG_COMMANDS = $CONFIG_COMMANDS
98154 $ $0 $@
98156 _CSEOF
98157 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98158 echo >&5
98159 _ACEOF
98161 # Files that config.status was made for.
98162 if test -n "$ac_config_files"; then
98163 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98166 if test -n "$ac_config_headers"; then
98167 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98170 if test -n "$ac_config_links"; then
98171 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98174 if test -n "$ac_config_commands"; then
98175 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98178 cat >>$CONFIG_STATUS <<\_ACEOF
98180 ac_cs_usage="\
98181 \`$as_me' instantiates files from templates according to the
98182 current configuration.
98184 Usage: $0 [OPTIONS] [FILE]...
98186 -h, --help print this help, then exit
98187 -V, --version print version number, then exit
98188 -q, --quiet do not print progress messages
98189 -d, --debug don't remove temporary files
98190 --recheck update $as_me by reconfiguring in the same conditions
98191 --file=FILE[:TEMPLATE]
98192 instantiate the configuration file FILE
98193 --header=FILE[:TEMPLATE]
98194 instantiate the configuration header FILE
98196 Configuration files:
98197 $config_files
98199 Configuration headers:
98200 $config_headers
98202 Configuration commands:
98203 $config_commands
98205 Report bugs to <bug-autoconf@gnu.org>."
98206 _ACEOF
98208 cat >>$CONFIG_STATUS <<_ACEOF
98209 ac_cs_version="\\
98210 package-unused config.status version-unused
98211 configured by $0, generated by GNU Autoconf 2.59,
98212 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98214 Copyright (C) 2003 Free Software Foundation, Inc.
98215 This config.status script is free software; the Free Software Foundation
98216 gives unlimited permission to copy, distribute and modify it."
98217 srcdir=$srcdir
98218 INSTALL="$INSTALL"
98219 _ACEOF
98221 cat >>$CONFIG_STATUS <<\_ACEOF
98222 # If no file are specified by the user, then we need to provide default
98223 # value. By we need to know if files were specified by the user.
98224 ac_need_defaults=:
98225 while test $# != 0
98227 case $1 in
98228 --*=*)
98229 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98230 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98231 ac_shift=:
98234 ac_option=$1
98235 ac_optarg=$2
98236 ac_shift=shift
98238 *) # This is not an option, so the user has probably given explicit
98239 # arguments.
98240 ac_option=$1
98241 ac_need_defaults=false;;
98242 esac
98244 case $ac_option in
98245 # Handling of the options.
98246 _ACEOF
98247 cat >>$CONFIG_STATUS <<\_ACEOF
98248 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98249 ac_cs_recheck=: ;;
98250 --version | --vers* | -V )
98251 echo "$ac_cs_version"; exit 0 ;;
98252 --he | --h)
98253 # Conflict between --help and --header
98254 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98255 Try \`$0 --help' for more information." >&5
98256 echo "$as_me: error: ambiguous option: $1
98257 Try \`$0 --help' for more information." >&2;}
98258 { (exit 1); exit 1; }; };;
98259 --help | --hel | -h )
98260 echo "$ac_cs_usage"; exit 0 ;;
98261 --debug | --d* | -d )
98262 debug=: ;;
98263 --file | --fil | --fi | --f )
98264 $ac_shift
98265 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98266 ac_need_defaults=false;;
98267 --header | --heade | --head | --hea )
98268 $ac_shift
98269 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98270 ac_need_defaults=false;;
98271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98272 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98273 ac_cs_silent=: ;;
98275 # This is an error.
98276 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98277 Try \`$0 --help' for more information." >&5
98278 echo "$as_me: error: unrecognized option: $1
98279 Try \`$0 --help' for more information." >&2;}
98280 { (exit 1); exit 1; }; } ;;
98282 *) ac_config_targets="$ac_config_targets $1" ;;
98284 esac
98285 shift
98286 done
98288 ac_configure_extra_args=
98290 if $ac_cs_silent; then
98291 exec 6>/dev/null
98292 ac_configure_extra_args="$ac_configure_extra_args --silent"
98295 _ACEOF
98296 cat >>$CONFIG_STATUS <<_ACEOF
98297 if \$ac_cs_recheck; then
98298 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98299 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98302 _ACEOF
98304 cat >>$CONFIG_STATUS <<_ACEOF
98306 # INIT-COMMANDS section.
98310 srcdir="$srcdir"
98311 host="$host"
98312 target="$target"
98313 with_multisubdir="$with_multisubdir"
98314 with_multisrctop="$with_multisrctop"
98315 with_target_subdir="$with_target_subdir"
98316 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98317 multi_basedir="$multi_basedir"
98318 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98319 CC="$CC"
98321 # Variables needed in config.status (file generation) which aren't already
98322 # passed by autoconf.
98323 SUBDIRS="$SUBDIRS"
98326 _ACEOF
98330 cat >>$CONFIG_STATUS <<\_ACEOF
98331 for ac_config_target in $ac_config_targets
98333 case "$ac_config_target" in
98334 # Handling of arguments.
98335 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98336 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98337 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98338 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98339 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98340 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98341 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98342 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98343 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98344 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98345 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98346 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98347 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98348 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98349 { (exit 1); exit 1; }; };;
98350 esac
98351 done
98353 # If the user did not use the arguments to specify the items to instantiate,
98354 # then the envvar interface is used. Set only those that are not.
98355 # We use the long form for the default assignment because of an extremely
98356 # bizarre bug on SunOS 4.1.3.
98357 if $ac_need_defaults; then
98358 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98359 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98360 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98363 # Have a temporary directory for convenience. Make it in the build tree
98364 # simply because there is no reason to put it here, and in addition,
98365 # creating and moving files from /tmp can sometimes cause problems.
98366 # Create a temporary directory, and hook for its removal unless debugging.
98367 $debug ||
98369 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98370 trap '{ (exit 1); exit 1; }' 1 2 13 15
98373 # Create a (secure) tmp directory for tmp files.
98376 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98377 test -n "$tmp" && test -d "$tmp"
98378 } ||
98380 tmp=./confstat$$-$RANDOM
98381 (umask 077 && mkdir $tmp)
98382 } ||
98384 echo "$me: cannot create a temporary directory in ." >&2
98385 { (exit 1); exit 1; }
98388 _ACEOF
98390 cat >>$CONFIG_STATUS <<_ACEOF
98393 # CONFIG_FILES section.
98396 # No need to generate the scripts if there are no CONFIG_FILES.
98397 # This happens for instance when ./config.status config.h
98398 if test -n "\$CONFIG_FILES"; then
98399 # Protect against being on the right side of a sed subst in config.status.
98400 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98401 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98402 s,@SHELL@,$SHELL,;t t
98403 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98404 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98405 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98406 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98407 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98408 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98409 s,@exec_prefix@,$exec_prefix,;t t
98410 s,@prefix@,$prefix,;t t
98411 s,@program_transform_name@,$program_transform_name,;t t
98412 s,@bindir@,$bindir,;t t
98413 s,@sbindir@,$sbindir,;t t
98414 s,@libexecdir@,$libexecdir,;t t
98415 s,@datadir@,$datadir,;t t
98416 s,@sysconfdir@,$sysconfdir,;t t
98417 s,@sharedstatedir@,$sharedstatedir,;t t
98418 s,@localstatedir@,$localstatedir,;t t
98419 s,@libdir@,$libdir,;t t
98420 s,@includedir@,$includedir,;t t
98421 s,@oldincludedir@,$oldincludedir,;t t
98422 s,@infodir@,$infodir,;t t
98423 s,@mandir@,$mandir,;t t
98424 s,@build_alias@,$build_alias,;t t
98425 s,@host_alias@,$host_alias,;t t
98426 s,@target_alias@,$target_alias,;t t
98427 s,@DEFS@,$DEFS,;t t
98428 s,@ECHO_C@,$ECHO_C,;t t
98429 s,@ECHO_N@,$ECHO_N,;t t
98430 s,@ECHO_T@,$ECHO_T,;t t
98431 s,@LIBS@,$LIBS,;t t
98432 s,@libtool_VERSION@,$libtool_VERSION,;t t
98433 s,@multi_basedir@,$multi_basedir,;t t
98434 s,@build@,$build,;t t
98435 s,@build_cpu@,$build_cpu,;t t
98436 s,@build_vendor@,$build_vendor,;t t
98437 s,@build_os@,$build_os,;t t
98438 s,@host@,$host,;t t
98439 s,@host_cpu@,$host_cpu,;t t
98440 s,@host_vendor@,$host_vendor,;t t
98441 s,@host_os@,$host_os,;t t
98442 s,@target@,$target,;t t
98443 s,@target_cpu@,$target_cpu,;t t
98444 s,@target_vendor@,$target_vendor,;t t
98445 s,@target_os@,$target_os,;t t
98446 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98447 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98448 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98449 s,@CYGPATH_W@,$CYGPATH_W,;t t
98450 s,@PACKAGE@,$PACKAGE,;t t
98451 s,@VERSION@,$VERSION,;t t
98452 s,@ACLOCAL@,$ACLOCAL,;t t
98453 s,@AUTOCONF@,$AUTOCONF,;t t
98454 s,@AUTOMAKE@,$AUTOMAKE,;t t
98455 s,@AUTOHEADER@,$AUTOHEADER,;t t
98456 s,@MAKEINFO@,$MAKEINFO,;t t
98457 s,@install_sh@,$install_sh,;t t
98458 s,@STRIP@,$STRIP,;t t
98459 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98460 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98461 s,@mkdir_p@,$mkdir_p,;t t
98462 s,@AWK@,$AWK,;t t
98463 s,@SET_MAKE@,$SET_MAKE,;t t
98464 s,@am__leading_dot@,$am__leading_dot,;t t
98465 s,@AMTAR@,$AMTAR,;t t
98466 s,@am__tar@,$am__tar,;t t
98467 s,@am__untar@,$am__untar,;t t
98468 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98469 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98470 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98471 s,@CC@,$CC,;t t
98472 s,@ac_ct_CC@,$ac_ct_CC,;t t
98473 s,@EXEEXT@,$EXEEXT,;t t
98474 s,@OBJEXT@,$OBJEXT,;t t
98475 s,@CXX@,$CXX,;t t
98476 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98477 s,@CFLAGS@,$CFLAGS,;t t
98478 s,@CXXFLAGS@,$CXXFLAGS,;t t
98479 s,@LN_S@,$LN_S,;t t
98480 s,@AS@,$AS,;t t
98481 s,@ac_ct_AS@,$ac_ct_AS,;t t
98482 s,@AR@,$AR,;t t
98483 s,@ac_ct_AR@,$ac_ct_AR,;t t
98484 s,@RANLIB@,$RANLIB,;t t
98485 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98486 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98487 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98488 s,@MAINT@,$MAINT,;t t
98489 s,@LIBTOOL@,$LIBTOOL,;t t
98490 s,@CXXCPP@,$CXXCPP,;t t
98491 s,@CPPFLAGS@,$CPPFLAGS,;t t
98492 s,@enable_shared@,$enable_shared,;t t
98493 s,@enable_static@,$enable_static,;t t
98494 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98495 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98496 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98497 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98498 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98499 s,@CSTDIO_H@,$CSTDIO_H,;t t
98500 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98501 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98502 s,@CPP@,$CPP,;t t
98503 s,@EGREP@,$EGREP,;t t
98504 s,@check_msgfmt@,$check_msgfmt,;t t
98505 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98506 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98507 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98508 s,@USE_NLS@,$USE_NLS,;t t
98509 s,@CLOCALE_H@,$CLOCALE_H,;t t
98510 s,@CCODECVT_H@,$CCODECVT_H,;t t
98511 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98512 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98513 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98514 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98515 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98516 s,@CMONEY_CC@,$CMONEY_CC,;t t
98517 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98518 s,@CTIME_H@,$CTIME_H,;t t
98519 s,@CTIME_CC@,$CTIME_CC,;t t
98520 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98521 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98522 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98523 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98524 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98525 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98526 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98527 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98528 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98529 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98530 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98531 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98532 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98533 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98534 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98535 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98536 s,@WERROR@,$WERROR,;t t
98537 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98538 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98539 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98540 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98541 s,@LIBICONV@,$LIBICONV,;t t
98542 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98543 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98544 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98545 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98546 s,@baseline_dir@,$baseline_dir,;t t
98547 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98548 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98549 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98550 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98551 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98552 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98553 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98554 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98555 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98556 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98557 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98558 s,@gxx_include_dir@,$gxx_include_dir,;t t
98559 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98560 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98561 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98562 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98563 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98564 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98565 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98566 s,@LIBOBJS@,$LIBOBJS,;t t
98567 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98568 CEOF
98570 _ACEOF
98572 cat >>$CONFIG_STATUS <<\_ACEOF
98573 # Split the substitutions into bite-sized pieces for seds with
98574 # small command number limits, like on Digital OSF/1 and HP-UX.
98575 ac_max_sed_lines=48
98576 ac_sed_frag=1 # Number of current file.
98577 ac_beg=1 # First line for current file.
98578 ac_end=$ac_max_sed_lines # Line after last line for current file.
98579 ac_more_lines=:
98580 ac_sed_cmds=
98581 while $ac_more_lines; do
98582 if test $ac_beg -gt 1; then
98583 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98584 else
98585 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98587 if test ! -s $tmp/subs.frag; then
98588 ac_more_lines=false
98589 else
98590 # The purpose of the label and of the branching condition is to
98591 # speed up the sed processing (if there are no `@' at all, there
98592 # is no need to browse any of the substitutions).
98593 # These are the two extra sed commands mentioned above.
98594 (echo ':t
98595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98596 if test -z "$ac_sed_cmds"; then
98597 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98598 else
98599 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98601 ac_sed_frag=`expr $ac_sed_frag + 1`
98602 ac_beg=$ac_end
98603 ac_end=`expr $ac_end + $ac_max_sed_lines`
98605 done
98606 if test -z "$ac_sed_cmds"; then
98607 ac_sed_cmds=cat
98609 fi # test -n "$CONFIG_FILES"
98611 _ACEOF
98612 cat >>$CONFIG_STATUS <<\_ACEOF
98613 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98614 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98615 case $ac_file in
98616 - | *:- | *:-:* ) # input from stdin
98617 cat >$tmp/stdin
98618 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98619 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98620 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98621 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98622 * ) ac_file_in=$ac_file.in ;;
98623 esac
98625 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98626 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98627 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98628 X"$ac_file" : 'X\(//\)[^/]' \| \
98629 X"$ac_file" : 'X\(//\)$' \| \
98630 X"$ac_file" : 'X\(/\)' \| \
98631 . : '\(.\)' 2>/dev/null ||
98632 echo X"$ac_file" |
98633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98635 /^X\(\/\/\)$/{ s//\1/; q; }
98636 /^X\(\/\).*/{ s//\1/; q; }
98637 s/.*/./; q'`
98638 { if $as_mkdir_p; then
98639 mkdir -p "$ac_dir"
98640 else
98641 as_dir="$ac_dir"
98642 as_dirs=
98643 while test ! -d "$as_dir"; do
98644 as_dirs="$as_dir $as_dirs"
98645 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98647 X"$as_dir" : 'X\(//\)[^/]' \| \
98648 X"$as_dir" : 'X\(//\)$' \| \
98649 X"$as_dir" : 'X\(/\)' \| \
98650 . : '\(.\)' 2>/dev/null ||
98651 echo X"$as_dir" |
98652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98654 /^X\(\/\/\)$/{ s//\1/; q; }
98655 /^X\(\/\).*/{ s//\1/; q; }
98656 s/.*/./; q'`
98657 done
98658 test ! -n "$as_dirs" || mkdir $as_dirs
98659 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98660 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98661 { (exit 1); exit 1; }; }; }
98663 ac_builddir=.
98665 if test "$ac_dir" != .; then
98666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98667 # A "../" for each directory in $ac_dir_suffix.
98668 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98669 else
98670 ac_dir_suffix= ac_top_builddir=
98673 case $srcdir in
98674 .) # No --srcdir option. We are building in place.
98675 ac_srcdir=.
98676 if test -z "$ac_top_builddir"; then
98677 ac_top_srcdir=.
98678 else
98679 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98680 fi ;;
98681 [\\/]* | ?:[\\/]* ) # Absolute path.
98682 ac_srcdir=$srcdir$ac_dir_suffix;
98683 ac_top_srcdir=$srcdir ;;
98684 *) # Relative path.
98685 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98686 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98687 esac
98689 # Do not use `cd foo && pwd` to compute absolute paths, because
98690 # the directories may not exist.
98691 case `pwd` in
98692 .) ac_abs_builddir="$ac_dir";;
98694 case "$ac_dir" in
98695 .) ac_abs_builddir=`pwd`;;
98696 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98697 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98698 esac;;
98699 esac
98700 case $ac_abs_builddir in
98701 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98703 case ${ac_top_builddir}. in
98704 .) ac_abs_top_builddir=$ac_abs_builddir;;
98705 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98706 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98707 esac;;
98708 esac
98709 case $ac_abs_builddir in
98710 .) ac_abs_srcdir=$ac_srcdir;;
98712 case $ac_srcdir in
98713 .) ac_abs_srcdir=$ac_abs_builddir;;
98714 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98715 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98716 esac;;
98717 esac
98718 case $ac_abs_builddir in
98719 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98721 case $ac_top_srcdir in
98722 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98723 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98724 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98725 esac;;
98726 esac
98729 case $INSTALL in
98730 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98731 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98732 esac
98734 if test x"$ac_file" != x-; then
98735 { echo "$as_me:$LINENO: creating $ac_file" >&5
98736 echo "$as_me: creating $ac_file" >&6;}
98737 rm -f "$ac_file"
98739 # Let's still pretend it is `configure' which instantiates (i.e., don't
98740 # use $as_me), people would be surprised to read:
98741 # /* config.h. Generated by config.status. */
98742 if test x"$ac_file" = x-; then
98743 configure_input=
98744 else
98745 configure_input="$ac_file. "
98747 configure_input=$configure_input"Generated from `echo $ac_file_in |
98748 sed 's,.*/,,'` by configure."
98750 # First look for the input files in the build tree, otherwise in the
98751 # src tree.
98752 ac_file_inputs=`IFS=:
98753 for f in $ac_file_in; do
98754 case $f in
98755 -) echo $tmp/stdin ;;
98756 [\\/$]*)
98757 # Absolute (can't be DOS-style, as IFS=:)
98758 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98759 echo "$as_me: error: cannot find input file: $f" >&2;}
98760 { (exit 1); exit 1; }; }
98761 echo "$f";;
98762 *) # Relative
98763 if test -f "$f"; then
98764 # Build tree
98765 echo "$f"
98766 elif test -f "$srcdir/$f"; then
98767 # Source tree
98768 echo "$srcdir/$f"
98769 else
98770 # /dev/null tree
98771 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98772 echo "$as_me: error: cannot find input file: $f" >&2;}
98773 { (exit 1); exit 1; }; }
98774 fi;;
98775 esac
98776 done` || { (exit 1); exit 1; }
98777 _ACEOF
98778 cat >>$CONFIG_STATUS <<_ACEOF
98779 sed "$ac_vpsub
98780 $extrasub
98781 _ACEOF
98782 cat >>$CONFIG_STATUS <<\_ACEOF
98784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98785 s,@configure_input@,$configure_input,;t t
98786 s,@srcdir@,$ac_srcdir,;t t
98787 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98788 s,@top_srcdir@,$ac_top_srcdir,;t t
98789 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98790 s,@builddir@,$ac_builddir,;t t
98791 s,@abs_builddir@,$ac_abs_builddir,;t t
98792 s,@top_builddir@,$ac_top_builddir,;t t
98793 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98794 s,@INSTALL@,$ac_INSTALL,;t t
98795 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98796 rm -f $tmp/stdin
98797 if test x"$ac_file" != x-; then
98798 mv $tmp/out $ac_file
98799 else
98800 cat $tmp/out
98801 rm -f $tmp/out
98804 # Run the commands associated with the file.
98805 case $ac_file in
98806 scripts/check_survey ) chmod +x scripts/check_survey ;;
98807 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98808 esac
98809 done
98810 _ACEOF
98811 cat >>$CONFIG_STATUS <<\_ACEOF
98814 # CONFIG_HEADER section.
98817 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98818 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98820 # ac_d sets the value in "#define NAME VALUE" lines.
98821 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98822 ac_dB='[ ].*$,\1#\2'
98823 ac_dC=' '
98824 ac_dD=',;t'
98825 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98826 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98827 ac_uB='$,\1#\2define\3'
98828 ac_uC=' '
98829 ac_uD=',;t'
98831 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98832 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98833 case $ac_file in
98834 - | *:- | *:-:* ) # input from stdin
98835 cat >$tmp/stdin
98836 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98837 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98838 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98839 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98840 * ) ac_file_in=$ac_file.in ;;
98841 esac
98843 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98844 echo "$as_me: creating $ac_file" >&6;}
98846 # First look for the input files in the build tree, otherwise in the
98847 # src tree.
98848 ac_file_inputs=`IFS=:
98849 for f in $ac_file_in; do
98850 case $f in
98851 -) echo $tmp/stdin ;;
98852 [\\/$]*)
98853 # Absolute (can't be DOS-style, as IFS=:)
98854 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98855 echo "$as_me: error: cannot find input file: $f" >&2;}
98856 { (exit 1); exit 1; }; }
98857 # Do quote $f, to prevent DOS paths from being IFS'd.
98858 echo "$f";;
98859 *) # Relative
98860 if test -f "$f"; then
98861 # Build tree
98862 echo "$f"
98863 elif test -f "$srcdir/$f"; then
98864 # Source tree
98865 echo "$srcdir/$f"
98866 else
98867 # /dev/null tree
98868 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98869 echo "$as_me: error: cannot find input file: $f" >&2;}
98870 { (exit 1); exit 1; }; }
98871 fi;;
98872 esac
98873 done` || { (exit 1); exit 1; }
98874 # Remove the trailing spaces.
98875 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98877 _ACEOF
98879 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98880 # `conftest.undefs', that substitutes the proper values into
98881 # config.h.in to produce config.h. The first handles `#define'
98882 # templates, and the second `#undef' templates.
98883 # And first: Protect against being on the right side of a sed subst in
98884 # config.status. Protect against being in an unquoted here document
98885 # in config.status.
98886 rm -f conftest.defines conftest.undefs
98887 # Using a here document instead of a string reduces the quoting nightmare.
98888 # Putting comments in sed scripts is not portable.
98890 # `end' is used to avoid that the second main sed command (meant for
98891 # 0-ary CPP macros) applies to n-ary macro definitions.
98892 # See the Autoconf documentation for `clear'.
98893 cat >confdef2sed.sed <<\_ACEOF
98894 s/[\\&,]/\\&/g
98895 s,[\\$`],\\&,g
98896 t clear
98897 : clear
98898 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98899 t end
98900 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98901 : end
98902 _ACEOF
98903 # If some macros were called several times there might be several times
98904 # the same #defines, which is useless. Nevertheless, we may not want to
98905 # sort them, since we want the *last* AC-DEFINE to be honored.
98906 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98907 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98908 rm -f confdef2sed.sed
98910 # This sed command replaces #undef with comments. This is necessary, for
98911 # example, in the case of _POSIX_SOURCE, which is predefined and required
98912 # on some systems where configure will not decide to define it.
98913 cat >>conftest.undefs <<\_ACEOF
98914 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98915 _ACEOF
98917 # Break up conftest.defines because some shells have a limit on the size
98918 # of here documents, and old seds have small limits too (100 cmds).
98919 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98920 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98921 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98922 echo ' :' >>$CONFIG_STATUS
98923 rm -f conftest.tail
98924 while grep . conftest.defines >/dev/null
98926 # Write a limited-size here document to $tmp/defines.sed.
98927 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98928 # Speed up: don't consider the non `#define' lines.
98929 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98930 # Work around the forget-to-reset-the-flag bug.
98931 echo 't clr' >>$CONFIG_STATUS
98932 echo ': clr' >>$CONFIG_STATUS
98933 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98934 echo 'CEOF
98935 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98936 rm -f $tmp/in
98937 mv $tmp/out $tmp/in
98938 ' >>$CONFIG_STATUS
98939 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98940 rm -f conftest.defines
98941 mv conftest.tail conftest.defines
98942 done
98943 rm -f conftest.defines
98944 echo ' fi # grep' >>$CONFIG_STATUS
98945 echo >>$CONFIG_STATUS
98947 # Break up conftest.undefs because some shells have a limit on the size
98948 # of here documents, and old seds have small limits too (100 cmds).
98949 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98950 rm -f conftest.tail
98951 while grep . conftest.undefs >/dev/null
98953 # Write a limited-size here document to $tmp/undefs.sed.
98954 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98955 # Speed up: don't consider the non `#undef'
98956 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98957 # Work around the forget-to-reset-the-flag bug.
98958 echo 't clr' >>$CONFIG_STATUS
98959 echo ': clr' >>$CONFIG_STATUS
98960 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98961 echo 'CEOF
98962 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98963 rm -f $tmp/in
98964 mv $tmp/out $tmp/in
98965 ' >>$CONFIG_STATUS
98966 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98967 rm -f conftest.undefs
98968 mv conftest.tail conftest.undefs
98969 done
98970 rm -f conftest.undefs
98972 cat >>$CONFIG_STATUS <<\_ACEOF
98973 # Let's still pretend it is `configure' which instantiates (i.e., don't
98974 # use $as_me), people would be surprised to read:
98975 # /* config.h. Generated by config.status. */
98976 if test x"$ac_file" = x-; then
98977 echo "/* Generated by configure. */" >$tmp/config.h
98978 else
98979 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98981 cat $tmp/in >>$tmp/config.h
98982 rm -f $tmp/in
98983 if test x"$ac_file" != x-; then
98984 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98985 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98986 echo "$as_me: $ac_file is unchanged" >&6;}
98987 else
98988 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98989 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98990 X"$ac_file" : 'X\(//\)[^/]' \| \
98991 X"$ac_file" : 'X\(//\)$' \| \
98992 X"$ac_file" : 'X\(/\)' \| \
98993 . : '\(.\)' 2>/dev/null ||
98994 echo X"$ac_file" |
98995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98997 /^X\(\/\/\)$/{ s//\1/; q; }
98998 /^X\(\/\).*/{ s//\1/; q; }
98999 s/.*/./; q'`
99000 { if $as_mkdir_p; then
99001 mkdir -p "$ac_dir"
99002 else
99003 as_dir="$ac_dir"
99004 as_dirs=
99005 while test ! -d "$as_dir"; do
99006 as_dirs="$as_dir $as_dirs"
99007 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99009 X"$as_dir" : 'X\(//\)[^/]' \| \
99010 X"$as_dir" : 'X\(//\)$' \| \
99011 X"$as_dir" : 'X\(/\)' \| \
99012 . : '\(.\)' 2>/dev/null ||
99013 echo X"$as_dir" |
99014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99016 /^X\(\/\/\)$/{ s//\1/; q; }
99017 /^X\(\/\).*/{ s//\1/; q; }
99018 s/.*/./; q'`
99019 done
99020 test ! -n "$as_dirs" || mkdir $as_dirs
99021 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99022 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99023 { (exit 1); exit 1; }; }; }
99025 rm -f $ac_file
99026 mv $tmp/config.h $ac_file
99028 else
99029 cat $tmp/config.h
99030 rm -f $tmp/config.h
99032 # Compute $ac_file's index in $config_headers.
99033 _am_stamp_count=1
99034 for _am_header in $config_headers :; do
99035 case $_am_header in
99036 $ac_file | $ac_file:* )
99037 break ;;
99039 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99040 esac
99041 done
99042 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99043 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99044 X$ac_file : 'X\(//\)[^/]' \| \
99045 X$ac_file : 'X\(//\)$' \| \
99046 X$ac_file : 'X\(/\)' \| \
99047 . : '\(.\)' 2>/dev/null ||
99048 echo X$ac_file |
99049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99051 /^X\(\/\/\)$/{ s//\1/; q; }
99052 /^X\(\/\).*/{ s//\1/; q; }
99053 s/.*/./; q'`/stamp-h$_am_stamp_count
99054 done
99055 _ACEOF
99056 cat >>$CONFIG_STATUS <<\_ACEOF
99059 # CONFIG_COMMANDS section.
99061 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99062 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99063 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99064 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99065 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99066 X"$ac_dest" : 'X\(//\)[^/]' \| \
99067 X"$ac_dest" : 'X\(//\)$' \| \
99068 X"$ac_dest" : 'X\(/\)' \| \
99069 . : '\(.\)' 2>/dev/null ||
99070 echo X"$ac_dest" |
99071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99073 /^X\(\/\/\)$/{ s//\1/; q; }
99074 /^X\(\/\).*/{ s//\1/; q; }
99075 s/.*/./; q'`
99076 { if $as_mkdir_p; then
99077 mkdir -p "$ac_dir"
99078 else
99079 as_dir="$ac_dir"
99080 as_dirs=
99081 while test ! -d "$as_dir"; do
99082 as_dirs="$as_dir $as_dirs"
99083 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99084 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99085 X"$as_dir" : 'X\(//\)[^/]' \| \
99086 X"$as_dir" : 'X\(//\)$' \| \
99087 X"$as_dir" : 'X\(/\)' \| \
99088 . : '\(.\)' 2>/dev/null ||
99089 echo X"$as_dir" |
99090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99092 /^X\(\/\/\)$/{ s//\1/; q; }
99093 /^X\(\/\).*/{ s//\1/; q; }
99094 s/.*/./; q'`
99095 done
99096 test ! -n "$as_dirs" || mkdir $as_dirs
99097 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99098 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99099 { (exit 1); exit 1; }; }; }
99101 ac_builddir=.
99103 if test "$ac_dir" != .; then
99104 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99105 # A "../" for each directory in $ac_dir_suffix.
99106 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99107 else
99108 ac_dir_suffix= ac_top_builddir=
99111 case $srcdir in
99112 .) # No --srcdir option. We are building in place.
99113 ac_srcdir=.
99114 if test -z "$ac_top_builddir"; then
99115 ac_top_srcdir=.
99116 else
99117 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99118 fi ;;
99119 [\\/]* | ?:[\\/]* ) # Absolute path.
99120 ac_srcdir=$srcdir$ac_dir_suffix;
99121 ac_top_srcdir=$srcdir ;;
99122 *) # Relative path.
99123 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99124 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99125 esac
99127 # Do not use `cd foo && pwd` to compute absolute paths, because
99128 # the directories may not exist.
99129 case `pwd` in
99130 .) ac_abs_builddir="$ac_dir";;
99132 case "$ac_dir" in
99133 .) ac_abs_builddir=`pwd`;;
99134 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99135 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99136 esac;;
99137 esac
99138 case $ac_abs_builddir in
99139 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99141 case ${ac_top_builddir}. in
99142 .) ac_abs_top_builddir=$ac_abs_builddir;;
99143 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99144 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99145 esac;;
99146 esac
99147 case $ac_abs_builddir in
99148 .) ac_abs_srcdir=$ac_srcdir;;
99150 case $ac_srcdir in
99151 .) ac_abs_srcdir=$ac_abs_builddir;;
99152 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99153 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99154 esac;;
99155 esac
99156 case $ac_abs_builddir in
99157 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99159 case $ac_top_srcdir in
99160 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99161 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99162 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99163 esac;;
99164 esac
99167 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99168 echo "$as_me: executing $ac_dest commands" >&6;}
99169 case $ac_dest in
99170 default-1 )
99171 # Only add multilib support code if we just rebuilt the top-level
99172 # Makefile.
99173 case " $CONFIG_FILES " in
99174 *" Makefile "*)
99175 ac_file=Makefile . ${multi_basedir}/config-ml.in
99177 esac ;;
99178 default ) if test -n "$CONFIG_FILES"; then
99179 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99180 # that multilib installs will end up installed in the correct place.
99181 # The testsuite needs it for multilib-aware ABI baseline files.
99182 # To work around this not being passed down from config-ml.in ->
99183 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99184 # append it here. Only modify Makefiles that have just been created.
99186 # Also, get rid of this simulated-VPATH thing that automake does.
99187 cat > vpsed << \_EOF
99188 s!`test -f '$<' || echo '$(srcdir)/'`!!
99189 _EOF
99190 for i in $SUBDIRS; do
99191 case $CONFIG_FILES in
99192 *${i}/Makefile*)
99193 #echo "Adding MULTISUBDIR to $i/Makefile"
99194 sed -f vpsed $i/Makefile > tmp
99195 grep '^MULTISUBDIR =' Makefile >> tmp
99196 mv tmp $i/Makefile
99198 esac
99199 done
99200 rm vpsed
99202 (cd include && ${MAKE-make})
99204 esac
99205 done
99206 _ACEOF
99208 cat >>$CONFIG_STATUS <<\_ACEOF
99210 { (exit 0); exit 0; }
99211 _ACEOF
99212 chmod +x $CONFIG_STATUS
99213 ac_clean_files=$ac_clean_files_save
99216 # configure is writing to config.log, and then calls config.status.
99217 # config.status does its own redirection, appending to config.log.
99218 # Unfortunately, on DOS this fails, as config.log is still kept open
99219 # by configure, so config.status won't be able to write to it; its
99220 # output is simply discarded. So we exec the FD to /dev/null,
99221 # effectively closing config.log, so it can be properly (re)opened and
99222 # appended to by config.status. When coming back to configure, we
99223 # need to make the FD available again.
99224 if test "$no_create" != yes; then
99225 ac_cs_success=:
99226 ac_config_status_args=
99227 test "$silent" = yes &&
99228 ac_config_status_args="$ac_config_status_args --quiet"
99229 exec 5>/dev/null
99230 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99231 exec 5>>config.log
99232 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99233 # would make configure fail if this is the last instruction.
99234 $ac_cs_success || { (exit 1); exit 1; }