* gcc.dg/pr16286.c: Fix last change.
[official-gcc.git] / libstdc++-v3 / configure
blobe87d8b27130502ee361000d9541ffab2bc54eb19
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 case $host_cpu in
3999 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4000 lt_cv_deplibs_check_method=pass_all ;;
4002 # glibc up to 2.1.1 does not perform some relocations on ARM
4003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4004 esac
4005 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # Only perform the check for file, if the check method requires it
4068 case $deplibs_check_method in
4069 file_magic*)
4070 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4071 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4072 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076 case $MAGIC_CMD in
4078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4080 ?:/*)
4081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4084 ac_save_MAGIC_CMD="$MAGIC_CMD"
4085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4086 ac_dummy="/usr/bin:$PATH"
4087 for ac_dir in $ac_dummy; do
4088 test -z "$ac_dir" && ac_dir=.
4089 if test -f $ac_dir/${ac_tool_prefix}file; then
4090 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4091 if test -n "$file_magic_test_file"; then
4092 case $deplibs_check_method in
4093 "file_magic "*)
4094 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4097 egrep "$file_magic_regex" > /dev/null; then
4099 else
4100 cat <<EOF 1>&2
4102 *** Warning: the command libtool uses to detect shared libraries,
4103 *** $file_magic_cmd, produces output that libtool cannot recognize.
4104 *** The result is that libtool may fail to recognize shared libraries
4105 *** as such. This will affect the creation of libtool libraries that
4106 *** depend on shared libraries, but programs linked with such libtool
4107 *** libraries will work regardless of this problem. Nevertheless, you
4108 *** may want to report the problem to your system manager and/or to
4109 *** bug-libtool@gnu.org
4112 fi ;;
4113 esac
4115 break
4117 done
4118 IFS="$ac_save_ifs"
4119 MAGIC_CMD="$ac_save_MAGIC_CMD"
4121 esac
4124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4125 if test -n "$MAGIC_CMD"; then
4126 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4127 echo "${ECHO_T}$MAGIC_CMD" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 if test -z "$lt_cv_path_MAGIC_CMD"; then
4134 if test -n "$ac_tool_prefix"; then
4135 echo "$as_me:$LINENO: checking for file" >&5
4136 echo $ECHO_N "checking for file... $ECHO_C" >&6
4137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140 case $MAGIC_CMD in
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4144 ?:/*)
4145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4148 ac_save_MAGIC_CMD="$MAGIC_CMD"
4149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4150 ac_dummy="/usr/bin:$PATH"
4151 for ac_dir in $ac_dummy; do
4152 test -z "$ac_dir" && ac_dir=.
4153 if test -f $ac_dir/file; then
4154 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4155 if test -n "$file_magic_test_file"; then
4156 case $deplibs_check_method in
4157 "file_magic "*)
4158 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4159 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4160 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4161 egrep "$file_magic_regex" > /dev/null; then
4163 else
4164 cat <<EOF 1>&2
4166 *** Warning: the command libtool uses to detect shared libraries,
4167 *** $file_magic_cmd, produces output that libtool cannot recognize.
4168 *** The result is that libtool may fail to recognize shared libraries
4169 *** as such. This will affect the creation of libtool libraries that
4170 *** depend on shared libraries, but programs linked with such libtool
4171 *** libraries will work regardless of this problem. Nevertheless, you
4172 *** may want to report the problem to your system manager and/or to
4173 *** bug-libtool@gnu.org
4176 fi ;;
4177 esac
4179 break
4181 done
4182 IFS="$ac_save_ifs"
4183 MAGIC_CMD="$ac_save_MAGIC_CMD"
4185 esac
4188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4189 if test -n "$MAGIC_CMD"; then
4190 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4191 echo "${ECHO_T}$MAGIC_CMD" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 else
4198 MAGIC_CMD=:
4204 esac
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 echo "$as_me:$LINENO: checking for $ac_word" >&5
4210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4211 if test "${ac_cv_prog_RANLIB+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214 if test -n "$RANLIB"; then
4215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4216 else
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH
4220 IFS=$as_save_IFS
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 break 2
4228 done
4229 done
4233 RANLIB=$ac_cv_prog_RANLIB
4234 if test -n "$RANLIB"; then
4235 echo "$as_me:$LINENO: result: $RANLIB" >&5
4236 echo "${ECHO_T}$RANLIB" >&6
4237 else
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4243 if test -z "$ac_cv_prog_RANLIB"; then
4244 ac_ct_RANLIB=$RANLIB
4245 # Extract the first word of "ranlib", so it can be a program name with args.
4246 set dummy ranlib; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 else
4252 if test -n "$ac_ct_RANLIB"; then
4253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_RANLIB="ranlib"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4269 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4273 if test -n "$ac_ct_RANLIB"; then
4274 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4275 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4281 RANLIB=$ac_ct_RANLIB
4282 else
4283 RANLIB="$ac_cv_prog_RANLIB"
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}strip; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_STRIP+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$STRIP"; then
4295 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4313 STRIP=$ac_cv_prog_STRIP
4314 if test -n "$STRIP"; then
4315 echo "$as_me:$LINENO: result: $STRIP" >&5
4316 echo "${ECHO_T}$STRIP" >&6
4317 else
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4323 if test -z "$ac_cv_prog_STRIP"; then
4324 ac_ct_STRIP=$STRIP
4325 # Extract the first word of "strip", so it can be a program name with args.
4326 set dummy strip; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 if test -n "$ac_ct_STRIP"; then
4333 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4334 else
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH
4338 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_ac_ct_STRIP="strip"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 break 2
4346 done
4347 done
4349 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4353 if test -n "$ac_ct_STRIP"; then
4354 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4355 echo "${ECHO_T}$ac_ct_STRIP" >&6
4356 else
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 STRIP=$ac_ct_STRIP
4362 else
4363 STRIP="$ac_cv_prog_STRIP"
4367 # Check for any special flags to pass to ltconfig.
4368 libtool_flags="--cache-file=$cache_file"
4369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378 enableval="$enable_libtool_lock"
4381 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4382 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4385 # Check whether --with-pic or --without-pic was given.
4386 if test "${with_pic+set}" = set; then
4387 withval="$with_pic"
4388 pic_mode="$withval"
4389 else
4390 pic_mode=default
4392 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4393 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4395 # Some flags need to be propagated to the compiler or linker for good
4396 # libtool support.
4397 case $host in
4398 *-*-irix6*)
4399 # Find out which ABI we are using.
4400 echo '#line 4400 "configure"' > conftest.$ac_ext
4401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402 (eval $ac_compile) 2>&5
4403 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; then
4406 if test "$lt_cv_prog_gnu_ld" = yes; then
4407 case `/usr/bin/file conftest.$ac_objext` in
4408 *32-bit*)
4409 LD="${LD-ld} -melf32bsmip"
4411 *N32*)
4412 LD="${LD-ld} -melf32bmipn32"
4414 *64-bit*)
4415 LD="${LD-ld} -melf64bmip"
4417 esac
4418 else
4419 case `/usr/bin/file conftest.$ac_objext` in
4420 *32-bit*)
4421 LD="${LD-ld} -32"
4423 *N32*)
4424 LD="${LD-ld} -n32"
4426 *64-bit*)
4427 LD="${LD-ld} -64"
4429 esac
4432 rm -rf conftest*
4435 ia64-*-hpux*)
4436 # Find out which ABI we are using.
4437 echo 'int i;' > conftest.$ac_ext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 case "`/usr/bin/file conftest.o`" in
4444 *ELF-32*)
4445 HPUX_IA64_MODE="32"
4447 *ELF-64*)
4448 HPUX_IA64_MODE="64"
4450 esac
4452 rm -rf conftest*
4455 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4456 # Find out which ABI we are using.
4457 echo 'int i;' > conftest.$ac_ext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; then
4463 case "`/usr/bin/file conftest.o`" in
4464 *32-bit*)
4465 case $host in
4466 x86_64-*linux*)
4467 LD="${LD-ld} -m elf_i386"
4469 ppc64-*linux*|powerpc64-*linux*)
4470 LD="${LD-ld} -m elf32ppclinux"
4472 s390x-*linux*)
4473 LD="${LD-ld} -m elf_s390"
4475 sparc64-*linux*)
4476 LD="${LD-ld} -m elf32_sparc"
4478 esac
4480 *64-bit*)
4481 case $host in
4482 x86_64-*linux*)
4483 LD="${LD-ld} -m elf_x86_64"
4485 ppc*-*linux*|powerpc*-*linux*)
4486 LD="${LD-ld} -m elf64ppc"
4488 s390*-*linux*)
4489 LD="${LD-ld} -m elf64_s390"
4491 sparc*-*linux*)
4492 LD="${LD-ld} -m elf64_sparc"
4494 esac
4496 esac
4498 rm -rf conftest*
4501 *-*-sco3.2v5*)
4502 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4503 SAVE_CFLAGS="$CFLAGS"
4504 CFLAGS="$CFLAGS -belf"
4505 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4506 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4507 if test "${lt_cv_cc_needs_belf+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 if test x$gcc_no_link = xyes; then
4519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4521 { (exit 1); exit 1; }; }
4523 cat >conftest.$ac_ext <<_ACEOF
4524 /* confdefs.h. */
4525 _ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -z "$ac_c_werror_flag"
4548 || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 (eval $ac_try) 2>&5
4551 ac_status=$?
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 (eval $ac_try) 2>&5
4557 ac_status=$?
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 lt_cv_cc_needs_belf=yes
4561 else
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 lt_cv_cc_needs_belf=no
4567 rm -f conftest.err conftest.$ac_objext \
4568 conftest$ac_exeext conftest.$ac_ext
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4578 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580 CFLAGS="$SAVE_CFLAGS"
4585 esac
4588 # Save cache, so that ltconfig can load it
4589 cat >confcache <<\_ACEOF
4590 # This file is a shell script that caches the results of configure
4591 # tests run on this system so they can be shared between configure
4592 # scripts and configure runs, see configure's option --config-cache.
4593 # It is not useful on other systems. If it contains results you don't
4594 # want to keep, you may remove or edit it.
4596 # config.status only pays attention to the cache file if you give it
4597 # the --recheck option to rerun configure.
4599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4601 # following values.
4603 _ACEOF
4605 # The following way of writing the cache mishandles newlines in values,
4606 # but we know of no workaround that is simple, portable, and efficient.
4607 # So, don't put newlines in cache variables' values.
4608 # Ultrix sh set writes to stderr and can't be redirected directly,
4609 # and sets the high bit in the cache file unless we assign to the vars.
4611 (set) 2>&1 |
4612 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613 *ac_space=\ *)
4614 # `set' does not quote correctly, so add quotes (double-quote
4615 # substitution turns \\\\ into \\, and sed turns \\ into \).
4616 sed -n \
4617 "s/'/'\\\\''/g;
4618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621 # `set' quotes correctly as required by POSIX, so do not add quotes.
4622 sed -n \
4623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4625 esac;
4627 sed '
4628 t clear
4629 : clear
4630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631 t end
4632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633 : end' >>confcache
4634 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4635 if test -w $cache_file; then
4636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4637 cat confcache >$cache_file
4638 else
4639 echo "not updating unwritable cache $cache_file"
4642 rm -f confcache
4644 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4645 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4652 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4653 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4654 echo "$as_me: error: libtool configure failed" >&2;}
4655 { (exit 1); exit 1; }; }
4657 # Reload cache, that may have been modified by ltconfig
4658 if test -r "$cache_file"; then
4659 # Some versions of bash will fail to source /dev/null (special
4660 # files actually), so we avoid doing that.
4661 if test -f "$cache_file"; then
4662 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4663 echo "$as_me: loading cache $cache_file" >&6;}
4664 case $cache_file in
4665 [\\/]* | ?:[\\/]* ) . $cache_file;;
4666 *) . ./$cache_file;;
4667 esac
4669 else
4670 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4671 echo "$as_me: creating cache $cache_file" >&6;}
4672 >$cache_file
4676 # This can be used to rebuild libtool when needed
4677 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4679 # Always use our own libtool.
4680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4682 # Redirect the config.log output again, so that the ltconfig log is not
4683 # clobbered by the next message.
4684 exec 5>>./config.log
4686 ac_ext=cc
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4692 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4693 if test -z "$CXXCPP"; then
4694 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697 # Double quotes because CXXCPP needs to be expanded
4698 for CXXCPP in "$CXX -E" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_cxx_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat >conftest.$ac_ext <<_ACEOF
4710 /* confdefs.h. */
4711 _ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } >/dev/null; then
4730 if test -s conftest.err; then
4731 ac_cpp_err=$ac_cxx_preproc_warn_flag
4732 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4733 else
4734 ac_cpp_err=
4736 else
4737 ac_cpp_err=yes
4739 if test -z "$ac_cpp_err"; then
4741 else
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4745 # Broken: fails on valid input.
4746 continue
4748 rm -f conftest.err conftest.$ac_ext
4750 # OK, works on sane cases. Now check whether non-existent headers
4751 # can be detected and how.
4752 cat >conftest.$ac_ext <<_ACEOF
4753 /* confdefs.h. */
4754 _ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 #include <ac_nonexistent.h>
4759 _ACEOF
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762 ac_status=$?
4763 grep -v '^ *+' conftest.er1 >conftest.err
4764 rm -f conftest.er1
4765 cat conftest.err >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev/null; then
4768 if test -s conftest.err; then
4769 ac_cpp_err=$ac_cxx_preproc_warn_flag
4770 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771 else
4772 ac_cpp_err=
4774 else
4775 ac_cpp_err=yes
4777 if test -z "$ac_cpp_err"; then
4778 # Broken: success on invalid input.
4779 continue
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 # Passes both tests.
4785 ac_preproc_ok=:
4786 break
4788 rm -f conftest.err conftest.$ac_ext
4790 done
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.err conftest.$ac_ext
4793 if $ac_preproc_ok; then
4794 break
4797 done
4798 ac_cv_prog_CXXCPP=$CXXCPP
4801 CXXCPP=$ac_cv_prog_CXXCPP
4802 else
4803 ac_cv_prog_CXXCPP=$CXXCPP
4805 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4806 echo "${ECHO_T}$CXXCPP" >&6
4807 ac_preproc_ok=false
4808 for ac_cxx_preproc_warn_flag in '' yes
4810 # Use a header file that comes with gcc, so configuring glibc
4811 # with a fresh cross-compiler works.
4812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4813 # <limits.h> exists even on freestanding compilers.
4814 # On the NeXT, cc -E runs the code through the compiler's parser,
4815 # not just through cpp. "Syntax error" is here to catch this case.
4816 cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h. */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #ifdef __STDC__
4823 # include <limits.h>
4824 #else
4825 # include <assert.h>
4826 #endif
4827 Syntax error
4828 _ACEOF
4829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4831 ac_status=$?
4832 grep -v '^ *+' conftest.er1 >conftest.err
4833 rm -f conftest.er1
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } >/dev/null; then
4837 if test -s conftest.err; then
4838 ac_cpp_err=$ac_cxx_preproc_warn_flag
4839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4840 else
4841 ac_cpp_err=
4843 else
4844 ac_cpp_err=yes
4846 if test -z "$ac_cpp_err"; then
4848 else
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 # Broken: fails on valid input.
4853 continue
4855 rm -f conftest.err conftest.$ac_ext
4857 # OK, works on sane cases. Now check whether non-existent headers
4858 # can be detected and how.
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4866 _ACEOF
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev/null; then
4875 if test -s conftest.err; then
4876 ac_cpp_err=$ac_cxx_preproc_warn_flag
4877 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878 else
4879 ac_cpp_err=
4881 else
4882 ac_cpp_err=yes
4884 if test -z "$ac_cpp_err"; then
4885 # Broken: success on invalid input.
4886 continue
4887 else
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 # Passes both tests.
4892 ac_preproc_ok=:
4893 break
4895 rm -f conftest.err conftest.$ac_ext
4897 done
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.$ac_ext
4900 if $ac_preproc_ok; then
4902 else
4903 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4904 See \`config.log' for more details." >&5
4905 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&2;}
4907 { (exit 1); exit 1; }; }
4910 ac_ext=c
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4919 lt_save_CC="$CC"
4920 lt_save_CFLAGS="$CFLAGS"
4921 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4922 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4923 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4924 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4925 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4926 deplibs_check_method="$deplibs_check_method" \
4927 file_magic_cmd="$file_magic_cmd" \
4928 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4929 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4930 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4931 echo "$as_me: error: libtool tag configuration failed" >&2;}
4932 { (exit 1); exit 1; }; }
4933 CC="$lt_save_CC"
4934 CFLAGS="$lt_save_CFLAGS"
4936 # Redirect the config.log output again, so that the ltconfig log is not
4937 # clobbered by the next message.
4938 exec 5>>./config.log
4947 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4949 # Possibly disable most of the library.
4950 ## XXX Consider skipping unncessary tests altogether in this case, rather
4951 ## than just ignoring the results. Faster /and/ more correct, win win.
4953 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4954 if test "${enable_hosted_libstdcxx+set}" = set; then
4955 enableval="$enable_hosted_libstdcxx"
4957 else
4958 case "$host" in
4959 arm*-*-symbianelf*)
4960 enable_hosted_libstdcxx=no
4963 enable_hosted_libstdcxx=yes
4965 esac
4967 if test "$enable_hosted_libstdcxx" = no; then
4968 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970 is_hosted=no
4971 hosted_define=0
4972 enable_abi_check=no
4973 enable_libstdcxx_pch=no
4974 else
4975 is_hosted=yes
4976 hosted_define=1
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4986 # Check for support bits and g++ features that don't require linking.
4988 echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4992 ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4998 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000 enableval="$enable_sjlj_exceptions"
5002 case "$enableval" in
5003 yes|no|auto) ;;
5004 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006 { (exit 1); exit 1; }; } ;;
5007 esac
5009 else
5010 enable_sjlj_exceptions=auto
5014 if test $enable_sjlj_exceptions = auto; then
5015 # Botheration. Now we've got to detect the exception model. Link tests
5016 # against libgcc.a are problematic since we've not been given proper -L
5017 # bits for single-tree newlib and libgloss.
5019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5020 cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5026 S s;
5027 bar();
5030 old_CXXFLAGS="$CXXFLAGS"
5031 CXXFLAGS=-S
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; then
5037 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038 enable_sjlj_exceptions=yes
5039 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040 enable_sjlj_exceptions=no
5043 CXXFLAGS="$old_CXXFLAGS"
5044 rm -f conftest*
5047 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5048 # to two different models.
5049 case $enable_sjlj_exceptions in
5050 yes)
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5056 ac_exception_model_name=sjlj
5059 ac_exception_model_name="call frame"
5062 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064 { (exit 1); exit 1; }; }
5066 esac
5067 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5077 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081 enableval="$enable_libstdcxx_pch"
5083 case "$enableval" in
5084 yes|no) ;;
5085 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087 { (exit 1); exit 1; }; } ;;
5088 esac
5090 else
5091 enable_libstdcxx_pch=$is_hosted
5094 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5097 if test $enable_libstdcxx_pch = yes; then
5098 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 ac_save_CXXFLAGS="$CXXFLAGS"
5104 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5107 ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5113 echo '#include <math.h>' > conftest.h
5114 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115 -o conftest.h.gch 1>&5 2>&1 &&
5116 echo '#error "pch failed"' > conftest.h &&
5117 echo '#include "conftest.h"' > conftest.cc &&
5118 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119 then
5120 glibcxx_cv_prog_CXX_pch=yes
5121 else
5122 glibcxx_cv_prog_CXX_pch=no
5124 rm -f conftest*
5125 CXXFLAGS=$ac_save_CXXFLAGS
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5140 if test $enable_libstdcxx_pch = yes; then
5141 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142 else
5143 glibcxx_PCHFLAGS=""
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5151 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153 # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155 enableval="$enable_cstdio"
5157 case "$enableval" in
5158 stdio) ;;
5159 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161 { (exit 1); exit 1; }; } ;;
5162 esac
5164 else
5165 enable_cstdio=stdio
5169 # Now that libio has been removed, you can have any color you want as long
5170 # as it's black. This is one big no-op until other packages are added, but
5171 # showing the framework never hurts.
5172 case ${enable_cstdio} in
5173 stdio)
5174 CSTDIO_H=config/io/c_io_stdio.h
5175 BASIC_FILE_H=config/io/basic_file_stdio.h
5176 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177 echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5180 esac
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195 CPP=
5197 if test -z "$CPP"; then
5198 if test "${ac_cv_prog_CPP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 # Double quotes because CPP needs to be expanded
5202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5204 ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5207 # Use a header file that comes with gcc, so configuring glibc
5208 # with a fresh cross-compiler works.
5209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210 # <limits.h> exists even on freestanding compilers.
5211 # On the NeXT, cc -E runs the code through the compiler's parser,
5212 # not just through cpp. "Syntax error" is here to catch this case.
5213 cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h. */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224 Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev/null; then
5234 if test -s conftest.err; then
5235 ac_cpp_err=$ac_c_preproc_warn_flag
5236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237 else
5238 ac_cpp_err=
5240 else
5241 ac_cpp_err=yes
5243 if test -z "$ac_cpp_err"; then
5245 else
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Broken: fails on valid input.
5250 continue
5252 rm -f conftest.err conftest.$ac_ext
5254 # OK, works on sane cases. Now check whether non-existent headers
5255 # can be detected and how.
5256 cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h. */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266 ac_status=$?
5267 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1
5269 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev/null; then
5272 if test -s conftest.err; then
5273 ac_cpp_err=$ac_c_preproc_warn_flag
5274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275 else
5276 ac_cpp_err=
5278 else
5279 ac_cpp_err=yes
5281 if test -z "$ac_cpp_err"; then
5282 # Broken: success on invalid input.
5283 continue
5284 else
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5292 rm -f conftest.err conftest.$ac_ext
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298 break
5301 done
5302 ac_cv_prog_CPP=$CPP
5305 CPP=$ac_cv_prog_CPP
5306 else
5307 ac_cv_prog_CPP=$CPP
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331 Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335 ac_status=$?
5336 grep -v '^ *+' conftest.er1 >conftest.err
5337 rm -f conftest.er1
5338 cat conftest.err >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } >/dev/null; then
5341 if test -s conftest.err; then
5342 ac_cpp_err=$ac_c_preproc_warn_flag
5343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344 else
5345 ac_cpp_err=
5347 else
5348 ac_cpp_err=yes
5350 if test -z "$ac_cpp_err"; then
5352 else
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 # Broken: fails on valid input.
5357 continue
5359 rm -f conftest.err conftest.$ac_ext
5361 # OK, works on sane cases. Now check whether non-existent headers
5362 # can be detected and how.
5363 cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h. */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev/null; then
5379 if test -s conftest.err; then
5380 ac_cpp_err=$ac_c_preproc_warn_flag
5381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382 else
5383 ac_cpp_err=
5385 else
5386 ac_cpp_err=yes
5388 if test -z "$ac_cpp_err"; then
5389 # Broken: success on invalid input.
5390 continue
5391 else
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5395 # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5399 rm -f conftest.err conftest.$ac_ext
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5406 else
5407 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411 { (exit 1); exit 1; }; }
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427 then ac_cv_prog_egrep='grep -E'
5428 else ac_cv_prog_egrep='egrep'
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433 EGREP=$ac_cv_prog_egrep
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h. */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5453 main ()
5457 return 0;
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>conftest.er1
5463 ac_status=$?
5464 grep -v '^ *+' conftest.er1 >conftest.err
5465 rm -f conftest.er1
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try='test -z "$ac_c_werror_flag"
5470 || test ! -s conftest.err'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 (eval $ac_try) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 (eval $ac_try) 2>&5
5479 ac_status=$?
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 ac_cv_header_stdc=yes
5483 else
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 ac_cv_header_stdc=no
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5491 if test $ac_cv_header_stdc = yes; then
5492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h. */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 #include <string.h>
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503 $EGREP "memchr" >/dev/null 2>&1; then
5505 else
5506 ac_cv_header_stdc=no
5508 rm -f conftest*
5512 if test $ac_cv_header_stdc = yes; then
5513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514 cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h. */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <stdlib.h>
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "free" >/dev/null 2>&1; then
5526 else
5527 ac_cv_header_stdc=no
5529 rm -f conftest*
5533 if test $ac_cv_header_stdc = yes; then
5534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535 if test "$cross_compiling" = yes; then
5537 else
5538 cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h. */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550 (('a' <= (c) && (c) <= 'i') \
5551 || ('j' <= (c) && (c) <= 'r') \
5552 || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 main ()
5560 int i;
5561 for (i = 0; i < 256; i++)
5562 if (XOR (islower (i), ISLOWER (i))
5563 || toupper (i) != TOUPPER (i))
5564 exit(2);
5565 exit (0);
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5
5576 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5580 else
5581 echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613 inttypes.h stdint.h unistd.h
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621 cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h. */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>conftest.er1
5634 ac_status=$?
5635 grep -v '^ *+' conftest.er1 >conftest.err
5636 rm -f conftest.er1
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -z "$ac_c_werror_flag"
5641 || test ! -s conftest.err'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest.$ac_objext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 (eval $ac_try) 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 eval "$as_ac_Header=yes"
5654 else
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 eval "$as_ac_Header=no"
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665 cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5671 done
5675 echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677 # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679 enableval="$enable_clocale"
5681 case "$enableval" in
5682 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685 { (exit 1); exit 1; }; } ;;
5686 esac
5688 else
5689 enable_clocale=auto
5693 # If they didn't use this option switch, or if they specified --enable
5694 # with no specific model, we'll have to look for one. If they
5695 # specified --disable (???), do likewise.
5696 if test $enable_clocale = no || test $enable_clocale = yes; then
5697 enable_clocale=auto
5700 # Either a known package, or "auto"
5701 enable_clocale_flag=$enable_clocale
5703 # Probe for locale support if no specific model is specified.
5704 # Default to "generic".
5705 if test $enable_clocale_flag = auto; then
5706 case ${target_os} in
5707 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5708 cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h. */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5715 #include <features.h>
5716 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717 _GLIBCXX_ok
5718 #endif
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723 enable_clocale_flag=gnu
5724 else
5725 enable_clocale_flag=generic
5727 rm -f conftest*
5730 # Test for bugs early in glibc-2.2.x series
5731 if test $enable_clocale_flag = gnu; then
5732 if test "$cross_compiling" = yes; then
5733 enable_clocale_flag=generic
5734 else
5735 cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h. */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5742 #define _GNU_SOURCE 1
5743 #include <locale.h>
5744 #include <string.h>
5745 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746 extern __typeof(newlocale) __newlocale;
5747 extern __typeof(duplocale) __duplocale;
5748 extern __typeof(strcoll_l) __strcoll_l;
5749 #endif
5750 int main()
5752 const char __one[] = "Äuglein Augmen";
5753 const char __two[] = "Äuglein";
5754 int i;
5755 int j;
5756 __locale_t loc;
5757 __locale_t loc_dup;
5758 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759 loc_dup = __duplocale(loc);
5760 i = __strcoll_l(__one, __two, loc);
5761 j = __strcoll_l(__one, __two, loc_dup);
5762 return 0;
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768 (eval $ac_link) 2>&5
5769 ac_status=$?
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 enable_clocale_flag=gnu
5778 else
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 # ... at some point put __strxfrm_l tests in as well.
5792 darwin*)
5793 enable_clocale_flag=darwin
5796 enable_clocale_flag=generic
5798 esac
5801 # Deal with gettext issues. Default to not using it (=no) until we detect
5802 # support for it later. Let the user turn it off via --e/d, but let that
5803 # default to on for easier handling.
5804 USE_NLS=no
5805 # Check whether --enable-nls or --disable-nls was given.
5806 if test "${enable_nls+set}" = set; then
5807 enableval="$enable_nls"
5809 else
5810 enable_nls=yes
5813 # Set configure bits for specified locale package
5814 case ${enable_clocale_flag} in
5815 generic)
5816 echo "$as_me:$LINENO: result: generic" >&5
5817 echo "${ECHO_T}generic" >&6
5819 CLOCALE_H=config/locale/generic/c_locale.h
5820 CLOCALE_CC=config/locale/generic/c_locale.cc
5821 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5822 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5823 CCOLLATE_CC=config/locale/generic/collate_members.cc
5824 CCTYPE_CC=config/locale/generic/ctype_members.cc
5825 CMESSAGES_H=config/locale/generic/messages_members.h
5826 CMESSAGES_CC=config/locale/generic/messages_members.cc
5827 CMONEY_CC=config/locale/generic/monetary_members.cc
5828 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5829 CTIME_H=config/locale/generic/time_members.h
5830 CTIME_CC=config/locale/generic/time_members.cc
5831 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5833 darwin)
5834 echo "$as_me:$LINENO: result: darwin" >&5
5835 echo "${ECHO_T}darwin" >&6
5837 CLOCALE_H=config/locale/generic/c_locale.h
5838 CLOCALE_CC=config/locale/generic/c_locale.cc
5839 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5840 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5841 CCOLLATE_CC=config/locale/generic/collate_members.cc
5842 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5843 CMESSAGES_H=config/locale/generic/messages_members.h
5844 CMESSAGES_CC=config/locale/generic/messages_members.cc
5845 CMONEY_CC=config/locale/generic/monetary_members.cc
5846 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5847 CTIME_H=config/locale/generic/time_members.h
5848 CTIME_CC=config/locale/generic/time_members.cc
5849 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5852 gnu)
5853 echo "$as_me:$LINENO: result: gnu" >&5
5854 echo "${ECHO_T}gnu" >&6
5856 # Declare intention to use gettext, and add support for specific
5857 # languages.
5858 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5859 ALL_LINGUAS="de fr"
5861 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5862 # Extract the first word of "msgfmt", so it can be a program name with args.
5863 set dummy msgfmt; ac_word=$2
5864 echo "$as_me:$LINENO: checking for $ac_word" >&5
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5866 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 else
5869 if test -n "$check_msgfmt"; then
5870 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_check_msgfmt="yes"
5880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5886 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5889 check_msgfmt=$ac_cv_prog_check_msgfmt
5890 if test -n "$check_msgfmt"; then
5891 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5892 echo "${ECHO_T}$check_msgfmt" >&6
5893 else
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5898 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5899 USE_NLS=yes
5901 # Export the build objects.
5902 for ling in $ALL_LINGUAS; do \
5903 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5904 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5905 done
5909 CLOCALE_H=config/locale/gnu/c_locale.h
5910 CLOCALE_CC=config/locale/gnu/c_locale.cc
5911 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5912 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5913 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5914 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5915 CMESSAGES_H=config/locale/gnu/messages_members.h
5916 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5917 CMONEY_CC=config/locale/gnu/monetary_members.cc
5918 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5919 CTIME_H=config/locale/gnu/time_members.h
5920 CTIME_CC=config/locale/gnu/time_members.cc
5921 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5923 ieee_1003.1-2001)
5924 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5925 echo "${ECHO_T}IEEE 1003.1" >&6
5927 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5928 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5929 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5930 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5931 CCOLLATE_CC=config/locale/generic/collate_members.cc
5932 CCTYPE_CC=config/locale/generic/ctype_members.cc
5933 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5934 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5935 CMONEY_CC=config/locale/generic/monetary_members.cc
5936 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5937 CTIME_H=config/locale/generic/time_members.h
5938 CTIME_CC=config/locale/generic/time_members.cc
5939 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5941 esac
5943 # This is where the testsuite looks for locale catalogs, using the
5944 # -DLOCALEDIR define during testsuite compilation.
5945 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5948 # A standalone libintl (e.g., GNU libintl) may be in use.
5949 if test $USE_NLS = yes; then
5951 for ac_header in libintl.h
5953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5955 echo "$as_me:$LINENO: checking for $ac_header" >&5
5956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5962 else
5963 # Is the header compilable?
5964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5966 cat >conftest.$ac_ext <<_ACEOF
5967 /* confdefs.h. */
5968 _ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 $ac_includes_default
5973 #include <$ac_header>
5974 _ACEOF
5975 rm -f conftest.$ac_objext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977 (eval $ac_compile) 2>conftest.er1
5978 ac_status=$?
5979 grep -v '^ *+' conftest.er1 >conftest.err
5980 rm -f conftest.er1
5981 cat conftest.err >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } &&
5984 { ac_try='test -z "$ac_c_werror_flag"
5985 || test ! -s conftest.err'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 (eval $ac_try) 2>&5
5988 ac_status=$?
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; } &&
5991 { ac_try='test -s conftest.$ac_objext'
5992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 (eval $ac_try) 2>&5
5994 ac_status=$?
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; }; then
5997 ac_header_compiler=yes
5998 else
5999 echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.$ac_ext >&5
6002 ac_header_compiler=no
6004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6006 echo "${ECHO_T}$ac_header_compiler" >&6
6008 # Is the header present?
6009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6011 cat >conftest.$ac_ext <<_ACEOF
6012 /* confdefs.h. */
6013 _ACEOF
6014 cat confdefs.h >>conftest.$ac_ext
6015 cat >>conftest.$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6017 #include <$ac_header>
6018 _ACEOF
6019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6021 ac_status=$?
6022 grep -v '^ *+' conftest.er1 >conftest.err
6023 rm -f conftest.er1
6024 cat conftest.err >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } >/dev/null; then
6027 if test -s conftest.err; then
6028 ac_cpp_err=$ac_c_preproc_warn_flag
6029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6030 else
6031 ac_cpp_err=
6033 else
6034 ac_cpp_err=yes
6036 if test -z "$ac_cpp_err"; then
6037 ac_header_preproc=yes
6038 else
6039 echo "$as_me: failed program was:" >&5
6040 sed 's/^/| /' conftest.$ac_ext >&5
6042 ac_header_preproc=no
6044 rm -f conftest.err conftest.$ac_ext
6045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6046 echo "${ECHO_T}$ac_header_preproc" >&6
6048 # So? What about this header?
6049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6050 yes:no: )
6051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6055 ac_header_preproc=yes
6057 no:yes:* )
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6071 cat <<\_ASBOX
6072 ## ----------------------------------------- ##
6073 ## Report this to the package-unused lists. ##
6074 ## ----------------------------------------- ##
6075 _ASBOX
6077 sed "s/^/$as_me: WARNING: /" >&2
6079 esac
6080 echo "$as_me:$LINENO: checking for $ac_header" >&5
6081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 eval "$as_ac_Header=\$ac_header_preproc"
6087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6092 cat >>confdefs.h <<_ACEOF
6093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6094 _ACEOF
6096 else
6097 USE_NLS=no
6100 done
6102 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6103 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6104 if test "${ac_cv_search_gettext+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 else
6107 ac_func_search_save_LIBS=$LIBS
6108 ac_cv_search_gettext=no
6109 if test x$gcc_no_link = xyes; then
6110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6112 { (exit 1); exit 1; }; }
6114 cat >conftest.$ac_ext <<_ACEOF
6115 /* confdefs.h. */
6116 _ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6121 /* Override any gcc2 internal prototype to avoid an error. */
6122 #ifdef __cplusplus
6123 extern "C"
6124 #endif
6125 /* We use char because int might match the return type of a gcc2
6126 builtin and then its argument prototype would still apply. */
6127 char gettext ();
6129 main ()
6131 gettext ();
6133 return 0;
6135 _ACEOF
6136 rm -f conftest.$ac_objext conftest$ac_exeext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6138 (eval $ac_link) 2>conftest.er1
6139 ac_status=$?
6140 grep -v '^ *+' conftest.er1 >conftest.err
6141 rm -f conftest.er1
6142 cat conftest.err >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } &&
6145 { ac_try='test -z "$ac_c_werror_flag"
6146 || test ! -s conftest.err'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148 (eval $ac_try) 2>&5
6149 ac_status=$?
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; } &&
6152 { ac_try='test -s conftest$ac_exeext'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154 (eval $ac_try) 2>&5
6155 ac_status=$?
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6158 ac_cv_search_gettext="none required"
6159 else
6160 echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.$ac_ext >&5
6164 rm -f conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 if test "$ac_cv_search_gettext" = no; then
6167 for ac_lib in intl; do
6168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6169 if test x$gcc_no_link = xyes; then
6170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6172 { (exit 1); exit 1; }; }
6174 cat >conftest.$ac_ext <<_ACEOF
6175 /* confdefs.h. */
6176 _ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6181 /* Override any gcc2 internal prototype to avoid an error. */
6182 #ifdef __cplusplus
6183 extern "C"
6184 #endif
6185 /* We use char because int might match the return type of a gcc2
6186 builtin and then its argument prototype would still apply. */
6187 char gettext ();
6189 main ()
6191 gettext ();
6193 return 0;
6195 _ACEOF
6196 rm -f conftest.$ac_objext conftest$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>conftest.er1
6199 ac_status=$?
6200 grep -v '^ *+' conftest.er1 >conftest.err
6201 rm -f conftest.er1
6202 cat conftest.err >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208 (eval $ac_try) 2>&5
6209 ac_status=$?
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try='test -s conftest$ac_exeext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 (eval $ac_try) 2>&5
6215 ac_status=$?
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 ac_cv_search_gettext="-l$ac_lib"
6219 break
6220 else
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.$ac_ext >&5
6225 rm -f conftest.err conftest.$ac_objext \
6226 conftest$ac_exeext conftest.$ac_ext
6227 done
6229 LIBS=$ac_func_search_save_LIBS
6231 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6232 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6233 if test "$ac_cv_search_gettext" != no; then
6234 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6236 else
6237 USE_NLS=no
6241 if test $USE_NLS = yes; then
6242 cat >>confdefs.h <<\_ACEOF
6243 #define _GLIBCXX_USE_NLS 1
6244 _ACEOF
6264 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6265 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6266 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6267 if test "${enable_libstdcxx_allocator+set}" = set; then
6268 enableval="$enable_libstdcxx_allocator"
6270 case "$enableval" in
6271 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6272 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6273 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6274 { (exit 1); exit 1; }; } ;;
6275 esac
6277 else
6278 enable_libstdcxx_allocator=auto
6282 # If they didn't use this option switch, or if they specified --enable
6283 # with no specific model, we'll have to look for one. If they
6284 # specified --disable (???), do likewise.
6285 if test $enable_libstdcxx_allocator = no ||
6286 test $enable_libstdcxx_allocator = yes;
6287 then
6288 enable_libstdcxx_allocator=auto
6291 # Either a known package, or "auto". Auto implies the default choice
6292 # for a particular platform.
6293 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6295 # Probe for host-specific support if no specific model is specified.
6296 # Default to "new".
6297 if test $enable_libstdcxx_allocator_flag = auto; then
6298 case ${target_os} in
6299 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6300 enable_libstdcxx_allocator_flag=mt
6303 enable_libstdcxx_allocator_flag=new
6305 esac
6307 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6308 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6311 # Set configure bits for specified locale package
6312 case ${enable_libstdcxx_allocator_flag} in
6313 bitmap)
6314 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6315 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6317 malloc)
6318 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6319 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6322 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6323 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6325 new)
6326 ALLOCATOR_H=config/allocator/new_allocator_base.h
6327 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6329 pool)
6330 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6331 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6333 esac
6339 # Check whether --enable-cheaders or --disable-cheaders was given.
6340 if test "${enable_cheaders+set}" = set; then
6341 enableval="$enable_cheaders"
6343 case "$enableval" in
6344 c|c_std) ;;
6345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6346 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6347 { (exit 1); exit 1; }; } ;;
6348 esac
6350 else
6351 enable_cheaders=$c_model
6354 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6355 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6357 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6364 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6365 if test "${enable_c_mbchar+set}" = set; then
6366 enableval="$enable_c_mbchar"
6368 case "$enableval" in
6369 yes|no) ;;
6370 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6371 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6372 { (exit 1); exit 1; }; } ;;
6373 esac
6375 else
6376 enable_c_mbchar=yes
6379 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6383 # Check whether --enable-c99 or --disable-c99 was given.
6384 if test "${enable_c99+set}" = set; then
6385 enableval="$enable_c99"
6387 case "$enableval" in
6388 yes|no) ;;
6389 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6390 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6391 { (exit 1); exit 1; }; } ;;
6392 esac
6394 else
6395 enable_c99=yes
6401 ac_ext=cc
6402 ac_cpp='$CXXCPP $CPPFLAGS'
6403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6408 # Check for the existence of <math.h> functions used if C99 is enabled.
6409 ac_c99_math=yes;
6410 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6411 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6412 cat >conftest.$ac_ext <<_ACEOF
6413 /* confdefs.h. */
6414 _ACEOF
6415 cat confdefs.h >>conftest.$ac_ext
6416 cat >>conftest.$ac_ext <<_ACEOF
6417 /* end confdefs.h. */
6418 #include <math.h>
6420 main ()
6422 fpclassify(0.0);
6424 return 0;
6426 _ACEOF
6427 rm -f conftest.$ac_objext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6429 (eval $ac_compile) 2>conftest.er1
6430 ac_status=$?
6431 grep -v '^ *+' conftest.er1 >conftest.err
6432 rm -f conftest.er1
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try='test -z "$ac_cxx_werror_flag"
6437 || test ! -s conftest.err'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 (eval $ac_try) 2>&5
6440 ac_status=$?
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; } &&
6443 { ac_try='test -s conftest.$ac_objext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445 (eval $ac_try) 2>&5
6446 ac_status=$?
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6450 else
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.$ac_ext >&5
6454 ac_c99_math=no
6456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h. */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6463 #include <math.h>
6465 main ()
6467 isfinite(0.0);
6469 return 0;
6471 _ACEOF
6472 rm -f conftest.$ac_objext
6473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6474 (eval $ac_compile) 2>conftest.er1
6475 ac_status=$?
6476 grep -v '^ *+' conftest.er1 >conftest.err
6477 rm -f conftest.er1
6478 cat conftest.err >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } &&
6481 { ac_try='test -z "$ac_cxx_werror_flag"
6482 || test ! -s conftest.err'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; } &&
6488 { ac_try='test -s conftest.$ac_objext'
6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490 (eval $ac_try) 2>&5
6491 ac_status=$?
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); }; }; then
6495 else
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.$ac_ext >&5
6499 ac_c99_math=no
6501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h. */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 #include <math.h>
6510 main ()
6512 isinf(0.0);
6514 return 0;
6516 _ACEOF
6517 rm -f conftest.$ac_objext
6518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6519 (eval $ac_compile) 2>conftest.er1
6520 ac_status=$?
6521 grep -v '^ *+' conftest.er1 >conftest.err
6522 rm -f conftest.er1
6523 cat conftest.err >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } &&
6526 { ac_try='test -z "$ac_cxx_werror_flag"
6527 || test ! -s conftest.err'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5
6530 ac_status=$?
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; } &&
6533 { ac_try='test -s conftest.$ac_objext'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 (eval $ac_try) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; }; then
6540 else
6541 echo "$as_me: failed program was:" >&5
6542 sed 's/^/| /' conftest.$ac_ext >&5
6544 ac_c99_math=no
6546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6547 cat >conftest.$ac_ext <<_ACEOF
6548 /* confdefs.h. */
6549 _ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <math.h>
6555 main ()
6557 isnan(0.0);
6559 return 0;
6561 _ACEOF
6562 rm -f conftest.$ac_objext
6563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6564 (eval $ac_compile) 2>conftest.er1
6565 ac_status=$?
6566 grep -v '^ *+' conftest.er1 >conftest.err
6567 rm -f conftest.er1
6568 cat conftest.err >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); } &&
6571 { ac_try='test -z "$ac_cxx_werror_flag"
6572 || test ! -s conftest.err'
6573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 (eval $ac_try) 2>&5
6575 ac_status=$?
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); }; } &&
6578 { ac_try='test -s conftest.$ac_objext'
6579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 (eval $ac_try) 2>&5
6581 ac_status=$?
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6585 else
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6589 ac_c99_math=no
6591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6592 cat >conftest.$ac_ext <<_ACEOF
6593 /* confdefs.h. */
6594 _ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6598 #include <math.h>
6600 main ()
6602 isnormal(0.0);
6604 return 0;
6606 _ACEOF
6607 rm -f conftest.$ac_objext
6608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6609 (eval $ac_compile) 2>conftest.er1
6610 ac_status=$?
6611 grep -v '^ *+' conftest.er1 >conftest.err
6612 rm -f conftest.er1
6613 cat conftest.err >&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } &&
6616 { ac_try='test -z "$ac_cxx_werror_flag"
6617 || test ! -s conftest.err'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 (eval $ac_try) 2>&5
6620 ac_status=$?
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; } &&
6623 { ac_try='test -s conftest.$ac_objext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6630 else
6631 echo "$as_me: failed program was:" >&5
6632 sed 's/^/| /' conftest.$ac_ext >&5
6634 ac_c99_math=no
6636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6637 cat >conftest.$ac_ext <<_ACEOF
6638 /* confdefs.h. */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h. */
6643 #include <math.h>
6645 main ()
6647 signbit(0.0);
6649 return 0;
6651 _ACEOF
6652 rm -f conftest.$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 (eval $ac_compile) 2>conftest.er1
6655 ac_status=$?
6656 grep -v '^ *+' conftest.er1 >conftest.err
6657 rm -f conftest.er1
6658 cat conftest.err >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } &&
6661 { ac_try='test -z "$ac_cxx_werror_flag"
6662 || test ! -s conftest.err'
6663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664 (eval $ac_try) 2>&5
6665 ac_status=$?
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); }; } &&
6668 { ac_try='test -s conftest.$ac_objext'
6669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6670 (eval $ac_try) 2>&5
6671 ac_status=$?
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); }; }; then
6675 else
6676 echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.$ac_ext >&5
6679 ac_c99_math=no
6681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6682 cat >conftest.$ac_ext <<_ACEOF
6683 /* confdefs.h. */
6684 _ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 #include <math.h>
6690 main ()
6692 isgreater(0.0,0.0);
6694 return 0;
6696 _ACEOF
6697 rm -f conftest.$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699 (eval $ac_compile) 2>conftest.er1
6700 ac_status=$?
6701 grep -v '^ *+' conftest.er1 >conftest.err
6702 rm -f conftest.er1
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } &&
6706 { ac_try='test -z "$ac_cxx_werror_flag"
6707 || test ! -s conftest.err'
6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 (eval $ac_try) 2>&5
6710 ac_status=$?
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); }; } &&
6713 { ac_try='test -s conftest.$ac_objext'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 (eval $ac_try) 2>&5
6716 ac_status=$?
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then
6720 else
6721 echo "$as_me: failed program was:" >&5
6722 sed 's/^/| /' conftest.$ac_ext >&5
6724 ac_c99_math=no
6726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6727 cat >conftest.$ac_ext <<_ACEOF
6728 /* confdefs.h. */
6729 _ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6733 #include <math.h>
6735 main ()
6737 isgreaterequal(0.0,0.0);
6739 return 0;
6741 _ACEOF
6742 rm -f conftest.$ac_objext
6743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6744 (eval $ac_compile) 2>conftest.er1
6745 ac_status=$?
6746 grep -v '^ *+' conftest.er1 >conftest.err
6747 rm -f conftest.er1
6748 cat conftest.err >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); } &&
6751 { ac_try='test -z "$ac_cxx_werror_flag"
6752 || test ! -s conftest.err'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 (eval $ac_try) 2>&5
6755 ac_status=$?
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; } &&
6758 { ac_try='test -s conftest.$ac_objext'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 (eval $ac_try) 2>&5
6761 ac_status=$?
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; }; then
6765 else
6766 echo "$as_me: failed program was:" >&5
6767 sed 's/^/| /' conftest.$ac_ext >&5
6769 ac_c99_math=no
6771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6772 cat >conftest.$ac_ext <<_ACEOF
6773 /* confdefs.h. */
6774 _ACEOF
6775 cat confdefs.h >>conftest.$ac_ext
6776 cat >>conftest.$ac_ext <<_ACEOF
6777 /* end confdefs.h. */
6778 #include <math.h>
6780 main ()
6782 isless(0.0,0.0);
6784 return 0;
6786 _ACEOF
6787 rm -f conftest.$ac_objext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>conftest.er1
6790 ac_status=$?
6791 grep -v '^ *+' conftest.er1 >conftest.err
6792 rm -f conftest.er1
6793 cat conftest.err >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); } &&
6796 { ac_try='test -z "$ac_cxx_werror_flag"
6797 || test ! -s conftest.err'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 (eval $ac_try) 2>&5
6800 ac_status=$?
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; } &&
6803 { ac_try='test -s conftest.$ac_objext'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 (eval $ac_try) 2>&5
6806 ac_status=$?
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then
6810 else
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.$ac_ext >&5
6814 ac_c99_math=no
6816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6817 cat >conftest.$ac_ext <<_ACEOF
6818 /* confdefs.h. */
6819 _ACEOF
6820 cat confdefs.h >>conftest.$ac_ext
6821 cat >>conftest.$ac_ext <<_ACEOF
6822 /* end confdefs.h. */
6823 #include <math.h>
6825 main ()
6827 islessequal(0.0,0.0);
6829 return 0;
6831 _ACEOF
6832 rm -f conftest.$ac_objext
6833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834 (eval $ac_compile) 2>conftest.er1
6835 ac_status=$?
6836 grep -v '^ *+' conftest.er1 >conftest.err
6837 rm -f conftest.er1
6838 cat conftest.err >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } &&
6841 { ac_try='test -z "$ac_cxx_werror_flag"
6842 || test ! -s conftest.err'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 (eval $ac_try) 2>&5
6845 ac_status=$?
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try='test -s conftest.$ac_objext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 (eval $ac_try) 2>&5
6851 ac_status=$?
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6855 else
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6859 ac_c99_math=no
6861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862 cat >conftest.$ac_ext <<_ACEOF
6863 /* confdefs.h. */
6864 _ACEOF
6865 cat confdefs.h >>conftest.$ac_ext
6866 cat >>conftest.$ac_ext <<_ACEOF
6867 /* end confdefs.h. */
6868 #include <math.h>
6870 main ()
6872 islessgreater(0.0,0.0);
6874 return 0;
6876 _ACEOF
6877 rm -f conftest.$ac_objext
6878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6879 (eval $ac_compile) 2>conftest.er1
6880 ac_status=$?
6881 grep -v '^ *+' conftest.er1 >conftest.err
6882 rm -f conftest.er1
6883 cat conftest.err >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } &&
6886 { ac_try='test -z "$ac_cxx_werror_flag"
6887 || test ! -s conftest.err'
6888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 (eval $ac_try) 2>&5
6890 ac_status=$?
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); }; } &&
6893 { ac_try='test -s conftest.$ac_objext'
6894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 (eval $ac_try) 2>&5
6896 ac_status=$?
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }; }; then
6900 else
6901 echo "$as_me: failed program was:" >&5
6902 sed 's/^/| /' conftest.$ac_ext >&5
6904 ac_c99_math=no
6906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6907 cat >conftest.$ac_ext <<_ACEOF
6908 /* confdefs.h. */
6909 _ACEOF
6910 cat confdefs.h >>conftest.$ac_ext
6911 cat >>conftest.$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6913 #include <math.h>
6915 main ()
6917 isunordered(0.0,0.0);
6919 return 0;
6921 _ACEOF
6922 rm -f conftest.$ac_objext
6923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6924 (eval $ac_compile) 2>conftest.er1
6925 ac_status=$?
6926 grep -v '^ *+' conftest.er1 >conftest.err
6927 rm -f conftest.er1
6928 cat conftest.err >&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } &&
6931 { ac_try='test -z "$ac_cxx_werror_flag"
6932 || test ! -s conftest.err'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 (eval $ac_try) 2>&5
6935 ac_status=$?
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; } &&
6938 { ac_try='test -s conftest.$ac_objext'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 (eval $ac_try) 2>&5
6941 ac_status=$?
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; }; then
6945 else
6946 echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6949 ac_c99_math=no
6951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6952 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6953 echo "${ECHO_T}$ac_c99_math" >&6
6955 if test x"$ac_c99_math" = x"yes"; then
6956 cat >>confdefs.h <<\_ACEOF
6957 #define _GLIBCXX_USE_C99_MATH 1
6958 _ACEOF
6962 # Check for the existence in <stdio.h> of vscanf, et. al.
6963 ac_c99_stdio=yes;
6964 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6965 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6966 cat >conftest.$ac_ext <<_ACEOF
6967 /* confdefs.h. */
6968 _ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 #include <stdio.h>
6974 main ()
6976 snprintf("12", 0, "%i");
6978 return 0;
6980 _ACEOF
6981 rm -f conftest.$ac_objext
6982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6983 (eval $ac_compile) 2>conftest.er1
6984 ac_status=$?
6985 grep -v '^ *+' conftest.er1 >conftest.err
6986 rm -f conftest.er1
6987 cat conftest.err >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } &&
6990 { ac_try='test -z "$ac_cxx_werror_flag"
6991 || test ! -s conftest.err'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 (eval $ac_try) 2>&5
6994 ac_status=$?
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); }; } &&
6997 { ac_try='test -s conftest.$ac_objext'
6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 (eval $ac_try) 2>&5
7000 ac_status=$?
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); }; }; then
7004 else
7005 echo "$as_me: failed program was:" >&5
7006 sed 's/^/| /' conftest.$ac_ext >&5
7008 ac_c99_stdio=no
7010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7011 cat >conftest.$ac_ext <<_ACEOF
7012 /* confdefs.h. */
7013 _ACEOF
7014 cat confdefs.h >>conftest.$ac_ext
7015 cat >>conftest.$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 #include <stdio.h>
7018 #include <stdarg.h>
7019 void foo(char* fmt, ...)
7020 {va_list args; va_start(args, fmt);
7021 vfscanf(stderr, "%i", args);}
7023 main ()
7027 return 0;
7029 _ACEOF
7030 rm -f conftest.$ac_objext
7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7032 (eval $ac_compile) 2>conftest.er1
7033 ac_status=$?
7034 grep -v '^ *+' conftest.er1 >conftest.err
7035 rm -f conftest.er1
7036 cat conftest.err >&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } &&
7039 { ac_try='test -z "$ac_cxx_werror_flag"
7040 || test ! -s conftest.err'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7042 (eval $ac_try) 2>&5
7043 ac_status=$?
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; } &&
7046 { ac_try='test -s conftest.$ac_objext'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7048 (eval $ac_try) 2>&5
7049 ac_status=$?
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; }; then
7053 else
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7057 ac_c99_stdio=no
7059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7060 cat >conftest.$ac_ext <<_ACEOF
7061 /* confdefs.h. */
7062 _ACEOF
7063 cat confdefs.h >>conftest.$ac_ext
7064 cat >>conftest.$ac_ext <<_ACEOF
7065 /* end confdefs.h. */
7066 #include <stdio.h>
7067 #include <stdarg.h>
7068 void foo(char* fmt, ...)
7069 {va_list args; va_start(args, fmt);
7070 vscanf("%i", args);}
7072 main ()
7076 return 0;
7078 _ACEOF
7079 rm -f conftest.$ac_objext
7080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7081 (eval $ac_compile) 2>conftest.er1
7082 ac_status=$?
7083 grep -v '^ *+' conftest.er1 >conftest.err
7084 rm -f conftest.er1
7085 cat conftest.err >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); } &&
7088 { ac_try='test -z "$ac_cxx_werror_flag"
7089 || test ! -s conftest.err'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 (eval $ac_try) 2>&5
7092 ac_status=$?
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; } &&
7095 { ac_try='test -s conftest.$ac_objext'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 (eval $ac_try) 2>&5
7098 ac_status=$?
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; }; then
7102 else
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7106 ac_c99_stdio=no
7108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7109 cat >conftest.$ac_ext <<_ACEOF
7110 /* confdefs.h. */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 #include <stdio.h>
7116 #include <stdarg.h>
7117 void foo(char* fmt, ...)
7118 {va_list args; va_start(args, fmt);
7119 vsnprintf(fmt, 0, "%i", args);}
7121 main ()
7125 return 0;
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7130 (eval $ac_compile) 2>conftest.er1
7131 ac_status=$?
7132 grep -v '^ *+' conftest.er1 >conftest.err
7133 rm -f conftest.er1
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try='test -z "$ac_cxx_werror_flag"
7138 || test ! -s conftest.err'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140 (eval $ac_try) 2>&5
7141 ac_status=$?
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; } &&
7144 { ac_try='test -s conftest.$ac_objext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146 (eval $ac_try) 2>&5
7147 ac_status=$?
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7151 else
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7155 ac_c99_stdio=no
7157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7158 cat >conftest.$ac_ext <<_ACEOF
7159 /* confdefs.h. */
7160 _ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <stdio.h>
7165 #include <stdarg.h>
7166 void foo(char* fmt, ...)
7167 {va_list args; va_start(args, fmt);
7168 vsscanf(fmt, "%i", args);}
7170 main ()
7174 return 0;
7176 _ACEOF
7177 rm -f conftest.$ac_objext
7178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7179 (eval $ac_compile) 2>conftest.er1
7180 ac_status=$?
7181 grep -v '^ *+' conftest.er1 >conftest.err
7182 rm -f conftest.er1
7183 cat conftest.err >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } &&
7186 { ac_try='test -z "$ac_cxx_werror_flag"
7187 || test ! -s conftest.err'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 (eval $ac_try) 2>&5
7190 ac_status=$?
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; } &&
7193 { ac_try='test -s conftest.$ac_objext'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195 (eval $ac_try) 2>&5
7196 ac_status=$?
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; }; then
7200 else
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 ac_c99_stdio=no
7206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7207 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7208 echo "${ECHO_T}$ac_c99_stdio" >&6
7210 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7211 ac_c99_stdlib=yes;
7212 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7213 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7214 if test "${ac_c99_lldiv_t+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7216 else
7218 cat >conftest.$ac_ext <<_ACEOF
7219 /* confdefs.h. */
7220 _ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7224 #include <stdlib.h>
7226 main ()
7228 lldiv_t mydivt;
7230 return 0;
7232 _ACEOF
7233 rm -f conftest.$ac_objext
7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7235 (eval $ac_compile) 2>conftest.er1
7236 ac_status=$?
7237 grep -v '^ *+' conftest.er1 >conftest.err
7238 rm -f conftest.er1
7239 cat conftest.err >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } &&
7242 { ac_try='test -z "$ac_cxx_werror_flag"
7243 || test ! -s conftest.err'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 (eval $ac_try) 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; } &&
7249 { ac_try='test -s conftest.$ac_objext'
7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 (eval $ac_try) 2>&5
7252 ac_status=$?
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); }; }; then
7255 ac_c99_lldiv_t=yes
7256 else
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7260 ac_c99_lldiv_t=no
7262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7266 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7267 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7269 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7270 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7271 cat >conftest.$ac_ext <<_ACEOF
7272 /* confdefs.h. */
7273 _ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 #include <stdlib.h>
7279 main ()
7281 char* tmp; strtof("gnu", &tmp);
7283 return 0;
7285 _ACEOF
7286 rm -f conftest.$ac_objext
7287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7288 (eval $ac_compile) 2>conftest.er1
7289 ac_status=$?
7290 grep -v '^ *+' conftest.er1 >conftest.err
7291 rm -f conftest.er1
7292 cat conftest.err >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } &&
7295 { ac_try='test -z "$ac_cxx_werror_flag"
7296 || test ! -s conftest.err'
7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 (eval $ac_try) 2>&5
7299 ac_status=$?
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); }; } &&
7302 { ac_try='test -s conftest.$ac_objext'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304 (eval $ac_try) 2>&5
7305 ac_status=$?
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; }; then
7309 else
7310 echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.$ac_ext >&5
7313 ac_c99_stdlib=no
7315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7316 cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h. */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <stdlib.h>
7324 main ()
7326 char* tmp; strtold("gnu", &tmp);
7328 return 0;
7330 _ACEOF
7331 rm -f conftest.$ac_objext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7333 (eval $ac_compile) 2>conftest.er1
7334 ac_status=$?
7335 grep -v '^ *+' conftest.er1 >conftest.err
7336 rm -f conftest.er1
7337 cat conftest.err >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); } &&
7340 { ac_try='test -z "$ac_cxx_werror_flag"
7341 || test ! -s conftest.err'
7342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7343 (eval $ac_try) 2>&5
7344 ac_status=$?
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); }; } &&
7347 { ac_try='test -s conftest.$ac_objext'
7348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 (eval $ac_try) 2>&5
7350 ac_status=$?
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); }; }; then
7354 else
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 ac_c99_stdlib=no
7360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7361 cat >conftest.$ac_ext <<_ACEOF
7362 /* confdefs.h. */
7363 _ACEOF
7364 cat confdefs.h >>conftest.$ac_ext
7365 cat >>conftest.$ac_ext <<_ACEOF
7366 /* end confdefs.h. */
7367 #include <stdlib.h>
7369 main ()
7371 llabs(10);
7373 return 0;
7375 _ACEOF
7376 rm -f conftest.$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378 (eval $ac_compile) 2>conftest.er1
7379 ac_status=$?
7380 grep -v '^ *+' conftest.er1 >conftest.err
7381 rm -f conftest.er1
7382 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try='test -z "$ac_cxx_werror_flag"
7386 || test ! -s conftest.err'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 (eval $ac_try) 2>&5
7389 ac_status=$?
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; } &&
7392 { ac_try='test -s conftest.$ac_objext'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 (eval $ac_try) 2>&5
7395 ac_status=$?
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7399 else
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 ac_c99_stdlib=no
7405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7406 cat >conftest.$ac_ext <<_ACEOF
7407 /* confdefs.h. */
7408 _ACEOF
7409 cat confdefs.h >>conftest.$ac_ext
7410 cat >>conftest.$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <stdlib.h>
7414 main ()
7416 lldiv(10,1);
7418 return 0;
7420 _ACEOF
7421 rm -f conftest.$ac_objext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7423 (eval $ac_compile) 2>conftest.er1
7424 ac_status=$?
7425 grep -v '^ *+' conftest.er1 >conftest.err
7426 rm -f conftest.er1
7427 cat conftest.err >&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } &&
7430 { ac_try='test -z "$ac_cxx_werror_flag"
7431 || test ! -s conftest.err'
7432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 (eval $ac_try) 2>&5
7434 ac_status=$?
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); }; } &&
7437 { ac_try='test -s conftest.$ac_objext'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 (eval $ac_try) 2>&5
7440 ac_status=$?
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; }; then
7444 else
7445 echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.$ac_ext >&5
7448 ac_c99_stdlib=no
7450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7451 cat >conftest.$ac_ext <<_ACEOF
7452 /* confdefs.h. */
7453 _ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 #include <stdlib.h>
7459 main ()
7461 atoll("10");
7463 return 0;
7465 _ACEOF
7466 rm -f conftest.$ac_objext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468 (eval $ac_compile) 2>conftest.er1
7469 ac_status=$?
7470 grep -v '^ *+' conftest.er1 >conftest.err
7471 rm -f conftest.er1
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try='test -z "$ac_cxx_werror_flag"
7476 || test ! -s conftest.err'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478 (eval $ac_try) 2>&5
7479 ac_status=$?
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; } &&
7482 { ac_try='test -s conftest.$ac_objext'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484 (eval $ac_try) 2>&5
7485 ac_status=$?
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7493 ac_c99_stdlib=no
7495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7496 cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h. */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <stdlib.h>
7504 main ()
7506 _Exit(0);
7508 return 0;
7510 _ACEOF
7511 rm -f conftest.$ac_objext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7513 (eval $ac_compile) 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try='test -z "$ac_cxx_werror_flag"
7521 || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 (eval $ac_try) 2>&5
7524 ac_status=$?
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 (eval $ac_try) 2>&5
7530 ac_status=$?
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7534 else
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_c99_stdlib=no
7540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7541 if test x"$ac_c99_lldiv_t" = x"no"; then
7542 ac_c99_stdlib=no;
7544 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7545 echo "${ECHO_T}$ac_c99_stdlib" >&6
7547 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7548 # XXX the wchar.h checks should be rolled into the general C99 bits.
7549 ac_c99_wchar=yes;
7550 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7551 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7552 cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h. */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #include <wchar.h>
7560 main ()
7562 wcstold(L"10.0", NULL);
7564 return 0;
7566 _ACEOF
7567 rm -f conftest.$ac_objext
7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7569 (eval $ac_compile) 2>conftest.er1
7570 ac_status=$?
7571 grep -v '^ *+' conftest.er1 >conftest.err
7572 rm -f conftest.er1
7573 cat conftest.err >&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } &&
7576 { ac_try='test -z "$ac_cxx_werror_flag"
7577 || test ! -s conftest.err'
7578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579 (eval $ac_try) 2>&5
7580 ac_status=$?
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; } &&
7583 { ac_try='test -s conftest.$ac_objext'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 (eval $ac_try) 2>&5
7586 ac_status=$?
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; }; then
7590 else
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 ac_c99_wchar=no
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7597 cat >conftest.$ac_ext <<_ACEOF
7598 /* confdefs.h. */
7599 _ACEOF
7600 cat confdefs.h >>conftest.$ac_ext
7601 cat >>conftest.$ac_ext <<_ACEOF
7602 /* end confdefs.h. */
7603 #include <wchar.h>
7605 main ()
7607 wcstoll(L"10", NULL, 10);
7609 return 0;
7611 _ACEOF
7612 rm -f conftest.$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7615 ac_status=$?
7616 grep -v '^ *+' conftest.er1 >conftest.err
7617 rm -f conftest.er1
7618 cat conftest.err >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try='test -z "$ac_cxx_werror_flag"
7622 || test ! -s conftest.err'
7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7624 (eval $ac_try) 2>&5
7625 ac_status=$?
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; } &&
7628 { ac_try='test -s conftest.$ac_objext'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630 (eval $ac_try) 2>&5
7631 ac_status=$?
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then
7635 else
7636 echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.$ac_ext >&5
7639 ac_c99_wchar=no
7641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7642 cat >conftest.$ac_ext <<_ACEOF
7643 /* confdefs.h. */
7644 _ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 #include <wchar.h>
7650 main ()
7652 wcstoull(L"10", NULL, 10);
7654 return 0;
7656 _ACEOF
7657 rm -f conftest.$ac_objext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7659 (eval $ac_compile) 2>conftest.er1
7660 ac_status=$?
7661 grep -v '^ *+' conftest.er1 >conftest.err
7662 rm -f conftest.er1
7663 cat conftest.err >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
7666 { ac_try='test -z "$ac_cxx_werror_flag"
7667 || test ! -s conftest.err'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 (eval $ac_try) 2>&5
7670 ac_status=$?
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; } &&
7673 { ac_try='test -s conftest.$ac_objext'
7674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 (eval $ac_try) 2>&5
7676 ac_status=$?
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); }; }; then
7680 else
7681 echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7684 ac_c99_wchar=no
7686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7687 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7688 echo "${ECHO_T}$ac_c99_wchar" >&6
7690 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7691 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7692 if test x"$ac_c99_math" = x"no" ||
7693 test x"$ac_c99_stdio" = x"no" ||
7694 test x"$ac_c99_stdlib" = x"no" ||
7695 test x"$ac_c99_wchar" = x"no"; then
7696 enable_c99=no;
7698 echo "$as_me:$LINENO: result: $enable_c99" >&5
7699 echo "${ECHO_T}$enable_c99" >&6
7701 if test x"$ac_99_math" = x"yes"; then
7702 cat >>confdefs.h <<\_ACEOF
7703 #define _GLIBCXX_USE_C99_MATH 1
7704 _ACEOF
7708 # Option parsed, now set things appropriately
7709 if test x"$enable_c99" = x"yes"; then
7710 cat >>confdefs.h <<\_ACEOF
7711 #define _GLIBCXX_USE_C99 1
7712 _ACEOF
7716 ac_ext=c
7717 ac_cpp='$CPP $CPPFLAGS'
7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7724 # Check whether --enable-long-long or --disable-long-long was given.
7725 if test "${enable_long_long+set}" = set; then
7726 enableval="$enable_long_long"
7728 case "$enableval" in
7729 yes|no) ;;
7730 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7731 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7732 { (exit 1); exit 1; }; } ;;
7733 esac
7735 else
7736 enable_long_long=yes
7739 if test $enable_long_long = yes; then
7740 cat >>confdefs.h <<\_ACEOF
7741 #define _GLIBCXX_USE_LONG_LONG 1
7742 _ACEOF
7747 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7748 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7749 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7750 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7751 echo "${ECHO_T}$target_thread_file" >&6
7753 if test $target_thread_file != single; then
7754 cat >>confdefs.h <<\_ACEOF
7755 #define HAVE_GTHR_DEFAULT 1
7756 _ACEOF
7760 glibcxx_thread_h=gthr-$target_thread_file.h
7762 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7763 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7764 enable_thread=yes
7765 else
7766 enable_thread=no
7772 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7773 if test "${enable_concept_checks+set}" = set; then
7774 enableval="$enable_concept_checks"
7776 case "$enableval" in
7777 yes|no) ;;
7778 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7779 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7780 { (exit 1); exit 1; }; } ;;
7781 esac
7783 else
7784 enable_concept_checks=no
7787 if test $enable_concept_checks = yes; then
7788 cat >>confdefs.h <<\_ACEOF
7789 #define _GLIBCXX_CONCEPT_CHECKS 1
7790 _ACEOF
7795 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7796 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7797 enableval="$enable_libstdcxx_debug_flags"
7798 case "x$enable_libstdcxx_debug_flags" in
7799 xno | x) enable_libstdcxx_debug_flags= ;;
7800 x-*) ;;
7801 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7802 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7803 { (exit 1); exit 1; }; } ;;
7804 esac
7805 else
7806 enable_libstdcxx_debug_flags="-g3 -O0"
7810 # Option parsed, now set things appropriately
7811 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7814 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7815 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7818 echo "$as_me:$LINENO: checking for additional debug build" >&5
7819 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7820 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7821 if test "${enable_libstdcxx_debug+set}" = set; then
7822 enableval="$enable_libstdcxx_debug"
7824 case "$enableval" in
7825 yes|no) ;;
7826 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7827 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7828 { (exit 1); exit 1; }; } ;;
7829 esac
7831 else
7832 enable_libstdcxx_debug=no
7835 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7836 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7839 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7840 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7841 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7842 if test "${enable_cxx_flags+set}" = set; then
7843 enableval="$enable_cxx_flags"
7844 case "x$enable_cxx_flags" in
7845 xno | x) enable_cxx_flags= ;;
7846 x-*) ;;
7847 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7848 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7849 { (exit 1); exit 1; }; } ;;
7850 esac
7851 else
7852 enable_cxx_flags=
7856 # Run through flags (either default or command-line) and set anything
7857 # extra (e.g., #defines) that must accompany particular g++ options.
7858 if test -n "$enable_cxx_flags"; then
7859 for f in $enable_cxx_flags; do
7860 case "$f" in
7861 -fhonor-std) ;;
7862 -*) ;;
7863 *) # and we're trying to pass /what/ exactly?
7864 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7865 echo "$as_me: error: compiler flags start with a -" >&2;}
7866 { (exit 1); exit 1; }; } ;;
7867 esac
7868 done
7871 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7872 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7873 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7877 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7878 if test "${enable_fully_dynamic_string+set}" = set; then
7879 enableval="$enable_fully_dynamic_string"
7881 case "$enableval" in
7882 yes|no) ;;
7883 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7884 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7885 { (exit 1); exit 1; }; } ;;
7886 esac
7888 else
7889 enable_fully_dynamic_string=no
7892 if test $enable_fully_dynamic_string = yes; then
7893 cat >>confdefs.h <<\_ACEOF
7894 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7895 _ACEOF
7900 # No surprises, no surprises...
7901 if test $atomicity_dir = cpu/generic ; then
7902 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7903 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7904 if test $target_thread_file = single; then
7905 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7906 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7907 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7908 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7909 else
7910 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7911 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7912 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7913 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7918 if $GLIBCXX_IS_NATIVE; then
7920 # We can do more elaborate tests that assume a working linker.
7921 CANADIAN=no
7923 # Check for available headers.
7937 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7938 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7939 sys/types.h
7941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7943 echo "$as_me:$LINENO: checking for $ac_header" >&5
7944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7950 else
7951 # Is the header compilable?
7952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h. */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7960 $ac_includes_default
7961 #include <$ac_header>
7962 _ACEOF
7963 rm -f conftest.$ac_objext
7964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7965 (eval $ac_compile) 2>conftest.er1
7966 ac_status=$?
7967 grep -v '^ *+' conftest.er1 >conftest.err
7968 rm -f conftest.er1
7969 cat conftest.err >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); } &&
7972 { ac_try='test -z "$ac_c_werror_flag"
7973 || test ! -s conftest.err'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 (eval $ac_try) 2>&5
7976 ac_status=$?
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest.$ac_objext'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 (eval $ac_try) 2>&5
7982 ac_status=$?
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; }; then
7985 ac_header_compiler=yes
7986 else
7987 echo "$as_me: failed program was:" >&5
7988 sed 's/^/| /' conftest.$ac_ext >&5
7990 ac_header_compiler=no
7992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7994 echo "${ECHO_T}$ac_header_compiler" >&6
7996 # Is the header present?
7997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7999 cat >conftest.$ac_ext <<_ACEOF
8000 /* confdefs.h. */
8001 _ACEOF
8002 cat confdefs.h >>conftest.$ac_ext
8003 cat >>conftest.$ac_ext <<_ACEOF
8004 /* end confdefs.h. */
8005 #include <$ac_header>
8006 _ACEOF
8007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8009 ac_status=$?
8010 grep -v '^ *+' conftest.er1 >conftest.err
8011 rm -f conftest.er1
8012 cat conftest.err >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } >/dev/null; then
8015 if test -s conftest.err; then
8016 ac_cpp_err=$ac_c_preproc_warn_flag
8017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8018 else
8019 ac_cpp_err=
8021 else
8022 ac_cpp_err=yes
8024 if test -z "$ac_cpp_err"; then
8025 ac_header_preproc=yes
8026 else
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8030 ac_header_preproc=no
8032 rm -f conftest.err conftest.$ac_ext
8033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8034 echo "${ECHO_T}$ac_header_preproc" >&6
8036 # So? What about this header?
8037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8038 yes:no: )
8039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8043 ac_header_preproc=yes
8045 no:yes:* )
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8059 cat <<\_ASBOX
8060 ## ----------------------------------------- ##
8061 ## Report this to the package-unused lists. ##
8062 ## ----------------------------------------- ##
8063 _ASBOX
8065 sed "s/^/$as_me: WARNING: /" >&2
8067 esac
8068 echo "$as_me:$LINENO: checking for $ac_header" >&5
8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073 eval "$as_ac_Header=\$ac_header_preproc"
8075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8080 cat >>confdefs.h <<_ACEOF
8081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8082 _ACEOF
8086 done
8090 # All these tests are for C++; save the language and the compiler flags.
8091 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8092 # found in GLIBCXX_CONFIGURE.
8095 ac_ext=cc
8096 ac_cpp='$CXXCPP $CPPFLAGS'
8097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8102 ac_save_CXXFLAGS="$CXXFLAGS"
8104 # Check for maintainer-mode bits.
8105 if test x"$USE_MAINTAINER_MODE" = xno; then
8106 WERROR=''
8107 else
8108 WERROR='-Werror'
8111 # Check for -ffunction-sections -fdata-sections
8112 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8113 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8114 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8115 cat >conftest.$ac_ext <<_ACEOF
8116 /* confdefs.h. */
8117 _ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8123 main ()
8125 int foo;
8127 return 0;
8129 _ACEOF
8130 rm -f conftest.$ac_objext
8131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8132 (eval $ac_compile) 2>conftest.er1
8133 ac_status=$?
8134 grep -v '^ *+' conftest.er1 >conftest.err
8135 rm -f conftest.er1
8136 cat conftest.err >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); } &&
8139 { ac_try='test -z "$ac_cxx_werror_flag"
8140 || test ! -s conftest.err'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 (eval $ac_try) 2>&5
8143 ac_status=$?
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; } &&
8146 { ac_try='test -s conftest.$ac_objext'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 (eval $ac_try) 2>&5
8149 ac_status=$?
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; }; then
8152 ac_fdsections=yes
8153 else
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8157 ac_fdsections=no
8159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8160 if test "$ac_test_CXXFLAGS" = set; then
8161 CXXFLAGS="$ac_save_CXXFLAGS"
8162 else
8163 # this is the suspicious part
8164 CXXFLAGS=''
8166 if test x"$ac_fdsections" = x"yes"; then
8167 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8169 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8170 echo "${ECHO_T}$ac_fdsections" >&6
8172 ac_ext=c
8173 ac_cpp='$CPP $CPPFLAGS'
8174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8182 # If we're not using GNU ld, then there's no point in even trying these
8183 # tests. Check for that first. We should have already tested for gld
8184 # by now (in libtool), but require it now just to be safe...
8185 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8186 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8190 # The name set by libtool depends on the version of libtool. Shame on us
8191 # for depending on an impl detail, but c'est la vie. Older versions used
8192 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8193 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8194 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8195 # set (hence we're using an older libtool), then set it.
8196 if test x${with_gnu_ld+set} != xset; then
8197 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8198 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8199 with_gnu_ld=no
8200 else
8201 with_gnu_ld=$ac_cv_prog_gnu_ld
8205 # Start by getting the version number. I think the libtool test already
8206 # does some of this, but throws away the result.
8208 ldver=`$LD --version 2>/dev/null | head -1 | \
8209 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8211 glibcxx_gnu_ld_version=`echo $ldver | \
8212 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8214 # Set --gc-sections.
8215 if test "$with_gnu_ld" = "notbroken"; then
8216 # GNU ld it is! Joy and bunny rabbits!
8218 # All these tests are for C++; save the language and the compiler flags.
8219 # Need to do this so that g++ won't try to link in libstdc++
8220 ac_test_CFLAGS="${CFLAGS+set}"
8221 ac_save_CFLAGS="$CFLAGS"
8222 CFLAGS='-x c++ -Wl,--gc-sections'
8224 # Check for -Wl,--gc-sections
8225 # XXX This test is broken at the moment, as symbols required for linking
8226 # are now in libsupc++ (not built yet). In addition, this test has
8227 # cored on solaris in the past. In addition, --gc-sections doesn't
8228 # really work at the moment (keeps on discarding used sections, first
8229 # .eh_frame and now some of the glibc sections for iconv).
8230 # Bzzzzt. Thanks for playing, maybe next time.
8231 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8232 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8233 if test "$cross_compiling" = yes; then
8234 ac_sectionLDflags=yes
8235 else
8236 cat >conftest.$ac_ext <<_ACEOF
8237 /* confdefs.h. */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8243 int main(void)
8245 try { throw 1; }
8246 catch (...) { };
8247 return 0;
8250 _ACEOF
8251 rm -f conftest$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 (eval $ac_link) 2>&5
8254 ac_status=$?
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 (eval $ac_try) 2>&5
8259 ac_status=$?
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; }; then
8262 ac_sectionLDflags=yes
8263 else
8264 echo "$as_me: program exited with status $ac_status" >&5
8265 echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.$ac_ext >&5
8268 ( exit $ac_status )
8269 ac_sectionLDflags=no
8271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8273 if test "$ac_test_CFLAGS" = set; then
8274 CFLAGS="$ac_save_CFLAGS"
8275 else
8276 # this is the suspicious part
8277 CFLAGS=''
8279 if test "$ac_sectionLDflags" = "yes"; then
8280 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8282 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8283 echo "${ECHO_T}$ac_sectionLDflags" >&6
8286 # Set linker optimization flags.
8287 if test x"$with_gnu_ld" = x"yes"; then
8288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8295 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8296 ac_save_CXXFLAGS="$CXXFLAGS"
8297 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8299 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8300 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8301 if test "${ac_cv_lib_m_sin+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 else
8304 ac_check_lib_save_LIBS=$LIBS
8305 LIBS="-lm $LIBS"
8306 if test x$gcc_no_link = xyes; then
8307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8309 { (exit 1); exit 1; }; }
8311 cat >conftest.$ac_ext <<_ACEOF
8312 /* confdefs.h. */
8313 _ACEOF
8314 cat confdefs.h >>conftest.$ac_ext
8315 cat >>conftest.$ac_ext <<_ACEOF
8316 /* end confdefs.h. */
8318 /* Override any gcc2 internal prototype to avoid an error. */
8319 #ifdef __cplusplus
8320 extern "C"
8321 #endif
8322 /* We use char because int might match the return type of a gcc2
8323 builtin and then its argument prototype would still apply. */
8324 char sin ();
8326 main ()
8328 sin ();
8330 return 0;
8332 _ACEOF
8333 rm -f conftest.$ac_objext conftest$ac_exeext
8334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8335 (eval $ac_link) 2>conftest.er1
8336 ac_status=$?
8337 grep -v '^ *+' conftest.er1 >conftest.err
8338 rm -f conftest.er1
8339 cat conftest.err >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); } &&
8342 { ac_try='test -z "$ac_c_werror_flag"
8343 || test ! -s conftest.err'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 (eval $ac_try) 2>&5
8346 ac_status=$?
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; } &&
8349 { ac_try='test -s conftest$ac_exeext'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5
8352 ac_status=$?
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; }; then
8355 ac_cv_lib_m_sin=yes
8356 else
8357 echo "$as_me: failed program was:" >&5
8358 sed 's/^/| /' conftest.$ac_ext >&5
8360 ac_cv_lib_m_sin=no
8362 rm -f conftest.err conftest.$ac_objext \
8363 conftest$ac_exeext conftest.$ac_ext
8364 LIBS=$ac_check_lib_save_LIBS
8366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8367 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8368 if test $ac_cv_lib_m_sin = yes; then
8369 libm="-lm"
8372 ac_save_LIBS="$LIBS"
8373 LIBS="$LIBS $libm"
8377 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8378 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8379 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8380 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 else
8386 ac_ext=cc
8387 ac_cpp='$CXXCPP $CPPFLAGS'
8388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8392 cat >conftest.$ac_ext <<_ACEOF
8393 /* confdefs.h. */
8394 _ACEOF
8395 cat confdefs.h >>conftest.$ac_ext
8396 cat >>conftest.$ac_ext <<_ACEOF
8397 /* end confdefs.h. */
8398 #include <math.h>
8399 #ifdef HAVE_IEEEFP_H
8400 #include <ieeefp.h>
8401 #endif
8404 main ()
8406 isinf(0);
8408 return 0;
8410 _ACEOF
8411 rm -f conftest.$ac_objext
8412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8413 (eval $ac_compile) 2>conftest.er1
8414 ac_status=$?
8415 grep -v '^ *+' conftest.er1 >conftest.err
8416 rm -f conftest.er1
8417 cat conftest.err >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } &&
8420 { ac_try='test -z "$ac_cxx_werror_flag"
8421 || test ! -s conftest.err'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423 (eval $ac_try) 2>&5
8424 ac_status=$?
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; } &&
8427 { ac_try='test -s conftest.$ac_objext'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429 (eval $ac_try) 2>&5
8430 ac_status=$?
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; }; then
8433 glibcxx_cv_func_isinf_use=yes
8434 else
8435 echo "$as_me: failed program was:" >&5
8436 sed 's/^/| /' conftest.$ac_ext >&5
8438 glibcxx_cv_func_isinf_use=no
8440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8441 ac_ext=c
8442 ac_cpp='$CPP $CPPFLAGS'
8443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8452 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8454 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8456 for ac_func in isinf
8458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8459 echo "$as_me:$LINENO: checking for $ac_func" >&5
8460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8461 if eval "test \"\${$as_ac_var+set}\" = set"; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 else
8464 if test x$gcc_no_link = xyes; then
8465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8467 { (exit 1); exit 1; }; }
8469 cat >conftest.$ac_ext <<_ACEOF
8470 /* confdefs.h. */
8471 _ACEOF
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8477 #define $ac_func innocuous_$ac_func
8479 /* System header to define __stub macros and hopefully few prototypes,
8480 which can conflict with char $ac_func (); below.
8481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8482 <limits.h> exists even on freestanding compilers. */
8484 #ifdef __STDC__
8485 # include <limits.h>
8486 #else
8487 # include <assert.h>
8488 #endif
8490 #undef $ac_func
8492 /* Override any gcc2 internal prototype to avoid an error. */
8493 #ifdef __cplusplus
8494 extern "C"
8496 #endif
8497 /* We use char because int might match the return type of a gcc2
8498 builtin and then its argument prototype would still apply. */
8499 char $ac_func ();
8500 /* The GNU C library defines this for functions which it implements
8501 to always fail with ENOSYS. Some functions are actually named
8502 something starting with __ and the normal name is an alias. */
8503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8504 choke me
8505 #else
8506 char (*f) () = $ac_func;
8507 #endif
8508 #ifdef __cplusplus
8510 #endif
8513 main ()
8515 return f != $ac_func;
8517 return 0;
8519 _ACEOF
8520 rm -f conftest.$ac_objext conftest$ac_exeext
8521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8522 (eval $ac_link) 2>conftest.er1
8523 ac_status=$?
8524 grep -v '^ *+' conftest.er1 >conftest.err
8525 rm -f conftest.er1
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } &&
8529 { ac_try='test -z "$ac_c_werror_flag"
8530 || test ! -s conftest.err'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 (eval $ac_try) 2>&5
8533 ac_status=$?
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; } &&
8536 { ac_try='test -s conftest$ac_exeext'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 (eval $ac_try) 2>&5
8539 ac_status=$?
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; }; then
8542 eval "$as_ac_var=yes"
8543 else
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8547 eval "$as_ac_var=no"
8549 rm -f conftest.err conftest.$ac_objext \
8550 conftest$ac_exeext conftest.$ac_ext
8552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8554 if test `eval echo '${'$as_ac_var'}'` = yes; then
8555 cat >>confdefs.h <<_ACEOF
8556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8557 _ACEOF
8560 done
8562 else
8564 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8565 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8566 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8567 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 else
8573 ac_ext=cc
8574 ac_cpp='$CXXCPP $CPPFLAGS'
8575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8579 cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h. */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8585 #include <math.h>
8586 #ifdef HAVE_IEEEFP_H
8587 #include <ieeefp.h>
8588 #endif
8591 main ()
8593 _isinf(0);
8595 return 0;
8597 _ACEOF
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8601 ac_status=$?
8602 grep -v '^ *+' conftest.er1 >conftest.err
8603 rm -f conftest.er1
8604 cat conftest.err >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try='test -z "$ac_cxx_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 (eval $ac_try) 2>&5
8611 ac_status=$?
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 (eval $ac_try) 2>&5
8617 ac_status=$?
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 glibcxx_cv_func__isinf_use=yes
8621 else
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8625 glibcxx_cv_func__isinf_use=no
8627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8628 ac_ext=c
8629 ac_cpp='$CPP $CPPFLAGS'
8630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8639 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8641 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8643 for ac_func in _isinf
8645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8646 echo "$as_me:$LINENO: checking for $ac_func" >&5
8647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8648 if eval "test \"\${$as_ac_var+set}\" = set"; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 else
8651 if test x$gcc_no_link = xyes; then
8652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8654 { (exit 1); exit 1; }; }
8656 cat >conftest.$ac_ext <<_ACEOF
8657 /* confdefs.h. */
8658 _ACEOF
8659 cat confdefs.h >>conftest.$ac_ext
8660 cat >>conftest.$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8664 #define $ac_func innocuous_$ac_func
8666 /* System header to define __stub macros and hopefully few prototypes,
8667 which can conflict with char $ac_func (); below.
8668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8669 <limits.h> exists even on freestanding compilers. */
8671 #ifdef __STDC__
8672 # include <limits.h>
8673 #else
8674 # include <assert.h>
8675 #endif
8677 #undef $ac_func
8679 /* Override any gcc2 internal prototype to avoid an error. */
8680 #ifdef __cplusplus
8681 extern "C"
8683 #endif
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8686 char $ac_func ();
8687 /* The GNU C library defines this for functions which it implements
8688 to always fail with ENOSYS. Some functions are actually named
8689 something starting with __ and the normal name is an alias. */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8691 choke me
8692 #else
8693 char (*f) () = $ac_func;
8694 #endif
8695 #ifdef __cplusplus
8697 #endif
8700 main ()
8702 return f != $ac_func;
8704 return 0;
8706 _ACEOF
8707 rm -f conftest.$ac_objext conftest$ac_exeext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8709 (eval $ac_link) 2>conftest.er1
8710 ac_status=$?
8711 grep -v '^ *+' conftest.er1 >conftest.err
8712 rm -f conftest.er1
8713 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } &&
8716 { ac_try='test -z "$ac_c_werror_flag"
8717 || test ! -s conftest.err'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 (eval $ac_try) 2>&5
8720 ac_status=$?
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; } &&
8723 { ac_try='test -s conftest$ac_exeext'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5
8726 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then
8729 eval "$as_ac_var=yes"
8730 else
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 eval "$as_ac_var=no"
8736 rm -f conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8741 if test `eval echo '${'$as_ac_var'}'` = yes; then
8742 cat >>confdefs.h <<_ACEOF
8743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8744 _ACEOF
8747 done
8754 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8755 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8756 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8757 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 else
8763 ac_ext=cc
8764 ac_cpp='$CXXCPP $CPPFLAGS'
8765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8769 cat >conftest.$ac_ext <<_ACEOF
8770 /* confdefs.h. */
8771 _ACEOF
8772 cat confdefs.h >>conftest.$ac_ext
8773 cat >>conftest.$ac_ext <<_ACEOF
8774 /* end confdefs.h. */
8775 #include <math.h>
8776 #ifdef HAVE_IEEEFP_H
8777 #include <ieeefp.h>
8778 #endif
8781 main ()
8783 isnan(0);
8785 return 0;
8787 _ACEOF
8788 rm -f conftest.$ac_objext
8789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8790 (eval $ac_compile) 2>conftest.er1
8791 ac_status=$?
8792 grep -v '^ *+' conftest.er1 >conftest.err
8793 rm -f conftest.er1
8794 cat conftest.err >&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); } &&
8797 { ac_try='test -z "$ac_cxx_werror_flag"
8798 || test ! -s conftest.err'
8799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 (eval $ac_try) 2>&5
8801 ac_status=$?
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; } &&
8804 { ac_try='test -s conftest.$ac_objext'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 (eval $ac_try) 2>&5
8807 ac_status=$?
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; }; then
8810 glibcxx_cv_func_isnan_use=yes
8811 else
8812 echo "$as_me: failed program was:" >&5
8813 sed 's/^/| /' conftest.$ac_ext >&5
8815 glibcxx_cv_func_isnan_use=no
8817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8818 ac_ext=c
8819 ac_cpp='$CPP $CPPFLAGS'
8820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8829 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8831 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8833 for ac_func in isnan
8835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8836 echo "$as_me:$LINENO: checking for $ac_func" >&5
8837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8838 if eval "test \"\${$as_ac_var+set}\" = set"; then
8839 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 else
8841 if test x$gcc_no_link = xyes; then
8842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8844 { (exit 1); exit 1; }; }
8846 cat >conftest.$ac_ext <<_ACEOF
8847 /* confdefs.h. */
8848 _ACEOF
8849 cat confdefs.h >>conftest.$ac_ext
8850 cat >>conftest.$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8854 #define $ac_func innocuous_$ac_func
8856 /* System header to define __stub macros and hopefully few prototypes,
8857 which can conflict with char $ac_func (); below.
8858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8859 <limits.h> exists even on freestanding compilers. */
8861 #ifdef __STDC__
8862 # include <limits.h>
8863 #else
8864 # include <assert.h>
8865 #endif
8867 #undef $ac_func
8869 /* Override any gcc2 internal prototype to avoid an error. */
8870 #ifdef __cplusplus
8871 extern "C"
8873 #endif
8874 /* We use char because int might match the return type of a gcc2
8875 builtin and then its argument prototype would still apply. */
8876 char $ac_func ();
8877 /* The GNU C library defines this for functions which it implements
8878 to always fail with ENOSYS. Some functions are actually named
8879 something starting with __ and the normal name is an alias. */
8880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8881 choke me
8882 #else
8883 char (*f) () = $ac_func;
8884 #endif
8885 #ifdef __cplusplus
8887 #endif
8890 main ()
8892 return f != $ac_func;
8894 return 0;
8896 _ACEOF
8897 rm -f conftest.$ac_objext conftest$ac_exeext
8898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8899 (eval $ac_link) 2>conftest.er1
8900 ac_status=$?
8901 grep -v '^ *+' conftest.er1 >conftest.err
8902 rm -f conftest.er1
8903 cat conftest.err >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); } &&
8906 { ac_try='test -z "$ac_c_werror_flag"
8907 || test ! -s conftest.err'
8908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 (eval $ac_try) 2>&5
8910 ac_status=$?
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); }; } &&
8913 { ac_try='test -s conftest$ac_exeext'
8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 (eval $ac_try) 2>&5
8916 ac_status=$?
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); }; }; then
8919 eval "$as_ac_var=yes"
8920 else
8921 echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 eval "$as_ac_var=no"
8926 rm -f conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8931 if test `eval echo '${'$as_ac_var'}'` = yes; then
8932 cat >>confdefs.h <<_ACEOF
8933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8934 _ACEOF
8937 done
8939 else
8941 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8942 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8943 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8944 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 else
8950 ac_ext=cc
8951 ac_cpp='$CXXCPP $CPPFLAGS'
8952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8956 cat >conftest.$ac_ext <<_ACEOF
8957 /* confdefs.h. */
8958 _ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8962 #include <math.h>
8963 #ifdef HAVE_IEEEFP_H
8964 #include <ieeefp.h>
8965 #endif
8968 main ()
8970 _isnan(0);
8972 return 0;
8974 _ACEOF
8975 rm -f conftest.$ac_objext
8976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8977 (eval $ac_compile) 2>conftest.er1
8978 ac_status=$?
8979 grep -v '^ *+' conftest.er1 >conftest.err
8980 rm -f conftest.er1
8981 cat conftest.err >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); } &&
8984 { ac_try='test -z "$ac_cxx_werror_flag"
8985 || test ! -s conftest.err'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 (eval $ac_try) 2>&5
8988 ac_status=$?
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; } &&
8991 { ac_try='test -s conftest.$ac_objext'
8992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993 (eval $ac_try) 2>&5
8994 ac_status=$?
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); }; }; then
8997 glibcxx_cv_func__isnan_use=yes
8998 else
8999 echo "$as_me: failed program was:" >&5
9000 sed 's/^/| /' conftest.$ac_ext >&5
9002 glibcxx_cv_func__isnan_use=no
9004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9005 ac_ext=c
9006 ac_cpp='$CPP $CPPFLAGS'
9007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9016 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9018 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9020 for ac_func in _isnan
9022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9023 echo "$as_me:$LINENO: checking for $ac_func" >&5
9024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9025 if eval "test \"\${$as_ac_var+set}\" = set"; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9027 else
9028 if test x$gcc_no_link = xyes; then
9029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9031 { (exit 1); exit 1; }; }
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h. */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9041 #define $ac_func innocuous_$ac_func
9043 /* System header to define __stub macros and hopefully few prototypes,
9044 which can conflict with char $ac_func (); below.
9045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9046 <limits.h> exists even on freestanding compilers. */
9048 #ifdef __STDC__
9049 # include <limits.h>
9050 #else
9051 # include <assert.h>
9052 #endif
9054 #undef $ac_func
9056 /* Override any gcc2 internal prototype to avoid an error. */
9057 #ifdef __cplusplus
9058 extern "C"
9060 #endif
9061 /* We use char because int might match the return type of a gcc2
9062 builtin and then its argument prototype would still apply. */
9063 char $ac_func ();
9064 /* The GNU C library defines this for functions which it implements
9065 to always fail with ENOSYS. Some functions are actually named
9066 something starting with __ and the normal name is an alias. */
9067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9068 choke me
9069 #else
9070 char (*f) () = $ac_func;
9071 #endif
9072 #ifdef __cplusplus
9074 #endif
9077 main ()
9079 return f != $ac_func;
9081 return 0;
9083 _ACEOF
9084 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9086 (eval $ac_link) 2>conftest.er1
9087 ac_status=$?
9088 grep -v '^ *+' conftest.er1 >conftest.err
9089 rm -f conftest.er1
9090 cat conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try='test -z "$ac_c_werror_flag"
9094 || test ! -s conftest.err'
9095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096 (eval $ac_try) 2>&5
9097 ac_status=$?
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; } &&
9100 { ac_try='test -s conftest$ac_exeext'
9101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 (eval $ac_try) 2>&5
9103 ac_status=$?
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); }; }; then
9106 eval "$as_ac_var=yes"
9107 else
9108 echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.$ac_ext >&5
9111 eval "$as_ac_var=no"
9113 rm -f conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9118 if test `eval echo '${'$as_ac_var'}'` = yes; then
9119 cat >>confdefs.h <<_ACEOF
9120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9121 _ACEOF
9124 done
9131 echo "$as_me:$LINENO: checking for finite declaration" >&5
9132 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9133 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9134 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 else
9140 ac_ext=cc
9141 ac_cpp='$CXXCPP $CPPFLAGS'
9142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9146 cat >conftest.$ac_ext <<_ACEOF
9147 /* confdefs.h. */
9148 _ACEOF
9149 cat confdefs.h >>conftest.$ac_ext
9150 cat >>conftest.$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9152 #include <math.h>
9153 #ifdef HAVE_IEEEFP_H
9154 #include <ieeefp.h>
9155 #endif
9158 main ()
9160 finite(0);
9162 return 0;
9164 _ACEOF
9165 rm -f conftest.$ac_objext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9167 (eval $ac_compile) 2>conftest.er1
9168 ac_status=$?
9169 grep -v '^ *+' conftest.er1 >conftest.err
9170 rm -f conftest.er1
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try='test -z "$ac_cxx_werror_flag"
9175 || test ! -s conftest.err'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try='test -s conftest.$ac_objext'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; }; then
9187 glibcxx_cv_func_finite_use=yes
9188 else
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9192 glibcxx_cv_func_finite_use=no
9194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195 ac_ext=c
9196 ac_cpp='$CPP $CPPFLAGS'
9197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9206 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9208 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9210 for ac_func in finite
9212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_func" >&5
9214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_var+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 else
9218 if test x$gcc_no_link = xyes; then
9219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221 { (exit 1); exit 1; }; }
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h. */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9231 #define $ac_func innocuous_$ac_func
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func (); below.
9235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236 <limits.h> exists even on freestanding compilers. */
9238 #ifdef __STDC__
9239 # include <limits.h>
9240 #else
9241 # include <assert.h>
9242 #endif
9244 #undef $ac_func
9246 /* Override any gcc2 internal prototype to avoid an error. */
9247 #ifdef __cplusplus
9248 extern "C"
9250 #endif
9251 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */
9253 char $ac_func ();
9254 /* The GNU C library defines this for functions which it implements
9255 to always fail with ENOSYS. Some functions are actually named
9256 something starting with __ and the normal name is an alias. */
9257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9258 choke me
9259 #else
9260 char (*f) () = $ac_func;
9261 #endif
9262 #ifdef __cplusplus
9264 #endif
9267 main ()
9269 return f != $ac_func;
9271 return 0;
9273 _ACEOF
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276 (eval $ac_link) 2>conftest.er1
9277 ac_status=$?
9278 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1
9280 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_c_werror_flag"
9284 || test ! -s conftest.err'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 (eval $ac_try) 2>&5
9287 ac_status=$?
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; } &&
9290 { ac_try='test -s conftest$ac_exeext'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 (eval $ac_try) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; }; then
9296 eval "$as_ac_var=yes"
9297 else
9298 echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9301 eval "$as_ac_var=no"
9303 rm -f conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9308 if test `eval echo '${'$as_ac_var'}'` = yes; then
9309 cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9311 _ACEOF
9314 done
9316 else
9318 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9319 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9320 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9321 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9323 else
9327 ac_ext=cc
9328 ac_cpp='$CXXCPP $CPPFLAGS'
9329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 #include <math.h>
9340 #ifdef HAVE_IEEEFP_H
9341 #include <ieeefp.h>
9342 #endif
9345 main ()
9347 _finite(0);
9349 return 0;
9351 _ACEOF
9352 rm -f conftest.$ac_objext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9354 (eval $ac_compile) 2>conftest.er1
9355 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try='test -z "$ac_cxx_werror_flag"
9362 || test ! -s conftest.err'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 (eval $ac_try) 2>&5
9365 ac_status=$?
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; } &&
9368 { ac_try='test -s conftest.$ac_objext'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 (eval $ac_try) 2>&5
9371 ac_status=$?
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9374 glibcxx_cv_func__finite_use=yes
9375 else
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9379 glibcxx_cv_func__finite_use=no
9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9382 ac_ext=c
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9393 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9395 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9397 for ac_func in _finite
9399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9400 echo "$as_me:$LINENO: checking for $ac_func" >&5
9401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9402 if eval "test \"\${$as_ac_var+set}\" = set"; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405 if test x$gcc_no_link = xyes; then
9406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9408 { (exit 1); exit 1; }; }
9410 cat >conftest.$ac_ext <<_ACEOF
9411 /* confdefs.h. */
9412 _ACEOF
9413 cat confdefs.h >>conftest.$ac_ext
9414 cat >>conftest.$ac_ext <<_ACEOF
9415 /* end confdefs.h. */
9416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9418 #define $ac_func innocuous_$ac_func
9420 /* System header to define __stub macros and hopefully few prototypes,
9421 which can conflict with char $ac_func (); below.
9422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9423 <limits.h> exists even on freestanding compilers. */
9425 #ifdef __STDC__
9426 # include <limits.h>
9427 #else
9428 # include <assert.h>
9429 #endif
9431 #undef $ac_func
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 #ifdef __cplusplus
9435 extern "C"
9437 #endif
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9440 char $ac_func ();
9441 /* The GNU C library defines this for functions which it implements
9442 to always fail with ENOSYS. Some functions are actually named
9443 something starting with __ and the normal name is an alias. */
9444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9445 choke me
9446 #else
9447 char (*f) () = $ac_func;
9448 #endif
9449 #ifdef __cplusplus
9451 #endif
9454 main ()
9456 return f != $ac_func;
9458 return 0;
9460 _ACEOF
9461 rm -f conftest.$ac_objext conftest$ac_exeext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9463 (eval $ac_link) 2>conftest.er1
9464 ac_status=$?
9465 grep -v '^ *+' conftest.er1 >conftest.err
9466 rm -f conftest.er1
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 (eval $ac_try) 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 eval "$as_ac_var=yes"
9484 else
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 eval "$as_ac_var=no"
9490 rm -f conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9495 if test `eval echo '${'$as_ac_var'}'` = yes; then
9496 cat >>confdefs.h <<_ACEOF
9497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9498 _ACEOF
9501 done
9508 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9509 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9510 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9511 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 else
9517 ac_ext=cc
9518 ac_cpp='$CXXCPP $CPPFLAGS'
9519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9523 cat >conftest.$ac_ext <<_ACEOF
9524 /* confdefs.h. */
9525 _ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9529 #include <math.h>
9531 main ()
9533 copysign(0, 0);
9535 return 0;
9537 _ACEOF
9538 rm -f conftest.$ac_objext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9540 (eval $ac_compile) 2>conftest.er1
9541 ac_status=$?
9542 grep -v '^ *+' conftest.er1 >conftest.err
9543 rm -f conftest.er1
9544 cat conftest.err >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try='test -z "$ac_cxx_werror_flag"
9548 || test ! -s conftest.err'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 (eval $ac_try) 2>&5
9551 ac_status=$?
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; } &&
9554 { ac_try='test -s conftest.$ac_objext'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 (eval $ac_try) 2>&5
9557 ac_status=$?
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; }; then
9560 glibcxx_cv_func_copysign_use=yes
9561 else
9562 echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.$ac_ext >&5
9565 glibcxx_cv_func_copysign_use=no
9567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9568 ac_ext=c
9569 ac_cpp='$CPP $CPPFLAGS'
9570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9579 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9581 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9583 for ac_func in copysign
9585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9586 echo "$as_me:$LINENO: checking for $ac_func" >&5
9587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9588 if eval "test \"\${$as_ac_var+set}\" = set"; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9590 else
9591 if test x$gcc_no_link = xyes; then
9592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9594 { (exit 1); exit 1; }; }
9596 cat >conftest.$ac_ext <<_ACEOF
9597 /* confdefs.h. */
9598 _ACEOF
9599 cat confdefs.h >>conftest.$ac_ext
9600 cat >>conftest.$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9604 #define $ac_func innocuous_$ac_func
9606 /* System header to define __stub macros and hopefully few prototypes,
9607 which can conflict with char $ac_func (); below.
9608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9609 <limits.h> exists even on freestanding compilers. */
9611 #ifdef __STDC__
9612 # include <limits.h>
9613 #else
9614 # include <assert.h>
9615 #endif
9617 #undef $ac_func
9619 /* Override any gcc2 internal prototype to avoid an error. */
9620 #ifdef __cplusplus
9621 extern "C"
9623 #endif
9624 /* We use char because int might match the return type of a gcc2
9625 builtin and then its argument prototype would still apply. */
9626 char $ac_func ();
9627 /* The GNU C library defines this for functions which it implements
9628 to always fail with ENOSYS. Some functions are actually named
9629 something starting with __ and the normal name is an alias. */
9630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9631 choke me
9632 #else
9633 char (*f) () = $ac_func;
9634 #endif
9635 #ifdef __cplusplus
9637 #endif
9640 main ()
9642 return f != $ac_func;
9644 return 0;
9646 _ACEOF
9647 rm -f conftest.$ac_objext conftest$ac_exeext
9648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9649 (eval $ac_link) 2>conftest.er1
9650 ac_status=$?
9651 grep -v '^ *+' conftest.er1 >conftest.err
9652 rm -f conftest.er1
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } &&
9656 { ac_try='test -z "$ac_c_werror_flag"
9657 || test ! -s conftest.err'
9658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 (eval $ac_try) 2>&5
9660 ac_status=$?
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); }; } &&
9663 { ac_try='test -s conftest$ac_exeext'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 (eval $ac_try) 2>&5
9666 ac_status=$?
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; }; then
9669 eval "$as_ac_var=yes"
9670 else
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9674 eval "$as_ac_var=no"
9676 rm -f conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9681 if test `eval echo '${'$as_ac_var'}'` = yes; then
9682 cat >>confdefs.h <<_ACEOF
9683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9684 _ACEOF
9687 done
9689 else
9691 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9692 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9693 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9694 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9695 echo $ECHO_N "(cached) $ECHO_C" >&6
9696 else
9700 ac_ext=cc
9701 ac_cpp='$CXXCPP $CPPFLAGS'
9702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9706 cat >conftest.$ac_ext <<_ACEOF
9707 /* confdefs.h. */
9708 _ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9712 #include <math.h>
9714 main ()
9716 _copysign(0, 0);
9718 return 0;
9720 _ACEOF
9721 rm -f conftest.$ac_objext
9722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9723 (eval $ac_compile) 2>conftest.er1
9724 ac_status=$?
9725 grep -v '^ *+' conftest.er1 >conftest.err
9726 rm -f conftest.er1
9727 cat conftest.err >&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } &&
9730 { ac_try='test -z "$ac_cxx_werror_flag"
9731 || test ! -s conftest.err'
9732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 (eval $ac_try) 2>&5
9734 ac_status=$?
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); }; } &&
9737 { ac_try='test -s conftest.$ac_objext'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9739 (eval $ac_try) 2>&5
9740 ac_status=$?
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; }; then
9743 glibcxx_cv_func__copysign_use=yes
9744 else
9745 echo "$as_me: failed program was:" >&5
9746 sed 's/^/| /' conftest.$ac_ext >&5
9748 glibcxx_cv_func__copysign_use=no
9750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9751 ac_ext=c
9752 ac_cpp='$CPP $CPPFLAGS'
9753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9762 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9764 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9766 for ac_func in _copysign
9768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9769 echo "$as_me:$LINENO: checking for $ac_func" >&5
9770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9771 if eval "test \"\${$as_ac_var+set}\" = set"; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 else
9774 if test x$gcc_no_link = xyes; then
9775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9777 { (exit 1); exit 1; }; }
9779 cat >conftest.$ac_ext <<_ACEOF
9780 /* confdefs.h. */
9781 _ACEOF
9782 cat confdefs.h >>conftest.$ac_ext
9783 cat >>conftest.$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9787 #define $ac_func innocuous_$ac_func
9789 /* System header to define __stub macros and hopefully few prototypes,
9790 which can conflict with char $ac_func (); below.
9791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9792 <limits.h> exists even on freestanding compilers. */
9794 #ifdef __STDC__
9795 # include <limits.h>
9796 #else
9797 # include <assert.h>
9798 #endif
9800 #undef $ac_func
9802 /* Override any gcc2 internal prototype to avoid an error. */
9803 #ifdef __cplusplus
9804 extern "C"
9806 #endif
9807 /* We use char because int might match the return type of a gcc2
9808 builtin and then its argument prototype would still apply. */
9809 char $ac_func ();
9810 /* The GNU C library defines this for functions which it implements
9811 to always fail with ENOSYS. Some functions are actually named
9812 something starting with __ and the normal name is an alias. */
9813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9814 choke me
9815 #else
9816 char (*f) () = $ac_func;
9817 #endif
9818 #ifdef __cplusplus
9820 #endif
9823 main ()
9825 return f != $ac_func;
9827 return 0;
9829 _ACEOF
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 (eval $ac_link) 2>conftest.er1
9833 ac_status=$?
9834 grep -v '^ *+' conftest.er1 >conftest.err
9835 rm -f conftest.er1
9836 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } &&
9839 { ac_try='test -z "$ac_c_werror_flag"
9840 || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5
9843 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try='test -s conftest$ac_exeext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5
9849 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 eval "$as_ac_var=yes"
9853 else
9854 echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.$ac_ext >&5
9857 eval "$as_ac_var=no"
9859 rm -f conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9864 if test `eval echo '${'$as_ac_var'}'` = yes; then
9865 cat >>confdefs.h <<_ACEOF
9866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9867 _ACEOF
9870 done
9877 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9878 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9879 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9880 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 else
9886 ac_ext=cc
9887 ac_cpp='$CXXCPP $CPPFLAGS'
9888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9892 cat >conftest.$ac_ext <<_ACEOF
9893 /* confdefs.h. */
9894 _ACEOF
9895 cat confdefs.h >>conftest.$ac_ext
9896 cat >>conftest.$ac_ext <<_ACEOF
9897 /* end confdefs.h. */
9898 #include <math.h>
9900 main ()
9902 sincos(0, 0, 0);
9904 return 0;
9906 _ACEOF
9907 rm -f conftest.$ac_objext
9908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9909 (eval $ac_compile) 2>conftest.er1
9910 ac_status=$?
9911 grep -v '^ *+' conftest.er1 >conftest.err
9912 rm -f conftest.er1
9913 cat conftest.err >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); } &&
9916 { ac_try='test -z "$ac_cxx_werror_flag"
9917 || test ! -s conftest.err'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 (eval $ac_try) 2>&5
9920 ac_status=$?
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; } &&
9923 { ac_try='test -s conftest.$ac_objext'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; }; then
9929 glibcxx_cv_func_sincos_use=yes
9930 else
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 glibcxx_cv_func_sincos_use=no
9936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9937 ac_ext=c
9938 ac_cpp='$CPP $CPPFLAGS'
9939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9947 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9948 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9950 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9952 for ac_func in sincos
9954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9955 echo "$as_me:$LINENO: checking for $ac_func" >&5
9956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9957 if eval "test \"\${$as_ac_var+set}\" = set"; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 else
9960 if test x$gcc_no_link = xyes; then
9961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9963 { (exit 1); exit 1; }; }
9965 cat >conftest.$ac_ext <<_ACEOF
9966 /* confdefs.h. */
9967 _ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9973 #define $ac_func innocuous_$ac_func
9975 /* System header to define __stub macros and hopefully few prototypes,
9976 which can conflict with char $ac_func (); below.
9977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9978 <limits.h> exists even on freestanding compilers. */
9980 #ifdef __STDC__
9981 # include <limits.h>
9982 #else
9983 # include <assert.h>
9984 #endif
9986 #undef $ac_func
9988 /* Override any gcc2 internal prototype to avoid an error. */
9989 #ifdef __cplusplus
9990 extern "C"
9992 #endif
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
9995 char $ac_func ();
9996 /* The GNU C library defines this for functions which it implements
9997 to always fail with ENOSYS. Some functions are actually named
9998 something starting with __ and the normal name is an alias. */
9999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10000 choke me
10001 #else
10002 char (*f) () = $ac_func;
10003 #endif
10004 #ifdef __cplusplus
10006 #endif
10009 main ()
10011 return f != $ac_func;
10013 return 0;
10015 _ACEOF
10016 rm -f conftest.$ac_objext conftest$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -z "$ac_c_werror_flag"
10026 || test ! -s conftest.err'
10027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 (eval $ac_try) 2>&5
10029 ac_status=$?
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); }; } &&
10032 { ac_try='test -s conftest$ac_exeext'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; }; then
10038 eval "$as_ac_var=yes"
10039 else
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10043 eval "$as_ac_var=no"
10045 rm -f conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10050 if test `eval echo '${'$as_ac_var'}'` = yes; then
10051 cat >>confdefs.h <<_ACEOF
10052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10053 _ACEOF
10056 done
10058 else
10060 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10061 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10062 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10063 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10065 else
10069 ac_ext=cc
10070 ac_cpp='$CXXCPP $CPPFLAGS'
10071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10075 cat >conftest.$ac_ext <<_ACEOF
10076 /* confdefs.h. */
10077 _ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10081 #include <math.h>
10083 main ()
10085 _sincos(0, 0, 0);
10087 return 0;
10089 _ACEOF
10090 rm -f conftest.$ac_objext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10092 (eval $ac_compile) 2>conftest.er1
10093 ac_status=$?
10094 grep -v '^ *+' conftest.er1 >conftest.err
10095 rm -f conftest.er1
10096 cat conftest.err >&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try='test -z "$ac_cxx_werror_flag"
10100 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10103 ac_status=$?
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try='test -s conftest.$ac_objext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10109 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10112 glibcxx_cv_func__sincos_use=yes
10113 else
10114 echo "$as_me: failed program was:" >&5
10115 sed 's/^/| /' conftest.$ac_ext >&5
10117 glibcxx_cv_func__sincos_use=no
10119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10120 ac_ext=c
10121 ac_cpp='$CPP $CPPFLAGS'
10122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10131 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10133 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10135 for ac_func in _sincos
10137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10138 echo "$as_me:$LINENO: checking for $ac_func" >&5
10139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10140 if eval "test \"\${$as_ac_var+set}\" = set"; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 else
10143 if test x$gcc_no_link = xyes; then
10144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10146 { (exit 1); exit 1; }; }
10148 cat >conftest.$ac_ext <<_ACEOF
10149 /* confdefs.h. */
10150 _ACEOF
10151 cat confdefs.h >>conftest.$ac_ext
10152 cat >>conftest.$ac_ext <<_ACEOF
10153 /* end confdefs.h. */
10154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10156 #define $ac_func innocuous_$ac_func
10158 /* System header to define __stub macros and hopefully few prototypes,
10159 which can conflict with char $ac_func (); below.
10160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10161 <limits.h> exists even on freestanding compilers. */
10163 #ifdef __STDC__
10164 # include <limits.h>
10165 #else
10166 # include <assert.h>
10167 #endif
10169 #undef $ac_func
10171 /* Override any gcc2 internal prototype to avoid an error. */
10172 #ifdef __cplusplus
10173 extern "C"
10175 #endif
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10178 char $ac_func ();
10179 /* The GNU C library defines this for functions which it implements
10180 to always fail with ENOSYS. Some functions are actually named
10181 something starting with __ and the normal name is an alias. */
10182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10183 choke me
10184 #else
10185 char (*f) () = $ac_func;
10186 #endif
10187 #ifdef __cplusplus
10189 #endif
10192 main ()
10194 return f != $ac_func;
10196 return 0;
10198 _ACEOF
10199 rm -f conftest.$ac_objext conftest$ac_exeext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>conftest.er1
10202 ac_status=$?
10203 grep -v '^ *+' conftest.er1 >conftest.err
10204 rm -f conftest.er1
10205 cat conftest.err >&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } &&
10208 { ac_try='test -z "$ac_c_werror_flag"
10209 || test ! -s conftest.err'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10212 ac_status=$?
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; } &&
10215 { ac_try='test -s conftest$ac_exeext'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10218 ac_status=$?
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; }; then
10221 eval "$as_ac_var=yes"
10222 else
10223 echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.$ac_ext >&5
10226 eval "$as_ac_var=no"
10228 rm -f conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10233 if test `eval echo '${'$as_ac_var'}'` = yes; then
10234 cat >>confdefs.h <<_ACEOF
10235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10236 _ACEOF
10239 done
10246 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10247 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10248 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10249 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 else
10255 ac_ext=cc
10256 ac_cpp='$CXXCPP $CPPFLAGS'
10257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10261 cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10267 #include <math.h>
10268 #ifdef HAVE_IEEEFP_H
10269 #include <ieeefp.h>
10270 #endif
10273 main ()
10275 fpclass(0);
10277 return 0;
10279 _ACEOF
10280 rm -f conftest.$ac_objext
10281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10282 (eval $ac_compile) 2>conftest.er1
10283 ac_status=$?
10284 grep -v '^ *+' conftest.er1 >conftest.err
10285 rm -f conftest.er1
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } &&
10289 { ac_try='test -z "$ac_cxx_werror_flag"
10290 || test ! -s conftest.err'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10293 ac_status=$?
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; } &&
10296 { ac_try='test -s conftest.$ac_objext'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10299 ac_status=$?
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; }; then
10302 glibcxx_cv_func_fpclass_use=yes
10303 else
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10307 glibcxx_cv_func_fpclass_use=no
10309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10310 ac_ext=c
10311 ac_cpp='$CPP $CPPFLAGS'
10312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10321 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10323 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10325 for ac_func in fpclass
10327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10328 echo "$as_me:$LINENO: checking for $ac_func" >&5
10329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10330 if eval "test \"\${$as_ac_var+set}\" = set"; then
10331 echo $ECHO_N "(cached) $ECHO_C" >&6
10332 else
10333 if test x$gcc_no_link = xyes; then
10334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10336 { (exit 1); exit 1; }; }
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h. */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10346 #define $ac_func innocuous_$ac_func
10348 /* System header to define __stub macros and hopefully few prototypes,
10349 which can conflict with char $ac_func (); below.
10350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10351 <limits.h> exists even on freestanding compilers. */
10353 #ifdef __STDC__
10354 # include <limits.h>
10355 #else
10356 # include <assert.h>
10357 #endif
10359 #undef $ac_func
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 #ifdef __cplusplus
10363 extern "C"
10365 #endif
10366 /* We use char because int might match the return type of a gcc2
10367 builtin and then its argument prototype would still apply. */
10368 char $ac_func ();
10369 /* The GNU C library defines this for functions which it implements
10370 to always fail with ENOSYS. Some functions are actually named
10371 something starting with __ and the normal name is an alias. */
10372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10373 choke me
10374 #else
10375 char (*f) () = $ac_func;
10376 #endif
10377 #ifdef __cplusplus
10379 #endif
10382 main ()
10384 return f != $ac_func;
10386 return 0;
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>conftest.er1
10392 ac_status=$?
10393 grep -v '^ *+' conftest.er1 >conftest.err
10394 rm -f conftest.er1
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try='test -z "$ac_c_werror_flag"
10399 || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10402 ac_status=$?
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 eval "$as_ac_var=yes"
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10416 eval "$as_ac_var=no"
10418 rm -f conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10423 if test `eval echo '${'$as_ac_var'}'` = yes; then
10424 cat >>confdefs.h <<_ACEOF
10425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10426 _ACEOF
10429 done
10431 else
10433 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10434 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10435 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10436 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10442 ac_ext=cc
10443 ac_cpp='$CXXCPP $CPPFLAGS'
10444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10448 cat >conftest.$ac_ext <<_ACEOF
10449 /* confdefs.h. */
10450 _ACEOF
10451 cat confdefs.h >>conftest.$ac_ext
10452 cat >>conftest.$ac_ext <<_ACEOF
10453 /* end confdefs.h. */
10454 #include <math.h>
10455 #ifdef HAVE_IEEEFP_H
10456 #include <ieeefp.h>
10457 #endif
10460 main ()
10462 _fpclass(0);
10464 return 0;
10466 _ACEOF
10467 rm -f conftest.$ac_objext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10469 (eval $ac_compile) 2>conftest.er1
10470 ac_status=$?
10471 grep -v '^ *+' conftest.er1 >conftest.err
10472 rm -f conftest.er1
10473 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_cxx_werror_flag"
10477 || test ! -s conftest.err'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; } &&
10483 { ac_try='test -s conftest.$ac_objext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10486 ac_status=$?
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 glibcxx_cv_func__fpclass_use=yes
10490 else
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10494 glibcxx_cv_func__fpclass_use=no
10496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10497 ac_ext=c
10498 ac_cpp='$CPP $CPPFLAGS'
10499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10508 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10510 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10512 for ac_func in _fpclass
10514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10515 echo "$as_me:$LINENO: checking for $ac_func" >&5
10516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10517 if eval "test \"\${$as_ac_var+set}\" = set"; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 else
10520 if test x$gcc_no_link = xyes; then
10521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10523 { (exit 1); exit 1; }; }
10525 cat >conftest.$ac_ext <<_ACEOF
10526 /* confdefs.h. */
10527 _ACEOF
10528 cat confdefs.h >>conftest.$ac_ext
10529 cat >>conftest.$ac_ext <<_ACEOF
10530 /* end confdefs.h. */
10531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10533 #define $ac_func innocuous_$ac_func
10535 /* System header to define __stub macros and hopefully few prototypes,
10536 which can conflict with char $ac_func (); below.
10537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10538 <limits.h> exists even on freestanding compilers. */
10540 #ifdef __STDC__
10541 # include <limits.h>
10542 #else
10543 # include <assert.h>
10544 #endif
10546 #undef $ac_func
10548 /* Override any gcc2 internal prototype to avoid an error. */
10549 #ifdef __cplusplus
10550 extern "C"
10552 #endif
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10555 char $ac_func ();
10556 /* The GNU C library defines this for functions which it implements
10557 to always fail with ENOSYS. Some functions are actually named
10558 something starting with __ and the normal name is an alias. */
10559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10560 choke me
10561 #else
10562 char (*f) () = $ac_func;
10563 #endif
10564 #ifdef __cplusplus
10566 #endif
10569 main ()
10571 return f != $ac_func;
10573 return 0;
10575 _ACEOF
10576 rm -f conftest.$ac_objext conftest$ac_exeext
10577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10578 (eval $ac_link) 2>conftest.er1
10579 ac_status=$?
10580 grep -v '^ *+' conftest.er1 >conftest.err
10581 rm -f conftest.er1
10582 cat conftest.err >&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } &&
10585 { ac_try='test -z "$ac_c_werror_flag"
10586 || test ! -s conftest.err'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10589 ac_status=$?
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; } &&
10592 { ac_try='test -s conftest$ac_exeext'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10595 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; }; then
10598 eval "$as_ac_var=yes"
10599 else
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.$ac_ext >&5
10603 eval "$as_ac_var=no"
10605 rm -f conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10610 if test `eval echo '${'$as_ac_var'}'` = yes; then
10611 cat >>confdefs.h <<_ACEOF
10612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10613 _ACEOF
10616 done
10623 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10624 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10625 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10626 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 else
10632 ac_ext=cc
10633 ac_cpp='$CXXCPP $CPPFLAGS'
10634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10638 cat >conftest.$ac_ext <<_ACEOF
10639 /* confdefs.h. */
10640 _ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10644 #include <math.h>
10645 #ifdef HAVE_IEEEFP_H
10646 #include <ieeefp.h>
10647 #endif
10650 main ()
10652 qfpclass(0);
10654 return 0;
10656 _ACEOF
10657 rm -f conftest.$ac_objext
10658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10659 (eval $ac_compile) 2>conftest.er1
10660 ac_status=$?
10661 grep -v '^ *+' conftest.er1 >conftest.err
10662 rm -f conftest.er1
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } &&
10666 { ac_try='test -z "$ac_cxx_werror_flag"
10667 || test ! -s conftest.err'
10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 (eval $ac_try) 2>&5
10670 ac_status=$?
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; } &&
10673 { ac_try='test -s conftest.$ac_objext'
10674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10675 (eval $ac_try) 2>&5
10676 ac_status=$?
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); }; }; then
10679 glibcxx_cv_func_qfpclass_use=yes
10680 else
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.$ac_ext >&5
10684 glibcxx_cv_func_qfpclass_use=no
10686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10687 ac_ext=c
10688 ac_cpp='$CPP $CPPFLAGS'
10689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10698 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10700 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10702 for ac_func in qfpclass
10704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10705 echo "$as_me:$LINENO: checking for $ac_func" >&5
10706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10707 if eval "test \"\${$as_ac_var+set}\" = set"; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 else
10710 if test x$gcc_no_link = xyes; then
10711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10713 { (exit 1); exit 1; }; }
10715 cat >conftest.$ac_ext <<_ACEOF
10716 /* confdefs.h. */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10723 #define $ac_func innocuous_$ac_func
10725 /* System header to define __stub macros and hopefully few prototypes,
10726 which can conflict with char $ac_func (); below.
10727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10728 <limits.h> exists even on freestanding compilers. */
10730 #ifdef __STDC__
10731 # include <limits.h>
10732 #else
10733 # include <assert.h>
10734 #endif
10736 #undef $ac_func
10738 /* Override any gcc2 internal prototype to avoid an error. */
10739 #ifdef __cplusplus
10740 extern "C"
10742 #endif
10743 /* We use char because int might match the return type of a gcc2
10744 builtin and then its argument prototype would still apply. */
10745 char $ac_func ();
10746 /* The GNU C library defines this for functions which it implements
10747 to always fail with ENOSYS. Some functions are actually named
10748 something starting with __ and the normal name is an alias. */
10749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10750 choke me
10751 #else
10752 char (*f) () = $ac_func;
10753 #endif
10754 #ifdef __cplusplus
10756 #endif
10759 main ()
10761 return f != $ac_func;
10763 return 0;
10765 _ACEOF
10766 rm -f conftest.$ac_objext conftest$ac_exeext
10767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10768 (eval $ac_link) 2>conftest.er1
10769 ac_status=$?
10770 grep -v '^ *+' conftest.er1 >conftest.err
10771 rm -f conftest.er1
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } &&
10775 { ac_try='test -z "$ac_c_werror_flag"
10776 || test ! -s conftest.err'
10777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778 (eval $ac_try) 2>&5
10779 ac_status=$?
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); }; } &&
10782 { ac_try='test -s conftest$ac_exeext'
10783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784 (eval $ac_try) 2>&5
10785 ac_status=$?
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); }; }; then
10788 eval "$as_ac_var=yes"
10789 else
10790 echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10793 eval "$as_ac_var=no"
10795 rm -f conftest.err conftest.$ac_objext \
10796 conftest$ac_exeext conftest.$ac_ext
10798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10800 if test `eval echo '${'$as_ac_var'}'` = yes; then
10801 cat >>confdefs.h <<_ACEOF
10802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10803 _ACEOF
10806 done
10808 else
10810 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10811 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10812 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10813 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 else
10819 ac_ext=cc
10820 ac_cpp='$CXXCPP $CPPFLAGS'
10821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h. */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10831 #include <math.h>
10832 #ifdef HAVE_IEEEFP_H
10833 #include <ieeefp.h>
10834 #endif
10837 main ()
10839 _qfpclass(0);
10841 return 0;
10843 _ACEOF
10844 rm -f conftest.$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>conftest.er1
10847 ac_status=$?
10848 grep -v '^ *+' conftest.er1 >conftest.err
10849 rm -f conftest.er1
10850 cat conftest.err >&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } &&
10853 { ac_try='test -z "$ac_cxx_werror_flag"
10854 || test ! -s conftest.err'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10857 ac_status=$?
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; } &&
10860 { ac_try='test -s conftest.$ac_objext'
10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5
10863 ac_status=$?
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then
10866 glibcxx_cv_func__qfpclass_use=yes
10867 else
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.$ac_ext >&5
10871 glibcxx_cv_func__qfpclass_use=no
10873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10874 ac_ext=c
10875 ac_cpp='$CPP $CPPFLAGS'
10876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10885 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10887 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10889 for ac_func in _qfpclass
10891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10892 echo "$as_me:$LINENO: checking for $ac_func" >&5
10893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10894 if eval "test \"\${$as_ac_var+set}\" = set"; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 else
10897 if test x$gcc_no_link = xyes; then
10898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10900 { (exit 1); exit 1; }; }
10902 cat >conftest.$ac_ext <<_ACEOF
10903 /* confdefs.h. */
10904 _ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10910 #define $ac_func innocuous_$ac_func
10912 /* System header to define __stub macros and hopefully few prototypes,
10913 which can conflict with char $ac_func (); below.
10914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10915 <limits.h> exists even on freestanding compilers. */
10917 #ifdef __STDC__
10918 # include <limits.h>
10919 #else
10920 # include <assert.h>
10921 #endif
10923 #undef $ac_func
10925 /* Override any gcc2 internal prototype to avoid an error. */
10926 #ifdef __cplusplus
10927 extern "C"
10929 #endif
10930 /* We use char because int might match the return type of a gcc2
10931 builtin and then its argument prototype would still apply. */
10932 char $ac_func ();
10933 /* The GNU C library defines this for functions which it implements
10934 to always fail with ENOSYS. Some functions are actually named
10935 something starting with __ and the normal name is an alias. */
10936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10937 choke me
10938 #else
10939 char (*f) () = $ac_func;
10940 #endif
10941 #ifdef __cplusplus
10943 #endif
10946 main ()
10948 return f != $ac_func;
10950 return 0;
10952 _ACEOF
10953 rm -f conftest.$ac_objext conftest$ac_exeext
10954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10955 (eval $ac_link) 2>conftest.er1
10956 ac_status=$?
10957 grep -v '^ *+' conftest.er1 >conftest.err
10958 rm -f conftest.er1
10959 cat conftest.err >&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); } &&
10962 { ac_try='test -z "$ac_c_werror_flag"
10963 || test ! -s conftest.err'
10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10965 (eval $ac_try) 2>&5
10966 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; } &&
10969 { ac_try='test -s conftest$ac_exeext'
10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971 (eval $ac_try) 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 eval "$as_ac_var=yes"
10976 else
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10980 eval "$as_ac_var=no"
10982 rm -f conftest.err conftest.$ac_objext \
10983 conftest$ac_exeext conftest.$ac_ext
10985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10987 if test `eval echo '${'$as_ac_var'}'` = yes; then
10988 cat >>confdefs.h <<_ACEOF
10989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10990 _ACEOF
10993 done
11000 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11001 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11002 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11003 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11004 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 else
11009 ac_ext=cc
11010 ac_cpp='$CXXCPP $CPPFLAGS'
11011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11015 cat >conftest.$ac_ext <<_ACEOF
11016 /* confdefs.h. */
11017 _ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 #include <math.h>
11023 main ()
11025 hypot(0, 0);
11027 return 0;
11029 _ACEOF
11030 rm -f conftest.$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032 (eval $ac_compile) 2>conftest.er1
11033 ac_status=$?
11034 grep -v '^ *+' conftest.er1 >conftest.err
11035 rm -f conftest.er1
11036 cat conftest.err >&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try='test -z "$ac_cxx_werror_flag"
11040 || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11043 ac_status=$?
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest.$ac_objext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then
11052 glibcxx_cv_func_hypot_use=yes
11053 else
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11057 glibcxx_cv_func_hypot_use=no
11059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11060 ac_ext=c
11061 ac_cpp='$CPP $CPPFLAGS'
11062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11071 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11073 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11075 for ac_func in hypot
11077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11078 echo "$as_me:$LINENO: checking for $ac_func" >&5
11079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11080 if eval "test \"\${$as_ac_var+set}\" = set"; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 else
11083 if test x$gcc_no_link = xyes; then
11084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11086 { (exit 1); exit 1; }; }
11088 cat >conftest.$ac_ext <<_ACEOF
11089 /* confdefs.h. */
11090 _ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11096 #define $ac_func innocuous_$ac_func
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func (); below.
11100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101 <limits.h> exists even on freestanding compilers. */
11103 #ifdef __STDC__
11104 # include <limits.h>
11105 #else
11106 # include <assert.h>
11107 #endif
11109 #undef $ac_func
11111 /* Override any gcc2 internal prototype to avoid an error. */
11112 #ifdef __cplusplus
11113 extern "C"
11115 #endif
11116 /* We use char because int might match the return type of a gcc2
11117 builtin and then its argument prototype would still apply. */
11118 char $ac_func ();
11119 /* The GNU C library defines this for functions which it implements
11120 to always fail with ENOSYS. Some functions are actually named
11121 something starting with __ and the normal name is an alias. */
11122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11123 choke me
11124 #else
11125 char (*f) () = $ac_func;
11126 #endif
11127 #ifdef __cplusplus
11129 #endif
11132 main ()
11134 return f != $ac_func;
11136 return 0;
11138 _ACEOF
11139 rm -f conftest.$ac_objext conftest$ac_exeext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11141 (eval $ac_link) 2>conftest.er1
11142 ac_status=$?
11143 grep -v '^ *+' conftest.er1 >conftest.err
11144 rm -f conftest.er1
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try='test -z "$ac_c_werror_flag"
11149 || test ! -s conftest.err'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11152 ac_status=$?
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; } &&
11155 { ac_try='test -s conftest$ac_exeext'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11158 ac_status=$?
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; }; then
11161 eval "$as_ac_var=yes"
11162 else
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11166 eval "$as_ac_var=no"
11168 rm -f conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11173 if test `eval echo '${'$as_ac_var'}'` = yes; then
11174 cat >>confdefs.h <<_ACEOF
11175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11176 _ACEOF
11179 done
11181 else
11183 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11184 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11185 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11186 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11192 ac_ext=cc
11193 ac_cpp='$CXXCPP $CPPFLAGS'
11194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11198 cat >conftest.$ac_ext <<_ACEOF
11199 /* confdefs.h. */
11200 _ACEOF
11201 cat confdefs.h >>conftest.$ac_ext
11202 cat >>conftest.$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11204 #include <math.h>
11206 main ()
11208 _hypot(0, 0);
11210 return 0;
11212 _ACEOF
11213 rm -f conftest.$ac_objext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 (eval $ac_compile) 2>conftest.er1
11216 ac_status=$?
11217 grep -v '^ *+' conftest.er1 >conftest.err
11218 rm -f conftest.er1
11219 cat conftest.err >&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } &&
11222 { ac_try='test -z "$ac_cxx_werror_flag"
11223 || test ! -s conftest.err'
11224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225 (eval $ac_try) 2>&5
11226 ac_status=$?
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; } &&
11229 { ac_try='test -s conftest.$ac_objext'
11230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231 (eval $ac_try) 2>&5
11232 ac_status=$?
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; }; then
11235 glibcxx_cv_func__hypot_use=yes
11236 else
11237 echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11240 glibcxx_cv_func__hypot_use=no
11242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11243 ac_ext=c
11244 ac_cpp='$CPP $CPPFLAGS'
11245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11254 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11256 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11258 for ac_func in _hypot
11260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11261 echo "$as_me:$LINENO: checking for $ac_func" >&5
11262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11263 if eval "test \"\${$as_ac_var+set}\" = set"; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 else
11266 if test x$gcc_no_link = xyes; then
11267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11269 { (exit 1); exit 1; }; }
11271 cat >conftest.$ac_ext <<_ACEOF
11272 /* confdefs.h. */
11273 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11279 #define $ac_func innocuous_$ac_func
11281 /* System header to define __stub macros and hopefully few prototypes,
11282 which can conflict with char $ac_func (); below.
11283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11284 <limits.h> exists even on freestanding compilers. */
11286 #ifdef __STDC__
11287 # include <limits.h>
11288 #else
11289 # include <assert.h>
11290 #endif
11292 #undef $ac_func
11294 /* Override any gcc2 internal prototype to avoid an error. */
11295 #ifdef __cplusplus
11296 extern "C"
11298 #endif
11299 /* We use char because int might match the return type of a gcc2
11300 builtin and then its argument prototype would still apply. */
11301 char $ac_func ();
11302 /* The GNU C library defines this for functions which it implements
11303 to always fail with ENOSYS. Some functions are actually named
11304 something starting with __ and the normal name is an alias. */
11305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11306 choke me
11307 #else
11308 char (*f) () = $ac_func;
11309 #endif
11310 #ifdef __cplusplus
11312 #endif
11315 main ()
11317 return f != $ac_func;
11319 return 0;
11321 _ACEOF
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11324 (eval $ac_link) 2>conftest.er1
11325 ac_status=$?
11326 grep -v '^ *+' conftest.er1 >conftest.err
11327 rm -f conftest.er1
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } &&
11331 { ac_try='test -z "$ac_c_werror_flag"
11332 || test ! -s conftest.err'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11335 ac_status=$?
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; } &&
11338 { ac_try='test -s conftest$ac_exeext'
11339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11340 (eval $ac_try) 2>&5
11341 ac_status=$?
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; }; then
11344 eval "$as_ac_var=yes"
11345 else
11346 echo "$as_me: failed program was:" >&5
11347 sed 's/^/| /' conftest.$ac_ext >&5
11349 eval "$as_ac_var=no"
11351 rm -f conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11356 if test `eval echo '${'$as_ac_var'}'` = yes; then
11357 cat >>confdefs.h <<_ACEOF
11358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11359 _ACEOF
11362 done
11369 echo "$as_me:$LINENO: checking for float trig functions" >&5
11370 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11371 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11377 ac_ext=cc
11378 ac_cpp='$CXXCPP $CPPFLAGS'
11379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11383 cat >conftest.$ac_ext <<_ACEOF
11384 /* confdefs.h. */
11385 _ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 #include <math.h>
11391 main ()
11393 `for x in acosf asinf atanf \
11394 cosf sinf tanf \
11395 coshf sinhf tanhf; do echo "$x (0);"; done`
11397 return 0;
11399 _ACEOF
11400 rm -f conftest.$ac_objext
11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11402 (eval $ac_compile) 2>conftest.er1
11403 ac_status=$?
11404 grep -v '^ *+' conftest.er1 >conftest.err
11405 rm -f conftest.er1
11406 cat conftest.err >&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } &&
11409 { ac_try='test -z "$ac_cxx_werror_flag"
11410 || test ! -s conftest.err'
11411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11412 (eval $ac_try) 2>&5
11413 ac_status=$?
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; } &&
11416 { ac_try='test -s conftest.$ac_objext'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11419 ac_status=$?
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; }; then
11422 glibcxx_cv_func_float_trig_use=yes
11423 else
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11427 glibcxx_cv_func_float_trig_use=no
11429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11430 ac_ext=c
11431 ac_cpp='$CPP $CPPFLAGS'
11432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11439 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11440 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11450 for ac_func in acosf asinf atanf \
11451 cosf sinf tanf \
11452 coshf sinhf tanhf
11454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11455 echo "$as_me:$LINENO: checking for $ac_func" >&5
11456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11457 if eval "test \"\${$as_ac_var+set}\" = set"; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11459 else
11460 if test x$gcc_no_link = xyes; then
11461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11463 { (exit 1); exit 1; }; }
11465 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h. */
11467 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11473 #define $ac_func innocuous_$ac_func
11475 /* System header to define __stub macros and hopefully few prototypes,
11476 which can conflict with char $ac_func (); below.
11477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11478 <limits.h> exists even on freestanding compilers. */
11480 #ifdef __STDC__
11481 # include <limits.h>
11482 #else
11483 # include <assert.h>
11484 #endif
11486 #undef $ac_func
11488 /* Override any gcc2 internal prototype to avoid an error. */
11489 #ifdef __cplusplus
11490 extern "C"
11492 #endif
11493 /* We use char because int might match the return type of a gcc2
11494 builtin and then its argument prototype would still apply. */
11495 char $ac_func ();
11496 /* The GNU C library defines this for functions which it implements
11497 to always fail with ENOSYS. Some functions are actually named
11498 something starting with __ and the normal name is an alias. */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 choke me
11501 #else
11502 char (*f) () = $ac_func;
11503 #endif
11504 #ifdef __cplusplus
11506 #endif
11509 main ()
11511 return f != $ac_func;
11513 return 0;
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518 (eval $ac_link) 2>conftest.er1
11519 ac_status=$?
11520 grep -v '^ *+' conftest.er1 >conftest.err
11521 rm -f conftest.er1
11522 cat conftest.err >&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } &&
11525 { ac_try='test -z "$ac_c_werror_flag"
11526 || test ! -s conftest.err'
11527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5
11529 ac_status=$?
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; } &&
11532 { ac_try='test -s conftest$ac_exeext'
11533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534 (eval $ac_try) 2>&5
11535 ac_status=$?
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); }; }; then
11538 eval "$as_ac_var=yes"
11539 else
11540 echo "$as_me: failed program was:" >&5
11541 sed 's/^/| /' conftest.$ac_ext >&5
11543 eval "$as_ac_var=no"
11545 rm -f conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11550 if test `eval echo '${'$as_ac_var'}'` = yes; then
11551 cat >>confdefs.h <<_ACEOF
11552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11553 _ACEOF
11556 done
11561 echo "$as_me:$LINENO: checking for float round functions" >&5
11562 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11563 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11569 ac_ext=cc
11570 ac_cpp='$CXXCPP $CPPFLAGS'
11571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11575 cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h. */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 #include <math.h>
11583 main ()
11585 `for x in ceilf floorf; do echo "$x (0);"; done`
11587 return 0;
11589 _ACEOF
11590 rm -f conftest.$ac_objext
11591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11592 (eval $ac_compile) 2>conftest.er1
11593 ac_status=$?
11594 grep -v '^ *+' conftest.er1 >conftest.err
11595 rm -f conftest.er1
11596 cat conftest.err >&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); } &&
11599 { ac_try='test -z "$ac_cxx_werror_flag"
11600 || test ! -s conftest.err'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11603 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; } &&
11606 { ac_try='test -s conftest.$ac_objext'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11609 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then
11612 glibcxx_cv_func_float_round_use=yes
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 glibcxx_cv_func_float_round_use=no
11619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11620 ac_ext=c
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11629 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11630 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11633 for ac_func in ceilf floorf
11635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11636 echo "$as_me:$LINENO: checking for $ac_func" >&5
11637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11638 if eval "test \"\${$as_ac_var+set}\" = set"; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 if test x$gcc_no_link = xyes; then
11642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11644 { (exit 1); exit 1; }; }
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h. */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11654 #define $ac_func innocuous_$ac_func
11656 /* System header to define __stub macros and hopefully few prototypes,
11657 which can conflict with char $ac_func (); below.
11658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659 <limits.h> exists even on freestanding compilers. */
11661 #ifdef __STDC__
11662 # include <limits.h>
11663 #else
11664 # include <assert.h>
11665 #endif
11667 #undef $ac_func
11669 /* Override any gcc2 internal prototype to avoid an error. */
11670 #ifdef __cplusplus
11671 extern "C"
11673 #endif
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11676 char $ac_func ();
11677 /* The GNU C library defines this for functions which it implements
11678 to always fail with ENOSYS. Some functions are actually named
11679 something starting with __ and the normal name is an alias. */
11680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11681 choke me
11682 #else
11683 char (*f) () = $ac_func;
11684 #endif
11685 #ifdef __cplusplus
11687 #endif
11690 main ()
11692 return f != $ac_func;
11694 return 0;
11696 _ACEOF
11697 rm -f conftest.$ac_objext conftest$ac_exeext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11699 (eval $ac_link) 2>conftest.er1
11700 ac_status=$?
11701 grep -v '^ *+' conftest.er1 >conftest.err
11702 rm -f conftest.er1
11703 cat conftest.err >&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try='test -z "$ac_c_werror_flag"
11707 || test ! -s conftest.err'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11710 ac_status=$?
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; } &&
11713 { ac_try='test -s conftest$ac_exeext'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then
11719 eval "$as_ac_var=yes"
11720 else
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.$ac_ext >&5
11724 eval "$as_ac_var=no"
11726 rm -f conftest.err conftest.$ac_objext \
11727 conftest$ac_exeext conftest.$ac_ext
11729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11731 if test `eval echo '${'$as_ac_var'}'` = yes; then
11732 cat >>confdefs.h <<_ACEOF
11733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11734 _ACEOF
11737 done
11743 echo "$as_me:$LINENO: checking for expf declaration" >&5
11744 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11745 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11746 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11752 ac_ext=cc
11753 ac_cpp='$CXXCPP $CPPFLAGS'
11754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11758 cat >conftest.$ac_ext <<_ACEOF
11759 /* confdefs.h. */
11760 _ACEOF
11761 cat confdefs.h >>conftest.$ac_ext
11762 cat >>conftest.$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 #include <math.h>
11765 #ifdef HAVE_IEEEFP_H
11766 #include <ieeefp.h>
11767 #endif
11770 main ()
11772 expf(0);
11774 return 0;
11776 _ACEOF
11777 rm -f conftest.$ac_objext
11778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11779 (eval $ac_compile) 2>conftest.er1
11780 ac_status=$?
11781 grep -v '^ *+' conftest.er1 >conftest.err
11782 rm -f conftest.er1
11783 cat conftest.err >&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); } &&
11786 { ac_try='test -z "$ac_cxx_werror_flag"
11787 || test ! -s conftest.err'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11790 ac_status=$?
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; } &&
11793 { ac_try='test -s conftest.$ac_objext'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11796 ac_status=$?
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; }; then
11799 glibcxx_cv_func_expf_use=yes
11800 else
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11804 glibcxx_cv_func_expf_use=no
11806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11807 ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11818 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11820 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11822 for ac_func in expf
11824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11825 echo "$as_me:$LINENO: checking for $ac_func" >&5
11826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11827 if eval "test \"\${$as_ac_var+set}\" = set"; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 else
11830 if test x$gcc_no_link = xyes; then
11831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11833 { (exit 1); exit 1; }; }
11835 cat >conftest.$ac_ext <<_ACEOF
11836 /* confdefs.h. */
11837 _ACEOF
11838 cat confdefs.h >>conftest.$ac_ext
11839 cat >>conftest.$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11843 #define $ac_func innocuous_$ac_func
11845 /* System header to define __stub macros and hopefully few prototypes,
11846 which can conflict with char $ac_func (); below.
11847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11848 <limits.h> exists even on freestanding compilers. */
11850 #ifdef __STDC__
11851 # include <limits.h>
11852 #else
11853 # include <assert.h>
11854 #endif
11856 #undef $ac_func
11858 /* Override any gcc2 internal prototype to avoid an error. */
11859 #ifdef __cplusplus
11860 extern "C"
11862 #endif
11863 /* We use char because int might match the return type of a gcc2
11864 builtin and then its argument prototype would still apply. */
11865 char $ac_func ();
11866 /* The GNU C library defines this for functions which it implements
11867 to always fail with ENOSYS. Some functions are actually named
11868 something starting with __ and the normal name is an alias. */
11869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11870 choke me
11871 #else
11872 char (*f) () = $ac_func;
11873 #endif
11874 #ifdef __cplusplus
11876 #endif
11879 main ()
11881 return f != $ac_func;
11883 return 0;
11885 _ACEOF
11886 rm -f conftest.$ac_objext conftest$ac_exeext
11887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11888 (eval $ac_link) 2>conftest.er1
11889 ac_status=$?
11890 grep -v '^ *+' conftest.er1 >conftest.err
11891 rm -f conftest.er1
11892 cat conftest.err >&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); } &&
11895 { ac_try='test -z "$ac_c_werror_flag"
11896 || test ! -s conftest.err'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11899 ac_status=$?
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; } &&
11902 { ac_try='test -s conftest$ac_exeext'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; }; then
11908 eval "$as_ac_var=yes"
11909 else
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.$ac_ext >&5
11913 eval "$as_ac_var=no"
11915 rm -f conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11920 if test `eval echo '${'$as_ac_var'}'` = yes; then
11921 cat >>confdefs.h <<_ACEOF
11922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11923 _ACEOF
11926 done
11928 else
11930 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11931 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11932 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11933 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11939 ac_ext=cc
11940 ac_cpp='$CXXCPP $CPPFLAGS'
11941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11945 cat >conftest.$ac_ext <<_ACEOF
11946 /* confdefs.h. */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <math.h>
11952 #ifdef HAVE_IEEEFP_H
11953 #include <ieeefp.h>
11954 #endif
11957 main ()
11959 _expf(0);
11961 return 0;
11963 _ACEOF
11964 rm -f conftest.$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>conftest.er1
11967 ac_status=$?
11968 grep -v '^ *+' conftest.er1 >conftest.err
11969 rm -f conftest.er1
11970 cat conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try='test -z "$ac_cxx_werror_flag"
11974 || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 glibcxx_cv_func__expf_use=yes
11987 else
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 glibcxx_cv_func__expf_use=no
11993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11994 ac_ext=c
11995 ac_cpp='$CPP $CPPFLAGS'
11996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12005 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12007 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12009 for ac_func in _expf
12011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12012 echo "$as_me:$LINENO: checking for $ac_func" >&5
12013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12014 if eval "test \"\${$as_ac_var+set}\" = set"; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 else
12017 if test x$gcc_no_link = xyes; then
12018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12020 { (exit 1); exit 1; }; }
12022 cat >conftest.$ac_ext <<_ACEOF
12023 /* confdefs.h. */
12024 _ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12030 #define $ac_func innocuous_$ac_func
12032 /* System header to define __stub macros and hopefully few prototypes,
12033 which can conflict with char $ac_func (); below.
12034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12035 <limits.h> exists even on freestanding compilers. */
12037 #ifdef __STDC__
12038 # include <limits.h>
12039 #else
12040 # include <assert.h>
12041 #endif
12043 #undef $ac_func
12045 /* Override any gcc2 internal prototype to avoid an error. */
12046 #ifdef __cplusplus
12047 extern "C"
12049 #endif
12050 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */
12052 char $ac_func ();
12053 /* The GNU C library defines this for functions which it implements
12054 to always fail with ENOSYS. Some functions are actually named
12055 something starting with __ and the normal name is an alias. */
12056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12057 choke me
12058 #else
12059 char (*f) () = $ac_func;
12060 #endif
12061 #ifdef __cplusplus
12063 #endif
12066 main ()
12068 return f != $ac_func;
12070 return 0;
12072 _ACEOF
12073 rm -f conftest.$ac_objext conftest$ac_exeext
12074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12075 (eval $ac_link) 2>conftest.er1
12076 ac_status=$?
12077 grep -v '^ *+' conftest.er1 >conftest.err
12078 rm -f conftest.er1
12079 cat conftest.err >&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } &&
12082 { ac_try='test -z "$ac_c_werror_flag"
12083 || test ! -s conftest.err'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12086 ac_status=$?
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; } &&
12089 { ac_try='test -s conftest$ac_exeext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12092 ac_status=$?
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 eval "$as_ac_var=yes"
12096 else
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12100 eval "$as_ac_var=no"
12102 rm -f conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12107 if test `eval echo '${'$as_ac_var'}'` = yes; then
12108 cat >>confdefs.h <<_ACEOF
12109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12110 _ACEOF
12113 done
12120 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12121 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12122 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12123 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12124 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 else
12129 ac_ext=cc
12130 ac_cpp='$CXXCPP $CPPFLAGS'
12131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12135 cat >conftest.$ac_ext <<_ACEOF
12136 /* confdefs.h. */
12137 _ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 #include <math.h>
12142 #ifdef HAVE_IEEEFP_H
12143 #include <ieeefp.h>
12144 #endif
12147 main ()
12149 isnanf(0);
12151 return 0;
12153 _ACEOF
12154 rm -f conftest.$ac_objext
12155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12156 (eval $ac_compile) 2>conftest.er1
12157 ac_status=$?
12158 grep -v '^ *+' conftest.er1 >conftest.err
12159 rm -f conftest.er1
12160 cat conftest.err >&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } &&
12163 { ac_try='test -z "$ac_cxx_werror_flag"
12164 || test ! -s conftest.err'
12165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166 (eval $ac_try) 2>&5
12167 ac_status=$?
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try='test -s conftest.$ac_objext'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12173 ac_status=$?
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12176 glibcxx_cv_func_isnanf_use=yes
12177 else
12178 echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.$ac_ext >&5
12181 glibcxx_cv_func_isnanf_use=no
12183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12184 ac_ext=c
12185 ac_cpp='$CPP $CPPFLAGS'
12186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12195 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12197 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12199 for ac_func in isnanf
12201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12202 echo "$as_me:$LINENO: checking for $ac_func" >&5
12203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12204 if eval "test \"\${$as_ac_var+set}\" = set"; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12206 else
12207 if test x$gcc_no_link = xyes; then
12208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12210 { (exit 1); exit 1; }; }
12212 cat >conftest.$ac_ext <<_ACEOF
12213 /* confdefs.h. */
12214 _ACEOF
12215 cat confdefs.h >>conftest.$ac_ext
12216 cat >>conftest.$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12220 #define $ac_func innocuous_$ac_func
12222 /* System header to define __stub macros and hopefully few prototypes,
12223 which can conflict with char $ac_func (); below.
12224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12225 <limits.h> exists even on freestanding compilers. */
12227 #ifdef __STDC__
12228 # include <limits.h>
12229 #else
12230 # include <assert.h>
12231 #endif
12233 #undef $ac_func
12235 /* Override any gcc2 internal prototype to avoid an error. */
12236 #ifdef __cplusplus
12237 extern "C"
12239 #endif
12240 /* We use char because int might match the return type of a gcc2
12241 builtin and then its argument prototype would still apply. */
12242 char $ac_func ();
12243 /* The GNU C library defines this for functions which it implements
12244 to always fail with ENOSYS. Some functions are actually named
12245 something starting with __ and the normal name is an alias. */
12246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12247 choke me
12248 #else
12249 char (*f) () = $ac_func;
12250 #endif
12251 #ifdef __cplusplus
12253 #endif
12256 main ()
12258 return f != $ac_func;
12260 return 0;
12262 _ACEOF
12263 rm -f conftest.$ac_objext conftest$ac_exeext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -z "$ac_c_werror_flag"
12273 || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12276 ac_status=$?
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try='test -s conftest$ac_exeext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12282 ac_status=$?
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 eval "$as_ac_var=yes"
12286 else
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12290 eval "$as_ac_var=no"
12292 rm -f conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12297 if test `eval echo '${'$as_ac_var'}'` = yes; then
12298 cat >>confdefs.h <<_ACEOF
12299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12300 _ACEOF
12303 done
12305 else
12307 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12308 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12309 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12310 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 else
12316 ac_ext=cc
12317 ac_cpp='$CXXCPP $CPPFLAGS'
12318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12322 cat >conftest.$ac_ext <<_ACEOF
12323 /* confdefs.h. */
12324 _ACEOF
12325 cat confdefs.h >>conftest.$ac_ext
12326 cat >>conftest.$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12328 #include <math.h>
12329 #ifdef HAVE_IEEEFP_H
12330 #include <ieeefp.h>
12331 #endif
12334 main ()
12336 _isnanf(0);
12338 return 0;
12340 _ACEOF
12341 rm -f conftest.$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>conftest.er1
12344 ac_status=$?
12345 grep -v '^ *+' conftest.er1 >conftest.err
12346 rm -f conftest.er1
12347 cat conftest.err >&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try='test -z "$ac_cxx_werror_flag"
12351 || test ! -s conftest.err'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12354 ac_status=$?
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; } &&
12357 { ac_try='test -s conftest.$ac_objext'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12360 ac_status=$?
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; }; then
12363 glibcxx_cv_func__isnanf_use=yes
12364 else
12365 echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.$ac_ext >&5
12368 glibcxx_cv_func__isnanf_use=no
12370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12371 ac_ext=c
12372 ac_cpp='$CPP $CPPFLAGS'
12373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12382 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12384 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12386 for ac_func in _isnanf
12388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12389 echo "$as_me:$LINENO: checking for $ac_func" >&5
12390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12391 if eval "test \"\${$as_ac_var+set}\" = set"; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 else
12394 if test x$gcc_no_link = xyes; then
12395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12397 { (exit 1); exit 1; }; }
12399 cat >conftest.$ac_ext <<_ACEOF
12400 /* confdefs.h. */
12401 _ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12407 #define $ac_func innocuous_$ac_func
12409 /* System header to define __stub macros and hopefully few prototypes,
12410 which can conflict with char $ac_func (); below.
12411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12412 <limits.h> exists even on freestanding compilers. */
12414 #ifdef __STDC__
12415 # include <limits.h>
12416 #else
12417 # include <assert.h>
12418 #endif
12420 #undef $ac_func
12422 /* Override any gcc2 internal prototype to avoid an error. */
12423 #ifdef __cplusplus
12424 extern "C"
12426 #endif
12427 /* We use char because int might match the return type of a gcc2
12428 builtin and then its argument prototype would still apply. */
12429 char $ac_func ();
12430 /* The GNU C library defines this for functions which it implements
12431 to always fail with ENOSYS. Some functions are actually named
12432 something starting with __ and the normal name is an alias. */
12433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12434 choke me
12435 #else
12436 char (*f) () = $ac_func;
12437 #endif
12438 #ifdef __cplusplus
12440 #endif
12443 main ()
12445 return f != $ac_func;
12447 return 0;
12449 _ACEOF
12450 rm -f conftest.$ac_objext conftest$ac_exeext
12451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12452 (eval $ac_link) 2>conftest.er1
12453 ac_status=$?
12454 grep -v '^ *+' conftest.er1 >conftest.err
12455 rm -f conftest.er1
12456 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } &&
12459 { ac_try='test -z "$ac_c_werror_flag"
12460 || test ! -s conftest.err'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; } &&
12466 { ac_try='test -s conftest$ac_exeext'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12469 ac_status=$?
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; }; then
12472 eval "$as_ac_var=yes"
12473 else
12474 echo "$as_me: failed program was:" >&5
12475 sed 's/^/| /' conftest.$ac_ext >&5
12477 eval "$as_ac_var=no"
12479 rm -f conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12484 if test `eval echo '${'$as_ac_var'}'` = yes; then
12485 cat >>confdefs.h <<_ACEOF
12486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12487 _ACEOF
12490 done
12497 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12498 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12499 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12500 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 else
12506 ac_ext=cc
12507 ac_cpp='$CXXCPP $CPPFLAGS'
12508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12512 cat >conftest.$ac_ext <<_ACEOF
12513 /* confdefs.h. */
12514 _ACEOF
12515 cat confdefs.h >>conftest.$ac_ext
12516 cat >>conftest.$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 #include <math.h>
12519 #ifdef HAVE_IEEEFP_H
12520 #include <ieeefp.h>
12521 #endif
12524 main ()
12526 isinff(0);
12528 return 0;
12530 _ACEOF
12531 rm -f conftest.$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12534 ac_status=$?
12535 grep -v '^ *+' conftest.er1 >conftest.err
12536 rm -f conftest.er1
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_cxx_werror_flag"
12541 || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try='test -s conftest.$ac_objext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12553 glibcxx_cv_func_isinff_use=yes
12554 else
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.$ac_ext >&5
12558 glibcxx_cv_func_isinff_use=no
12560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12561 ac_ext=c
12562 ac_cpp='$CPP $CPPFLAGS'
12563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12572 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12574 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12576 for ac_func in isinff
12578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12579 echo "$as_me:$LINENO: checking for $ac_func" >&5
12580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12581 if eval "test \"\${$as_ac_var+set}\" = set"; then
12582 echo $ECHO_N "(cached) $ECHO_C" >&6
12583 else
12584 if test x$gcc_no_link = xyes; then
12585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12587 { (exit 1); exit 1; }; }
12589 cat >conftest.$ac_ext <<_ACEOF
12590 /* confdefs.h. */
12591 _ACEOF
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12597 #define $ac_func innocuous_$ac_func
12599 /* System header to define __stub macros and hopefully few prototypes,
12600 which can conflict with char $ac_func (); below.
12601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12602 <limits.h> exists even on freestanding compilers. */
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12610 #undef $ac_func
12612 /* Override any gcc2 internal prototype to avoid an error. */
12613 #ifdef __cplusplus
12614 extern "C"
12616 #endif
12617 /* We use char because int might match the return type of a gcc2
12618 builtin and then its argument prototype would still apply. */
12619 char $ac_func ();
12620 /* The GNU C library defines this for functions which it implements
12621 to always fail with ENOSYS. Some functions are actually named
12622 something starting with __ and the normal name is an alias. */
12623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12624 choke me
12625 #else
12626 char (*f) () = $ac_func;
12627 #endif
12628 #ifdef __cplusplus
12630 #endif
12633 main ()
12635 return f != $ac_func;
12637 return 0;
12639 _ACEOF
12640 rm -f conftest.$ac_objext conftest$ac_exeext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12642 (eval $ac_link) 2>conftest.er1
12643 ac_status=$?
12644 grep -v '^ *+' conftest.er1 >conftest.err
12645 rm -f conftest.er1
12646 cat conftest.err >&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } &&
12649 { ac_try='test -z "$ac_c_werror_flag"
12650 || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try='test -s conftest$ac_exeext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12659 ac_status=$?
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 eval "$as_ac_var=yes"
12663 else
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12667 eval "$as_ac_var=no"
12669 rm -f conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12674 if test `eval echo '${'$as_ac_var'}'` = yes; then
12675 cat >>confdefs.h <<_ACEOF
12676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12677 _ACEOF
12680 done
12682 else
12684 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12685 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12686 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12687 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 else
12693 ac_ext=cc
12694 ac_cpp='$CXXCPP $CPPFLAGS'
12695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12699 cat >conftest.$ac_ext <<_ACEOF
12700 /* confdefs.h. */
12701 _ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12705 #include <math.h>
12706 #ifdef HAVE_IEEEFP_H
12707 #include <ieeefp.h>
12708 #endif
12711 main ()
12713 _isinff(0);
12715 return 0;
12717 _ACEOF
12718 rm -f conftest.$ac_objext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720 (eval $ac_compile) 2>conftest.er1
12721 ac_status=$?
12722 grep -v '^ *+' conftest.er1 >conftest.err
12723 rm -f conftest.er1
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } &&
12727 { ac_try='test -z "$ac_cxx_werror_flag"
12728 || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12731 ac_status=$?
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try='test -s conftest.$ac_objext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12737 ac_status=$?
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 glibcxx_cv_func__isinff_use=yes
12741 else
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 glibcxx_cv_func__isinff_use=no
12747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12748 ac_ext=c
12749 ac_cpp='$CPP $CPPFLAGS'
12750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12759 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12761 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12763 for ac_func in _isinff
12765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12766 echo "$as_me:$LINENO: checking for $ac_func" >&5
12767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12768 if eval "test \"\${$as_ac_var+set}\" = set"; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 else
12771 if test x$gcc_no_link = xyes; then
12772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12774 { (exit 1); exit 1; }; }
12776 cat >conftest.$ac_ext <<_ACEOF
12777 /* confdefs.h. */
12778 _ACEOF
12779 cat confdefs.h >>conftest.$ac_ext
12780 cat >>conftest.$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12784 #define $ac_func innocuous_$ac_func
12786 /* System header to define __stub macros and hopefully few prototypes,
12787 which can conflict with char $ac_func (); below.
12788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12789 <limits.h> exists even on freestanding compilers. */
12791 #ifdef __STDC__
12792 # include <limits.h>
12793 #else
12794 # include <assert.h>
12795 #endif
12797 #undef $ac_func
12799 /* Override any gcc2 internal prototype to avoid an error. */
12800 #ifdef __cplusplus
12801 extern "C"
12803 #endif
12804 /* We use char because int might match the return type of a gcc2
12805 builtin and then its argument prototype would still apply. */
12806 char $ac_func ();
12807 /* The GNU C library defines this for functions which it implements
12808 to always fail with ENOSYS. Some functions are actually named
12809 something starting with __ and the normal name is an alias. */
12810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12811 choke me
12812 #else
12813 char (*f) () = $ac_func;
12814 #endif
12815 #ifdef __cplusplus
12817 #endif
12820 main ()
12822 return f != $ac_func;
12824 return 0;
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829 (eval $ac_link) 2>conftest.er1
12830 ac_status=$?
12831 grep -v '^ *+' conftest.er1 >conftest.err
12832 rm -f conftest.er1
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try='test -z "$ac_c_werror_flag"
12837 || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 eval "$as_ac_var=yes"
12850 else
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12854 eval "$as_ac_var=no"
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12861 if test `eval echo '${'$as_ac_var'}'` = yes; then
12862 cat >>confdefs.h <<_ACEOF
12863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12864 _ACEOF
12867 done
12874 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12875 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12876 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12877 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 else
12883 ac_ext=cc
12884 ac_cpp='$CXXCPP $CPPFLAGS'
12885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12889 cat >conftest.$ac_ext <<_ACEOF
12890 /* confdefs.h. */
12891 _ACEOF
12892 cat confdefs.h >>conftest.$ac_ext
12893 cat >>conftest.$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12895 #include <math.h>
12897 main ()
12899 atan2f(0, 0);
12901 return 0;
12903 _ACEOF
12904 rm -f conftest.$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_cxx_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try='test -s conftest.$ac_objext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12923 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 glibcxx_cv_func_atan2f_use=yes
12927 else
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 glibcxx_cv_func_atan2f_use=no
12933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12934 ac_ext=c
12935 ac_cpp='$CPP $CPPFLAGS'
12936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12945 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12947 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12949 for ac_func in atan2f
12951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12952 echo "$as_me:$LINENO: checking for $ac_func" >&5
12953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12954 if eval "test \"\${$as_ac_var+set}\" = set"; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12956 else
12957 if test x$gcc_no_link = xyes; then
12958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12960 { (exit 1); exit 1; }; }
12962 cat >conftest.$ac_ext <<_ACEOF
12963 /* confdefs.h. */
12964 _ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12970 #define $ac_func innocuous_$ac_func
12972 /* System header to define __stub macros and hopefully few prototypes,
12973 which can conflict with char $ac_func (); below.
12974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12975 <limits.h> exists even on freestanding compilers. */
12977 #ifdef __STDC__
12978 # include <limits.h>
12979 #else
12980 # include <assert.h>
12981 #endif
12983 #undef $ac_func
12985 /* Override any gcc2 internal prototype to avoid an error. */
12986 #ifdef __cplusplus
12987 extern "C"
12989 #endif
12990 /* We use char because int might match the return type of a gcc2
12991 builtin and then its argument prototype would still apply. */
12992 char $ac_func ();
12993 /* The GNU C library defines this for functions which it implements
12994 to always fail with ENOSYS. Some functions are actually named
12995 something starting with __ and the normal name is an alias. */
12996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12997 choke me
12998 #else
12999 char (*f) () = $ac_func;
13000 #endif
13001 #ifdef __cplusplus
13003 #endif
13006 main ()
13008 return f != $ac_func;
13010 return 0;
13012 _ACEOF
13013 rm -f conftest.$ac_objext conftest$ac_exeext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13015 (eval $ac_link) 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } &&
13022 { ac_try='test -z "$ac_c_werror_flag"
13023 || test ! -s conftest.err'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13026 ac_status=$?
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; } &&
13029 { ac_try='test -s conftest$ac_exeext'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13032 ac_status=$?
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; }; then
13035 eval "$as_ac_var=yes"
13036 else
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.$ac_ext >&5
13040 eval "$as_ac_var=no"
13042 rm -f conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13047 if test `eval echo '${'$as_ac_var'}'` = yes; then
13048 cat >>confdefs.h <<_ACEOF
13049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13050 _ACEOF
13053 done
13055 else
13057 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13058 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13059 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13060 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 else
13066 ac_ext=cc
13067 ac_cpp='$CXXCPP $CPPFLAGS'
13068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13072 cat >conftest.$ac_ext <<_ACEOF
13073 /* confdefs.h. */
13074 _ACEOF
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <math.h>
13080 main ()
13082 _atan2f(0, 0);
13084 return 0;
13086 _ACEOF
13087 rm -f conftest.$ac_objext
13088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13089 (eval $ac_compile) 2>conftest.er1
13090 ac_status=$?
13091 grep -v '^ *+' conftest.er1 >conftest.err
13092 rm -f conftest.er1
13093 cat conftest.err >&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } &&
13096 { ac_try='test -z "$ac_cxx_werror_flag"
13097 || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13100 ac_status=$?
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try='test -s conftest.$ac_objext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13106 ac_status=$?
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 glibcxx_cv_func__atan2f_use=yes
13110 else
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.$ac_ext >&5
13114 glibcxx_cv_func__atan2f_use=no
13116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13117 ac_ext=c
13118 ac_cpp='$CPP $CPPFLAGS'
13119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13128 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13130 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13132 for ac_func in _atan2f
13134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13135 echo "$as_me:$LINENO: checking for $ac_func" >&5
13136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13137 if eval "test \"\${$as_ac_var+set}\" = set"; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13139 else
13140 if test x$gcc_no_link = xyes; then
13141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13143 { (exit 1); exit 1; }; }
13145 cat >conftest.$ac_ext <<_ACEOF
13146 /* confdefs.h. */
13147 _ACEOF
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13153 #define $ac_func innocuous_$ac_func
13155 /* System header to define __stub macros and hopefully few prototypes,
13156 which can conflict with char $ac_func (); below.
13157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13158 <limits.h> exists even on freestanding compilers. */
13160 #ifdef __STDC__
13161 # include <limits.h>
13162 #else
13163 # include <assert.h>
13164 #endif
13166 #undef $ac_func
13168 /* Override any gcc2 internal prototype to avoid an error. */
13169 #ifdef __cplusplus
13170 extern "C"
13172 #endif
13173 /* We use char because int might match the return type of a gcc2
13174 builtin and then its argument prototype would still apply. */
13175 char $ac_func ();
13176 /* The GNU C library defines this for functions which it implements
13177 to always fail with ENOSYS. Some functions are actually named
13178 something starting with __ and the normal name is an alias. */
13179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13180 choke me
13181 #else
13182 char (*f) () = $ac_func;
13183 #endif
13184 #ifdef __cplusplus
13186 #endif
13189 main ()
13191 return f != $ac_func;
13193 return 0;
13195 _ACEOF
13196 rm -f conftest.$ac_objext conftest$ac_exeext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13198 (eval $ac_link) 2>conftest.er1
13199 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try='test -z "$ac_c_werror_flag"
13206 || test ! -s conftest.err'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13209 ac_status=$?
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } &&
13212 { ac_try='test -s conftest$ac_exeext'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214 (eval $ac_try) 2>&5
13215 ac_status=$?
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 eval "$as_ac_var=yes"
13219 else
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13223 eval "$as_ac_var=no"
13225 rm -f conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13230 if test `eval echo '${'$as_ac_var'}'` = yes; then
13231 cat >>confdefs.h <<_ACEOF
13232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13233 _ACEOF
13236 done
13243 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13244 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13245 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13246 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6
13248 else
13252 ac_ext=cc
13253 ac_cpp='$CXXCPP $CPPFLAGS'
13254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13258 cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h. */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 #include <math.h>
13265 #ifdef HAVE_IEEEFP_H
13266 #include <ieeefp.h>
13267 #endif
13270 main ()
13272 fabsf(0);
13274 return 0;
13276 _ACEOF
13277 rm -f conftest.$ac_objext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13279 (eval $ac_compile) 2>conftest.er1
13280 ac_status=$?
13281 grep -v '^ *+' conftest.er1 >conftest.err
13282 rm -f conftest.er1
13283 cat conftest.err >&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
13286 { ac_try='test -z "$ac_cxx_werror_flag"
13287 || test ! -s conftest.err'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13290 ac_status=$?
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try='test -s conftest.$ac_objext'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 glibcxx_cv_func_fabsf_use=yes
13300 else
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13304 glibcxx_cv_func_fabsf_use=no
13306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13307 ac_ext=c
13308 ac_cpp='$CPP $CPPFLAGS'
13309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13318 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13320 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13322 for ac_func in fabsf
13324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13325 echo "$as_me:$LINENO: checking for $ac_func" >&5
13326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13327 if eval "test \"\${$as_ac_var+set}\" = set"; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 else
13330 if test x$gcc_no_link = xyes; then
13331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13333 { (exit 1); exit 1; }; }
13335 cat >conftest.$ac_ext <<_ACEOF
13336 /* confdefs.h. */
13337 _ACEOF
13338 cat confdefs.h >>conftest.$ac_ext
13339 cat >>conftest.$ac_ext <<_ACEOF
13340 /* end confdefs.h. */
13341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13343 #define $ac_func innocuous_$ac_func
13345 /* System header to define __stub macros and hopefully few prototypes,
13346 which can conflict with char $ac_func (); below.
13347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13348 <limits.h> exists even on freestanding compilers. */
13350 #ifdef __STDC__
13351 # include <limits.h>
13352 #else
13353 # include <assert.h>
13354 #endif
13356 #undef $ac_func
13358 /* Override any gcc2 internal prototype to avoid an error. */
13359 #ifdef __cplusplus
13360 extern "C"
13362 #endif
13363 /* We use char because int might match the return type of a gcc2
13364 builtin and then its argument prototype would still apply. */
13365 char $ac_func ();
13366 /* The GNU C library defines this for functions which it implements
13367 to always fail with ENOSYS. Some functions are actually named
13368 something starting with __ and the normal name is an alias. */
13369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13370 choke me
13371 #else
13372 char (*f) () = $ac_func;
13373 #endif
13374 #ifdef __cplusplus
13376 #endif
13379 main ()
13381 return f != $ac_func;
13383 return 0;
13385 _ACEOF
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13388 (eval $ac_link) 2>conftest.er1
13389 ac_status=$?
13390 grep -v '^ *+' conftest.er1 >conftest.err
13391 rm -f conftest.er1
13392 cat conftest.err >&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } &&
13395 { ac_try='test -z "$ac_c_werror_flag"
13396 || test ! -s conftest.err'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; } &&
13402 { ac_try='test -s conftest$ac_exeext'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; }; then
13408 eval "$as_ac_var=yes"
13409 else
13410 echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.$ac_ext >&5
13413 eval "$as_ac_var=no"
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13420 if test `eval echo '${'$as_ac_var'}'` = yes; then
13421 cat >>confdefs.h <<_ACEOF
13422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 _ACEOF
13426 done
13428 else
13430 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13431 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13432 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13433 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13434 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 else
13439 ac_ext=cc
13440 ac_cpp='$CXXCPP $CPPFLAGS'
13441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13445 cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h. */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451 #include <math.h>
13452 #ifdef HAVE_IEEEFP_H
13453 #include <ieeefp.h>
13454 #endif
13457 main ()
13459 _fabsf(0);
13461 return 0;
13463 _ACEOF
13464 rm -f conftest.$ac_objext
13465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13466 (eval $ac_compile) 2>conftest.er1
13467 ac_status=$?
13468 grep -v '^ *+' conftest.er1 >conftest.err
13469 rm -f conftest.er1
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } &&
13473 { ac_try='test -z "$ac_cxx_werror_flag"
13474 || test ! -s conftest.err'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13477 ac_status=$?
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; } &&
13480 { ac_try='test -s conftest.$ac_objext'
13481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482 (eval $ac_try) 2>&5
13483 ac_status=$?
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 glibcxx_cv_func__fabsf_use=yes
13487 else
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13491 glibcxx_cv_func__fabsf_use=no
13493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13494 ac_ext=c
13495 ac_cpp='$CPP $CPPFLAGS'
13496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13505 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13507 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13509 for ac_func in _fabsf
13511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13512 echo "$as_me:$LINENO: checking for $ac_func" >&5
13513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_var+set}\" = set"; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 else
13517 if test x$gcc_no_link = xyes; then
13518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13520 { (exit 1); exit 1; }; }
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h. */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13530 #define $ac_func innocuous_$ac_func
13532 /* System header to define __stub macros and hopefully few prototypes,
13533 which can conflict with char $ac_func (); below.
13534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13535 <limits.h> exists even on freestanding compilers. */
13537 #ifdef __STDC__
13538 # include <limits.h>
13539 #else
13540 # include <assert.h>
13541 #endif
13543 #undef $ac_func
13545 /* Override any gcc2 internal prototype to avoid an error. */
13546 #ifdef __cplusplus
13547 extern "C"
13549 #endif
13550 /* We use char because int might match the return type of a gcc2
13551 builtin and then its argument prototype would still apply. */
13552 char $ac_func ();
13553 /* The GNU C library defines this for functions which it implements
13554 to always fail with ENOSYS. Some functions are actually named
13555 something starting with __ and the normal name is an alias. */
13556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13557 choke me
13558 #else
13559 char (*f) () = $ac_func;
13560 #endif
13561 #ifdef __cplusplus
13563 #endif
13566 main ()
13568 return f != $ac_func;
13570 return 0;
13572 _ACEOF
13573 rm -f conftest.$ac_objext conftest$ac_exeext
13574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13575 (eval $ac_link) 2>conftest.er1
13576 ac_status=$?
13577 grep -v '^ *+' conftest.er1 >conftest.err
13578 rm -f conftest.er1
13579 cat conftest.err >&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } &&
13582 { ac_try='test -z "$ac_c_werror_flag"
13583 || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest$ac_exeext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 eval "$as_ac_var=yes"
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 eval "$as_ac_var=no"
13602 rm -f conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13607 if test `eval echo '${'$as_ac_var'}'` = yes; then
13608 cat >>confdefs.h <<_ACEOF
13609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13610 _ACEOF
13613 done
13620 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13621 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13622 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13623 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 else
13629 ac_ext=cc
13630 ac_cpp='$CXXCPP $CPPFLAGS'
13631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13635 cat >conftest.$ac_ext <<_ACEOF
13636 /* confdefs.h. */
13637 _ACEOF
13638 cat confdefs.h >>conftest.$ac_ext
13639 cat >>conftest.$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <math.h>
13643 main ()
13645 fmodf(0, 0);
13647 return 0;
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>conftest.er1
13653 ac_status=$?
13654 grep -v '^ *+' conftest.er1 >conftest.err
13655 rm -f conftest.er1
13656 cat conftest.err >&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try='test -z "$ac_cxx_werror_flag"
13660 || test ! -s conftest.err'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; } &&
13666 { ac_try='test -s conftest.$ac_objext'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13669 ac_status=$?
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; }; then
13672 glibcxx_cv_func_fmodf_use=yes
13673 else
13674 echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.$ac_ext >&5
13677 glibcxx_cv_func_fmodf_use=no
13679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13680 ac_ext=c
13681 ac_cpp='$CPP $CPPFLAGS'
13682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13691 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13693 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13695 for ac_func in fmodf
13697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13698 echo "$as_me:$LINENO: checking for $ac_func" >&5
13699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13700 if eval "test \"\${$as_ac_var+set}\" = set"; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 else
13703 if test x$gcc_no_link = xyes; then
13704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13706 { (exit 1); exit 1; }; }
13708 cat >conftest.$ac_ext <<_ACEOF
13709 /* confdefs.h. */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13716 #define $ac_func innocuous_$ac_func
13718 /* System header to define __stub macros and hopefully few prototypes,
13719 which can conflict with char $ac_func (); below.
13720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13721 <limits.h> exists even on freestanding compilers. */
13723 #ifdef __STDC__
13724 # include <limits.h>
13725 #else
13726 # include <assert.h>
13727 #endif
13729 #undef $ac_func
13731 /* Override any gcc2 internal prototype to avoid an error. */
13732 #ifdef __cplusplus
13733 extern "C"
13735 #endif
13736 /* We use char because int might match the return type of a gcc2
13737 builtin and then its argument prototype would still apply. */
13738 char $ac_func ();
13739 /* The GNU C library defines this for functions which it implements
13740 to always fail with ENOSYS. Some functions are actually named
13741 something starting with __ and the normal name is an alias. */
13742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13743 choke me
13744 #else
13745 char (*f) () = $ac_func;
13746 #endif
13747 #ifdef __cplusplus
13749 #endif
13752 main ()
13754 return f != $ac_func;
13756 return 0;
13758 _ACEOF
13759 rm -f conftest.$ac_objext conftest$ac_exeext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761 (eval $ac_link) 2>conftest.er1
13762 ac_status=$?
13763 grep -v '^ *+' conftest.er1 >conftest.err
13764 rm -f conftest.er1
13765 cat conftest.err >&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try='test -z "$ac_c_werror_flag"
13769 || test ! -s conftest.err'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13772 ac_status=$?
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try='test -s conftest$ac_exeext'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13778 ac_status=$?
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; }; then
13781 eval "$as_ac_var=yes"
13782 else
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13786 eval "$as_ac_var=no"
13788 rm -f conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13793 if test `eval echo '${'$as_ac_var'}'` = yes; then
13794 cat >>confdefs.h <<_ACEOF
13795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13796 _ACEOF
13799 done
13801 else
13803 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13804 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13805 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13806 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 else
13812 ac_ext=cc
13813 ac_cpp='$CXXCPP $CPPFLAGS'
13814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13818 cat >conftest.$ac_ext <<_ACEOF
13819 /* confdefs.h. */
13820 _ACEOF
13821 cat confdefs.h >>conftest.$ac_ext
13822 cat >>conftest.$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13824 #include <math.h>
13826 main ()
13828 _fmodf(0, 0);
13830 return 0;
13832 _ACEOF
13833 rm -f conftest.$ac_objext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13835 (eval $ac_compile) 2>conftest.er1
13836 ac_status=$?
13837 grep -v '^ *+' conftest.er1 >conftest.err
13838 rm -f conftest.er1
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_cxx_werror_flag"
13843 || test ! -s conftest.err'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; } &&
13849 { ac_try='test -s conftest.$ac_objext'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 glibcxx_cv_func__fmodf_use=yes
13856 else
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13860 glibcxx_cv_func__fmodf_use=no
13862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13863 ac_ext=c
13864 ac_cpp='$CPP $CPPFLAGS'
13865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13874 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13876 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13878 for ac_func in _fmodf
13880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13881 echo "$as_me:$LINENO: checking for $ac_func" >&5
13882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13883 if eval "test \"\${$as_ac_var+set}\" = set"; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 else
13886 if test x$gcc_no_link = xyes; then
13887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13889 { (exit 1); exit 1; }; }
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13899 #define $ac_func innocuous_$ac_func
13901 /* System header to define __stub macros and hopefully few prototypes,
13902 which can conflict with char $ac_func (); below.
13903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13904 <limits.h> exists even on freestanding compilers. */
13906 #ifdef __STDC__
13907 # include <limits.h>
13908 #else
13909 # include <assert.h>
13910 #endif
13912 #undef $ac_func
13914 /* Override any gcc2 internal prototype to avoid an error. */
13915 #ifdef __cplusplus
13916 extern "C"
13918 #endif
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13921 char $ac_func ();
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 choke me
13927 #else
13928 char (*f) () = $ac_func;
13929 #endif
13930 #ifdef __cplusplus
13932 #endif
13935 main ()
13937 return f != $ac_func;
13939 return 0;
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>conftest.er1
13945 ac_status=$?
13946 grep -v '^ *+' conftest.er1 >conftest.err
13947 rm -f conftest.er1
13948 cat conftest.err >&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try='test -z "$ac_c_werror_flag"
13952 || test ! -s conftest.err'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13955 ac_status=$?
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try='test -s conftest$ac_exeext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13961 ac_status=$?
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13964 eval "$as_ac_var=yes"
13965 else
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13969 eval "$as_ac_var=no"
13971 rm -f conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13976 if test `eval echo '${'$as_ac_var'}'` = yes; then
13977 cat >>confdefs.h <<_ACEOF
13978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13979 _ACEOF
13982 done
13989 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13990 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13991 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13992 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13998 ac_ext=cc
13999 ac_cpp='$CXXCPP $CPPFLAGS'
14000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14004 cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h. */
14006 _ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14010 #include <math.h>
14012 main ()
14014 frexpf(0, 0);
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_cxx_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 glibcxx_cv_func_frexpf_use=yes
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 glibcxx_cv_func_frexpf_use=no
14048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14049 ac_ext=c
14050 ac_cpp='$CPP $CPPFLAGS'
14051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14060 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14062 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14064 for ac_func in frexpf
14066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14067 echo "$as_me:$LINENO: checking for $ac_func" >&5
14068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_var+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 if test x$gcc_no_link = xyes; then
14073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14075 { (exit 1); exit 1; }; }
14077 cat >conftest.$ac_ext <<_ACEOF
14078 /* confdefs.h. */
14079 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14085 #define $ac_func innocuous_$ac_func
14087 /* System header to define __stub macros and hopefully few prototypes,
14088 which can conflict with char $ac_func (); below.
14089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14090 <limits.h> exists even on freestanding compilers. */
14092 #ifdef __STDC__
14093 # include <limits.h>
14094 #else
14095 # include <assert.h>
14096 #endif
14098 #undef $ac_func
14100 /* Override any gcc2 internal prototype to avoid an error. */
14101 #ifdef __cplusplus
14102 extern "C"
14104 #endif
14105 /* We use char because int might match the return type of a gcc2
14106 builtin and then its argument prototype would still apply. */
14107 char $ac_func ();
14108 /* The GNU C library defines this for functions which it implements
14109 to always fail with ENOSYS. Some functions are actually named
14110 something starting with __ and the normal name is an alias. */
14111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14112 choke me
14113 #else
14114 char (*f) () = $ac_func;
14115 #endif
14116 #ifdef __cplusplus
14118 #endif
14121 main ()
14123 return f != $ac_func;
14125 return 0;
14127 _ACEOF
14128 rm -f conftest.$ac_objext conftest$ac_exeext
14129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14130 (eval $ac_link) 2>conftest.er1
14131 ac_status=$?
14132 grep -v '^ *+' conftest.er1 >conftest.err
14133 rm -f conftest.er1
14134 cat conftest.err >&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } &&
14137 { ac_try='test -z "$ac_c_werror_flag"
14138 || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try='test -s conftest$ac_exeext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 eval "$as_ac_var=yes"
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 eval "$as_ac_var=no"
14157 rm -f conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14162 if test `eval echo '${'$as_ac_var'}'` = yes; then
14163 cat >>confdefs.h <<_ACEOF
14164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14165 _ACEOF
14168 done
14170 else
14172 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14173 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14174 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14175 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14181 ac_ext=cc
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14187 cat >conftest.$ac_ext <<_ACEOF
14188 /* confdefs.h. */
14189 _ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h. */
14193 #include <math.h>
14195 main ()
14197 _frexpf(0, 0);
14199 return 0;
14201 _ACEOF
14202 rm -f conftest.$ac_objext
14203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14204 (eval $ac_compile) 2>conftest.er1
14205 ac_status=$?
14206 grep -v '^ *+' conftest.er1 >conftest.err
14207 rm -f conftest.er1
14208 cat conftest.err >&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } &&
14211 { ac_try='test -z "$ac_cxx_werror_flag"
14212 || test ! -s conftest.err'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; } &&
14218 { ac_try='test -s conftest.$ac_objext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 glibcxx_cv_func__frexpf_use=yes
14225 else
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.$ac_ext >&5
14229 glibcxx_cv_func__frexpf_use=no
14231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14232 ac_ext=c
14233 ac_cpp='$CPP $CPPFLAGS'
14234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14243 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14245 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14247 for ac_func in _frexpf
14249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14250 echo "$as_me:$LINENO: checking for $ac_func" >&5
14251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14252 if eval "test \"\${$as_ac_var+set}\" = set"; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 else
14255 if test x$gcc_no_link = xyes; then
14256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14258 { (exit 1); exit 1; }; }
14260 cat >conftest.$ac_ext <<_ACEOF
14261 /* confdefs.h. */
14262 _ACEOF
14263 cat confdefs.h >>conftest.$ac_ext
14264 cat >>conftest.$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14268 #define $ac_func innocuous_$ac_func
14270 /* System header to define __stub macros and hopefully few prototypes,
14271 which can conflict with char $ac_func (); below.
14272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14273 <limits.h> exists even on freestanding compilers. */
14275 #ifdef __STDC__
14276 # include <limits.h>
14277 #else
14278 # include <assert.h>
14279 #endif
14281 #undef $ac_func
14283 /* Override any gcc2 internal prototype to avoid an error. */
14284 #ifdef __cplusplus
14285 extern "C"
14287 #endif
14288 /* We use char because int might match the return type of a gcc2
14289 builtin and then its argument prototype would still apply. */
14290 char $ac_func ();
14291 /* The GNU C library defines this for functions which it implements
14292 to always fail with ENOSYS. Some functions are actually named
14293 something starting with __ and the normal name is an alias. */
14294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14295 choke me
14296 #else
14297 char (*f) () = $ac_func;
14298 #endif
14299 #ifdef __cplusplus
14301 #endif
14304 main ()
14306 return f != $ac_func;
14308 return 0;
14310 _ACEOF
14311 rm -f conftest.$ac_objext conftest$ac_exeext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14313 (eval $ac_link) 2>conftest.er1
14314 ac_status=$?
14315 grep -v '^ *+' conftest.er1 >conftest.err
14316 rm -f conftest.er1
14317 cat conftest.err >&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); } &&
14320 { ac_try='test -z "$ac_c_werror_flag"
14321 || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14324 ac_status=$?
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try='test -s conftest$ac_exeext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 eval "$as_ac_var=yes"
14334 else
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14338 eval "$as_ac_var=no"
14340 rm -f conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14345 if test `eval echo '${'$as_ac_var'}'` = yes; then
14346 cat >>confdefs.h <<_ACEOF
14347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14348 _ACEOF
14351 done
14358 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14359 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14360 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14361 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14367 ac_ext=cc
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14373 cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h. */
14375 _ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14379 #include <math.h>
14381 main ()
14383 hypotf(0, 0);
14385 return 0;
14387 _ACEOF
14388 rm -f conftest.$ac_objext
14389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14390 (eval $ac_compile) 2>conftest.er1
14391 ac_status=$?
14392 grep -v '^ *+' conftest.er1 >conftest.err
14393 rm -f conftest.er1
14394 cat conftest.err >&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); } &&
14397 { ac_try='test -z "$ac_cxx_werror_flag"
14398 || test ! -s conftest.err'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14401 ac_status=$?
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; } &&
14404 { ac_try='test -s conftest.$ac_objext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14410 glibcxx_cv_func_hypotf_use=yes
14411 else
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14415 glibcxx_cv_func_hypotf_use=no
14417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14418 ac_ext=c
14419 ac_cpp='$CPP $CPPFLAGS'
14420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14429 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14431 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14433 for ac_func in hypotf
14435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14436 echo "$as_me:$LINENO: checking for $ac_func" >&5
14437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14438 if eval "test \"\${$as_ac_var+set}\" = set"; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 else
14441 if test x$gcc_no_link = xyes; then
14442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14444 { (exit 1); exit 1; }; }
14446 cat >conftest.$ac_ext <<_ACEOF
14447 /* confdefs.h. */
14448 _ACEOF
14449 cat confdefs.h >>conftest.$ac_ext
14450 cat >>conftest.$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14454 #define $ac_func innocuous_$ac_func
14456 /* System header to define __stub macros and hopefully few prototypes,
14457 which can conflict with char $ac_func (); below.
14458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14459 <limits.h> exists even on freestanding compilers. */
14461 #ifdef __STDC__
14462 # include <limits.h>
14463 #else
14464 # include <assert.h>
14465 #endif
14467 #undef $ac_func
14469 /* Override any gcc2 internal prototype to avoid an error. */
14470 #ifdef __cplusplus
14471 extern "C"
14473 #endif
14474 /* We use char because int might match the return type of a gcc2
14475 builtin and then its argument prototype would still apply. */
14476 char $ac_func ();
14477 /* The GNU C library defines this for functions which it implements
14478 to always fail with ENOSYS. Some functions are actually named
14479 something starting with __ and the normal name is an alias. */
14480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14481 choke me
14482 #else
14483 char (*f) () = $ac_func;
14484 #endif
14485 #ifdef __cplusplus
14487 #endif
14490 main ()
14492 return f != $ac_func;
14494 return 0;
14496 _ACEOF
14497 rm -f conftest.$ac_objext conftest$ac_exeext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14499 (eval $ac_link) 2>conftest.er1
14500 ac_status=$?
14501 grep -v '^ *+' conftest.er1 >conftest.err
14502 rm -f conftest.er1
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -z "$ac_c_werror_flag"
14507 || test ! -s conftest.err'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14510 ac_status=$?
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try='test -s conftest$ac_exeext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 eval "$as_ac_var=yes"
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14524 eval "$as_ac_var=no"
14526 rm -f conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14531 if test `eval echo '${'$as_ac_var'}'` = yes; then
14532 cat >>confdefs.h <<_ACEOF
14533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14534 _ACEOF
14537 done
14539 else
14541 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14542 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14543 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14544 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 else
14550 ac_ext=cc
14551 ac_cpp='$CXXCPP $CPPFLAGS'
14552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14562 #include <math.h>
14564 main ()
14566 _hypotf(0, 0);
14568 return 0;
14570 _ACEOF
14571 rm -f conftest.$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14574 ac_status=$?
14575 grep -v '^ *+' conftest.er1 >conftest.err
14576 rm -f conftest.er1
14577 cat conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try='test -z "$ac_cxx_werror_flag"
14581 || test ! -s conftest.err'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14584 ac_status=$?
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; } &&
14587 { ac_try='test -s conftest.$ac_objext'
14588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589 (eval $ac_try) 2>&5
14590 ac_status=$?
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }; }; then
14593 glibcxx_cv_func__hypotf_use=yes
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14598 glibcxx_cv_func__hypotf_use=no
14600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14601 ac_ext=c
14602 ac_cpp='$CPP $CPPFLAGS'
14603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14612 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14614 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14616 for ac_func in _hypotf
14618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14619 echo "$as_me:$LINENO: checking for $ac_func" >&5
14620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14621 if eval "test \"\${$as_ac_var+set}\" = set"; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624 if test x$gcc_no_link = xyes; then
14625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14627 { (exit 1); exit 1; }; }
14629 cat >conftest.$ac_ext <<_ACEOF
14630 /* confdefs.h. */
14631 _ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14637 #define $ac_func innocuous_$ac_func
14639 /* System header to define __stub macros and hopefully few prototypes,
14640 which can conflict with char $ac_func (); below.
14641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14642 <limits.h> exists even on freestanding compilers. */
14644 #ifdef __STDC__
14645 # include <limits.h>
14646 #else
14647 # include <assert.h>
14648 #endif
14650 #undef $ac_func
14652 /* Override any gcc2 internal prototype to avoid an error. */
14653 #ifdef __cplusplus
14654 extern "C"
14656 #endif
14657 /* We use char because int might match the return type of a gcc2
14658 builtin and then its argument prototype would still apply. */
14659 char $ac_func ();
14660 /* The GNU C library defines this for functions which it implements
14661 to always fail with ENOSYS. Some functions are actually named
14662 something starting with __ and the normal name is an alias. */
14663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14664 choke me
14665 #else
14666 char (*f) () = $ac_func;
14667 #endif
14668 #ifdef __cplusplus
14670 #endif
14673 main ()
14675 return f != $ac_func;
14677 return 0;
14679 _ACEOF
14680 rm -f conftest.$ac_objext conftest$ac_exeext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14682 (eval $ac_link) 2>conftest.er1
14683 ac_status=$?
14684 grep -v '^ *+' conftest.er1 >conftest.err
14685 rm -f conftest.er1
14686 cat conftest.err >&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } &&
14689 { ac_try='test -z "$ac_c_werror_flag"
14690 || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try='test -s conftest$ac_exeext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 eval "$as_ac_var=yes"
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14707 eval "$as_ac_var=no"
14709 rm -f conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14714 if test `eval echo '${'$as_ac_var'}'` = yes; then
14715 cat >>confdefs.h <<_ACEOF
14716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14717 _ACEOF
14720 done
14727 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14728 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14729 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14730 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14736 ac_ext=cc
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <math.h>
14750 main ()
14752 ldexpf(0, 0);
14754 return 0;
14756 _ACEOF
14757 rm -f conftest.$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14760 ac_status=$?
14761 grep -v '^ *+' conftest.er1 >conftest.err
14762 rm -f conftest.er1
14763 cat conftest.err >&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try='test -z "$ac_cxx_werror_flag"
14767 || test ! -s conftest.err'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; } &&
14773 { ac_try='test -s conftest.$ac_objext'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14776 ac_status=$?
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; }; then
14779 glibcxx_cv_func_ldexpf_use=yes
14780 else
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.$ac_ext >&5
14784 glibcxx_cv_func_ldexpf_use=no
14786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14787 ac_ext=c
14788 ac_cpp='$CPP $CPPFLAGS'
14789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14798 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14800 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14802 for ac_func in ldexpf
14804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 echo "$as_me:$LINENO: checking for $ac_func" >&5
14806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14807 if eval "test \"\${$as_ac_var+set}\" = set"; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810 if test x$gcc_no_link = xyes; then
14811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14813 { (exit 1); exit 1; }; }
14815 cat >conftest.$ac_ext <<_ACEOF
14816 /* confdefs.h. */
14817 _ACEOF
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14823 #define $ac_func innocuous_$ac_func
14825 /* System header to define __stub macros and hopefully few prototypes,
14826 which can conflict with char $ac_func (); below.
14827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14828 <limits.h> exists even on freestanding compilers. */
14830 #ifdef __STDC__
14831 # include <limits.h>
14832 #else
14833 # include <assert.h>
14834 #endif
14836 #undef $ac_func
14838 /* Override any gcc2 internal prototype to avoid an error. */
14839 #ifdef __cplusplus
14840 extern "C"
14842 #endif
14843 /* We use char because int might match the return type of a gcc2
14844 builtin and then its argument prototype would still apply. */
14845 char $ac_func ();
14846 /* The GNU C library defines this for functions which it implements
14847 to always fail with ENOSYS. Some functions are actually named
14848 something starting with __ and the normal name is an alias. */
14849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14850 choke me
14851 #else
14852 char (*f) () = $ac_func;
14853 #endif
14854 #ifdef __cplusplus
14856 #endif
14859 main ()
14861 return f != $ac_func;
14863 return 0;
14865 _ACEOF
14866 rm -f conftest.$ac_objext conftest$ac_exeext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14868 (eval $ac_link) 2>conftest.er1
14869 ac_status=$?
14870 grep -v '^ *+' conftest.er1 >conftest.err
14871 rm -f conftest.er1
14872 cat conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try='test -z "$ac_c_werror_flag"
14876 || test ! -s conftest.err'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14879 ac_status=$?
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; } &&
14882 { ac_try='test -s conftest$ac_exeext'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14885 ac_status=$?
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; }; then
14888 eval "$as_ac_var=yes"
14889 else
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14893 eval "$as_ac_var=no"
14895 rm -f conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14900 if test `eval echo '${'$as_ac_var'}'` = yes; then
14901 cat >>confdefs.h <<_ACEOF
14902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14903 _ACEOF
14906 done
14908 else
14910 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14911 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14912 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14913 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14914 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 else
14919 ac_ext=cc
14920 ac_cpp='$CXXCPP $CPPFLAGS'
14921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14925 cat >conftest.$ac_ext <<_ACEOF
14926 /* confdefs.h. */
14927 _ACEOF
14928 cat confdefs.h >>conftest.$ac_ext
14929 cat >>conftest.$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14931 #include <math.h>
14933 main ()
14935 _ldexpf(0, 0);
14937 return 0;
14939 _ACEOF
14940 rm -f conftest.$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>conftest.er1
14943 ac_status=$?
14944 grep -v '^ *+' conftest.er1 >conftest.err
14945 rm -f conftest.er1
14946 cat conftest.err >&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try='test -z "$ac_cxx_werror_flag"
14950 || test ! -s conftest.err'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14953 ac_status=$?
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; } &&
14956 { ac_try='test -s conftest.$ac_objext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14959 ac_status=$?
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 glibcxx_cv_func__ldexpf_use=yes
14963 else
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14967 glibcxx_cv_func__ldexpf_use=no
14969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14970 ac_ext=c
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14981 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14983 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14985 for ac_func in _ldexpf
14987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14988 echo "$as_me:$LINENO: checking for $ac_func" >&5
14989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14990 if eval "test \"\${$as_ac_var+set}\" = set"; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 else
14993 if test x$gcc_no_link = xyes; then
14994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14996 { (exit 1); exit 1; }; }
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15006 #define $ac_func innocuous_$ac_func
15008 /* System header to define __stub macros and hopefully few prototypes,
15009 which can conflict with char $ac_func (); below.
15010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15011 <limits.h> exists even on freestanding compilers. */
15013 #ifdef __STDC__
15014 # include <limits.h>
15015 #else
15016 # include <assert.h>
15017 #endif
15019 #undef $ac_func
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 #ifdef __cplusplus
15023 extern "C"
15025 #endif
15026 /* We use char because int might match the return type of a gcc2
15027 builtin and then its argument prototype would still apply. */
15028 char $ac_func ();
15029 /* The GNU C library defines this for functions which it implements
15030 to always fail with ENOSYS. Some functions are actually named
15031 something starting with __ and the normal name is an alias. */
15032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15033 choke me
15034 #else
15035 char (*f) () = $ac_func;
15036 #endif
15037 #ifdef __cplusplus
15039 #endif
15042 main ()
15044 return f != $ac_func;
15046 return 0;
15048 _ACEOF
15049 rm -f conftest.$ac_objext conftest$ac_exeext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15051 (eval $ac_link) 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try='test -z "$ac_c_werror_flag"
15059 || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try='test -s conftest$ac_exeext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15068 ac_status=$?
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15071 eval "$as_ac_var=yes"
15072 else
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15076 eval "$as_ac_var=no"
15078 rm -f conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15083 if test `eval echo '${'$as_ac_var'}'` = yes; then
15084 cat >>confdefs.h <<_ACEOF
15085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15086 _ACEOF
15089 done
15096 echo "$as_me:$LINENO: checking for logf declaration" >&5
15097 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15098 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15099 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 else
15105 ac_ext=cc
15106 ac_cpp='$CXXCPP $CPPFLAGS'
15107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 #include <math.h>
15118 #ifdef HAVE_IEEEFP_H
15119 #include <ieeefp.h>
15120 #endif
15123 main ()
15125 logf(0);
15127 return 0;
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>conftest.er1
15133 ac_status=$?
15134 grep -v '^ *+' conftest.er1 >conftest.err
15135 rm -f conftest.er1
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try='test -z "$ac_cxx_werror_flag"
15140 || test ! -s conftest.err'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try='test -s conftest.$ac_objext'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; }; then
15152 glibcxx_cv_func_logf_use=yes
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15157 glibcxx_cv_func_logf_use=no
15159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15160 ac_ext=c
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15171 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15173 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15175 for ac_func in logf
15177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15178 echo "$as_me:$LINENO: checking for $ac_func" >&5
15179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15180 if eval "test \"\${$as_ac_var+set}\" = set"; then
15181 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 else
15183 if test x$gcc_no_link = xyes; then
15184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15186 { (exit 1); exit 1; }; }
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15196 #define $ac_func innocuous_$ac_func
15198 /* System header to define __stub macros and hopefully few prototypes,
15199 which can conflict with char $ac_func (); below.
15200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15201 <limits.h> exists even on freestanding compilers. */
15203 #ifdef __STDC__
15204 # include <limits.h>
15205 #else
15206 # include <assert.h>
15207 #endif
15209 #undef $ac_func
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 #ifdef __cplusplus
15213 extern "C"
15215 #endif
15216 /* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15218 char $ac_func ();
15219 /* The GNU C library defines this for functions which it implements
15220 to always fail with ENOSYS. Some functions are actually named
15221 something starting with __ and the normal name is an alias. */
15222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15223 choke me
15224 #else
15225 char (*f) () = $ac_func;
15226 #endif
15227 #ifdef __cplusplus
15229 #endif
15232 main ()
15234 return f != $ac_func;
15236 return 0;
15238 _ACEOF
15239 rm -f conftest.$ac_objext conftest$ac_exeext
15240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15241 (eval $ac_link) 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try='test -z "$ac_c_werror_flag"
15249 || test ! -s conftest.err'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15252 ac_status=$?
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try='test -s conftest$ac_exeext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15258 ac_status=$?
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15261 eval "$as_ac_var=yes"
15262 else
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.$ac_ext >&5
15266 eval "$as_ac_var=no"
15268 rm -f conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15273 if test `eval echo '${'$as_ac_var'}'` = yes; then
15274 cat >>confdefs.h <<_ACEOF
15275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15276 _ACEOF
15279 done
15281 else
15283 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15284 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15285 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15286 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15292 ac_ext=cc
15293 ac_cpp='$CXXCPP $CPPFLAGS'
15294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15298 cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 #include <math.h>
15305 #ifdef HAVE_IEEEFP_H
15306 #include <ieeefp.h>
15307 #endif
15310 main ()
15312 _logf(0);
15314 return 0;
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try='test -z "$ac_cxx_werror_flag"
15327 || test ! -s conftest.err'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; } &&
15333 { ac_try='test -s conftest.$ac_objext'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; }; then
15339 glibcxx_cv_func__logf_use=yes
15340 else
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15344 glibcxx_cv_func__logf_use=no
15346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15347 ac_ext=c
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15358 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15360 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15362 for ac_func in _logf
15364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 echo "$as_me:$LINENO: checking for $ac_func" >&5
15366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15367 if eval "test \"\${$as_ac_var+set}\" = set"; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 else
15370 if test x$gcc_no_link = xyes; then
15371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15373 { (exit 1); exit 1; }; }
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15383 #define $ac_func innocuous_$ac_func
15385 /* System header to define __stub macros and hopefully few prototypes,
15386 which can conflict with char $ac_func (); below.
15387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15388 <limits.h> exists even on freestanding compilers. */
15390 #ifdef __STDC__
15391 # include <limits.h>
15392 #else
15393 # include <assert.h>
15394 #endif
15396 #undef $ac_func
15398 /* Override any gcc2 internal prototype to avoid an error. */
15399 #ifdef __cplusplus
15400 extern "C"
15402 #endif
15403 /* We use char because int might match the return type of a gcc2
15404 builtin and then its argument prototype would still apply. */
15405 char $ac_func ();
15406 /* The GNU C library defines this for functions which it implements
15407 to always fail with ENOSYS. Some functions are actually named
15408 something starting with __ and the normal name is an alias. */
15409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15410 choke me
15411 #else
15412 char (*f) () = $ac_func;
15413 #endif
15414 #ifdef __cplusplus
15416 #endif
15419 main ()
15421 return f != $ac_func;
15423 return 0;
15425 _ACEOF
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15428 (eval $ac_link) 2>conftest.er1
15429 ac_status=$?
15430 grep -v '^ *+' conftest.er1 >conftest.err
15431 rm -f conftest.er1
15432 cat conftest.err >&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); } &&
15435 { ac_try='test -z "$ac_c_werror_flag"
15436 || test ! -s conftest.err'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; } &&
15442 { ac_try='test -s conftest$ac_exeext'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15445 ac_status=$?
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 eval "$as_ac_var=yes"
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 eval "$as_ac_var=no"
15455 rm -f conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15460 if test `eval echo '${'$as_ac_var'}'` = yes; then
15461 cat >>confdefs.h <<_ACEOF
15462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15463 _ACEOF
15466 done
15473 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15474 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15475 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15476 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 else
15482 ac_ext=cc
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15488 cat >conftest.$ac_ext <<_ACEOF
15489 /* confdefs.h. */
15490 _ACEOF
15491 cat confdefs.h >>conftest.$ac_ext
15492 cat >>conftest.$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 #include <math.h>
15495 #ifdef HAVE_IEEEFP_H
15496 #include <ieeefp.h>
15497 #endif
15500 main ()
15502 log10f(0);
15504 return 0;
15506 _ACEOF
15507 rm -f conftest.$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509 (eval $ac_compile) 2>conftest.er1
15510 ac_status=$?
15511 grep -v '^ *+' conftest.er1 >conftest.err
15512 rm -f conftest.er1
15513 cat conftest.err >&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } &&
15516 { ac_try='test -z "$ac_cxx_werror_flag"
15517 || test ! -s conftest.err'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; } &&
15523 { ac_try='test -s conftest.$ac_objext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15526 ac_status=$?
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 glibcxx_cv_func_log10f_use=yes
15530 else
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15534 glibcxx_cv_func_log10f_use=no
15536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15537 ac_ext=c
15538 ac_cpp='$CPP $CPPFLAGS'
15539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15548 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15550 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15552 for ac_func in log10f
15554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15555 echo "$as_me:$LINENO: checking for $ac_func" >&5
15556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15557 if eval "test \"\${$as_ac_var+set}\" = set"; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560 if test x$gcc_no_link = xyes; then
15561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15563 { (exit 1); exit 1; }; }
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15573 #define $ac_func innocuous_$ac_func
15575 /* System header to define __stub macros and hopefully few prototypes,
15576 which can conflict with char $ac_func (); below.
15577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15578 <limits.h> exists even on freestanding compilers. */
15580 #ifdef __STDC__
15581 # include <limits.h>
15582 #else
15583 # include <assert.h>
15584 #endif
15586 #undef $ac_func
15588 /* Override any gcc2 internal prototype to avoid an error. */
15589 #ifdef __cplusplus
15590 extern "C"
15592 #endif
15593 /* We use char because int might match the return type of a gcc2
15594 builtin and then its argument prototype would still apply. */
15595 char $ac_func ();
15596 /* The GNU C library defines this for functions which it implements
15597 to always fail with ENOSYS. Some functions are actually named
15598 something starting with __ and the normal name is an alias. */
15599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15600 choke me
15601 #else
15602 char (*f) () = $ac_func;
15603 #endif
15604 #ifdef __cplusplus
15606 #endif
15609 main ()
15611 return f != $ac_func;
15613 return 0;
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15618 (eval $ac_link) 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try='test -s conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 eval "$as_ac_var=yes"
15639 else
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15643 eval "$as_ac_var=no"
15645 rm -f conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15650 if test `eval echo '${'$as_ac_var'}'` = yes; then
15651 cat >>confdefs.h <<_ACEOF
15652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15653 _ACEOF
15656 done
15658 else
15660 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15661 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15662 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15663 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15669 ac_ext=cc
15670 ac_cpp='$CXXCPP $CPPFLAGS'
15671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15675 cat >conftest.$ac_ext <<_ACEOF
15676 /* confdefs.h. */
15677 _ACEOF
15678 cat confdefs.h >>conftest.$ac_ext
15679 cat >>conftest.$ac_ext <<_ACEOF
15680 /* end confdefs.h. */
15681 #include <math.h>
15682 #ifdef HAVE_IEEEFP_H
15683 #include <ieeefp.h>
15684 #endif
15687 main ()
15689 _log10f(0);
15691 return 0;
15693 _ACEOF
15694 rm -f conftest.$ac_objext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15696 (eval $ac_compile) 2>conftest.er1
15697 ac_status=$?
15698 grep -v '^ *+' conftest.er1 >conftest.err
15699 rm -f conftest.er1
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_cxx_werror_flag"
15704 || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest.$ac_objext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 glibcxx_cv_func__log10f_use=yes
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15721 glibcxx_cv_func__log10f_use=no
15723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724 ac_ext=c
15725 ac_cpp='$CPP $CPPFLAGS'
15726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15735 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15737 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15739 for ac_func in _log10f
15741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15742 echo "$as_me:$LINENO: checking for $ac_func" >&5
15743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15744 if eval "test \"\${$as_ac_var+set}\" = set"; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747 if test x$gcc_no_link = xyes; then
15748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15750 { (exit 1); exit 1; }; }
15752 cat >conftest.$ac_ext <<_ACEOF
15753 /* confdefs.h. */
15754 _ACEOF
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15760 #define $ac_func innocuous_$ac_func
15762 /* System header to define __stub macros and hopefully few prototypes,
15763 which can conflict with char $ac_func (); below.
15764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15765 <limits.h> exists even on freestanding compilers. */
15767 #ifdef __STDC__
15768 # include <limits.h>
15769 #else
15770 # include <assert.h>
15771 #endif
15773 #undef $ac_func
15775 /* Override any gcc2 internal prototype to avoid an error. */
15776 #ifdef __cplusplus
15777 extern "C"
15779 #endif
15780 /* We use char because int might match the return type of a gcc2
15781 builtin and then its argument prototype would still apply. */
15782 char $ac_func ();
15783 /* The GNU C library defines this for functions which it implements
15784 to always fail with ENOSYS. Some functions are actually named
15785 something starting with __ and the normal name is an alias. */
15786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15787 choke me
15788 #else
15789 char (*f) () = $ac_func;
15790 #endif
15791 #ifdef __cplusplus
15793 #endif
15796 main ()
15798 return f != $ac_func;
15800 return 0;
15802 _ACEOF
15803 rm -f conftest.$ac_objext conftest$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805 (eval $ac_link) 2>conftest.er1
15806 ac_status=$?
15807 grep -v '^ *+' conftest.er1 >conftest.err
15808 rm -f conftest.er1
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try='test -z "$ac_c_werror_flag"
15813 || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try='test -s conftest$ac_exeext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 eval "$as_ac_var=yes"
15826 else
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15830 eval "$as_ac_var=no"
15832 rm -f conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15837 if test `eval echo '${'$as_ac_var'}'` = yes; then
15838 cat >>confdefs.h <<_ACEOF
15839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15840 _ACEOF
15843 done
15850 echo "$as_me:$LINENO: checking for modff declaration" >&5
15851 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15852 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15853 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15859 ac_ext=cc
15860 ac_cpp='$CXXCPP $CPPFLAGS'
15861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 #include <math.h>
15873 main ()
15875 modff(0, 0);
15877 return 0;
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -z "$ac_cxx_werror_flag"
15890 || test ! -s conftest.err'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15893 ac_status=$?
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; } &&
15896 { ac_try='test -s conftest.$ac_objext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 glibcxx_cv_func_modff_use=yes
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 glibcxx_cv_func_modff_use=no
15909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910 ac_ext=c
15911 ac_cpp='$CPP $CPPFLAGS'
15912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15921 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15923 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15925 for ac_func in modff
15927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15928 echo "$as_me:$LINENO: checking for $ac_func" >&5
15929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15930 if eval "test \"\${$as_ac_var+set}\" = set"; then
15931 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 else
15933 if test x$gcc_no_link = xyes; then
15934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15936 { (exit 1); exit 1; }; }
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15946 #define $ac_func innocuous_$ac_func
15948 /* System header to define __stub macros and hopefully few prototypes,
15949 which can conflict with char $ac_func (); below.
15950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15951 <limits.h> exists even on freestanding compilers. */
15953 #ifdef __STDC__
15954 # include <limits.h>
15955 #else
15956 # include <assert.h>
15957 #endif
15959 #undef $ac_func
15961 /* Override any gcc2 internal prototype to avoid an error. */
15962 #ifdef __cplusplus
15963 extern "C"
15965 #endif
15966 /* We use char because int might match the return type of a gcc2
15967 builtin and then its argument prototype would still apply. */
15968 char $ac_func ();
15969 /* The GNU C library defines this for functions which it implements
15970 to always fail with ENOSYS. Some functions are actually named
15971 something starting with __ and the normal name is an alias. */
15972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15973 choke me
15974 #else
15975 char (*f) () = $ac_func;
15976 #endif
15977 #ifdef __cplusplus
15979 #endif
15982 main ()
15984 return f != $ac_func;
15986 return 0;
15988 _ACEOF
15989 rm -f conftest.$ac_objext conftest$ac_exeext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15991 (eval $ac_link) 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try='test -z "$ac_c_werror_flag"
15999 || test ! -s conftest.err'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16002 ac_status=$?
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; } &&
16005 { ac_try='test -s conftest$ac_exeext'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16011 eval "$as_ac_var=yes"
16012 else
16013 echo "$as_me: failed program was:" >&5
16014 sed 's/^/| /' conftest.$ac_ext >&5
16016 eval "$as_ac_var=no"
16018 rm -f conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16023 if test `eval echo '${'$as_ac_var'}'` = yes; then
16024 cat >>confdefs.h <<_ACEOF
16025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16026 _ACEOF
16029 done
16031 else
16033 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16034 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16035 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16036 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16042 ac_ext=cc
16043 ac_cpp='$CXXCPP $CPPFLAGS'
16044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 #include <math.h>
16056 main ()
16058 _modff(0, 0);
16060 return 0;
16062 _ACEOF
16063 rm -f conftest.$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_cxx_werror_flag"
16073 || test ! -s conftest.err'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; } &&
16079 { ac_try='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 glibcxx_cv_func__modff_use=yes
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16090 glibcxx_cv_func__modff_use=no
16092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16104 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16106 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16108 for ac_func in _modff
16110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16111 echo "$as_me:$LINENO: checking for $ac_func" >&5
16112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16113 if eval "test \"\${$as_ac_var+set}\" = set"; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 else
16116 if test x$gcc_no_link = xyes; then
16117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16119 { (exit 1); exit 1; }; }
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16129 #define $ac_func innocuous_$ac_func
16131 /* System header to define __stub macros and hopefully few prototypes,
16132 which can conflict with char $ac_func (); below.
16133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16134 <limits.h> exists even on freestanding compilers. */
16136 #ifdef __STDC__
16137 # include <limits.h>
16138 #else
16139 # include <assert.h>
16140 #endif
16142 #undef $ac_func
16144 /* Override any gcc2 internal prototype to avoid an error. */
16145 #ifdef __cplusplus
16146 extern "C"
16148 #endif
16149 /* We use char because int might match the return type of a gcc2
16150 builtin and then its argument prototype would still apply. */
16151 char $ac_func ();
16152 /* The GNU C library defines this for functions which it implements
16153 to always fail with ENOSYS. Some functions are actually named
16154 something starting with __ and the normal name is an alias. */
16155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16156 choke me
16157 #else
16158 char (*f) () = $ac_func;
16159 #endif
16160 #ifdef __cplusplus
16162 #endif
16165 main ()
16167 return f != $ac_func;
16169 return 0;
16171 _ACEOF
16172 rm -f conftest.$ac_objext conftest$ac_exeext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174 (eval $ac_link) 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try='test -s conftest$ac_exeext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16191 ac_status=$?
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 eval "$as_ac_var=yes"
16195 else
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.$ac_ext >&5
16199 eval "$as_ac_var=no"
16201 rm -f conftest.err conftest.$ac_objext \
16202 conftest$ac_exeext conftest.$ac_ext
16204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16206 if test `eval echo '${'$as_ac_var'}'` = yes; then
16207 cat >>confdefs.h <<_ACEOF
16208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16209 _ACEOF
16212 done
16219 echo "$as_me:$LINENO: checking for powf declaration" >&5
16220 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16221 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16222 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16228 ac_ext=cc
16229 ac_cpp='$CXXCPP $CPPFLAGS'
16230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16234 cat >conftest.$ac_ext <<_ACEOF
16235 /* confdefs.h. */
16236 _ACEOF
16237 cat confdefs.h >>conftest.$ac_ext
16238 cat >>conftest.$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240 #include <math.h>
16242 main ()
16244 powf(0, 0);
16246 return 0;
16248 _ACEOF
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } &&
16258 { ac_try='test -z "$ac_cxx_werror_flag"
16259 || test ! -s conftest.err'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; } &&
16265 { ac_try='test -s conftest.$ac_objext'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; }; then
16271 glibcxx_cv_func_powf_use=yes
16272 else
16273 echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.$ac_ext >&5
16276 glibcxx_cv_func_powf_use=no
16278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16279 ac_ext=c
16280 ac_cpp='$CPP $CPPFLAGS'
16281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16290 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16292 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16294 for ac_func in powf
16296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16297 echo "$as_me:$LINENO: checking for $ac_func" >&5
16298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16299 if eval "test \"\${$as_ac_var+set}\" = set"; then
16300 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 else
16302 if test x$gcc_no_link = xyes; then
16303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16305 { (exit 1); exit 1; }; }
16307 cat >conftest.$ac_ext <<_ACEOF
16308 /* confdefs.h. */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16315 #define $ac_func innocuous_$ac_func
16317 /* System header to define __stub macros and hopefully few prototypes,
16318 which can conflict with char $ac_func (); below.
16319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16320 <limits.h> exists even on freestanding compilers. */
16322 #ifdef __STDC__
16323 # include <limits.h>
16324 #else
16325 # include <assert.h>
16326 #endif
16328 #undef $ac_func
16330 /* Override any gcc2 internal prototype to avoid an error. */
16331 #ifdef __cplusplus
16332 extern "C"
16334 #endif
16335 /* We use char because int might match the return type of a gcc2
16336 builtin and then its argument prototype would still apply. */
16337 char $ac_func ();
16338 /* The GNU C library defines this for functions which it implements
16339 to always fail with ENOSYS. Some functions are actually named
16340 something starting with __ and the normal name is an alias. */
16341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16342 choke me
16343 #else
16344 char (*f) () = $ac_func;
16345 #endif
16346 #ifdef __cplusplus
16348 #endif
16351 main ()
16353 return f != $ac_func;
16355 return 0;
16357 _ACEOF
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16360 (eval $ac_link) 2>conftest.er1
16361 ac_status=$?
16362 grep -v '^ *+' conftest.er1 >conftest.err
16363 rm -f conftest.er1
16364 cat conftest.err >&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } &&
16367 { ac_try='test -z "$ac_c_werror_flag"
16368 || test ! -s conftest.err'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16371 ac_status=$?
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; } &&
16374 { ac_try='test -s conftest$ac_exeext'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; }; then
16380 eval "$as_ac_var=yes"
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16385 eval "$as_ac_var=no"
16387 rm -f conftest.err conftest.$ac_objext \
16388 conftest$ac_exeext conftest.$ac_ext
16390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16392 if test `eval echo '${'$as_ac_var'}'` = yes; then
16393 cat >>confdefs.h <<_ACEOF
16394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16395 _ACEOF
16398 done
16400 else
16402 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16403 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16404 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16405 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16411 ac_ext=cc
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16417 cat >conftest.$ac_ext <<_ACEOF
16418 /* confdefs.h. */
16419 _ACEOF
16420 cat confdefs.h >>conftest.$ac_ext
16421 cat >>conftest.$ac_ext <<_ACEOF
16422 /* end confdefs.h. */
16423 #include <math.h>
16425 main ()
16427 _powf(0, 0);
16429 return 0;
16431 _ACEOF
16432 rm -f conftest.$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try='test -z "$ac_cxx_werror_flag"
16442 || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try='test -s conftest.$ac_objext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 glibcxx_cv_func__powf_use=yes
16455 else
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16459 glibcxx_cv_func__powf_use=no
16461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16462 ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16473 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16475 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16477 for ac_func in _powf
16479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16480 echo "$as_me:$LINENO: checking for $ac_func" >&5
16481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16482 if eval "test \"\${$as_ac_var+set}\" = set"; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 else
16485 if test x$gcc_no_link = xyes; then
16486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16488 { (exit 1); exit 1; }; }
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16498 #define $ac_func innocuous_$ac_func
16500 /* System header to define __stub macros and hopefully few prototypes,
16501 which can conflict with char $ac_func (); below.
16502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16503 <limits.h> exists even on freestanding compilers. */
16505 #ifdef __STDC__
16506 # include <limits.h>
16507 #else
16508 # include <assert.h>
16509 #endif
16511 #undef $ac_func
16513 /* Override any gcc2 internal prototype to avoid an error. */
16514 #ifdef __cplusplus
16515 extern "C"
16517 #endif
16518 /* We use char because int might match the return type of a gcc2
16519 builtin and then its argument prototype would still apply. */
16520 char $ac_func ();
16521 /* The GNU C library defines this for functions which it implements
16522 to always fail with ENOSYS. Some functions are actually named
16523 something starting with __ and the normal name is an alias. */
16524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 choke me
16526 #else
16527 char (*f) () = $ac_func;
16528 #endif
16529 #ifdef __cplusplus
16531 #endif
16534 main ()
16536 return f != $ac_func;
16538 return 0;
16540 _ACEOF
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16543 (eval $ac_link) 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -z "$ac_c_werror_flag"
16551 || test ! -s conftest.err'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; } &&
16557 { ac_try='test -s conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 eval "$as_ac_var=yes"
16564 else
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16568 eval "$as_ac_var=no"
16570 rm -f conftest.err conftest.$ac_objext \
16571 conftest$ac_exeext conftest.$ac_ext
16573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16575 if test `eval echo '${'$as_ac_var'}'` = yes; then
16576 cat >>confdefs.h <<_ACEOF
16577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16578 _ACEOF
16581 done
16588 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16589 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16590 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16591 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16592 echo $ECHO_N "(cached) $ECHO_C" >&6
16593 else
16597 ac_ext=cc
16598 ac_cpp='$CXXCPP $CPPFLAGS'
16599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <math.h>
16610 #ifdef HAVE_IEEEFP_H
16611 #include <ieeefp.h>
16612 #endif
16615 main ()
16617 sqrtf(0);
16619 return 0;
16621 _ACEOF
16622 rm -f conftest.$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16625 ac_status=$?
16626 grep -v '^ *+' conftest.er1 >conftest.err
16627 rm -f conftest.er1
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try='test -z "$ac_cxx_werror_flag"
16632 || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 glibcxx_cv_func_sqrtf_use=yes
16645 else
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16649 glibcxx_cv_func_sqrtf_use=no
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652 ac_ext=c
16653 ac_cpp='$CPP $CPPFLAGS'
16654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16663 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16665 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16667 for ac_func in sqrtf
16669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16670 echo "$as_me:$LINENO: checking for $ac_func" >&5
16671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16672 if eval "test \"\${$as_ac_var+set}\" = set"; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 if test x$gcc_no_link = xyes; then
16676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16678 { (exit 1); exit 1; }; }
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h. */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16688 #define $ac_func innocuous_$ac_func
16690 /* System header to define __stub macros and hopefully few prototypes,
16691 which can conflict with char $ac_func (); below.
16692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16693 <limits.h> exists even on freestanding compilers. */
16695 #ifdef __STDC__
16696 # include <limits.h>
16697 #else
16698 # include <assert.h>
16699 #endif
16701 #undef $ac_func
16703 /* Override any gcc2 internal prototype to avoid an error. */
16704 #ifdef __cplusplus
16705 extern "C"
16707 #endif
16708 /* We use char because int might match the return type of a gcc2
16709 builtin and then its argument prototype would still apply. */
16710 char $ac_func ();
16711 /* The GNU C library defines this for functions which it implements
16712 to always fail with ENOSYS. Some functions are actually named
16713 something starting with __ and the normal name is an alias. */
16714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16715 choke me
16716 #else
16717 char (*f) () = $ac_func;
16718 #endif
16719 #ifdef __cplusplus
16721 #endif
16724 main ()
16726 return f != $ac_func;
16728 return 0;
16730 _ACEOF
16731 rm -f conftest.$ac_objext conftest$ac_exeext
16732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16733 (eval $ac_link) 2>conftest.er1
16734 ac_status=$?
16735 grep -v '^ *+' conftest.er1 >conftest.err
16736 rm -f conftest.er1
16737 cat conftest.err >&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -z "$ac_c_werror_flag"
16741 || test ! -s conftest.err'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16744 ac_status=$?
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; } &&
16747 { ac_try='test -s conftest$ac_exeext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 eval "$as_ac_var=yes"
16754 else
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16758 eval "$as_ac_var=no"
16760 rm -f conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16765 if test `eval echo '${'$as_ac_var'}'` = yes; then
16766 cat >>confdefs.h <<_ACEOF
16767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16768 _ACEOF
16771 done
16773 else
16775 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16776 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16777 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16778 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16784 ac_ext=cc
16785 ac_cpp='$CXXCPP $CPPFLAGS'
16786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h. */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 #include <math.h>
16797 #ifdef HAVE_IEEEFP_H
16798 #include <ieeefp.h>
16799 #endif
16802 main ()
16804 _sqrtf(0);
16806 return 0;
16808 _ACEOF
16809 rm -f conftest.$ac_objext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16811 (eval $ac_compile) 2>conftest.er1
16812 ac_status=$?
16813 grep -v '^ *+' conftest.er1 >conftest.err
16814 rm -f conftest.er1
16815 cat conftest.err >&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } &&
16818 { ac_try='test -z "$ac_cxx_werror_flag"
16819 || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 glibcxx_cv_func__sqrtf_use=yes
16832 else
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 glibcxx_cv_func__sqrtf_use=no
16838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16839 ac_ext=c
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16849 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16850 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16852 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16854 for ac_func in _sqrtf
16856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16857 echo "$as_me:$LINENO: checking for $ac_func" >&5
16858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16859 if eval "test \"\${$as_ac_var+set}\" = set"; then
16860 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 else
16862 if test x$gcc_no_link = xyes; then
16863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16865 { (exit 1); exit 1; }; }
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h. */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16875 #define $ac_func innocuous_$ac_func
16877 /* System header to define __stub macros and hopefully few prototypes,
16878 which can conflict with char $ac_func (); below.
16879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16880 <limits.h> exists even on freestanding compilers. */
16882 #ifdef __STDC__
16883 # include <limits.h>
16884 #else
16885 # include <assert.h>
16886 #endif
16888 #undef $ac_func
16890 /* Override any gcc2 internal prototype to avoid an error. */
16891 #ifdef __cplusplus
16892 extern "C"
16894 #endif
16895 /* We use char because int might match the return type of a gcc2
16896 builtin and then its argument prototype would still apply. */
16897 char $ac_func ();
16898 /* The GNU C library defines this for functions which it implements
16899 to always fail with ENOSYS. Some functions are actually named
16900 something starting with __ and the normal name is an alias. */
16901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16902 choke me
16903 #else
16904 char (*f) () = $ac_func;
16905 #endif
16906 #ifdef __cplusplus
16908 #endif
16911 main ()
16913 return f != $ac_func;
16915 return 0;
16917 _ACEOF
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16920 (eval $ac_link) 2>conftest.er1
16921 ac_status=$?
16922 grep -v '^ *+' conftest.er1 >conftest.err
16923 rm -f conftest.er1
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } &&
16927 { ac_try='test -z "$ac_c_werror_flag"
16928 || test ! -s conftest.err'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; } &&
16934 { ac_try='test -s conftest$ac_exeext'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16937 ac_status=$?
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; }; then
16940 eval "$as_ac_var=yes"
16941 else
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16945 eval "$as_ac_var=no"
16947 rm -f conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16952 if test `eval echo '${'$as_ac_var'}'` = yes; then
16953 cat >>confdefs.h <<_ACEOF
16954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16955 _ACEOF
16958 done
16965 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16966 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16967 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16968 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 else
16974 ac_ext=cc
16975 ac_cpp='$CXXCPP $CPPFLAGS'
16976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 #include <math.h>
16988 main ()
16990 sincosf(0, 0, 0);
16992 return 0;
16994 _ACEOF
16995 rm -f conftest.$ac_objext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16997 (eval $ac_compile) 2>conftest.er1
16998 ac_status=$?
16999 grep -v '^ *+' conftest.er1 >conftest.err
17000 rm -f conftest.er1
17001 cat conftest.err >&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } &&
17004 { ac_try='test -z "$ac_cxx_werror_flag"
17005 || test ! -s conftest.err'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; } &&
17011 { ac_try='test -s conftest.$ac_objext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17014 ac_status=$?
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 glibcxx_cv_func_sincosf_use=yes
17018 else
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17022 glibcxx_cv_func_sincosf_use=no
17024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17025 ac_ext=c
17026 ac_cpp='$CPP $CPPFLAGS'
17027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17036 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17038 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17040 for ac_func in sincosf
17042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17043 echo "$as_me:$LINENO: checking for $ac_func" >&5
17044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17045 if eval "test \"\${$as_ac_var+set}\" = set"; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048 if test x$gcc_no_link = xyes; then
17049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17051 { (exit 1); exit 1; }; }
17053 cat >conftest.$ac_ext <<_ACEOF
17054 /* confdefs.h. */
17055 _ACEOF
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17061 #define $ac_func innocuous_$ac_func
17063 /* System header to define __stub macros and hopefully few prototypes,
17064 which can conflict with char $ac_func (); below.
17065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066 <limits.h> exists even on freestanding compilers. */
17068 #ifdef __STDC__
17069 # include <limits.h>
17070 #else
17071 # include <assert.h>
17072 #endif
17074 #undef $ac_func
17076 /* Override any gcc2 internal prototype to avoid an error. */
17077 #ifdef __cplusplus
17078 extern "C"
17080 #endif
17081 /* We use char because int might match the return type of a gcc2
17082 builtin and then its argument prototype would still apply. */
17083 char $ac_func ();
17084 /* The GNU C library defines this for functions which it implements
17085 to always fail with ENOSYS. Some functions are actually named
17086 something starting with __ and the normal name is an alias. */
17087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17088 choke me
17089 #else
17090 char (*f) () = $ac_func;
17091 #endif
17092 #ifdef __cplusplus
17094 #endif
17097 main ()
17099 return f != $ac_func;
17101 return 0;
17103 _ACEOF
17104 rm -f conftest.$ac_objext conftest$ac_exeext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17106 (eval $ac_link) 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try='test -z "$ac_c_werror_flag"
17114 || test ! -s conftest.err'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17117 ac_status=$?
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; } &&
17120 { ac_try='test -s conftest$ac_exeext'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17126 eval "$as_ac_var=yes"
17127 else
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17131 eval "$as_ac_var=no"
17133 rm -f conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17138 if test `eval echo '${'$as_ac_var'}'` = yes; then
17139 cat >>confdefs.h <<_ACEOF
17140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17141 _ACEOF
17144 done
17146 else
17148 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17149 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17150 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17151 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17157 ac_ext=cc
17158 ac_cpp='$CXXCPP $CPPFLAGS'
17159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 #include <math.h>
17171 main ()
17173 _sincosf(0, 0, 0);
17175 return 0;
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_cxx_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 glibcxx_cv_func__sincosf_use=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 glibcxx_cv_func__sincosf_use=no
17207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17208 ac_ext=c
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17219 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17221 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17223 for ac_func in _sincosf
17225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17226 echo "$as_me:$LINENO: checking for $ac_func" >&5
17227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17228 if eval "test \"\${$as_ac_var+set}\" = set"; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231 if test x$gcc_no_link = xyes; then
17232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17234 { (exit 1); exit 1; }; }
17236 cat >conftest.$ac_ext <<_ACEOF
17237 /* confdefs.h. */
17238 _ACEOF
17239 cat confdefs.h >>conftest.$ac_ext
17240 cat >>conftest.$ac_ext <<_ACEOF
17241 /* end confdefs.h. */
17242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17244 #define $ac_func innocuous_$ac_func
17246 /* System header to define __stub macros and hopefully few prototypes,
17247 which can conflict with char $ac_func (); below.
17248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17249 <limits.h> exists even on freestanding compilers. */
17251 #ifdef __STDC__
17252 # include <limits.h>
17253 #else
17254 # include <assert.h>
17255 #endif
17257 #undef $ac_func
17259 /* Override any gcc2 internal prototype to avoid an error. */
17260 #ifdef __cplusplus
17261 extern "C"
17263 #endif
17264 /* We use char because int might match the return type of a gcc2
17265 builtin and then its argument prototype would still apply. */
17266 char $ac_func ();
17267 /* The GNU C library defines this for functions which it implements
17268 to always fail with ENOSYS. Some functions are actually named
17269 something starting with __ and the normal name is an alias. */
17270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17271 choke me
17272 #else
17273 char (*f) () = $ac_func;
17274 #endif
17275 #ifdef __cplusplus
17277 #endif
17280 main ()
17282 return f != $ac_func;
17284 return 0;
17286 _ACEOF
17287 rm -f conftest.$ac_objext conftest$ac_exeext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17289 (eval $ac_link) 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17300 ac_status=$?
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest$ac_exeext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 eval "$as_ac_var=yes"
17310 else
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17314 eval "$as_ac_var=no"
17316 rm -f conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17321 if test `eval echo '${'$as_ac_var'}'` = yes; then
17322 cat >>confdefs.h <<_ACEOF
17323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17324 _ACEOF
17327 done
17334 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17335 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17336 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17337 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17343 ac_ext=cc
17344 ac_cpp='$CXXCPP $CPPFLAGS'
17345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17349 cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h. */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 #include <math.h>
17356 #ifdef HAVE_IEEEFP_H
17357 #include <ieeefp.h>
17358 #endif
17361 main ()
17363 finitef(0);
17365 return 0;
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370 (eval $ac_compile) 2>conftest.er1
17371 ac_status=$?
17372 grep -v '^ *+' conftest.er1 >conftest.err
17373 rm -f conftest.er1
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -z "$ac_cxx_werror_flag"
17378 || test ! -s conftest.err'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17381 ac_status=$?
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; } &&
17384 { ac_try='test -s conftest.$ac_objext'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17390 glibcxx_cv_func_finitef_use=yes
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 glibcxx_cv_func_finitef_use=no
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17398 ac_ext=c
17399 ac_cpp='$CPP $CPPFLAGS'
17400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17409 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17411 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17413 for ac_func in finitef
17415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17416 echo "$as_me:$LINENO: checking for $ac_func" >&5
17417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17418 if eval "test \"\${$as_ac_var+set}\" = set"; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421 if test x$gcc_no_link = xyes; then
17422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17424 { (exit 1); exit 1; }; }
17426 cat >conftest.$ac_ext <<_ACEOF
17427 /* confdefs.h. */
17428 _ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17434 #define $ac_func innocuous_$ac_func
17436 /* System header to define __stub macros and hopefully few prototypes,
17437 which can conflict with char $ac_func (); below.
17438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17439 <limits.h> exists even on freestanding compilers. */
17441 #ifdef __STDC__
17442 # include <limits.h>
17443 #else
17444 # include <assert.h>
17445 #endif
17447 #undef $ac_func
17449 /* Override any gcc2 internal prototype to avoid an error. */
17450 #ifdef __cplusplus
17451 extern "C"
17453 #endif
17454 /* We use char because int might match the return type of a gcc2
17455 builtin and then its argument prototype would still apply. */
17456 char $ac_func ();
17457 /* The GNU C library defines this for functions which it implements
17458 to always fail with ENOSYS. Some functions are actually named
17459 something starting with __ and the normal name is an alias. */
17460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17461 choke me
17462 #else
17463 char (*f) () = $ac_func;
17464 #endif
17465 #ifdef __cplusplus
17467 #endif
17470 main ()
17472 return f != $ac_func;
17474 return 0;
17476 _ACEOF
17477 rm -f conftest.$ac_objext conftest$ac_exeext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17479 (eval $ac_link) 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try='test -s conftest$ac_exeext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 eval "$as_ac_var=yes"
17500 else
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17504 eval "$as_ac_var=no"
17506 rm -f conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17511 if test `eval echo '${'$as_ac_var'}'` = yes; then
17512 cat >>confdefs.h <<_ACEOF
17513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17514 _ACEOF
17517 done
17519 else
17521 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17522 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17523 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17524 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 else
17530 ac_ext=cc
17531 ac_cpp='$CXXCPP $CPPFLAGS'
17532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17536 cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h. */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 #include <math.h>
17543 #ifdef HAVE_IEEEFP_H
17544 #include <ieeefp.h>
17545 #endif
17548 main ()
17550 _finitef(0);
17552 return 0;
17554 _ACEOF
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try='test -z "$ac_cxx_werror_flag"
17565 || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 glibcxx_cv_func__finitef_use=yes
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17582 glibcxx_cv_func__finitef_use=no
17584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17585 ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17596 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17598 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17600 for ac_func in _finitef
17602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17603 echo "$as_me:$LINENO: checking for $ac_func" >&5
17604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17605 if eval "test \"\${$as_ac_var+set}\" = set"; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 if test x$gcc_no_link = xyes; then
17609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17611 { (exit 1); exit 1; }; }
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17621 #define $ac_func innocuous_$ac_func
17623 /* System header to define __stub macros and hopefully few prototypes,
17624 which can conflict with char $ac_func (); below.
17625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17626 <limits.h> exists even on freestanding compilers. */
17628 #ifdef __STDC__
17629 # include <limits.h>
17630 #else
17631 # include <assert.h>
17632 #endif
17634 #undef $ac_func
17636 /* Override any gcc2 internal prototype to avoid an error. */
17637 #ifdef __cplusplus
17638 extern "C"
17640 #endif
17641 /* We use char because int might match the return type of a gcc2
17642 builtin and then its argument prototype would still apply. */
17643 char $ac_func ();
17644 /* The GNU C library defines this for functions which it implements
17645 to always fail with ENOSYS. Some functions are actually named
17646 something starting with __ and the normal name is an alias. */
17647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17648 choke me
17649 #else
17650 char (*f) () = $ac_func;
17651 #endif
17652 #ifdef __cplusplus
17654 #endif
17657 main ()
17659 return f != $ac_func;
17661 return 0;
17663 _ACEOF
17664 rm -f conftest.$ac_objext conftest$ac_exeext
17665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17666 (eval $ac_link) 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } &&
17673 { ac_try='test -z "$ac_c_werror_flag"
17674 || test ! -s conftest.err'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17677 ac_status=$?
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; } &&
17680 { ac_try='test -s conftest$ac_exeext'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 eval "$as_ac_var=yes"
17687 else
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 eval "$as_ac_var=no"
17693 rm -f conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17698 if test `eval echo '${'$as_ac_var'}'` = yes; then
17699 cat >>confdefs.h <<_ACEOF
17700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17701 _ACEOF
17704 done
17711 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17712 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17713 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17719 ac_ext=cc
17720 ac_cpp='$CXXCPP $CPPFLAGS'
17721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 #include <math.h>
17733 main ()
17735 `for x in acosl asinl atanl \
17736 cosl sinl tanl \
17737 coshl sinhl tanhl; do echo "$x (0);"; done`
17739 return 0;
17741 _ACEOF
17742 rm -f conftest.$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_cxx_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 glibcxx_cv_func_long_double_trig_use=yes
17765 else
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17769 glibcxx_cv_func_long_double_trig_use=no
17771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17772 ac_ext=c
17773 ac_cpp='$CPP $CPPFLAGS'
17774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17781 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17782 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17792 for ac_func in acosl asinl atanl \
17793 cosl sinl tanl \
17794 coshl sinhl tanhl
17796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17797 echo "$as_me:$LINENO: checking for $ac_func" >&5
17798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17799 if eval "test \"\${$as_ac_var+set}\" = set"; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 else
17802 if test x$gcc_no_link = xyes; then
17803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17805 { (exit 1); exit 1; }; }
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17815 #define $ac_func innocuous_$ac_func
17817 /* System header to define __stub macros and hopefully few prototypes,
17818 which can conflict with char $ac_func (); below.
17819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17820 <limits.h> exists even on freestanding compilers. */
17822 #ifdef __STDC__
17823 # include <limits.h>
17824 #else
17825 # include <assert.h>
17826 #endif
17828 #undef $ac_func
17830 /* Override any gcc2 internal prototype to avoid an error. */
17831 #ifdef __cplusplus
17832 extern "C"
17834 #endif
17835 /* We use char because int might match the return type of a gcc2
17836 builtin and then its argument prototype would still apply. */
17837 char $ac_func ();
17838 /* The GNU C library defines this for functions which it implements
17839 to always fail with ENOSYS. Some functions are actually named
17840 something starting with __ and the normal name is an alias. */
17841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17842 choke me
17843 #else
17844 char (*f) () = $ac_func;
17845 #endif
17846 #ifdef __cplusplus
17848 #endif
17851 main ()
17853 return f != $ac_func;
17855 return 0;
17857 _ACEOF
17858 rm -f conftest.$ac_objext conftest$ac_exeext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17860 (eval $ac_link) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_c_werror_flag"
17868 || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest$ac_exeext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 eval "$as_ac_var=yes"
17881 else
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 eval "$as_ac_var=no"
17887 rm -f conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext conftest.$ac_ext
17890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17892 if test `eval echo '${'$as_ac_var'}'` = yes; then
17893 cat >>confdefs.h <<_ACEOF
17894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17895 _ACEOF
17898 done
17903 echo "$as_me:$LINENO: checking for long double round functions" >&5
17904 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17905 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 else
17911 ac_ext=cc
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17917 cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h. */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 #include <math.h>
17925 main ()
17927 `for x in ceill floorl; do echo "$x (0);"; done`
17929 return 0;
17931 _ACEOF
17932 rm -f conftest.$ac_objext
17933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17934 (eval $ac_compile) 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } &&
17941 { ac_try='test -z "$ac_cxx_werror_flag"
17942 || test ! -s conftest.err'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; } &&
17948 { ac_try='test -s conftest.$ac_objext'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17951 ac_status=$?
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; }; then
17954 glibcxx_cv_func_long_double_round_use=yes
17955 else
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17959 glibcxx_cv_func_long_double_round_use=no
17961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17962 ac_ext=c
17963 ac_cpp='$CPP $CPPFLAGS'
17964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17971 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17972 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17975 for ac_func in ceill floorl
17977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17978 echo "$as_me:$LINENO: checking for $ac_func" >&5
17979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17980 if eval "test \"\${$as_ac_var+set}\" = set"; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983 if test x$gcc_no_link = xyes; then
17984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17986 { (exit 1); exit 1; }; }
17988 cat >conftest.$ac_ext <<_ACEOF
17989 /* confdefs.h. */
17990 _ACEOF
17991 cat confdefs.h >>conftest.$ac_ext
17992 cat >>conftest.$ac_ext <<_ACEOF
17993 /* end confdefs.h. */
17994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17996 #define $ac_func innocuous_$ac_func
17998 /* System header to define __stub macros and hopefully few prototypes,
17999 which can conflict with char $ac_func (); below.
18000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18001 <limits.h> exists even on freestanding compilers. */
18003 #ifdef __STDC__
18004 # include <limits.h>
18005 #else
18006 # include <assert.h>
18007 #endif
18009 #undef $ac_func
18011 /* Override any gcc2 internal prototype to avoid an error. */
18012 #ifdef __cplusplus
18013 extern "C"
18015 #endif
18016 /* We use char because int might match the return type of a gcc2
18017 builtin and then its argument prototype would still apply. */
18018 char $ac_func ();
18019 /* The GNU C library defines this for functions which it implements
18020 to always fail with ENOSYS. Some functions are actually named
18021 something starting with __ and the normal name is an alias. */
18022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18023 choke me
18024 #else
18025 char (*f) () = $ac_func;
18026 #endif
18027 #ifdef __cplusplus
18029 #endif
18032 main ()
18034 return f != $ac_func;
18036 return 0;
18038 _ACEOF
18039 rm -f conftest.$ac_objext conftest$ac_exeext
18040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18041 (eval $ac_link) 2>conftest.er1
18042 ac_status=$?
18043 grep -v '^ *+' conftest.er1 >conftest.err
18044 rm -f conftest.er1
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } &&
18048 { ac_try='test -z "$ac_c_werror_flag"
18049 || test ! -s conftest.err'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; } &&
18055 { ac_try='test -s conftest$ac_exeext'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18058 ac_status=$?
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; }; then
18061 eval "$as_ac_var=yes"
18062 else
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18066 eval "$as_ac_var=no"
18068 rm -f conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext conftest.$ac_ext
18071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18073 if test `eval echo '${'$as_ac_var'}'` = yes; then
18074 cat >>confdefs.h <<_ACEOF
18075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18076 _ACEOF
18079 done
18085 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18086 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18087 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18088 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18094 ac_ext=cc
18095 ac_cpp='$CXXCPP $CPPFLAGS'
18096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18100 cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 #include <math.h>
18107 #ifdef HAVE_IEEEFP_H
18108 #include <ieeefp.h>
18109 #endif
18112 main ()
18114 isnanl(0);
18116 return 0;
18118 _ACEOF
18119 rm -f conftest.$ac_objext
18120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18121 (eval $ac_compile) 2>conftest.er1
18122 ac_status=$?
18123 grep -v '^ *+' conftest.er1 >conftest.err
18124 rm -f conftest.er1
18125 cat conftest.err >&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } &&
18128 { ac_try='test -z "$ac_cxx_werror_flag"
18129 || test ! -s conftest.err'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; } &&
18135 { ac_try='test -s conftest.$ac_objext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18138 ac_status=$?
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18141 glibcxx_cv_func_isnanl_use=yes
18142 else
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.$ac_ext >&5
18146 glibcxx_cv_func_isnanl_use=no
18148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18149 ac_ext=c
18150 ac_cpp='$CPP $CPPFLAGS'
18151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18160 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18162 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18164 for ac_func in isnanl
18166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18167 echo "$as_me:$LINENO: checking for $ac_func" >&5
18168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18169 if eval "test \"\${$as_ac_var+set}\" = set"; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172 if test x$gcc_no_link = xyes; then
18173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18175 { (exit 1); exit 1; }; }
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18185 #define $ac_func innocuous_$ac_func
18187 /* System header to define __stub macros and hopefully few prototypes,
18188 which can conflict with char $ac_func (); below.
18189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18190 <limits.h> exists even on freestanding compilers. */
18192 #ifdef __STDC__
18193 # include <limits.h>
18194 #else
18195 # include <assert.h>
18196 #endif
18198 #undef $ac_func
18200 /* Override any gcc2 internal prototype to avoid an error. */
18201 #ifdef __cplusplus
18202 extern "C"
18204 #endif
18205 /* We use char because int might match the return type of a gcc2
18206 builtin and then its argument prototype would still apply. */
18207 char $ac_func ();
18208 /* The GNU C library defines this for functions which it implements
18209 to always fail with ENOSYS. Some functions are actually named
18210 something starting with __ and the normal name is an alias. */
18211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18212 choke me
18213 #else
18214 char (*f) () = $ac_func;
18215 #endif
18216 #ifdef __cplusplus
18218 #endif
18221 main ()
18223 return f != $ac_func;
18225 return 0;
18227 _ACEOF
18228 rm -f conftest.$ac_objext conftest$ac_exeext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18230 (eval $ac_link) 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } &&
18237 { ac_try='test -z "$ac_c_werror_flag"
18238 || test ! -s conftest.err'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18241 ac_status=$?
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; } &&
18244 { ac_try='test -s conftest$ac_exeext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 eval "$as_ac_var=yes"
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 eval "$as_ac_var=no"
18257 rm -f conftest.err conftest.$ac_objext \
18258 conftest$ac_exeext conftest.$ac_ext
18260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18262 if test `eval echo '${'$as_ac_var'}'` = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18265 _ACEOF
18268 done
18270 else
18272 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18273 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18274 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18275 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18277 else
18281 ac_ext=cc
18282 ac_cpp='$CXXCPP $CPPFLAGS'
18283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 #include <math.h>
18294 #ifdef HAVE_IEEEFP_H
18295 #include <ieeefp.h>
18296 #endif
18299 main ()
18301 _isnanl(0);
18303 return 0;
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18309 ac_status=$?
18310 grep -v '^ *+' conftest.er1 >conftest.err
18311 rm -f conftest.er1
18312 cat conftest.err >&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -z "$ac_cxx_werror_flag"
18316 || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18325 ac_status=$?
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 glibcxx_cv_func__isnanl_use=yes
18329 else
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18333 glibcxx_cv_func__isnanl_use=no
18335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18336 ac_ext=c
18337 ac_cpp='$CPP $CPPFLAGS'
18338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18347 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18349 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18351 for ac_func in _isnanl
18353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18354 echo "$as_me:$LINENO: checking for $ac_func" >&5
18355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18356 if eval "test \"\${$as_ac_var+set}\" = set"; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359 if test x$gcc_no_link = xyes; then
18360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18362 { (exit 1); exit 1; }; }
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18372 #define $ac_func innocuous_$ac_func
18374 /* System header to define __stub macros and hopefully few prototypes,
18375 which can conflict with char $ac_func (); below.
18376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18377 <limits.h> exists even on freestanding compilers. */
18379 #ifdef __STDC__
18380 # include <limits.h>
18381 #else
18382 # include <assert.h>
18383 #endif
18385 #undef $ac_func
18387 /* Override any gcc2 internal prototype to avoid an error. */
18388 #ifdef __cplusplus
18389 extern "C"
18391 #endif
18392 /* We use char because int might match the return type of a gcc2
18393 builtin and then its argument prototype would still apply. */
18394 char $ac_func ();
18395 /* The GNU C library defines this for functions which it implements
18396 to always fail with ENOSYS. Some functions are actually named
18397 something starting with __ and the normal name is an alias. */
18398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18399 choke me
18400 #else
18401 char (*f) () = $ac_func;
18402 #endif
18403 #ifdef __cplusplus
18405 #endif
18408 main ()
18410 return f != $ac_func;
18412 return 0;
18414 _ACEOF
18415 rm -f conftest.$ac_objext conftest$ac_exeext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18417 (eval $ac_link) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_c_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try='test -s conftest$ac_exeext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 eval "$as_ac_var=yes"
18438 else
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18442 eval "$as_ac_var=no"
18444 rm -f conftest.err conftest.$ac_objext \
18445 conftest$ac_exeext conftest.$ac_ext
18447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18449 if test `eval echo '${'$as_ac_var'}'` = yes; then
18450 cat >>confdefs.h <<_ACEOF
18451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18452 _ACEOF
18455 done
18462 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18463 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18464 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18465 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18471 ac_ext=cc
18472 ac_cpp='$CXXCPP $CPPFLAGS'
18473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 #include <math.h>
18484 #ifdef HAVE_IEEEFP_H
18485 #include <ieeefp.h>
18486 #endif
18489 main ()
18491 isinfl(0);
18493 return 0;
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18498 (eval $ac_compile) 2>conftest.er1
18499 ac_status=$?
18500 grep -v '^ *+' conftest.er1 >conftest.err
18501 rm -f conftest.er1
18502 cat conftest.err >&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } &&
18505 { ac_try='test -z "$ac_cxx_werror_flag"
18506 || test ! -s conftest.err'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; } &&
18512 { ac_try='test -s conftest.$ac_objext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 glibcxx_cv_func_isinfl_use=yes
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18523 glibcxx_cv_func_isinfl_use=no
18525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18526 ac_ext=c
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18537 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18539 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18541 for ac_func in isinfl
18543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18544 echo "$as_me:$LINENO: checking for $ac_func" >&5
18545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18546 if eval "test \"\${$as_ac_var+set}\" = set"; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549 if test x$gcc_no_link = xyes; then
18550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18552 { (exit 1); exit 1; }; }
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18562 #define $ac_func innocuous_$ac_func
18564 /* System header to define __stub macros and hopefully few prototypes,
18565 which can conflict with char $ac_func (); below.
18566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567 <limits.h> exists even on freestanding compilers. */
18569 #ifdef __STDC__
18570 # include <limits.h>
18571 #else
18572 # include <assert.h>
18573 #endif
18575 #undef $ac_func
18577 /* Override any gcc2 internal prototype to avoid an error. */
18578 #ifdef __cplusplus
18579 extern "C"
18581 #endif
18582 /* We use char because int might match the return type of a gcc2
18583 builtin and then its argument prototype would still apply. */
18584 char $ac_func ();
18585 /* The GNU C library defines this for functions which it implements
18586 to always fail with ENOSYS. Some functions are actually named
18587 something starting with __ and the normal name is an alias. */
18588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18589 choke me
18590 #else
18591 char (*f) () = $ac_func;
18592 #endif
18593 #ifdef __cplusplus
18595 #endif
18598 main ()
18600 return f != $ac_func;
18602 return 0;
18604 _ACEOF
18605 rm -f conftest.$ac_objext conftest$ac_exeext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18607 (eval $ac_link) 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } &&
18614 { ac_try='test -z "$ac_c_werror_flag"
18615 || test ! -s conftest.err'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18618 ac_status=$?
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; } &&
18621 { ac_try='test -s conftest$ac_exeext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 eval "$as_ac_var=yes"
18628 else
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18632 eval "$as_ac_var=no"
18634 rm -f conftest.err conftest.$ac_objext \
18635 conftest$ac_exeext conftest.$ac_ext
18637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18639 if test `eval echo '${'$as_ac_var'}'` = yes; then
18640 cat >>confdefs.h <<_ACEOF
18641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18642 _ACEOF
18645 done
18647 else
18649 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18650 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18651 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18652 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18658 ac_ext=cc
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18664 cat >conftest.$ac_ext <<_ACEOF
18665 /* confdefs.h. */
18666 _ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18670 #include <math.h>
18671 #ifdef HAVE_IEEEFP_H
18672 #include <ieeefp.h>
18673 #endif
18676 main ()
18678 _isinfl(0);
18680 return 0;
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try='test -z "$ac_cxx_werror_flag"
18693 || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18696 ac_status=$?
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try='test -s conftest.$ac_objext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 glibcxx_cv_func__isinfl_use=yes
18706 else
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18710 glibcxx_cv_func__isinfl_use=no
18712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18713 ac_ext=c
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18724 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18726 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18728 for ac_func in _isinfl
18730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18731 echo "$as_me:$LINENO: checking for $ac_func" >&5
18732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18733 if eval "test \"\${$as_ac_var+set}\" = set"; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 if test x$gcc_no_link = xyes; then
18737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18739 { (exit 1); exit 1; }; }
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18749 #define $ac_func innocuous_$ac_func
18751 /* System header to define __stub macros and hopefully few prototypes,
18752 which can conflict with char $ac_func (); below.
18753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18754 <limits.h> exists even on freestanding compilers. */
18756 #ifdef __STDC__
18757 # include <limits.h>
18758 #else
18759 # include <assert.h>
18760 #endif
18762 #undef $ac_func
18764 /* Override any gcc2 internal prototype to avoid an error. */
18765 #ifdef __cplusplus
18766 extern "C"
18768 #endif
18769 /* We use char because int might match the return type of a gcc2
18770 builtin and then its argument prototype would still apply. */
18771 char $ac_func ();
18772 /* The GNU C library defines this for functions which it implements
18773 to always fail with ENOSYS. Some functions are actually named
18774 something starting with __ and the normal name is an alias. */
18775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18776 choke me
18777 #else
18778 char (*f) () = $ac_func;
18779 #endif
18780 #ifdef __cplusplus
18782 #endif
18785 main ()
18787 return f != $ac_func;
18789 return 0;
18791 _ACEOF
18792 rm -f conftest.$ac_objext conftest$ac_exeext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18794 (eval $ac_link) 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_c_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18805 ac_status=$?
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try='test -s conftest$ac_exeext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 eval "$as_ac_var=yes"
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18819 eval "$as_ac_var=no"
18821 rm -f conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18826 if test `eval echo '${'$as_ac_var'}'` = yes; then
18827 cat >>confdefs.h <<_ACEOF
18828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18829 _ACEOF
18832 done
18839 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18840 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18841 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18842 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 else
18848 ac_ext=cc
18849 ac_cpp='$CXXCPP $CPPFLAGS'
18850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <math.h>
18862 main ()
18864 copysignl(0, 0);
18866 return 0;
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try='test -z "$ac_cxx_werror_flag"
18879 || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try='test -s conftest.$ac_objext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18888 ac_status=$?
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 glibcxx_cv_func_copysignl_use=yes
18892 else
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18896 glibcxx_cv_func_copysignl_use=no
18898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18899 ac_ext=c
18900 ac_cpp='$CPP $CPPFLAGS'
18901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18910 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18912 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18914 for ac_func in copysignl
18916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18917 echo "$as_me:$LINENO: checking for $ac_func" >&5
18918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18919 if eval "test \"\${$as_ac_var+set}\" = set"; then
18920 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 else
18922 if test x$gcc_no_link = xyes; then
18923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18925 { (exit 1); exit 1; }; }
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18935 #define $ac_func innocuous_$ac_func
18937 /* System header to define __stub macros and hopefully few prototypes,
18938 which can conflict with char $ac_func (); below.
18939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18940 <limits.h> exists even on freestanding compilers. */
18942 #ifdef __STDC__
18943 # include <limits.h>
18944 #else
18945 # include <assert.h>
18946 #endif
18948 #undef $ac_func
18950 /* Override any gcc2 internal prototype to avoid an error. */
18951 #ifdef __cplusplus
18952 extern "C"
18954 #endif
18955 /* We use char because int might match the return type of a gcc2
18956 builtin and then its argument prototype would still apply. */
18957 char $ac_func ();
18958 /* The GNU C library defines this for functions which it implements
18959 to always fail with ENOSYS. Some functions are actually named
18960 something starting with __ and the normal name is an alias. */
18961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18962 choke me
18963 #else
18964 char (*f) () = $ac_func;
18965 #endif
18966 #ifdef __cplusplus
18968 #endif
18971 main ()
18973 return f != $ac_func;
18975 return 0;
18977 _ACEOF
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980 (eval $ac_link) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest$ac_exeext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 eval "$as_ac_var=yes"
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 eval "$as_ac_var=no"
19007 rm -f conftest.err conftest.$ac_objext \
19008 conftest$ac_exeext conftest.$ac_ext
19010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19012 if test `eval echo '${'$as_ac_var'}'` = yes; then
19013 cat >>confdefs.h <<_ACEOF
19014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19015 _ACEOF
19018 done
19020 else
19022 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19023 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19024 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19025 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19031 ac_ext=cc
19032 ac_cpp='$CXXCPP $CPPFLAGS'
19033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <math.h>
19045 main ()
19047 _copysignl(0, 0);
19049 return 0;
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054 (eval $ac_compile) 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -z "$ac_cxx_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try='test -s conftest.$ac_objext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 glibcxx_cv_func__copysignl_use=yes
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19079 glibcxx_cv_func__copysignl_use=no
19081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19082 ac_ext=c
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19093 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19095 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19097 for ac_func in _copysignl
19099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19100 echo "$as_me:$LINENO: checking for $ac_func" >&5
19101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19102 if eval "test \"\${$as_ac_var+set}\" = set"; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 else
19105 if test x$gcc_no_link = xyes; then
19106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108 { (exit 1); exit 1; }; }
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h. */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19118 #define $ac_func innocuous_$ac_func
19120 /* System header to define __stub macros and hopefully few prototypes,
19121 which can conflict with char $ac_func (); below.
19122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19123 <limits.h> exists even on freestanding compilers. */
19125 #ifdef __STDC__
19126 # include <limits.h>
19127 #else
19128 # include <assert.h>
19129 #endif
19131 #undef $ac_func
19133 /* Override any gcc2 internal prototype to avoid an error. */
19134 #ifdef __cplusplus
19135 extern "C"
19137 #endif
19138 /* We use char because int might match the return type of a gcc2
19139 builtin and then its argument prototype would still apply. */
19140 char $ac_func ();
19141 /* The GNU C library defines this for functions which it implements
19142 to always fail with ENOSYS. Some functions are actually named
19143 something starting with __ and the normal name is an alias. */
19144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19145 choke me
19146 #else
19147 char (*f) () = $ac_func;
19148 #endif
19149 #ifdef __cplusplus
19151 #endif
19154 main ()
19156 return f != $ac_func;
19158 return 0;
19160 _ACEOF
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19163 (eval $ac_link) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_c_werror_flag"
19171 || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try='test -s conftest$ac_exeext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 eval "$as_ac_var=yes"
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19188 eval "$as_ac_var=no"
19190 rm -f conftest.err conftest.$ac_objext \
19191 conftest$ac_exeext conftest.$ac_ext
19193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19195 if test `eval echo '${'$as_ac_var'}'` = yes; then
19196 cat >>confdefs.h <<_ACEOF
19197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19198 _ACEOF
19201 done
19208 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19209 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19210 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19211 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19212 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19217 ac_ext=cc
19218 ac_cpp='$CXXCPP $CPPFLAGS'
19219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19223 cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <math.h>
19231 main ()
19233 atan2l(0, 0);
19235 return 0;
19237 _ACEOF
19238 rm -f conftest.$ac_objext
19239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19240 (eval $ac_compile) 2>conftest.er1
19241 ac_status=$?
19242 grep -v '^ *+' conftest.er1 >conftest.err
19243 rm -f conftest.er1
19244 cat conftest.err >&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); } &&
19247 { ac_try='test -z "$ac_cxx_werror_flag"
19248 || test ! -s conftest.err'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19251 ac_status=$?
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; } &&
19254 { ac_try='test -s conftest.$ac_objext'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19257 ac_status=$?
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; }; then
19260 glibcxx_cv_func_atan2l_use=yes
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 glibcxx_cv_func_atan2l_use=no
19267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19268 ac_ext=c
19269 ac_cpp='$CPP $CPPFLAGS'
19270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19279 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19281 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19283 for ac_func in atan2l
19285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19286 echo "$as_me:$LINENO: checking for $ac_func" >&5
19287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19288 if eval "test \"\${$as_ac_var+set}\" = set"; then
19289 echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19291 if test x$gcc_no_link = xyes; then
19292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19294 { (exit 1); exit 1; }; }
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19304 #define $ac_func innocuous_$ac_func
19306 /* System header to define __stub macros and hopefully few prototypes,
19307 which can conflict with char $ac_func (); below.
19308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19309 <limits.h> exists even on freestanding compilers. */
19311 #ifdef __STDC__
19312 # include <limits.h>
19313 #else
19314 # include <assert.h>
19315 #endif
19317 #undef $ac_func
19319 /* Override any gcc2 internal prototype to avoid an error. */
19320 #ifdef __cplusplus
19321 extern "C"
19323 #endif
19324 /* We use char because int might match the return type of a gcc2
19325 builtin and then its argument prototype would still apply. */
19326 char $ac_func ();
19327 /* The GNU C library defines this for functions which it implements
19328 to always fail with ENOSYS. Some functions are actually named
19329 something starting with __ and the normal name is an alias. */
19330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19331 choke me
19332 #else
19333 char (*f) () = $ac_func;
19334 #endif
19335 #ifdef __cplusplus
19337 #endif
19340 main ()
19342 return f != $ac_func;
19344 return 0;
19346 _ACEOF
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19349 (eval $ac_link) 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -z "$ac_c_werror_flag"
19357 || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try='test -s conftest$ac_exeext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19366 ac_status=$?
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 eval "$as_ac_var=yes"
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 eval "$as_ac_var=no"
19376 rm -f conftest.err conftest.$ac_objext \
19377 conftest$ac_exeext conftest.$ac_ext
19379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19381 if test `eval echo '${'$as_ac_var'}'` = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19384 _ACEOF
19387 done
19389 else
19391 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19392 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19393 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19394 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 else
19400 ac_ext=cc
19401 ac_cpp='$CXXCPP $CPPFLAGS'
19402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19406 cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h. */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 #include <math.h>
19414 main ()
19416 _atan2l(0, 0);
19418 return 0;
19420 _ACEOF
19421 rm -f conftest.$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>conftest.er1
19424 ac_status=$?
19425 grep -v '^ *+' conftest.er1 >conftest.err
19426 rm -f conftest.er1
19427 cat conftest.err >&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try='test -z "$ac_cxx_werror_flag"
19431 || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19434 ac_status=$?
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try='test -s conftest.$ac_objext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 glibcxx_cv_func__atan2l_use=yes
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 glibcxx_cv_func__atan2l_use=no
19450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19451 ac_ext=c
19452 ac_cpp='$CPP $CPPFLAGS'
19453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19462 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19464 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19466 for ac_func in _atan2l
19468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19469 echo "$as_me:$LINENO: checking for $ac_func" >&5
19470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19471 if eval "test \"\${$as_ac_var+set}\" = set"; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 if test x$gcc_no_link = xyes; then
19475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19477 { (exit 1); exit 1; }; }
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19487 #define $ac_func innocuous_$ac_func
19489 /* System header to define __stub macros and hopefully few prototypes,
19490 which can conflict with char $ac_func (); below.
19491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19492 <limits.h> exists even on freestanding compilers. */
19494 #ifdef __STDC__
19495 # include <limits.h>
19496 #else
19497 # include <assert.h>
19498 #endif
19500 #undef $ac_func
19502 /* Override any gcc2 internal prototype to avoid an error. */
19503 #ifdef __cplusplus
19504 extern "C"
19506 #endif
19507 /* We use char because int might match the return type of a gcc2
19508 builtin and then its argument prototype would still apply. */
19509 char $ac_func ();
19510 /* The GNU C library defines this for functions which it implements
19511 to always fail with ENOSYS. Some functions are actually named
19512 something starting with __ and the normal name is an alias. */
19513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19514 choke me
19515 #else
19516 char (*f) () = $ac_func;
19517 #endif
19518 #ifdef __cplusplus
19520 #endif
19523 main ()
19525 return f != $ac_func;
19527 return 0;
19529 _ACEOF
19530 rm -f conftest.$ac_objext conftest$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532 (eval $ac_link) 2>conftest.er1
19533 ac_status=$?
19534 grep -v '^ *+' conftest.er1 >conftest.err
19535 rm -f conftest.er1
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -z "$ac_c_werror_flag"
19540 || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19549 ac_status=$?
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 eval "$as_ac_var=yes"
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 eval "$as_ac_var=no"
19559 rm -f conftest.err conftest.$ac_objext \
19560 conftest$ac_exeext conftest.$ac_ext
19562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19564 if test `eval echo '${'$as_ac_var'}'` = yes; then
19565 cat >>confdefs.h <<_ACEOF
19566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19567 _ACEOF
19570 done
19577 echo "$as_me:$LINENO: checking for expl declaration" >&5
19578 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19579 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19580 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19586 ac_ext=cc
19587 ac_cpp='$CXXCPP $CPPFLAGS'
19588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19592 cat >conftest.$ac_ext <<_ACEOF
19593 /* confdefs.h. */
19594 _ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 #include <math.h>
19599 #ifdef HAVE_IEEEFP_H
19600 #include <ieeefp.h>
19601 #endif
19604 main ()
19606 expl(0);
19608 return 0;
19610 _ACEOF
19611 rm -f conftest.$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613 (eval $ac_compile) 2>conftest.er1
19614 ac_status=$?
19615 grep -v '^ *+' conftest.er1 >conftest.err
19616 rm -f conftest.er1
19617 cat conftest.err >&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } &&
19620 { ac_try='test -z "$ac_cxx_werror_flag"
19621 || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19624 ac_status=$?
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 glibcxx_cv_func_expl_use=yes
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19638 glibcxx_cv_func_expl_use=no
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641 ac_ext=c
19642 ac_cpp='$CPP $CPPFLAGS'
19643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19651 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19652 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19654 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19656 for ac_func in expl
19658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19659 echo "$as_me:$LINENO: checking for $ac_func" >&5
19660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19661 if eval "test \"\${$as_ac_var+set}\" = set"; then
19662 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 else
19664 if test x$gcc_no_link = xyes; then
19665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19667 { (exit 1); exit 1; }; }
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19677 #define $ac_func innocuous_$ac_func
19679 /* System header to define __stub macros and hopefully few prototypes,
19680 which can conflict with char $ac_func (); below.
19681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19682 <limits.h> exists even on freestanding compilers. */
19684 #ifdef __STDC__
19685 # include <limits.h>
19686 #else
19687 # include <assert.h>
19688 #endif
19690 #undef $ac_func
19692 /* Override any gcc2 internal prototype to avoid an error. */
19693 #ifdef __cplusplus
19694 extern "C"
19696 #endif
19697 /* We use char because int might match the return type of a gcc2
19698 builtin and then its argument prototype would still apply. */
19699 char $ac_func ();
19700 /* The GNU C library defines this for functions which it implements
19701 to always fail with ENOSYS. Some functions are actually named
19702 something starting with __ and the normal name is an alias. */
19703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19704 choke me
19705 #else
19706 char (*f) () = $ac_func;
19707 #endif
19708 #ifdef __cplusplus
19710 #endif
19713 main ()
19715 return f != $ac_func;
19717 return 0;
19719 _ACEOF
19720 rm -f conftest.$ac_objext conftest$ac_exeext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19722 (eval $ac_link) 2>conftest.er1
19723 ac_status=$?
19724 grep -v '^ *+' conftest.er1 >conftest.err
19725 rm -f conftest.er1
19726 cat conftest.err >&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); } &&
19729 { ac_try='test -z "$ac_c_werror_flag"
19730 || test ! -s conftest.err'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest$ac_exeext'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 eval "$as_ac_var=yes"
19743 else
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19747 eval "$as_ac_var=no"
19749 rm -f conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19754 if test `eval echo '${'$as_ac_var'}'` = yes; then
19755 cat >>confdefs.h <<_ACEOF
19756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19757 _ACEOF
19760 done
19762 else
19764 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19765 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19766 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19767 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19773 ac_ext=cc
19774 ac_cpp='$CXXCPP $CPPFLAGS'
19775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 #include <math.h>
19786 #ifdef HAVE_IEEEFP_H
19787 #include <ieeefp.h>
19788 #endif
19791 main ()
19793 _expl(0);
19795 return 0;
19797 _ACEOF
19798 rm -f conftest.$ac_objext
19799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19800 (eval $ac_compile) 2>conftest.er1
19801 ac_status=$?
19802 grep -v '^ *+' conftest.er1 >conftest.err
19803 rm -f conftest.er1
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } &&
19807 { ac_try='test -z "$ac_cxx_werror_flag"
19808 || test ! -s conftest.err'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19811 ac_status=$?
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; } &&
19814 { ac_try='test -s conftest.$ac_objext'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19817 ac_status=$?
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; }; then
19820 glibcxx_cv_func__expl_use=yes
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19825 glibcxx_cv_func__expl_use=no
19827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19828 ac_ext=c
19829 ac_cpp='$CPP $CPPFLAGS'
19830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19839 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19841 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19843 for ac_func in _expl
19845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19846 echo "$as_me:$LINENO: checking for $ac_func" >&5
19847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19848 if eval "test \"\${$as_ac_var+set}\" = set"; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 else
19851 if test x$gcc_no_link = xyes; then
19852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19854 { (exit 1); exit 1; }; }
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19864 #define $ac_func innocuous_$ac_func
19866 /* System header to define __stub macros and hopefully few prototypes,
19867 which can conflict with char $ac_func (); below.
19868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19869 <limits.h> exists even on freestanding compilers. */
19871 #ifdef __STDC__
19872 # include <limits.h>
19873 #else
19874 # include <assert.h>
19875 #endif
19877 #undef $ac_func
19879 /* Override any gcc2 internal prototype to avoid an error. */
19880 #ifdef __cplusplus
19881 extern "C"
19883 #endif
19884 /* We use char because int might match the return type of a gcc2
19885 builtin and then its argument prototype would still apply. */
19886 char $ac_func ();
19887 /* The GNU C library defines this for functions which it implements
19888 to always fail with ENOSYS. Some functions are actually named
19889 something starting with __ and the normal name is an alias. */
19890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19891 choke me
19892 #else
19893 char (*f) () = $ac_func;
19894 #endif
19895 #ifdef __cplusplus
19897 #endif
19900 main ()
19902 return f != $ac_func;
19904 return 0;
19906 _ACEOF
19907 rm -f conftest.$ac_objext conftest$ac_exeext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19909 (eval $ac_link) 2>conftest.er1
19910 ac_status=$?
19911 grep -v '^ *+' conftest.er1 >conftest.err
19912 rm -f conftest.er1
19913 cat conftest.err >&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } &&
19916 { ac_try='test -z "$ac_c_werror_flag"
19917 || test ! -s conftest.err'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try='test -s conftest$ac_exeext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 eval "$as_ac_var=yes"
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 eval "$as_ac_var=no"
19936 rm -f conftest.err conftest.$ac_objext \
19937 conftest$ac_exeext conftest.$ac_ext
19939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19941 if test `eval echo '${'$as_ac_var'}'` = yes; then
19942 cat >>confdefs.h <<_ACEOF
19943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19944 _ACEOF
19947 done
19954 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19955 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19956 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19957 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19963 ac_ext=cc
19964 ac_cpp='$CXXCPP $CPPFLAGS'
19965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19969 cat >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h. */
19971 _ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 #include <math.h>
19976 #ifdef HAVE_IEEEFP_H
19977 #include <ieeefp.h>
19978 #endif
19981 main ()
19983 fabsl(0);
19985 return 0;
19987 _ACEOF
19988 rm -f conftest.$ac_objext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19990 (eval $ac_compile) 2>conftest.er1
19991 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } &&
19997 { ac_try='test -z "$ac_cxx_werror_flag"
19998 || test ! -s conftest.err'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20001 ac_status=$?
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; } &&
20004 { ac_try='test -s conftest.$ac_objext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20007 ac_status=$?
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 glibcxx_cv_func_fabsl_use=yes
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 glibcxx_cv_func_fabsl_use=no
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20018 ac_ext=c
20019 ac_cpp='$CPP $CPPFLAGS'
20020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20029 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20031 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20033 for ac_func in fabsl
20035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20036 echo "$as_me:$LINENO: checking for $ac_func" >&5
20037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20038 if eval "test \"\${$as_ac_var+set}\" = set"; then
20039 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 else
20041 if test x$gcc_no_link = xyes; then
20042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20044 { (exit 1); exit 1; }; }
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20054 #define $ac_func innocuous_$ac_func
20056 /* System header to define __stub macros and hopefully few prototypes,
20057 which can conflict with char $ac_func (); below.
20058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20059 <limits.h> exists even on freestanding compilers. */
20061 #ifdef __STDC__
20062 # include <limits.h>
20063 #else
20064 # include <assert.h>
20065 #endif
20067 #undef $ac_func
20069 /* Override any gcc2 internal prototype to avoid an error. */
20070 #ifdef __cplusplus
20071 extern "C"
20073 #endif
20074 /* We use char because int might match the return type of a gcc2
20075 builtin and then its argument prototype would still apply. */
20076 char $ac_func ();
20077 /* The GNU C library defines this for functions which it implements
20078 to always fail with ENOSYS. Some functions are actually named
20079 something starting with __ and the normal name is an alias. */
20080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20081 choke me
20082 #else
20083 char (*f) () = $ac_func;
20084 #endif
20085 #ifdef __cplusplus
20087 #endif
20090 main ()
20092 return f != $ac_func;
20094 return 0;
20096 _ACEOF
20097 rm -f conftest.$ac_objext conftest$ac_exeext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20099 (eval $ac_link) 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try='test -z "$ac_c_werror_flag"
20107 || test ! -s conftest.err'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try='test -s conftest$ac_exeext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 eval "$as_ac_var=yes"
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 eval "$as_ac_var=no"
20126 rm -f conftest.err conftest.$ac_objext \
20127 conftest$ac_exeext conftest.$ac_ext
20129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20131 if test `eval echo '${'$as_ac_var'}'` = yes; then
20132 cat >>confdefs.h <<_ACEOF
20133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20134 _ACEOF
20137 done
20139 else
20141 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20142 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20143 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20144 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20150 ac_ext=cc
20151 ac_cpp='$CXXCPP $CPPFLAGS'
20152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 #include <math.h>
20163 #ifdef HAVE_IEEEFP_H
20164 #include <ieeefp.h>
20165 #endif
20168 main ()
20170 _fabsl(0);
20172 return 0;
20174 _ACEOF
20175 rm -f conftest.$ac_objext
20176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20177 (eval $ac_compile) 2>conftest.er1
20178 ac_status=$?
20179 grep -v '^ *+' conftest.er1 >conftest.err
20180 rm -f conftest.er1
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try='test -z "$ac_cxx_werror_flag"
20185 || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 glibcxx_cv_func__fabsl_use=yes
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 glibcxx_cv_func__fabsl_use=no
20204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20205 ac_ext=c
20206 ac_cpp='$CPP $CPPFLAGS'
20207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20216 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20218 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20220 for ac_func in _fabsl
20222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20223 echo "$as_me:$LINENO: checking for $ac_func" >&5
20224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20225 if eval "test \"\${$as_ac_var+set}\" = set"; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 else
20228 if test x$gcc_no_link = xyes; then
20229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20231 { (exit 1); exit 1; }; }
20233 cat >conftest.$ac_ext <<_ACEOF
20234 /* confdefs.h. */
20235 _ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20241 #define $ac_func innocuous_$ac_func
20243 /* System header to define __stub macros and hopefully few prototypes,
20244 which can conflict with char $ac_func (); below.
20245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20246 <limits.h> exists even on freestanding compilers. */
20248 #ifdef __STDC__
20249 # include <limits.h>
20250 #else
20251 # include <assert.h>
20252 #endif
20254 #undef $ac_func
20256 /* Override any gcc2 internal prototype to avoid an error. */
20257 #ifdef __cplusplus
20258 extern "C"
20260 #endif
20261 /* We use char because int might match the return type of a gcc2
20262 builtin and then its argument prototype would still apply. */
20263 char $ac_func ();
20264 /* The GNU C library defines this for functions which it implements
20265 to always fail with ENOSYS. Some functions are actually named
20266 something starting with __ and the normal name is an alias. */
20267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20268 choke me
20269 #else
20270 char (*f) () = $ac_func;
20271 #endif
20272 #ifdef __cplusplus
20274 #endif
20277 main ()
20279 return f != $ac_func;
20281 return 0;
20283 _ACEOF
20284 rm -f conftest.$ac_objext conftest$ac_exeext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20286 (eval $ac_link) 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try='test -z "$ac_c_werror_flag"
20294 || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try='test -s conftest$ac_exeext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 eval "$as_ac_var=yes"
20307 else
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20311 eval "$as_ac_var=no"
20313 rm -f conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20318 if test `eval echo '${'$as_ac_var'}'` = yes; then
20319 cat >>confdefs.h <<_ACEOF
20320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20321 _ACEOF
20324 done
20331 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20332 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20333 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20334 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 else
20340 ac_ext=cc
20341 ac_cpp='$CXXCPP $CPPFLAGS'
20342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20346 cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h. */
20348 _ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 #include <math.h>
20354 main ()
20356 fmodl(0, 0);
20358 return 0;
20360 _ACEOF
20361 rm -f conftest.$ac_objext
20362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20363 (eval $ac_compile) 2>conftest.er1
20364 ac_status=$?
20365 grep -v '^ *+' conftest.er1 >conftest.err
20366 rm -f conftest.er1
20367 cat conftest.err >&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } &&
20370 { ac_try='test -z "$ac_cxx_werror_flag"
20371 || test ! -s conftest.err'
20372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373 (eval $ac_try) 2>&5
20374 ac_status=$?
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); }; } &&
20377 { ac_try='test -s conftest.$ac_objext'
20378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379 (eval $ac_try) 2>&5
20380 ac_status=$?
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); }; }; then
20383 glibcxx_cv_func_fmodl_use=yes
20384 else
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20388 glibcxx_cv_func_fmodl_use=no
20390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20391 ac_ext=c
20392 ac_cpp='$CPP $CPPFLAGS'
20393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20402 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20404 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20406 for ac_func in fmodl
20408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20409 echo "$as_me:$LINENO: checking for $ac_func" >&5
20410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20411 if eval "test \"\${$as_ac_var+set}\" = set"; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414 if test x$gcc_no_link = xyes; then
20415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20417 { (exit 1); exit 1; }; }
20419 cat >conftest.$ac_ext <<_ACEOF
20420 /* confdefs.h. */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20427 #define $ac_func innocuous_$ac_func
20429 /* System header to define __stub macros and hopefully few prototypes,
20430 which can conflict with char $ac_func (); below.
20431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20432 <limits.h> exists even on freestanding compilers. */
20434 #ifdef __STDC__
20435 # include <limits.h>
20436 #else
20437 # include <assert.h>
20438 #endif
20440 #undef $ac_func
20442 /* Override any gcc2 internal prototype to avoid an error. */
20443 #ifdef __cplusplus
20444 extern "C"
20446 #endif
20447 /* We use char because int might match the return type of a gcc2
20448 builtin and then its argument prototype would still apply. */
20449 char $ac_func ();
20450 /* The GNU C library defines this for functions which it implements
20451 to always fail with ENOSYS. Some functions are actually named
20452 something starting with __ and the normal name is an alias. */
20453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20454 choke me
20455 #else
20456 char (*f) () = $ac_func;
20457 #endif
20458 #ifdef __cplusplus
20460 #endif
20463 main ()
20465 return f != $ac_func;
20467 return 0;
20469 _ACEOF
20470 rm -f conftest.$ac_objext conftest$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472 (eval $ac_link) 2>conftest.er1
20473 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try='test -z "$ac_c_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20483 ac_status=$?
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try='test -s conftest$ac_exeext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 eval "$as_ac_var=yes"
20493 else
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 eval "$as_ac_var=no"
20499 rm -f conftest.err conftest.$ac_objext \
20500 conftest$ac_exeext conftest.$ac_ext
20502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20504 if test `eval echo '${'$as_ac_var'}'` = yes; then
20505 cat >>confdefs.h <<_ACEOF
20506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20507 _ACEOF
20510 done
20512 else
20514 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20515 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20516 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20517 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 else
20523 ac_ext=cc
20524 ac_cpp='$CXXCPP $CPPFLAGS'
20525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 #include <math.h>
20537 main ()
20539 _fmodl(0, 0);
20541 return 0;
20543 _ACEOF
20544 rm -f conftest.$ac_objext
20545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20546 (eval $ac_compile) 2>conftest.er1
20547 ac_status=$?
20548 grep -v '^ *+' conftest.er1 >conftest.err
20549 rm -f conftest.er1
20550 cat conftest.err >&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } &&
20553 { ac_try='test -z "$ac_cxx_werror_flag"
20554 || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 glibcxx_cv_func__fmodl_use=yes
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20571 glibcxx_cv_func__fmodl_use=no
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574 ac_ext=c
20575 ac_cpp='$CPP $CPPFLAGS'
20576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20585 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20587 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20589 for ac_func in _fmodl
20591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20592 echo "$as_me:$LINENO: checking for $ac_func" >&5
20593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20594 if eval "test \"\${$as_ac_var+set}\" = set"; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 if test x$gcc_no_link = xyes; then
20598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20600 { (exit 1); exit 1; }; }
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20610 #define $ac_func innocuous_$ac_func
20612 /* System header to define __stub macros and hopefully few prototypes,
20613 which can conflict with char $ac_func (); below.
20614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20615 <limits.h> exists even on freestanding compilers. */
20617 #ifdef __STDC__
20618 # include <limits.h>
20619 #else
20620 # include <assert.h>
20621 #endif
20623 #undef $ac_func
20625 /* Override any gcc2 internal prototype to avoid an error. */
20626 #ifdef __cplusplus
20627 extern "C"
20629 #endif
20630 /* We use char because int might match the return type of a gcc2
20631 builtin and then its argument prototype would still apply. */
20632 char $ac_func ();
20633 /* The GNU C library defines this for functions which it implements
20634 to always fail with ENOSYS. Some functions are actually named
20635 something starting with __ and the normal name is an alias. */
20636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20637 choke me
20638 #else
20639 char (*f) () = $ac_func;
20640 #endif
20641 #ifdef __cplusplus
20643 #endif
20646 main ()
20648 return f != $ac_func;
20650 return 0;
20652 _ACEOF
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655 (eval $ac_link) 2>conftest.er1
20656 ac_status=$?
20657 grep -v '^ *+' conftest.er1 >conftest.err
20658 rm -f conftest.er1
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try='test -z "$ac_c_werror_flag"
20663 || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest$ac_exeext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 eval "$as_ac_var=yes"
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 eval "$as_ac_var=no"
20682 rm -f conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext conftest.$ac_ext
20685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20687 if test `eval echo '${'$as_ac_var'}'` = yes; then
20688 cat >>confdefs.h <<_ACEOF
20689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20690 _ACEOF
20693 done
20700 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20701 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20702 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20703 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20709 ac_ext=cc
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715 cat >conftest.$ac_ext <<_ACEOF
20716 /* confdefs.h. */
20717 _ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 #include <math.h>
20723 main ()
20725 frexpl(0, 0);
20727 return 0;
20729 _ACEOF
20730 rm -f conftest.$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732 (eval $ac_compile) 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } &&
20739 { ac_try='test -z "$ac_cxx_werror_flag"
20740 || test ! -s conftest.err'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20743 ac_status=$?
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; } &&
20746 { ac_try='test -s conftest.$ac_objext'
20747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748 (eval $ac_try) 2>&5
20749 ac_status=$?
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; }; then
20752 glibcxx_cv_func_frexpl_use=yes
20753 else
20754 echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.$ac_ext >&5
20757 glibcxx_cv_func_frexpl_use=no
20759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20760 ac_ext=c
20761 ac_cpp='$CPP $CPPFLAGS'
20762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20771 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20773 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20775 for ac_func in frexpl
20777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20778 echo "$as_me:$LINENO: checking for $ac_func" >&5
20779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20780 if eval "test \"\${$as_ac_var+set}\" = set"; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 else
20783 if test x$gcc_no_link = xyes; then
20784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20786 { (exit 1); exit 1; }; }
20788 cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h. */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20796 #define $ac_func innocuous_$ac_func
20798 /* System header to define __stub macros and hopefully few prototypes,
20799 which can conflict with char $ac_func (); below.
20800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20801 <limits.h> exists even on freestanding compilers. */
20803 #ifdef __STDC__
20804 # include <limits.h>
20805 #else
20806 # include <assert.h>
20807 #endif
20809 #undef $ac_func
20811 /* Override any gcc2 internal prototype to avoid an error. */
20812 #ifdef __cplusplus
20813 extern "C"
20815 #endif
20816 /* We use char because int might match the return type of a gcc2
20817 builtin and then its argument prototype would still apply. */
20818 char $ac_func ();
20819 /* The GNU C library defines this for functions which it implements
20820 to always fail with ENOSYS. Some functions are actually named
20821 something starting with __ and the normal name is an alias. */
20822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20823 choke me
20824 #else
20825 char (*f) () = $ac_func;
20826 #endif
20827 #ifdef __cplusplus
20829 #endif
20832 main ()
20834 return f != $ac_func;
20836 return 0;
20838 _ACEOF
20839 rm -f conftest.$ac_objext conftest$ac_exeext
20840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20841 (eval $ac_link) 2>conftest.er1
20842 ac_status=$?
20843 grep -v '^ *+' conftest.er1 >conftest.err
20844 rm -f conftest.er1
20845 cat conftest.err >&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); } &&
20848 { ac_try='test -z "$ac_c_werror_flag"
20849 || test ! -s conftest.err'
20850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851 (eval $ac_try) 2>&5
20852 ac_status=$?
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); }; } &&
20855 { ac_try='test -s conftest$ac_exeext'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; }; then
20861 eval "$as_ac_var=yes"
20862 else
20863 echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20866 eval "$as_ac_var=no"
20868 rm -f conftest.err conftest.$ac_objext \
20869 conftest$ac_exeext conftest.$ac_ext
20871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20873 if test `eval echo '${'$as_ac_var'}'` = yes; then
20874 cat >>confdefs.h <<_ACEOF
20875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20876 _ACEOF
20879 done
20881 else
20883 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20884 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20885 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20886 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 else
20892 ac_ext=cc
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 #include <math.h>
20906 main ()
20908 _frexpl(0, 0);
20910 return 0;
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20915 (eval $ac_compile) 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try='test -z "$ac_cxx_werror_flag"
20923 || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try='test -s conftest.$ac_objext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20932 ac_status=$?
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 glibcxx_cv_func__frexpl_use=yes
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 glibcxx_cv_func__frexpl_use=no
20942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20943 ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20954 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20956 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20958 for ac_func in _frexpl
20960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20961 echo "$as_me:$LINENO: checking for $ac_func" >&5
20962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20963 if eval "test \"\${$as_ac_var+set}\" = set"; then
20964 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 else
20966 if test x$gcc_no_link = xyes; then
20967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20969 { (exit 1); exit 1; }; }
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20979 #define $ac_func innocuous_$ac_func
20981 /* System header to define __stub macros and hopefully few prototypes,
20982 which can conflict with char $ac_func (); below.
20983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20984 <limits.h> exists even on freestanding compilers. */
20986 #ifdef __STDC__
20987 # include <limits.h>
20988 #else
20989 # include <assert.h>
20990 #endif
20992 #undef $ac_func
20994 /* Override any gcc2 internal prototype to avoid an error. */
20995 #ifdef __cplusplus
20996 extern "C"
20998 #endif
20999 /* We use char because int might match the return type of a gcc2
21000 builtin and then its argument prototype would still apply. */
21001 char $ac_func ();
21002 /* The GNU C library defines this for functions which it implements
21003 to always fail with ENOSYS. Some functions are actually named
21004 something starting with __ and the normal name is an alias. */
21005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21006 choke me
21007 #else
21008 char (*f) () = $ac_func;
21009 #endif
21010 #ifdef __cplusplus
21012 #endif
21015 main ()
21017 return f != $ac_func;
21019 return 0;
21021 _ACEOF
21022 rm -f conftest.$ac_objext conftest$ac_exeext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21024 (eval $ac_link) 2>conftest.er1
21025 ac_status=$?
21026 grep -v '^ *+' conftest.er1 >conftest.err
21027 rm -f conftest.er1
21028 cat conftest.err >&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try='test -z "$ac_c_werror_flag"
21032 || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try='test -s conftest$ac_exeext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 eval "$as_ac_var=yes"
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 eval "$as_ac_var=no"
21051 rm -f conftest.err conftest.$ac_objext \
21052 conftest$ac_exeext conftest.$ac_ext
21054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21056 if test `eval echo '${'$as_ac_var'}'` = yes; then
21057 cat >>confdefs.h <<_ACEOF
21058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21059 _ACEOF
21062 done
21069 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21070 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21071 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21072 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21078 ac_ext=cc
21079 ac_cpp='$CXXCPP $CPPFLAGS'
21080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 #include <math.h>
21092 main ()
21094 hypotl(0, 0);
21096 return 0;
21098 _ACEOF
21099 rm -f conftest.$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101 (eval $ac_compile) 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try='test -z "$ac_cxx_werror_flag"
21109 || test ! -s conftest.err'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21112 ac_status=$?
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; } &&
21115 { ac_try='test -s conftest.$ac_objext'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 glibcxx_cv_func_hypotl_use=yes
21122 else
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21126 glibcxx_cv_func_hypotl_use=no
21128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21129 ac_ext=c
21130 ac_cpp='$CPP $CPPFLAGS'
21131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21140 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21142 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21144 for ac_func in hypotl
21146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21147 echo "$as_me:$LINENO: checking for $ac_func" >&5
21148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21149 if eval "test \"\${$as_ac_var+set}\" = set"; then
21150 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 else
21152 if test x$gcc_no_link = xyes; then
21153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21155 { (exit 1); exit 1; }; }
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21165 #define $ac_func innocuous_$ac_func
21167 /* System header to define __stub macros and hopefully few prototypes,
21168 which can conflict with char $ac_func (); below.
21169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21170 <limits.h> exists even on freestanding compilers. */
21172 #ifdef __STDC__
21173 # include <limits.h>
21174 #else
21175 # include <assert.h>
21176 #endif
21178 #undef $ac_func
21180 /* Override any gcc2 internal prototype to avoid an error. */
21181 #ifdef __cplusplus
21182 extern "C"
21184 #endif
21185 /* We use char because int might match the return type of a gcc2
21186 builtin and then its argument prototype would still apply. */
21187 char $ac_func ();
21188 /* The GNU C library defines this for functions which it implements
21189 to always fail with ENOSYS. Some functions are actually named
21190 something starting with __ and the normal name is an alias. */
21191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21192 choke me
21193 #else
21194 char (*f) () = $ac_func;
21195 #endif
21196 #ifdef __cplusplus
21198 #endif
21201 main ()
21203 return f != $ac_func;
21205 return 0;
21207 _ACEOF
21208 rm -f conftest.$ac_objext conftest$ac_exeext
21209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21210 (eval $ac_link) 2>conftest.er1
21211 ac_status=$?
21212 grep -v '^ *+' conftest.er1 >conftest.err
21213 rm -f conftest.er1
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } &&
21217 { ac_try='test -z "$ac_c_werror_flag"
21218 || test ! -s conftest.err'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21221 ac_status=$?
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; } &&
21224 { ac_try='test -s conftest$ac_exeext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 eval "$as_ac_var=yes"
21231 else
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21235 eval "$as_ac_var=no"
21237 rm -f conftest.err conftest.$ac_objext \
21238 conftest$ac_exeext conftest.$ac_ext
21240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21242 if test `eval echo '${'$as_ac_var'}'` = yes; then
21243 cat >>confdefs.h <<_ACEOF
21244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21245 _ACEOF
21248 done
21250 else
21252 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21253 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21254 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21255 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 else
21261 ac_ext=cc
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #include <math.h>
21275 main ()
21277 _hypotl(0, 0);
21279 return 0;
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21284 (eval $ac_compile) 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try='test -z "$ac_cxx_werror_flag"
21292 || test ! -s conftest.err'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21295 ac_status=$?
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; } &&
21298 { ac_try='test -s conftest.$ac_objext'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; }; then
21304 glibcxx_cv_func__hypotl_use=yes
21305 else
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.$ac_ext >&5
21309 glibcxx_cv_func__hypotl_use=no
21311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21312 ac_ext=c
21313 ac_cpp='$CPP $CPPFLAGS'
21314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21323 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21325 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21327 for ac_func in _hypotl
21329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21330 echo "$as_me:$LINENO: checking for $ac_func" >&5
21331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21332 if eval "test \"\${$as_ac_var+set}\" = set"; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 else
21335 if test x$gcc_no_link = xyes; then
21336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21338 { (exit 1); exit 1; }; }
21340 cat >conftest.$ac_ext <<_ACEOF
21341 /* confdefs.h. */
21342 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21348 #define $ac_func innocuous_$ac_func
21350 /* System header to define __stub macros and hopefully few prototypes,
21351 which can conflict with char $ac_func (); below.
21352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21353 <limits.h> exists even on freestanding compilers. */
21355 #ifdef __STDC__
21356 # include <limits.h>
21357 #else
21358 # include <assert.h>
21359 #endif
21361 #undef $ac_func
21363 /* Override any gcc2 internal prototype to avoid an error. */
21364 #ifdef __cplusplus
21365 extern "C"
21367 #endif
21368 /* We use char because int might match the return type of a gcc2
21369 builtin and then its argument prototype would still apply. */
21370 char $ac_func ();
21371 /* The GNU C library defines this for functions which it implements
21372 to always fail with ENOSYS. Some functions are actually named
21373 something starting with __ and the normal name is an alias. */
21374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21375 choke me
21376 #else
21377 char (*f) () = $ac_func;
21378 #endif
21379 #ifdef __cplusplus
21381 #endif
21384 main ()
21386 return f != $ac_func;
21388 return 0;
21390 _ACEOF
21391 rm -f conftest.$ac_objext conftest$ac_exeext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21393 (eval $ac_link) 2>conftest.er1
21394 ac_status=$?
21395 grep -v '^ *+' conftest.er1 >conftest.err
21396 rm -f conftest.er1
21397 cat conftest.err >&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try='test -z "$ac_c_werror_flag"
21401 || test ! -s conftest.err'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try='test -s conftest$ac_exeext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 eval "$as_ac_var=yes"
21414 else
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21418 eval "$as_ac_var=no"
21420 rm -f conftest.err conftest.$ac_objext \
21421 conftest$ac_exeext conftest.$ac_ext
21423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21425 if test `eval echo '${'$as_ac_var'}'` = yes; then
21426 cat >>confdefs.h <<_ACEOF
21427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21428 _ACEOF
21431 done
21438 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21439 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21440 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21441 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21443 else
21447 ac_ext=cc
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453 cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h. */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 #include <math.h>
21461 main ()
21463 ldexpl(0, 0);
21465 return 0;
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21470 (eval $ac_compile) 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try='test -z "$ac_cxx_werror_flag"
21478 || test ! -s conftest.err'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; } &&
21484 { ac_try='test -s conftest.$ac_objext'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; }; then
21490 glibcxx_cv_func_ldexpl_use=yes
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 glibcxx_cv_func_ldexpl_use=no
21497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21498 ac_ext=c
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21509 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21511 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21513 for ac_func in ldexpl
21515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21516 echo "$as_me:$LINENO: checking for $ac_func" >&5
21517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21518 if eval "test \"\${$as_ac_var+set}\" = set"; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 else
21521 if test x$gcc_no_link = xyes; then
21522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21524 { (exit 1); exit 1; }; }
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h. */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21534 #define $ac_func innocuous_$ac_func
21536 /* System header to define __stub macros and hopefully few prototypes,
21537 which can conflict with char $ac_func (); below.
21538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21539 <limits.h> exists even on freestanding compilers. */
21541 #ifdef __STDC__
21542 # include <limits.h>
21543 #else
21544 # include <assert.h>
21545 #endif
21547 #undef $ac_func
21549 /* Override any gcc2 internal prototype to avoid an error. */
21550 #ifdef __cplusplus
21551 extern "C"
21553 #endif
21554 /* We use char because int might match the return type of a gcc2
21555 builtin and then its argument prototype would still apply. */
21556 char $ac_func ();
21557 /* The GNU C library defines this for functions which it implements
21558 to always fail with ENOSYS. Some functions are actually named
21559 something starting with __ and the normal name is an alias. */
21560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21561 choke me
21562 #else
21563 char (*f) () = $ac_func;
21564 #endif
21565 #ifdef __cplusplus
21567 #endif
21570 main ()
21572 return f != $ac_func;
21574 return 0;
21576 _ACEOF
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_c_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 eval "$as_ac_var=yes"
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21604 eval "$as_ac_var=no"
21606 rm -f conftest.err conftest.$ac_objext \
21607 conftest$ac_exeext conftest.$ac_ext
21609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21611 if test `eval echo '${'$as_ac_var'}'` = yes; then
21612 cat >>confdefs.h <<_ACEOF
21613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21614 _ACEOF
21617 done
21619 else
21621 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21622 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21624 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21626 else
21630 ac_ext=cc
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21636 cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h. */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642 #include <math.h>
21644 main ()
21646 _ldexpl(0, 0);
21648 return 0;
21650 _ACEOF
21651 rm -f conftest.$ac_objext
21652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653 (eval $ac_compile) 2>conftest.er1
21654 ac_status=$?
21655 grep -v '^ *+' conftest.er1 >conftest.err
21656 rm -f conftest.er1
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try='test -z "$ac_cxx_werror_flag"
21661 || test ! -s conftest.err'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21664 ac_status=$?
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try='test -s conftest.$ac_objext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 glibcxx_cv_func__ldexpl_use=yes
21674 else
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21678 glibcxx_cv_func__ldexpl_use=no
21680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681 ac_ext=c
21682 ac_cpp='$CPP $CPPFLAGS'
21683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21692 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21696 for ac_func in _ldexpl
21698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21699 echo "$as_me:$LINENO: checking for $ac_func" >&5
21700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21701 if eval "test \"\${$as_ac_var+set}\" = set"; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21703 else
21704 if test x$gcc_no_link = xyes; then
21705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21707 { (exit 1); exit 1; }; }
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21717 #define $ac_func innocuous_$ac_func
21719 /* System header to define __stub macros and hopefully few prototypes,
21720 which can conflict with char $ac_func (); below.
21721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21722 <limits.h> exists even on freestanding compilers. */
21724 #ifdef __STDC__
21725 # include <limits.h>
21726 #else
21727 # include <assert.h>
21728 #endif
21730 #undef $ac_func
21732 /* Override any gcc2 internal prototype to avoid an error. */
21733 #ifdef __cplusplus
21734 extern "C"
21736 #endif
21737 /* We use char because int might match the return type of a gcc2
21738 builtin and then its argument prototype would still apply. */
21739 char $ac_func ();
21740 /* The GNU C library defines this for functions which it implements
21741 to always fail with ENOSYS. Some functions are actually named
21742 something starting with __ and the normal name is an alias. */
21743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21744 choke me
21745 #else
21746 char (*f) () = $ac_func;
21747 #endif
21748 #ifdef __cplusplus
21750 #endif
21753 main ()
21755 return f != $ac_func;
21757 return 0;
21759 _ACEOF
21760 rm -f conftest.$ac_objext conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>conftest.er1
21763 ac_status=$?
21764 grep -v '^ *+' conftest.er1 >conftest.err
21765 rm -f conftest.er1
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -z "$ac_c_werror_flag"
21770 || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest$ac_exeext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 eval "$as_ac_var=yes"
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 eval "$as_ac_var=no"
21789 rm -f conftest.err conftest.$ac_objext \
21790 conftest$ac_exeext conftest.$ac_ext
21792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21794 if test `eval echo '${'$as_ac_var'}'` = yes; then
21795 cat >>confdefs.h <<_ACEOF
21796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21797 _ACEOF
21800 done
21807 echo "$as_me:$LINENO: checking for logl declaration" >&5
21808 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21809 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21810 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21816 ac_ext=cc
21817 ac_cpp='$CXXCPP $CPPFLAGS'
21818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h. */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828 #include <math.h>
21829 #ifdef HAVE_IEEEFP_H
21830 #include <ieeefp.h>
21831 #endif
21834 main ()
21836 logl(0);
21838 return 0;
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21843 (eval $ac_compile) 2>conftest.er1
21844 ac_status=$?
21845 grep -v '^ *+' conftest.er1 >conftest.err
21846 rm -f conftest.er1
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try='test -z "$ac_cxx_werror_flag"
21851 || test ! -s conftest.err'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; } &&
21857 { ac_try='test -s conftest.$ac_objext'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 glibcxx_cv_func_logl_use=yes
21864 else
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 glibcxx_cv_func_logl_use=no
21870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21871 ac_ext=c
21872 ac_cpp='$CPP $CPPFLAGS'
21873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21882 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21884 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21886 for ac_func in logl
21888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21889 echo "$as_me:$LINENO: checking for $ac_func" >&5
21890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21891 if eval "test \"\${$as_ac_var+set}\" = set"; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21894 if test x$gcc_no_link = xyes; then
21895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21897 { (exit 1); exit 1; }; }
21899 cat >conftest.$ac_ext <<_ACEOF
21900 /* confdefs.h. */
21901 _ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21907 #define $ac_func innocuous_$ac_func
21909 /* System header to define __stub macros and hopefully few prototypes,
21910 which can conflict with char $ac_func (); below.
21911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21912 <limits.h> exists even on freestanding compilers. */
21914 #ifdef __STDC__
21915 # include <limits.h>
21916 #else
21917 # include <assert.h>
21918 #endif
21920 #undef $ac_func
21922 /* Override any gcc2 internal prototype to avoid an error. */
21923 #ifdef __cplusplus
21924 extern "C"
21926 #endif
21927 /* We use char because int might match the return type of a gcc2
21928 builtin and then its argument prototype would still apply. */
21929 char $ac_func ();
21930 /* The GNU C library defines this for functions which it implements
21931 to always fail with ENOSYS. Some functions are actually named
21932 something starting with __ and the normal name is an alias. */
21933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21934 choke me
21935 #else
21936 char (*f) () = $ac_func;
21937 #endif
21938 #ifdef __cplusplus
21940 #endif
21943 main ()
21945 return f != $ac_func;
21947 return 0;
21949 _ACEOF
21950 rm -f conftest.$ac_objext conftest$ac_exeext
21951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21952 (eval $ac_link) 2>conftest.er1
21953 ac_status=$?
21954 grep -v '^ *+' conftest.er1 >conftest.err
21955 rm -f conftest.er1
21956 cat conftest.err >&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } &&
21959 { ac_try='test -z "$ac_c_werror_flag"
21960 || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try='test -s conftest$ac_exeext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21969 ac_status=$?
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 eval "$as_ac_var=yes"
21973 else
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21977 eval "$as_ac_var=no"
21979 rm -f conftest.err conftest.$ac_objext \
21980 conftest$ac_exeext conftest.$ac_ext
21982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21984 if test `eval echo '${'$as_ac_var'}'` = yes; then
21985 cat >>confdefs.h <<_ACEOF
21986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21987 _ACEOF
21990 done
21992 else
21994 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21995 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21996 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21997 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21998 echo $ECHO_N "(cached) $ECHO_C" >&6
21999 else
22003 ac_ext=cc
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22009 cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h. */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015 #include <math.h>
22016 #ifdef HAVE_IEEEFP_H
22017 #include <ieeefp.h>
22018 #endif
22021 main ()
22023 _logl(0);
22025 return 0;
22027 _ACEOF
22028 rm -f conftest.$ac_objext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22030 (eval $ac_compile) 2>conftest.er1
22031 ac_status=$?
22032 grep -v '^ *+' conftest.er1 >conftest.err
22033 rm -f conftest.er1
22034 cat conftest.err >&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } &&
22037 { ac_try='test -z "$ac_cxx_werror_flag"
22038 || test ! -s conftest.err'
22039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040 (eval $ac_try) 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest.$ac_objext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 glibcxx_cv_func__logl_use=yes
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22055 glibcxx_cv_func__logl_use=no
22057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22058 ac_ext=c
22059 ac_cpp='$CPP $CPPFLAGS'
22060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22069 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22071 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22073 for ac_func in _logl
22075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22076 echo "$as_me:$LINENO: checking for $ac_func" >&5
22077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22078 if eval "test \"\${$as_ac_var+set}\" = set"; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 else
22081 if test x$gcc_no_link = xyes; then
22082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22084 { (exit 1); exit 1; }; }
22086 cat >conftest.$ac_ext <<_ACEOF
22087 /* confdefs.h. */
22088 _ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22094 #define $ac_func innocuous_$ac_func
22096 /* System header to define __stub macros and hopefully few prototypes,
22097 which can conflict with char $ac_func (); below.
22098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22099 <limits.h> exists even on freestanding compilers. */
22101 #ifdef __STDC__
22102 # include <limits.h>
22103 #else
22104 # include <assert.h>
22105 #endif
22107 #undef $ac_func
22109 /* Override any gcc2 internal prototype to avoid an error. */
22110 #ifdef __cplusplus
22111 extern "C"
22113 #endif
22114 /* We use char because int might match the return type of a gcc2
22115 builtin and then its argument prototype would still apply. */
22116 char $ac_func ();
22117 /* The GNU C library defines this for functions which it implements
22118 to always fail with ENOSYS. Some functions are actually named
22119 something starting with __ and the normal name is an alias. */
22120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22121 choke me
22122 #else
22123 char (*f) () = $ac_func;
22124 #endif
22125 #ifdef __cplusplus
22127 #endif
22130 main ()
22132 return f != $ac_func;
22134 return 0;
22136 _ACEOF
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139 (eval $ac_link) 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -z "$ac_c_werror_flag"
22147 || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 eval "$as_ac_var=yes"
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 eval "$as_ac_var=no"
22166 rm -f conftest.err conftest.$ac_objext \
22167 conftest$ac_exeext conftest.$ac_ext
22169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22171 if test `eval echo '${'$as_ac_var'}'` = yes; then
22172 cat >>confdefs.h <<_ACEOF
22173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22174 _ACEOF
22177 done
22184 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22185 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22186 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22187 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22189 else
22193 ac_ext=cc
22194 ac_cpp='$CXXCPP $CPPFLAGS'
22195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 #include <math.h>
22206 #ifdef HAVE_IEEEFP_H
22207 #include <ieeefp.h>
22208 #endif
22211 main ()
22213 log10l(0);
22215 return 0;
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22220 (eval $ac_compile) 2>conftest.er1
22221 ac_status=$?
22222 grep -v '^ *+' conftest.er1 >conftest.err
22223 rm -f conftest.er1
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -z "$ac_cxx_werror_flag"
22228 || test ! -s conftest.err'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22231 ac_status=$?
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; } &&
22234 { ac_try='test -s conftest.$ac_objext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 glibcxx_cv_func_log10l_use=yes
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22245 glibcxx_cv_func_log10l_use=no
22247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22248 ac_ext=c
22249 ac_cpp='$CPP $CPPFLAGS'
22250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22259 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22261 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22263 for ac_func in log10l
22265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22266 echo "$as_me:$LINENO: checking for $ac_func" >&5
22267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22268 if eval "test \"\${$as_ac_var+set}\" = set"; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271 if test x$gcc_no_link = xyes; then
22272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22274 { (exit 1); exit 1; }; }
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22284 #define $ac_func innocuous_$ac_func
22286 /* System header to define __stub macros and hopefully few prototypes,
22287 which can conflict with char $ac_func (); below.
22288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22289 <limits.h> exists even on freestanding compilers. */
22291 #ifdef __STDC__
22292 # include <limits.h>
22293 #else
22294 # include <assert.h>
22295 #endif
22297 #undef $ac_func
22299 /* Override any gcc2 internal prototype to avoid an error. */
22300 #ifdef __cplusplus
22301 extern "C"
22303 #endif
22304 /* We use char because int might match the return type of a gcc2
22305 builtin and then its argument prototype would still apply. */
22306 char $ac_func ();
22307 /* The GNU C library defines this for functions which it implements
22308 to always fail with ENOSYS. Some functions are actually named
22309 something starting with __ and the normal name is an alias. */
22310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22311 choke me
22312 #else
22313 char (*f) () = $ac_func;
22314 #endif
22315 #ifdef __cplusplus
22317 #endif
22320 main ()
22322 return f != $ac_func;
22324 return 0;
22326 _ACEOF
22327 rm -f conftest.$ac_objext conftest$ac_exeext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22329 (eval $ac_link) 2>conftest.er1
22330 ac_status=$?
22331 grep -v '^ *+' conftest.er1 >conftest.err
22332 rm -f conftest.er1
22333 cat conftest.err >&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); } &&
22336 { ac_try='test -z "$ac_c_werror_flag"
22337 || test ! -s conftest.err'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; } &&
22343 { ac_try='test -s conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 eval "$as_ac_var=yes"
22350 else
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22354 eval "$as_ac_var=no"
22356 rm -f conftest.err conftest.$ac_objext \
22357 conftest$ac_exeext conftest.$ac_ext
22359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22361 if test `eval echo '${'$as_ac_var'}'` = yes; then
22362 cat >>confdefs.h <<_ACEOF
22363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22364 _ACEOF
22367 done
22369 else
22371 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22372 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22373 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22374 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22380 ac_ext=cc
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386 cat >conftest.$ac_ext <<_ACEOF
22387 /* confdefs.h. */
22388 _ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h. */
22392 #include <math.h>
22393 #ifdef HAVE_IEEEFP_H
22394 #include <ieeefp.h>
22395 #endif
22398 main ()
22400 _log10l(0);
22402 return 0;
22404 _ACEOF
22405 rm -f conftest.$ac_objext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22407 (eval $ac_compile) 2>conftest.er1
22408 ac_status=$?
22409 grep -v '^ *+' conftest.er1 >conftest.err
22410 rm -f conftest.er1
22411 cat conftest.err >&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } &&
22414 { ac_try='test -z "$ac_cxx_werror_flag"
22415 || test ! -s conftest.err'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22418 ac_status=$?
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; } &&
22421 { ac_try='test -s conftest.$ac_objext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 glibcxx_cv_func__log10l_use=yes
22428 else
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22432 glibcxx_cv_func__log10l_use=no
22434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22446 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22448 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22450 for ac_func in _log10l
22452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22453 echo "$as_me:$LINENO: checking for $ac_func" >&5
22454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22455 if eval "test \"\${$as_ac_var+set}\" = set"; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 else
22458 if test x$gcc_no_link = xyes; then
22459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22461 { (exit 1); exit 1; }; }
22463 cat >conftest.$ac_ext <<_ACEOF
22464 /* confdefs.h. */
22465 _ACEOF
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22471 #define $ac_func innocuous_$ac_func
22473 /* System header to define __stub macros and hopefully few prototypes,
22474 which can conflict with char $ac_func (); below.
22475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476 <limits.h> exists even on freestanding compilers. */
22478 #ifdef __STDC__
22479 # include <limits.h>
22480 #else
22481 # include <assert.h>
22482 #endif
22484 #undef $ac_func
22486 /* Override any gcc2 internal prototype to avoid an error. */
22487 #ifdef __cplusplus
22488 extern "C"
22490 #endif
22491 /* We use char because int might match the return type of a gcc2
22492 builtin and then its argument prototype would still apply. */
22493 char $ac_func ();
22494 /* The GNU C library defines this for functions which it implements
22495 to always fail with ENOSYS. Some functions are actually named
22496 something starting with __ and the normal name is an alias. */
22497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22498 choke me
22499 #else
22500 char (*f) () = $ac_func;
22501 #endif
22502 #ifdef __cplusplus
22504 #endif
22507 main ()
22509 return f != $ac_func;
22511 return 0;
22513 _ACEOF
22514 rm -f conftest.$ac_objext conftest$ac_exeext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22516 (eval $ac_link) 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try='test -z "$ac_c_werror_flag"
22524 || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try='test -s conftest$ac_exeext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 eval "$as_ac_var=yes"
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22541 eval "$as_ac_var=no"
22543 rm -f conftest.err conftest.$ac_objext \
22544 conftest$ac_exeext conftest.$ac_ext
22546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22548 if test `eval echo '${'$as_ac_var'}'` = yes; then
22549 cat >>confdefs.h <<_ACEOF
22550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22551 _ACEOF
22554 done
22561 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22562 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22563 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22564 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 else
22570 ac_ext=cc
22571 ac_cpp='$CXXCPP $CPPFLAGS'
22572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <math.h>
22584 main ()
22586 modfl(0, 0);
22588 return 0;
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22593 (eval $ac_compile) 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } &&
22600 { ac_try='test -z "$ac_cxx_werror_flag"
22601 || test ! -s conftest.err'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try='test -s conftest.$ac_objext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22610 ac_status=$?
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 glibcxx_cv_func_modfl_use=yes
22614 else
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22618 glibcxx_cv_func_modfl_use=no
22620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22632 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22634 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22636 for ac_func in modfl
22638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22639 echo "$as_me:$LINENO: checking for $ac_func" >&5
22640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22641 if eval "test \"\${$as_ac_var+set}\" = set"; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644 if test x$gcc_no_link = xyes; then
22645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647 { (exit 1); exit 1; }; }
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22657 #define $ac_func innocuous_$ac_func
22659 /* System header to define __stub macros and hopefully few prototypes,
22660 which can conflict with char $ac_func (); below.
22661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22662 <limits.h> exists even on freestanding compilers. */
22664 #ifdef __STDC__
22665 # include <limits.h>
22666 #else
22667 # include <assert.h>
22668 #endif
22670 #undef $ac_func
22672 /* Override any gcc2 internal prototype to avoid an error. */
22673 #ifdef __cplusplus
22674 extern "C"
22676 #endif
22677 /* We use char because int might match the return type of a gcc2
22678 builtin and then its argument prototype would still apply. */
22679 char $ac_func ();
22680 /* The GNU C library defines this for functions which it implements
22681 to always fail with ENOSYS. Some functions are actually named
22682 something starting with __ and the normal name is an alias. */
22683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22684 choke me
22685 #else
22686 char (*f) () = $ac_func;
22687 #endif
22688 #ifdef __cplusplus
22690 #endif
22693 main ()
22695 return f != $ac_func;
22697 return 0;
22699 _ACEOF
22700 rm -f conftest.$ac_objext conftest$ac_exeext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22702 (eval $ac_link) 2>conftest.er1
22703 ac_status=$?
22704 grep -v '^ *+' conftest.er1 >conftest.err
22705 rm -f conftest.er1
22706 cat conftest.err >&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); } &&
22709 { ac_try='test -z "$ac_c_werror_flag"
22710 || test ! -s conftest.err'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; } &&
22716 { ac_try='test -s conftest$ac_exeext'
22717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718 (eval $ac_try) 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; }; then
22722 eval "$as_ac_var=yes"
22723 else
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22727 eval "$as_ac_var=no"
22729 rm -f conftest.err conftest.$ac_objext \
22730 conftest$ac_exeext conftest.$ac_ext
22732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22734 if test `eval echo '${'$as_ac_var'}'` = yes; then
22735 cat >>confdefs.h <<_ACEOF
22736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22737 _ACEOF
22740 done
22742 else
22744 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22745 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22746 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22747 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22753 ac_ext=cc
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 #include <math.h>
22767 main ()
22769 _modfl(0, 0);
22771 return 0;
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22776 (eval $ac_compile) 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_cxx_werror_flag"
22784 || test ! -s conftest.err'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22787 ac_status=$?
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; } &&
22790 { ac_try='test -s conftest.$ac_objext'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22793 ac_status=$?
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 glibcxx_cv_func__modfl_use=yes
22797 else
22798 echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.$ac_ext >&5
22801 glibcxx_cv_func__modfl_use=no
22803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22815 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22819 for ac_func in _modfl
22821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22822 echo "$as_me:$LINENO: checking for $ac_func" >&5
22823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22824 if eval "test \"\${$as_ac_var+set}\" = set"; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827 if test x$gcc_no_link = xyes; then
22828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22830 { (exit 1); exit 1; }; }
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22840 #define $ac_func innocuous_$ac_func
22842 /* System header to define __stub macros and hopefully few prototypes,
22843 which can conflict with char $ac_func (); below.
22844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22845 <limits.h> exists even on freestanding compilers. */
22847 #ifdef __STDC__
22848 # include <limits.h>
22849 #else
22850 # include <assert.h>
22851 #endif
22853 #undef $ac_func
22855 /* Override any gcc2 internal prototype to avoid an error. */
22856 #ifdef __cplusplus
22857 extern "C"
22859 #endif
22860 /* We use char because int might match the return type of a gcc2
22861 builtin and then its argument prototype would still apply. */
22862 char $ac_func ();
22863 /* The GNU C library defines this for functions which it implements
22864 to always fail with ENOSYS. Some functions are actually named
22865 something starting with __ and the normal name is an alias. */
22866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22867 choke me
22868 #else
22869 char (*f) () = $ac_func;
22870 #endif
22871 #ifdef __cplusplus
22873 #endif
22876 main ()
22878 return f != $ac_func;
22880 return 0;
22882 _ACEOF
22883 rm -f conftest.$ac_objext conftest$ac_exeext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885 (eval $ac_link) 2>conftest.er1
22886 ac_status=$?
22887 grep -v '^ *+' conftest.er1 >conftest.err
22888 rm -f conftest.er1
22889 cat conftest.err >&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } &&
22892 { ac_try='test -z "$ac_c_werror_flag"
22893 || test ! -s conftest.err'
22894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22895 (eval $ac_try) 2>&5
22896 ac_status=$?
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); }; } &&
22899 { ac_try='test -s conftest$ac_exeext'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; }; then
22905 eval "$as_ac_var=yes"
22906 else
22907 echo "$as_me: failed program was:" >&5
22908 sed 's/^/| /' conftest.$ac_ext >&5
22910 eval "$as_ac_var=no"
22912 rm -f conftest.err conftest.$ac_objext \
22913 conftest$ac_exeext conftest.$ac_ext
22915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22917 if test `eval echo '${'$as_ac_var'}'` = yes; then
22918 cat >>confdefs.h <<_ACEOF
22919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22920 _ACEOF
22923 done
22930 echo "$as_me:$LINENO: checking for powl declaration" >&5
22931 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22932 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22933 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22935 else
22939 ac_ext=cc
22940 ac_cpp='$CXXCPP $CPPFLAGS'
22941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #include <math.h>
22953 main ()
22955 powl(0, 0);
22957 return 0;
22959 _ACEOF
22960 rm -f conftest.$ac_objext
22961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22962 (eval $ac_compile) 2>conftest.er1
22963 ac_status=$?
22964 grep -v '^ *+' conftest.er1 >conftest.err
22965 rm -f conftest.er1
22966 cat conftest.err >&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } &&
22969 { ac_try='test -z "$ac_cxx_werror_flag"
22970 || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22973 ac_status=$?
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try='test -s conftest.$ac_objext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22982 glibcxx_cv_func_powl_use=yes
22983 else
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22987 glibcxx_cv_func_powl_use=no
22989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22990 ac_ext=c
22991 ac_cpp='$CPP $CPPFLAGS'
22992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
23001 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
23003 if test x$glibcxx_cv_func_powl_use = x"yes"; then
23005 for ac_func in powl
23007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23008 echo "$as_me:$LINENO: checking for $ac_func" >&5
23009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23010 if eval "test \"\${$as_ac_var+set}\" = set"; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013 if test x$gcc_no_link = xyes; then
23014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23016 { (exit 1); exit 1; }; }
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h. */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23026 #define $ac_func innocuous_$ac_func
23028 /* System header to define __stub macros and hopefully few prototypes,
23029 which can conflict with char $ac_func (); below.
23030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23031 <limits.h> exists even on freestanding compilers. */
23033 #ifdef __STDC__
23034 # include <limits.h>
23035 #else
23036 # include <assert.h>
23037 #endif
23039 #undef $ac_func
23041 /* Override any gcc2 internal prototype to avoid an error. */
23042 #ifdef __cplusplus
23043 extern "C"
23045 #endif
23046 /* We use char because int might match the return type of a gcc2
23047 builtin and then its argument prototype would still apply. */
23048 char $ac_func ();
23049 /* The GNU C library defines this for functions which it implements
23050 to always fail with ENOSYS. Some functions are actually named
23051 something starting with __ and the normal name is an alias. */
23052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23053 choke me
23054 #else
23055 char (*f) () = $ac_func;
23056 #endif
23057 #ifdef __cplusplus
23059 #endif
23062 main ()
23064 return f != $ac_func;
23066 return 0;
23068 _ACEOF
23069 rm -f conftest.$ac_objext conftest$ac_exeext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071 (eval $ac_link) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_c_werror_flag"
23079 || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 eval "$as_ac_var=yes"
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23096 eval "$as_ac_var=no"
23098 rm -f conftest.err conftest.$ac_objext \
23099 conftest$ac_exeext conftest.$ac_ext
23101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23103 if test `eval echo '${'$as_ac_var'}'` = yes; then
23104 cat >>confdefs.h <<_ACEOF
23105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23106 _ACEOF
23109 done
23111 else
23113 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23114 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23115 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23116 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23122 ac_ext=cc
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23128 cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134 #include <math.h>
23136 main ()
23138 _powl(0, 0);
23140 return 0;
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23145 (eval $ac_compile) 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try='test -z "$ac_cxx_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest.$ac_objext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 glibcxx_cv_func__powl_use=yes
23166 else
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23170 glibcxx_cv_func__powl_use=no
23172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23173 ac_ext=c
23174 ac_cpp='$CPP $CPPFLAGS'
23175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23184 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23186 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23188 for ac_func in _powl
23190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 echo "$as_me:$LINENO: checking for $ac_func" >&5
23192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23193 if eval "test \"\${$as_ac_var+set}\" = set"; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 else
23196 if test x$gcc_no_link = xyes; then
23197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23199 { (exit 1); exit 1; }; }
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23209 #define $ac_func innocuous_$ac_func
23211 /* System header to define __stub macros and hopefully few prototypes,
23212 which can conflict with char $ac_func (); below.
23213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23214 <limits.h> exists even on freestanding compilers. */
23216 #ifdef __STDC__
23217 # include <limits.h>
23218 #else
23219 # include <assert.h>
23220 #endif
23222 #undef $ac_func
23224 /* Override any gcc2 internal prototype to avoid an error. */
23225 #ifdef __cplusplus
23226 extern "C"
23228 #endif
23229 /* We use char because int might match the return type of a gcc2
23230 builtin and then its argument prototype would still apply. */
23231 char $ac_func ();
23232 /* The GNU C library defines this for functions which it implements
23233 to always fail with ENOSYS. Some functions are actually named
23234 something starting with __ and the normal name is an alias. */
23235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23236 choke me
23237 #else
23238 char (*f) () = $ac_func;
23239 #endif
23240 #ifdef __cplusplus
23242 #endif
23245 main ()
23247 return f != $ac_func;
23249 return 0;
23251 _ACEOF
23252 rm -f conftest.$ac_objext conftest$ac_exeext
23253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23254 (eval $ac_link) 2>conftest.er1
23255 ac_status=$?
23256 grep -v '^ *+' conftest.er1 >conftest.err
23257 rm -f conftest.er1
23258 cat conftest.err >&5
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); } &&
23261 { ac_try='test -z "$ac_c_werror_flag"
23262 || test ! -s conftest.err'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; } &&
23268 { ac_try='test -s conftest$ac_exeext'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; }; then
23274 eval "$as_ac_var=yes"
23275 else
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23279 eval "$as_ac_var=no"
23281 rm -f conftest.err conftest.$ac_objext \
23282 conftest$ac_exeext conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23286 if test `eval echo '${'$as_ac_var'}'` = yes; then
23287 cat >>confdefs.h <<_ACEOF
23288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23289 _ACEOF
23292 done
23299 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23300 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23301 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23302 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 else
23308 ac_ext=cc
23309 ac_cpp='$CXXCPP $CPPFLAGS'
23310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23314 cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h. */
23316 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23320 #include <math.h>
23321 #ifdef HAVE_IEEEFP_H
23322 #include <ieeefp.h>
23323 #endif
23326 main ()
23328 sqrtl(0);
23330 return 0;
23332 _ACEOF
23333 rm -f conftest.$ac_objext
23334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23335 (eval $ac_compile) 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } &&
23342 { ac_try='test -z "$ac_cxx_werror_flag"
23343 || test ! -s conftest.err'
23344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345 (eval $ac_try) 2>&5
23346 ac_status=$?
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; } &&
23349 { ac_try='test -s conftest.$ac_objext'
23350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23351 (eval $ac_try) 2>&5
23352 ac_status=$?
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); }; }; then
23355 glibcxx_cv_func_sqrtl_use=yes
23356 else
23357 echo "$as_me: failed program was:" >&5
23358 sed 's/^/| /' conftest.$ac_ext >&5
23360 glibcxx_cv_func_sqrtl_use=no
23362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23363 ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23374 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23376 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23378 for ac_func in sqrtl
23380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23381 echo "$as_me:$LINENO: checking for $ac_func" >&5
23382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23383 if eval "test \"\${$as_ac_var+set}\" = set"; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23385 else
23386 if test x$gcc_no_link = xyes; then
23387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23389 { (exit 1); exit 1; }; }
23391 cat >conftest.$ac_ext <<_ACEOF
23392 /* confdefs.h. */
23393 _ACEOF
23394 cat confdefs.h >>conftest.$ac_ext
23395 cat >>conftest.$ac_ext <<_ACEOF
23396 /* end confdefs.h. */
23397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23399 #define $ac_func innocuous_$ac_func
23401 /* System header to define __stub macros and hopefully few prototypes,
23402 which can conflict with char $ac_func (); below.
23403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23404 <limits.h> exists even on freestanding compilers. */
23406 #ifdef __STDC__
23407 # include <limits.h>
23408 #else
23409 # include <assert.h>
23410 #endif
23412 #undef $ac_func
23414 /* Override any gcc2 internal prototype to avoid an error. */
23415 #ifdef __cplusplus
23416 extern "C"
23418 #endif
23419 /* We use char because int might match the return type of a gcc2
23420 builtin and then its argument prototype would still apply. */
23421 char $ac_func ();
23422 /* The GNU C library defines this for functions which it implements
23423 to always fail with ENOSYS. Some functions are actually named
23424 something starting with __ and the normal name is an alias. */
23425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23426 choke me
23427 #else
23428 char (*f) () = $ac_func;
23429 #endif
23430 #ifdef __cplusplus
23432 #endif
23435 main ()
23437 return f != $ac_func;
23439 return 0;
23441 _ACEOF
23442 rm -f conftest.$ac_objext conftest$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>conftest.er1
23445 ac_status=$?
23446 grep -v '^ *+' conftest.er1 >conftest.err
23447 rm -f conftest.er1
23448 cat conftest.err >&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try='test -z "$ac_c_werror_flag"
23452 || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23455 ac_status=$?
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try='test -s conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23461 ac_status=$?
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 eval "$as_ac_var=yes"
23465 else
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23469 eval "$as_ac_var=no"
23471 rm -f conftest.err conftest.$ac_objext \
23472 conftest$ac_exeext conftest.$ac_ext
23474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23476 if test `eval echo '${'$as_ac_var'}'` = yes; then
23477 cat >>confdefs.h <<_ACEOF
23478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23479 _ACEOF
23482 done
23484 else
23486 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23487 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23488 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23489 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23490 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 else
23495 ac_ext=cc
23496 ac_cpp='$CXXCPP $CPPFLAGS'
23497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23501 cat >conftest.$ac_ext <<_ACEOF
23502 /* confdefs.h. */
23503 _ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h. */
23507 #include <math.h>
23508 #ifdef HAVE_IEEEFP_H
23509 #include <ieeefp.h>
23510 #endif
23513 main ()
23515 _sqrtl(0);
23517 return 0;
23519 _ACEOF
23520 rm -f conftest.$ac_objext
23521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23522 (eval $ac_compile) 2>conftest.er1
23523 ac_status=$?
23524 grep -v '^ *+' conftest.er1 >conftest.err
23525 rm -f conftest.er1
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } &&
23529 { ac_try='test -z "$ac_cxx_werror_flag"
23530 || test ! -s conftest.err'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23533 ac_status=$?
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; } &&
23536 { ac_try='test -s conftest.$ac_objext'
23537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23538 (eval $ac_try) 2>&5
23539 ac_status=$?
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; }; then
23542 glibcxx_cv_func__sqrtl_use=yes
23543 else
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23547 glibcxx_cv_func__sqrtl_use=no
23549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23550 ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23561 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23563 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23565 for ac_func in _sqrtl
23567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23568 echo "$as_me:$LINENO: checking for $ac_func" >&5
23569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23570 if eval "test \"\${$as_ac_var+set}\" = set"; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 else
23573 if test x$gcc_no_link = xyes; then
23574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576 { (exit 1); exit 1; }; }
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23586 #define $ac_func innocuous_$ac_func
23588 /* System header to define __stub macros and hopefully few prototypes,
23589 which can conflict with char $ac_func (); below.
23590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23591 <limits.h> exists even on freestanding compilers. */
23593 #ifdef __STDC__
23594 # include <limits.h>
23595 #else
23596 # include <assert.h>
23597 #endif
23599 #undef $ac_func
23601 /* Override any gcc2 internal prototype to avoid an error. */
23602 #ifdef __cplusplus
23603 extern "C"
23605 #endif
23606 /* We use char because int might match the return type of a gcc2
23607 builtin and then its argument prototype would still apply. */
23608 char $ac_func ();
23609 /* The GNU C library defines this for functions which it implements
23610 to always fail with ENOSYS. Some functions are actually named
23611 something starting with __ and the normal name is an alias. */
23612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23613 choke me
23614 #else
23615 char (*f) () = $ac_func;
23616 #endif
23617 #ifdef __cplusplus
23619 #endif
23622 main ()
23624 return f != $ac_func;
23626 return 0;
23628 _ACEOF
23629 rm -f conftest.$ac_objext conftest$ac_exeext
23630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23631 (eval $ac_link) 2>conftest.er1
23632 ac_status=$?
23633 grep -v '^ *+' conftest.er1 >conftest.err
23634 rm -f conftest.er1
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } &&
23638 { ac_try='test -z "$ac_c_werror_flag"
23639 || test ! -s conftest.err'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23642 ac_status=$?
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; } &&
23645 { ac_try='test -s conftest$ac_exeext'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; }; then
23651 eval "$as_ac_var=yes"
23652 else
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23656 eval "$as_ac_var=no"
23658 rm -f conftest.err conftest.$ac_objext \
23659 conftest$ac_exeext conftest.$ac_ext
23661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23663 if test `eval echo '${'$as_ac_var'}'` = yes; then
23664 cat >>confdefs.h <<_ACEOF
23665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23666 _ACEOF
23669 done
23676 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23677 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23678 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23679 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23685 ac_ext=cc
23686 ac_cpp='$CXXCPP $CPPFLAGS'
23687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23691 cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h. */
23693 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 #include <math.h>
23699 main ()
23701 sincosl(0, 0, 0);
23703 return 0;
23705 _ACEOF
23706 rm -f conftest.$ac_objext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23708 (eval $ac_compile) 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try='test -z "$ac_cxx_werror_flag"
23716 || test ! -s conftest.err'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23719 ac_status=$?
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; } &&
23722 { ac_try='test -s conftest.$ac_objext'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23725 ac_status=$?
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; }; then
23728 glibcxx_cv_func_sincosl_use=yes
23729 else
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23733 glibcxx_cv_func_sincosl_use=no
23735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23736 ac_ext=c
23737 ac_cpp='$CPP $CPPFLAGS'
23738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23747 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23749 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23751 for ac_func in sincosl
23753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23754 echo "$as_me:$LINENO: checking for $ac_func" >&5
23755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23756 if eval "test \"\${$as_ac_var+set}\" = set"; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759 if test x$gcc_no_link = xyes; then
23760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23762 { (exit 1); exit 1; }; }
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23772 #define $ac_func innocuous_$ac_func
23774 /* System header to define __stub macros and hopefully few prototypes,
23775 which can conflict with char $ac_func (); below.
23776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23777 <limits.h> exists even on freestanding compilers. */
23779 #ifdef __STDC__
23780 # include <limits.h>
23781 #else
23782 # include <assert.h>
23783 #endif
23785 #undef $ac_func
23787 /* Override any gcc2 internal prototype to avoid an error. */
23788 #ifdef __cplusplus
23789 extern "C"
23791 #endif
23792 /* We use char because int might match the return type of a gcc2
23793 builtin and then its argument prototype would still apply. */
23794 char $ac_func ();
23795 /* The GNU C library defines this for functions which it implements
23796 to always fail with ENOSYS. Some functions are actually named
23797 something starting with __ and the normal name is an alias. */
23798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23799 choke me
23800 #else
23801 char (*f) () = $ac_func;
23802 #endif
23803 #ifdef __cplusplus
23805 #endif
23808 main ()
23810 return f != $ac_func;
23812 return 0;
23814 _ACEOF
23815 rm -f conftest.$ac_objext conftest$ac_exeext
23816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23817 (eval $ac_link) 2>conftest.er1
23818 ac_status=$?
23819 grep -v '^ *+' conftest.er1 >conftest.err
23820 rm -f conftest.er1
23821 cat conftest.err >&5
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); } &&
23824 { ac_try='test -z "$ac_c_werror_flag"
23825 || test ! -s conftest.err'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23828 ac_status=$?
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; } &&
23831 { ac_try='test -s conftest$ac_exeext'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23834 ac_status=$?
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 eval "$as_ac_var=yes"
23838 else
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.$ac_ext >&5
23842 eval "$as_ac_var=no"
23844 rm -f conftest.err conftest.$ac_objext \
23845 conftest$ac_exeext conftest.$ac_ext
23847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23849 if test `eval echo '${'$as_ac_var'}'` = yes; then
23850 cat >>confdefs.h <<_ACEOF
23851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23852 _ACEOF
23855 done
23857 else
23859 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23860 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23861 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23862 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23868 ac_ext=cc
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874 cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h. */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 #include <math.h>
23882 main ()
23884 _sincosl(0, 0, 0);
23886 return 0;
23888 _ACEOF
23889 rm -f conftest.$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891 (eval $ac_compile) 2>conftest.er1
23892 ac_status=$?
23893 grep -v '^ *+' conftest.er1 >conftest.err
23894 rm -f conftest.er1
23895 cat conftest.err >&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try='test -z "$ac_cxx_werror_flag"
23899 || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23902 ac_status=$?
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest.$ac_objext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 glibcxx_cv_func__sincosl_use=yes
23912 else
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23916 glibcxx_cv_func__sincosl_use=no
23918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23919 ac_ext=c
23920 ac_cpp='$CPP $CPPFLAGS'
23921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23930 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23932 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23934 for ac_func in _sincosl
23936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23937 echo "$as_me:$LINENO: checking for $ac_func" >&5
23938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23939 if eval "test \"\${$as_ac_var+set}\" = set"; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 else
23942 if test x$gcc_no_link = xyes; then
23943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23945 { (exit 1); exit 1; }; }
23947 cat >conftest.$ac_ext <<_ACEOF
23948 /* confdefs.h. */
23949 _ACEOF
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23955 #define $ac_func innocuous_$ac_func
23957 /* System header to define __stub macros and hopefully few prototypes,
23958 which can conflict with char $ac_func (); below.
23959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23960 <limits.h> exists even on freestanding compilers. */
23962 #ifdef __STDC__
23963 # include <limits.h>
23964 #else
23965 # include <assert.h>
23966 #endif
23968 #undef $ac_func
23970 /* Override any gcc2 internal prototype to avoid an error. */
23971 #ifdef __cplusplus
23972 extern "C"
23974 #endif
23975 /* We use char because int might match the return type of a gcc2
23976 builtin and then its argument prototype would still apply. */
23977 char $ac_func ();
23978 /* The GNU C library defines this for functions which it implements
23979 to always fail with ENOSYS. Some functions are actually named
23980 something starting with __ and the normal name is an alias. */
23981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23982 choke me
23983 #else
23984 char (*f) () = $ac_func;
23985 #endif
23986 #ifdef __cplusplus
23988 #endif
23991 main ()
23993 return f != $ac_func;
23995 return 0;
23997 _ACEOF
23998 rm -f conftest.$ac_objext conftest$ac_exeext
23999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24000 (eval $ac_link) 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } &&
24007 { ac_try='test -z "$ac_c_werror_flag"
24008 || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try='test -s conftest$ac_exeext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 eval "$as_ac_var=yes"
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24025 eval "$as_ac_var=no"
24027 rm -f conftest.err conftest.$ac_objext \
24028 conftest$ac_exeext conftest.$ac_ext
24030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24032 if test `eval echo '${'$as_ac_var'}'` = yes; then
24033 cat >>confdefs.h <<_ACEOF
24034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24035 _ACEOF
24038 done
24045 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24046 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24047 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24048 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24049 echo $ECHO_N "(cached) $ECHO_C" >&6
24050 else
24054 ac_ext=cc
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060 cat >conftest.$ac_ext <<_ACEOF
24061 /* confdefs.h. */
24062 _ACEOF
24063 cat confdefs.h >>conftest.$ac_ext
24064 cat >>conftest.$ac_ext <<_ACEOF
24065 /* end confdefs.h. */
24066 #include <math.h>
24067 #ifdef HAVE_IEEEFP_H
24068 #include <ieeefp.h>
24069 #endif
24072 main ()
24074 finitel(0);
24076 return 0;
24078 _ACEOF
24079 rm -f conftest.$ac_objext
24080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24081 (eval $ac_compile) 2>conftest.er1
24082 ac_status=$?
24083 grep -v '^ *+' conftest.er1 >conftest.err
24084 rm -f conftest.er1
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } &&
24088 { ac_try='test -z "$ac_cxx_werror_flag"
24089 || test ! -s conftest.err'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24092 ac_status=$?
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; } &&
24095 { ac_try='test -s conftest.$ac_objext'
24096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24097 (eval $ac_try) 2>&5
24098 ac_status=$?
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); }; }; then
24101 glibcxx_cv_func_finitel_use=yes
24102 else
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24106 glibcxx_cv_func_finitel_use=no
24108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24109 ac_ext=c
24110 ac_cpp='$CPP $CPPFLAGS'
24111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24120 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24122 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24124 for ac_func in finitel
24126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24127 echo "$as_me:$LINENO: checking for $ac_func" >&5
24128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24129 if eval "test \"\${$as_ac_var+set}\" = set"; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 else
24132 if test x$gcc_no_link = xyes; then
24133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24135 { (exit 1); exit 1; }; }
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24145 #define $ac_func innocuous_$ac_func
24147 /* System header to define __stub macros and hopefully few prototypes,
24148 which can conflict with char $ac_func (); below.
24149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24150 <limits.h> exists even on freestanding compilers. */
24152 #ifdef __STDC__
24153 # include <limits.h>
24154 #else
24155 # include <assert.h>
24156 #endif
24158 #undef $ac_func
24160 /* Override any gcc2 internal prototype to avoid an error. */
24161 #ifdef __cplusplus
24162 extern "C"
24164 #endif
24165 /* We use char because int might match the return type of a gcc2
24166 builtin and then its argument prototype would still apply. */
24167 char $ac_func ();
24168 /* The GNU C library defines this for functions which it implements
24169 to always fail with ENOSYS. Some functions are actually named
24170 something starting with __ and the normal name is an alias. */
24171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24172 choke me
24173 #else
24174 char (*f) () = $ac_func;
24175 #endif
24176 #ifdef __cplusplus
24178 #endif
24181 main ()
24183 return f != $ac_func;
24185 return 0;
24187 _ACEOF
24188 rm -f conftest.$ac_objext conftest$ac_exeext
24189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24190 (eval $ac_link) 2>conftest.er1
24191 ac_status=$?
24192 grep -v '^ *+' conftest.er1 >conftest.err
24193 rm -f conftest.er1
24194 cat conftest.err >&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); } &&
24197 { ac_try='test -z "$ac_c_werror_flag"
24198 || test ! -s conftest.err'
24199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200 (eval $ac_try) 2>&5
24201 ac_status=$?
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); }; } &&
24204 { ac_try='test -s conftest$ac_exeext'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24207 ac_status=$?
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; }; then
24210 eval "$as_ac_var=yes"
24211 else
24212 echo "$as_me: failed program was:" >&5
24213 sed 's/^/| /' conftest.$ac_ext >&5
24215 eval "$as_ac_var=no"
24217 rm -f conftest.err conftest.$ac_objext \
24218 conftest$ac_exeext conftest.$ac_ext
24220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24222 if test `eval echo '${'$as_ac_var'}'` = yes; then
24223 cat >>confdefs.h <<_ACEOF
24224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24225 _ACEOF
24228 done
24230 else
24232 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24233 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24234 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24235 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24236 echo $ECHO_N "(cached) $ECHO_C" >&6
24237 else
24241 ac_ext=cc
24242 ac_cpp='$CXXCPP $CPPFLAGS'
24243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24247 cat >conftest.$ac_ext <<_ACEOF
24248 /* confdefs.h. */
24249 _ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 #include <math.h>
24254 #ifdef HAVE_IEEEFP_H
24255 #include <ieeefp.h>
24256 #endif
24259 main ()
24261 _finitel(0);
24263 return 0;
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24269 ac_status=$?
24270 grep -v '^ *+' conftest.er1 >conftest.err
24271 rm -f conftest.er1
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try='test -z "$ac_cxx_werror_flag"
24276 || test ! -s conftest.err'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24279 ac_status=$?
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; } &&
24282 { ac_try='test -s conftest.$ac_objext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288 glibcxx_cv_func__finitel_use=yes
24289 else
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24293 glibcxx_cv_func__finitel_use=no
24295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24296 ac_ext=c
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24307 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24309 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24311 for ac_func in _finitel
24313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24314 echo "$as_me:$LINENO: checking for $ac_func" >&5
24315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24316 if eval "test \"\${$as_ac_var+set}\" = set"; then
24317 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 else
24319 if test x$gcc_no_link = xyes; then
24320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24322 { (exit 1); exit 1; }; }
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24332 #define $ac_func innocuous_$ac_func
24334 /* System header to define __stub macros and hopefully few prototypes,
24335 which can conflict with char $ac_func (); below.
24336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24337 <limits.h> exists even on freestanding compilers. */
24339 #ifdef __STDC__
24340 # include <limits.h>
24341 #else
24342 # include <assert.h>
24343 #endif
24345 #undef $ac_func
24347 /* Override any gcc2 internal prototype to avoid an error. */
24348 #ifdef __cplusplus
24349 extern "C"
24351 #endif
24352 /* We use char because int might match the return type of a gcc2
24353 builtin and then its argument prototype would still apply. */
24354 char $ac_func ();
24355 /* The GNU C library defines this for functions which it implements
24356 to always fail with ENOSYS. Some functions are actually named
24357 something starting with __ and the normal name is an alias. */
24358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24359 choke me
24360 #else
24361 char (*f) () = $ac_func;
24362 #endif
24363 #ifdef __cplusplus
24365 #endif
24368 main ()
24370 return f != $ac_func;
24372 return 0;
24374 _ACEOF
24375 rm -f conftest.$ac_objext conftest$ac_exeext
24376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24377 (eval $ac_link) 2>conftest.er1
24378 ac_status=$?
24379 grep -v '^ *+' conftest.er1 >conftest.err
24380 rm -f conftest.er1
24381 cat conftest.err >&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } &&
24384 { ac_try='test -z "$ac_c_werror_flag"
24385 || test ! -s conftest.err'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24388 ac_status=$?
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; } &&
24391 { ac_try='test -s conftest$ac_exeext'
24392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24393 (eval $ac_try) 2>&5
24394 ac_status=$?
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); }; }; then
24397 eval "$as_ac_var=yes"
24398 else
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24402 eval "$as_ac_var=no"
24404 rm -f conftest.err conftest.$ac_objext \
24405 conftest$ac_exeext conftest.$ac_ext
24407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24409 if test `eval echo '${'$as_ac_var'}'` = yes; then
24410 cat >>confdefs.h <<_ACEOF
24411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24412 _ACEOF
24415 done
24423 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24424 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24425 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24427 else
24431 ac_ext=cc
24432 ac_cpp='$CXXCPP $CPPFLAGS'
24433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24437 cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h. */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 #include <math.h>
24445 main ()
24447 `for x in _acosf _asinf _atanf \
24448 _cosf _sinf _tanf \
24449 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24451 return 0;
24453 _ACEOF
24454 rm -f conftest.$ac_objext
24455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24456 (eval $ac_compile) 2>conftest.er1
24457 ac_status=$?
24458 grep -v '^ *+' conftest.er1 >conftest.err
24459 rm -f conftest.er1
24460 cat conftest.err >&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } &&
24463 { ac_try='test -z "$ac_cxx_werror_flag"
24464 || test ! -s conftest.err'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; } &&
24470 { ac_try='test -s conftest.$ac_objext'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24473 ac_status=$?
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; }; then
24476 glibcxx_cv_func__float_trig_use=yes
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24481 glibcxx_cv_func__float_trig_use=no
24483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24484 ac_ext=c
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24493 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24494 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24504 for ac_func in _acosf _asinf _atanf \
24505 _cosf _sinf _tanf \
24506 _coshf _sinhf _tanhf
24508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 echo "$as_me:$LINENO: checking for $ac_func" >&5
24510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24511 if eval "test \"\${$as_ac_var+set}\" = set"; then
24512 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 else
24514 if test x$gcc_no_link = xyes; then
24515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24517 { (exit 1); exit 1; }; }
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24527 #define $ac_func innocuous_$ac_func
24529 /* System header to define __stub macros and hopefully few prototypes,
24530 which can conflict with char $ac_func (); below.
24531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24532 <limits.h> exists even on freestanding compilers. */
24534 #ifdef __STDC__
24535 # include <limits.h>
24536 #else
24537 # include <assert.h>
24538 #endif
24540 #undef $ac_func
24542 /* Override any gcc2 internal prototype to avoid an error. */
24543 #ifdef __cplusplus
24544 extern "C"
24546 #endif
24547 /* We use char because int might match the return type of a gcc2
24548 builtin and then its argument prototype would still apply. */
24549 char $ac_func ();
24550 /* The GNU C library defines this for functions which it implements
24551 to always fail with ENOSYS. Some functions are actually named
24552 something starting with __ and the normal name is an alias. */
24553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24554 choke me
24555 #else
24556 char (*f) () = $ac_func;
24557 #endif
24558 #ifdef __cplusplus
24560 #endif
24563 main ()
24565 return f != $ac_func;
24567 return 0;
24569 _ACEOF
24570 rm -f conftest.$ac_objext conftest$ac_exeext
24571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24572 (eval $ac_link) 2>conftest.er1
24573 ac_status=$?
24574 grep -v '^ *+' conftest.er1 >conftest.err
24575 rm -f conftest.er1
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } &&
24579 { ac_try='test -z "$ac_c_werror_flag"
24580 || test ! -s conftest.err'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; } &&
24586 { ac_try='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592 eval "$as_ac_var=yes"
24593 else
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24597 eval "$as_ac_var=no"
24599 rm -f conftest.err conftest.$ac_objext \
24600 conftest$ac_exeext conftest.$ac_ext
24602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24604 if test `eval echo '${'$as_ac_var'}'` = yes; then
24605 cat >>confdefs.h <<_ACEOF
24606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24607 _ACEOF
24610 done
24615 echo "$as_me:$LINENO: checking for _float round functions" >&5
24616 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24617 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24623 ac_ext=cc
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24629 cat >conftest.$ac_ext <<_ACEOF
24630 /* confdefs.h. */
24631 _ACEOF
24632 cat confdefs.h >>conftest.$ac_ext
24633 cat >>conftest.$ac_ext <<_ACEOF
24634 /* end confdefs.h. */
24635 #include <math.h>
24637 main ()
24639 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24641 return 0;
24643 _ACEOF
24644 rm -f conftest.$ac_objext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24646 (eval $ac_compile) 2>conftest.er1
24647 ac_status=$?
24648 grep -v '^ *+' conftest.er1 >conftest.err
24649 rm -f conftest.er1
24650 cat conftest.err >&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } &&
24653 { ac_try='test -z "$ac_cxx_werror_flag"
24654 || test ! -s conftest.err'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24657 ac_status=$?
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; } &&
24660 { ac_try='test -s conftest.$ac_objext'
24661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662 (eval $ac_try) 2>&5
24663 ac_status=$?
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); }; }; then
24666 glibcxx_cv_func__float_round_use=yes
24667 else
24668 echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.$ac_ext >&5
24671 glibcxx_cv_func__float_round_use=no
24673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24683 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24684 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24687 for ac_func in _ceilf _floorf
24689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24690 echo "$as_me:$LINENO: checking for $ac_func" >&5
24691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24692 if eval "test \"\${$as_ac_var+set}\" = set"; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 else
24695 if test x$gcc_no_link = xyes; then
24696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24698 { (exit 1); exit 1; }; }
24700 cat >conftest.$ac_ext <<_ACEOF
24701 /* confdefs.h. */
24702 _ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24708 #define $ac_func innocuous_$ac_func
24710 /* System header to define __stub macros and hopefully few prototypes,
24711 which can conflict with char $ac_func (); below.
24712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24713 <limits.h> exists even on freestanding compilers. */
24715 #ifdef __STDC__
24716 # include <limits.h>
24717 #else
24718 # include <assert.h>
24719 #endif
24721 #undef $ac_func
24723 /* Override any gcc2 internal prototype to avoid an error. */
24724 #ifdef __cplusplus
24725 extern "C"
24727 #endif
24728 /* We use char because int might match the return type of a gcc2
24729 builtin and then its argument prototype would still apply. */
24730 char $ac_func ();
24731 /* The GNU C library defines this for functions which it implements
24732 to always fail with ENOSYS. Some functions are actually named
24733 something starting with __ and the normal name is an alias. */
24734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24735 choke me
24736 #else
24737 char (*f) () = $ac_func;
24738 #endif
24739 #ifdef __cplusplus
24741 #endif
24744 main ()
24746 return f != $ac_func;
24748 return 0;
24750 _ACEOF
24751 rm -f conftest.$ac_objext conftest$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24754 ac_status=$?
24755 grep -v '^ *+' conftest.er1 >conftest.err
24756 rm -f conftest.er1
24757 cat conftest.err >&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -z "$ac_c_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24764 ac_status=$?
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 eval "$as_ac_var=yes"
24774 else
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24778 eval "$as_ac_var=no"
24780 rm -f conftest.err conftest.$ac_objext \
24781 conftest$ac_exeext conftest.$ac_ext
24783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24785 if test `eval echo '${'$as_ac_var'}'` = yes; then
24786 cat >>confdefs.h <<_ACEOF
24787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24788 _ACEOF
24791 done
24797 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24798 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24799 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 else
24805 ac_ext=cc
24806 ac_cpp='$CXXCPP $CPPFLAGS'
24807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24811 cat >conftest.$ac_ext <<_ACEOF
24812 /* confdefs.h. */
24813 _ACEOF
24814 cat confdefs.h >>conftest.$ac_ext
24815 cat >>conftest.$ac_ext <<_ACEOF
24816 /* end confdefs.h. */
24817 #include <math.h>
24819 main ()
24821 `for x in _acosl _asinl _atanl \
24822 _cosl _sinl _tanl \
24823 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24825 return 0;
24827 _ACEOF
24828 rm -f conftest.$ac_objext
24829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24830 (eval $ac_compile) 2>conftest.er1
24831 ac_status=$?
24832 grep -v '^ *+' conftest.er1 >conftest.err
24833 rm -f conftest.er1
24834 cat conftest.err >&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } &&
24837 { ac_try='test -z "$ac_cxx_werror_flag"
24838 || test ! -s conftest.err'
24839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840 (eval $ac_try) 2>&5
24841 ac_status=$?
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); }; } &&
24844 { ac_try='test -s conftest.$ac_objext'
24845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24846 (eval $ac_try) 2>&5
24847 ac_status=$?
24848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849 (exit $ac_status); }; }; then
24850 glibcxx_cv_func__long_double_trig_use=yes
24851 else
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24855 glibcxx_cv_func__long_double_trig_use=no
24857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24858 ac_ext=c
24859 ac_cpp='$CPP $CPPFLAGS'
24860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24867 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24878 for ac_func in _acosl _asinl _atanl \
24879 _cosl _sinl _tanl \
24880 _coshl _sinhl _tanhl
24882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24883 echo "$as_me:$LINENO: checking for $ac_func" >&5
24884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24885 if eval "test \"\${$as_ac_var+set}\" = set"; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888 if test x$gcc_no_link = xyes; then
24889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24891 { (exit 1); exit 1; }; }
24893 cat >conftest.$ac_ext <<_ACEOF
24894 /* confdefs.h. */
24895 _ACEOF
24896 cat confdefs.h >>conftest.$ac_ext
24897 cat >>conftest.$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24901 #define $ac_func innocuous_$ac_func
24903 /* System header to define __stub macros and hopefully few prototypes,
24904 which can conflict with char $ac_func (); below.
24905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24906 <limits.h> exists even on freestanding compilers. */
24908 #ifdef __STDC__
24909 # include <limits.h>
24910 #else
24911 # include <assert.h>
24912 #endif
24914 #undef $ac_func
24916 /* Override any gcc2 internal prototype to avoid an error. */
24917 #ifdef __cplusplus
24918 extern "C"
24920 #endif
24921 /* We use char because int might match the return type of a gcc2
24922 builtin and then its argument prototype would still apply. */
24923 char $ac_func ();
24924 /* The GNU C library defines this for functions which it implements
24925 to always fail with ENOSYS. Some functions are actually named
24926 something starting with __ and the normal name is an alias. */
24927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24928 choke me
24929 #else
24930 char (*f) () = $ac_func;
24931 #endif
24932 #ifdef __cplusplus
24934 #endif
24937 main ()
24939 return f != $ac_func;
24941 return 0;
24943 _ACEOF
24944 rm -f conftest.$ac_objext conftest$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try='test -z "$ac_c_werror_flag"
24954 || test ! -s conftest.err'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; } &&
24960 { ac_try='test -s conftest$ac_exeext'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24963 ac_status=$?
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; }; then
24966 eval "$as_ac_var=yes"
24967 else
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24971 eval "$as_ac_var=no"
24973 rm -f conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24978 if test `eval echo '${'$as_ac_var'}'` = yes; then
24979 cat >>confdefs.h <<_ACEOF
24980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24981 _ACEOF
24984 done
24989 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24990 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24991 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24997 ac_ext=cc
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25003 cat >conftest.$ac_ext <<_ACEOF
25004 /* confdefs.h. */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25009 #include <math.h>
25011 main ()
25013 `for x in _ceill _floorl; do echo "$x (0);"; done`
25015 return 0;
25017 _ACEOF
25018 rm -f conftest.$ac_objext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25020 (eval $ac_compile) 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } &&
25027 { ac_try='test -z "$ac_cxx_werror_flag"
25028 || test ! -s conftest.err'
25029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030 (eval $ac_try) 2>&5
25031 ac_status=$?
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; } &&
25034 { ac_try='test -s conftest.$ac_objext'
25035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036 (eval $ac_try) 2>&5
25037 ac_status=$?
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); }; }; then
25040 glibcxx_cv_func__long_double_round_use=yes
25041 else
25042 echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25045 glibcxx_cv_func__long_double_round_use=no
25047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25057 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25058 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25061 for ac_func in _ceill _floorl
25063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25064 echo "$as_me:$LINENO: checking for $ac_func" >&5
25065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25066 if eval "test \"\${$as_ac_var+set}\" = set"; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069 if test x$gcc_no_link = xyes; then
25070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25072 { (exit 1); exit 1; }; }
25074 cat >conftest.$ac_ext <<_ACEOF
25075 /* confdefs.h. */
25076 _ACEOF
25077 cat confdefs.h >>conftest.$ac_ext
25078 cat >>conftest.$ac_ext <<_ACEOF
25079 /* end confdefs.h. */
25080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25082 #define $ac_func innocuous_$ac_func
25084 /* System header to define __stub macros and hopefully few prototypes,
25085 which can conflict with char $ac_func (); below.
25086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25087 <limits.h> exists even on freestanding compilers. */
25089 #ifdef __STDC__
25090 # include <limits.h>
25091 #else
25092 # include <assert.h>
25093 #endif
25095 #undef $ac_func
25097 /* Override any gcc2 internal prototype to avoid an error. */
25098 #ifdef __cplusplus
25099 extern "C"
25101 #endif
25102 /* We use char because int might match the return type of a gcc2
25103 builtin and then its argument prototype would still apply. */
25104 char $ac_func ();
25105 /* The GNU C library defines this for functions which it implements
25106 to always fail with ENOSYS. Some functions are actually named
25107 something starting with __ and the normal name is an alias. */
25108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25109 choke me
25110 #else
25111 char (*f) () = $ac_func;
25112 #endif
25113 #ifdef __cplusplus
25115 #endif
25118 main ()
25120 return f != $ac_func;
25122 return 0;
25124 _ACEOF
25125 rm -f conftest.$ac_objext conftest$ac_exeext
25126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25127 (eval $ac_link) 2>conftest.er1
25128 ac_status=$?
25129 grep -v '^ *+' conftest.er1 >conftest.err
25130 rm -f conftest.er1
25131 cat conftest.err >&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } &&
25134 { ac_try='test -z "$ac_c_werror_flag"
25135 || test ! -s conftest.err'
25136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137 (eval $ac_try) 2>&5
25138 ac_status=$?
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); }; } &&
25141 { ac_try='test -s conftest$ac_exeext'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25144 ac_status=$?
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; }; then
25147 eval "$as_ac_var=yes"
25148 else
25149 echo "$as_me: failed program was:" >&5
25150 sed 's/^/| /' conftest.$ac_ext >&5
25152 eval "$as_ac_var=no"
25154 rm -f conftest.err conftest.$ac_objext \
25155 conftest$ac_exeext conftest.$ac_ext
25157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25159 if test `eval echo '${'$as_ac_var'}'` = yes; then
25160 cat >>confdefs.h <<_ACEOF
25161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25162 _ACEOF
25165 done
25170 LIBS="$ac_save_LIBS"
25171 CXXFLAGS="$ac_save_CXXFLAGS"
25175 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25176 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25177 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25178 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 else
25184 ac_ext=cc
25185 ac_cpp='$CXXCPP $CPPFLAGS'
25186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190 cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h. */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 #include <math.h>
25198 main ()
25200 __builtin_abs(0);
25202 return 0;
25204 _ACEOF
25205 rm -f conftest.$ac_objext
25206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25207 (eval $ac_compile) 2>conftest.er1
25208 ac_status=$?
25209 grep -v '^ *+' conftest.er1 >conftest.err
25210 rm -f conftest.er1
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } &&
25214 { ac_try='test -z "$ac_cxx_werror_flag"
25215 || test ! -s conftest.err'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25218 ac_status=$?
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; } &&
25221 { ac_try='test -s conftest.$ac_objext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25224 ac_status=$?
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227 glibcxx_cv_func___builtin_abs_use=yes
25228 else
25229 echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.$ac_ext >&5
25232 glibcxx_cv_func___builtin_abs_use=no
25234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25235 ac_ext=c
25236 ac_cpp='$CPP $CPPFLAGS'
25237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25245 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25246 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25247 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25248 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25249 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25250 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25251 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25255 if test x$gcc_no_link = xyes; then
25256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25258 { (exit 1); exit 1; }; }
25260 cat >conftest.$ac_ext <<_ACEOF
25261 /* confdefs.h. */
25262 _ACEOF
25263 cat confdefs.h >>conftest.$ac_ext
25264 cat >>conftest.$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25266 #include <math.h>
25268 main ()
25270 __builtin_abs(0);
25272 return 0;
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag"
25285 || test ! -s conftest.err'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25288 ac_status=$?
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; } &&
25291 { ac_try='test -s conftest$ac_exeext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25297 glibcxx_cv_func___builtin_abs_link=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 glibcxx_cv_func___builtin_abs_link=no
25304 rm -f conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25310 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25311 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25312 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25313 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25315 cat >>confdefs.h <<_ACEOF
25316 #define ${ac_tr_func} 1
25317 _ACEOF
25323 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25324 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25325 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25326 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25332 ac_ext=cc
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25338 cat >conftest.$ac_ext <<_ACEOF
25339 /* confdefs.h. */
25340 _ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h. */
25344 #include <math.h>
25346 main ()
25348 __builtin_fabsf(0);
25350 return 0;
25352 _ACEOF
25353 rm -f conftest.$ac_objext
25354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25355 (eval $ac_compile) 2>conftest.er1
25356 ac_status=$?
25357 grep -v '^ *+' conftest.er1 >conftest.err
25358 rm -f conftest.er1
25359 cat conftest.err >&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); } &&
25362 { ac_try='test -z "$ac_cxx_werror_flag"
25363 || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25366 ac_status=$?
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try='test -s conftest.$ac_objext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25372 ac_status=$?
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 glibcxx_cv_func___builtin_fabsf_use=yes
25376 else
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25380 glibcxx_cv_func___builtin_fabsf_use=no
25382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25383 ac_ext=c
25384 ac_cpp='$CPP $CPPFLAGS'
25385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25393 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25394 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25395 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25396 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25397 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25398 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25399 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25403 if test x$gcc_no_link = xyes; then
25404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25406 { (exit 1); exit 1; }; }
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h. */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414 #include <math.h>
25416 main ()
25418 __builtin_fabsf(0);
25420 return 0;
25422 _ACEOF
25423 rm -f conftest.$ac_objext conftest$ac_exeext
25424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25425 (eval $ac_link) 2>conftest.er1
25426 ac_status=$?
25427 grep -v '^ *+' conftest.er1 >conftest.err
25428 rm -f conftest.er1
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } &&
25432 { ac_try='test -z "$ac_c_werror_flag"
25433 || test ! -s conftest.err'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; } &&
25439 { ac_try='test -s conftest$ac_exeext'
25440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441 (eval $ac_try) 2>&5
25442 ac_status=$?
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); }; }; then
25445 glibcxx_cv_func___builtin_fabsf_link=yes
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25450 glibcxx_cv_func___builtin_fabsf_link=no
25452 rm -f conftest.err conftest.$ac_objext \
25453 conftest$ac_exeext conftest.$ac_ext
25458 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25459 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25460 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25461 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25463 cat >>confdefs.h <<_ACEOF
25464 #define ${ac_tr_func} 1
25465 _ACEOF
25471 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25472 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25473 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25474 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25475 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 else
25480 ac_ext=cc
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25486 cat >conftest.$ac_ext <<_ACEOF
25487 /* confdefs.h. */
25488 _ACEOF
25489 cat confdefs.h >>conftest.$ac_ext
25490 cat >>conftest.$ac_ext <<_ACEOF
25491 /* end confdefs.h. */
25492 #include <math.h>
25494 main ()
25496 __builtin_fabs(0);
25498 return 0;
25500 _ACEOF
25501 rm -f conftest.$ac_objext
25502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25503 (eval $ac_compile) 2>conftest.er1
25504 ac_status=$?
25505 grep -v '^ *+' conftest.er1 >conftest.err
25506 rm -f conftest.er1
25507 cat conftest.err >&5
25508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509 (exit $ac_status); } &&
25510 { ac_try='test -z "$ac_cxx_werror_flag"
25511 || test ! -s conftest.err'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25514 ac_status=$?
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; } &&
25517 { ac_try='test -s conftest.$ac_objext'
25518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519 (eval $ac_try) 2>&5
25520 ac_status=$?
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); }; }; then
25523 glibcxx_cv_func___builtin_fabs_use=yes
25524 else
25525 echo "$as_me: failed program was:" >&5
25526 sed 's/^/| /' conftest.$ac_ext >&5
25528 glibcxx_cv_func___builtin_fabs_use=no
25530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25542 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25543 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25544 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25545 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25546 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25547 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25548 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 else
25551 if test x$gcc_no_link = xyes; then
25552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25554 { (exit 1); exit 1; }; }
25556 cat >conftest.$ac_ext <<_ACEOF
25557 /* confdefs.h. */
25558 _ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25562 #include <math.h>
25564 main ()
25566 __builtin_fabs(0);
25568 return 0;
25570 _ACEOF
25571 rm -f conftest.$ac_objext conftest$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>conftest.er1
25574 ac_status=$?
25575 grep -v '^ *+' conftest.er1 >conftest.err
25576 rm -f conftest.er1
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } &&
25580 { ac_try='test -z "$ac_c_werror_flag"
25581 || test ! -s conftest.err'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25584 ac_status=$?
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; } &&
25587 { ac_try='test -s conftest$ac_exeext'
25588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589 (eval $ac_try) 2>&5
25590 ac_status=$?
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); }; }; then
25593 glibcxx_cv_func___builtin_fabs_link=yes
25594 else
25595 echo "$as_me: failed program was:" >&5
25596 sed 's/^/| /' conftest.$ac_ext >&5
25598 glibcxx_cv_func___builtin_fabs_link=no
25600 rm -f conftest.err conftest.$ac_objext \
25601 conftest$ac_exeext conftest.$ac_ext
25606 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25607 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25608 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25609 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25611 cat >>confdefs.h <<_ACEOF
25612 #define ${ac_tr_func} 1
25613 _ACEOF
25619 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25620 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25621 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25622 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25628 ac_ext=cc
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25634 cat >conftest.$ac_ext <<_ACEOF
25635 /* confdefs.h. */
25636 _ACEOF
25637 cat confdefs.h >>conftest.$ac_ext
25638 cat >>conftest.$ac_ext <<_ACEOF
25639 /* end confdefs.h. */
25640 #include <math.h>
25642 main ()
25644 __builtin_fabsl(0);
25646 return 0;
25648 _ACEOF
25649 rm -f conftest.$ac_objext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25651 (eval $ac_compile) 2>conftest.er1
25652 ac_status=$?
25653 grep -v '^ *+' conftest.er1 >conftest.err
25654 rm -f conftest.er1
25655 cat conftest.err >&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } &&
25658 { ac_try='test -z "$ac_cxx_werror_flag"
25659 || test ! -s conftest.err'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; } &&
25665 { ac_try='test -s conftest.$ac_objext'
25666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25667 (eval $ac_try) 2>&5
25668 ac_status=$?
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); }; }; then
25671 glibcxx_cv_func___builtin_fabsl_use=yes
25672 else
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25676 glibcxx_cv_func___builtin_fabsl_use=no
25678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25679 ac_ext=c
25680 ac_cpp='$CPP $CPPFLAGS'
25681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25691 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25692 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25693 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25694 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25695 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25699 if test x$gcc_no_link = xyes; then
25700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25702 { (exit 1); exit 1; }; }
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <math.h>
25712 main ()
25714 __builtin_fabsl(0);
25716 return 0;
25718 _ACEOF
25719 rm -f conftest.$ac_objext conftest$ac_exeext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25721 (eval $ac_link) 2>conftest.er1
25722 ac_status=$?
25723 grep -v '^ *+' conftest.er1 >conftest.err
25724 rm -f conftest.er1
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } &&
25728 { ac_try='test -z "$ac_c_werror_flag"
25729 || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest$ac_exeext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 glibcxx_cv_func___builtin_fabsl_link=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25746 glibcxx_cv_func___builtin_fabsl_link=no
25748 rm -f conftest.err conftest.$ac_objext \
25749 conftest$ac_exeext conftest.$ac_ext
25754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25755 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25756 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25757 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25759 cat >>confdefs.h <<_ACEOF
25760 #define ${ac_tr_func} 1
25761 _ACEOF
25767 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25768 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25769 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25770 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25771 echo $ECHO_N "(cached) $ECHO_C" >&6
25772 else
25776 ac_ext=cc
25777 ac_cpp='$CXXCPP $CPPFLAGS'
25778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25782 cat >conftest.$ac_ext <<_ACEOF
25783 /* confdefs.h. */
25784 _ACEOF
25785 cat confdefs.h >>conftest.$ac_ext
25786 cat >>conftest.$ac_ext <<_ACEOF
25787 /* end confdefs.h. */
25788 #include <math.h>
25790 main ()
25792 __builtin_labs(0);
25794 return 0;
25796 _ACEOF
25797 rm -f conftest.$ac_objext
25798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25799 (eval $ac_compile) 2>conftest.er1
25800 ac_status=$?
25801 grep -v '^ *+' conftest.er1 >conftest.err
25802 rm -f conftest.er1
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } &&
25806 { ac_try='test -z "$ac_cxx_werror_flag"
25807 || test ! -s conftest.err'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25810 ac_status=$?
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; } &&
25813 { ac_try='test -s conftest.$ac_objext'
25814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25815 (eval $ac_try) 2>&5
25816 ac_status=$?
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); }; }; then
25819 glibcxx_cv_func___builtin_labs_use=yes
25820 else
25821 echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25824 glibcxx_cv_func___builtin_labs_use=no
25826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25838 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25839 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25840 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25841 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25842 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25843 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 else
25847 if test x$gcc_no_link = xyes; then
25848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25850 { (exit 1); exit 1; }; }
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #include <math.h>
25860 main ()
25862 __builtin_labs(0);
25864 return 0;
25866 _ACEOF
25867 rm -f conftest.$ac_objext conftest$ac_exeext
25868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25869 (eval $ac_link) 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } &&
25876 { ac_try='test -z "$ac_c_werror_flag"
25877 || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25886 ac_status=$?
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 glibcxx_cv_func___builtin_labs_link=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25894 glibcxx_cv_func___builtin_labs_link=no
25896 rm -f conftest.err conftest.$ac_objext \
25897 conftest$ac_exeext conftest.$ac_ext
25902 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25903 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25904 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25905 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25907 cat >>confdefs.h <<_ACEOF
25908 #define ${ac_tr_func} 1
25909 _ACEOF
25916 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25917 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25918 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25919 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25920 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 else
25925 ac_ext=cc
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931 cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h. */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937 #include <math.h>
25939 main ()
25941 __builtin_sqrtf(0);
25943 return 0;
25945 _ACEOF
25946 rm -f conftest.$ac_objext
25947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25948 (eval $ac_compile) 2>conftest.er1
25949 ac_status=$?
25950 grep -v '^ *+' conftest.er1 >conftest.err
25951 rm -f conftest.er1
25952 cat conftest.err >&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); } &&
25955 { ac_try='test -z "$ac_cxx_werror_flag"
25956 || test ! -s conftest.err'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; } &&
25962 { ac_try='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25965 ac_status=$?
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 glibcxx_cv_func___builtin_sqrtf_use=yes
25969 else
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25973 glibcxx_cv_func___builtin_sqrtf_use=no
25975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25976 ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25986 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25987 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25988 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25989 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25990 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25991 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25992 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25996 if test x$gcc_no_link = xyes; then
25997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25999 { (exit 1); exit 1; }; }
26001 cat >conftest.$ac_ext <<_ACEOF
26002 /* confdefs.h. */
26003 _ACEOF
26004 cat confdefs.h >>conftest.$ac_ext
26005 cat >>conftest.$ac_ext <<_ACEOF
26006 /* end confdefs.h. */
26007 #include <math.h>
26009 main ()
26011 __builtin_sqrtf(0);
26013 return 0;
26015 _ACEOF
26016 rm -f conftest.$ac_objext conftest$ac_exeext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26018 (eval $ac_link) 2>conftest.er1
26019 ac_status=$?
26020 grep -v '^ *+' conftest.er1 >conftest.err
26021 rm -f conftest.er1
26022 cat conftest.err >&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } &&
26025 { ac_try='test -z "$ac_c_werror_flag"
26026 || test ! -s conftest.err'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26029 ac_status=$?
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; } &&
26032 { ac_try='test -s conftest$ac_exeext'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; }; then
26038 glibcxx_cv_func___builtin_sqrtf_link=yes
26039 else
26040 echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26043 glibcxx_cv_func___builtin_sqrtf_link=no
26045 rm -f conftest.err conftest.$ac_objext \
26046 conftest$ac_exeext conftest.$ac_ext
26051 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26052 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26053 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26054 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26056 cat >>confdefs.h <<_ACEOF
26057 #define ${ac_tr_func} 1
26058 _ACEOF
26064 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26065 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26066 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26067 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26073 ac_ext=cc
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26079 cat >conftest.$ac_ext <<_ACEOF
26080 /* confdefs.h. */
26081 _ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26085 #include <math.h>
26087 main ()
26089 __builtin_sqrt(0);
26091 return 0;
26093 _ACEOF
26094 rm -f conftest.$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try='test -z "$ac_cxx_werror_flag"
26104 || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26113 ac_status=$?
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116 glibcxx_cv_func___builtin_sqrt_use=yes
26117 else
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26121 glibcxx_cv_func___builtin_sqrt_use=no
26123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26124 ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26136 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26137 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26138 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26139 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26140 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 else
26144 if test x$gcc_no_link = xyes; then
26145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26147 { (exit 1); exit 1; }; }
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 #include <math.h>
26157 main ()
26159 __builtin_sqrt(0);
26161 return 0;
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26166 (eval $ac_link) 2>conftest.er1
26167 ac_status=$?
26168 grep -v '^ *+' conftest.er1 >conftest.err
26169 rm -f conftest.er1
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } &&
26173 { ac_try='test -z "$ac_c_werror_flag"
26174 || test ! -s conftest.err'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; } &&
26180 { ac_try='test -s conftest$ac_exeext'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26183 ac_status=$?
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; }; then
26186 glibcxx_cv_func___builtin_sqrt_link=yes
26187 else
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26191 glibcxx_cv_func___builtin_sqrt_link=no
26193 rm -f conftest.err conftest.$ac_objext \
26194 conftest$ac_exeext conftest.$ac_ext
26199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26201 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26202 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26204 cat >>confdefs.h <<_ACEOF
26205 #define ${ac_tr_func} 1
26206 _ACEOF
26212 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26213 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26214 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26215 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26221 ac_ext=cc
26222 ac_cpp='$CXXCPP $CPPFLAGS'
26223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26227 cat >conftest.$ac_ext <<_ACEOF
26228 /* confdefs.h. */
26229 _ACEOF
26230 cat confdefs.h >>conftest.$ac_ext
26231 cat >>conftest.$ac_ext <<_ACEOF
26232 /* end confdefs.h. */
26233 #include <math.h>
26235 main ()
26237 __builtin_sqrtl(0);
26239 return 0;
26241 _ACEOF
26242 rm -f conftest.$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244 (eval $ac_compile) 2>conftest.er1
26245 ac_status=$?
26246 grep -v '^ *+' conftest.er1 >conftest.err
26247 rm -f conftest.er1
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try='test -z "$ac_cxx_werror_flag"
26252 || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try='test -s conftest.$ac_objext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26261 ac_status=$?
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 glibcxx_cv_func___builtin_sqrtl_use=yes
26265 else
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26269 glibcxx_cv_func___builtin_sqrtl_use=no
26271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26284 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26285 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26286 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26287 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26288 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26292 if test x$gcc_no_link = xyes; then
26293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26295 { (exit 1); exit 1; }; }
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <math.h>
26305 main ()
26307 __builtin_sqrtl(0);
26309 return 0;
26311 _ACEOF
26312 rm -f conftest.$ac_objext conftest$ac_exeext
26313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26314 (eval $ac_link) 2>conftest.er1
26315 ac_status=$?
26316 grep -v '^ *+' conftest.er1 >conftest.err
26317 rm -f conftest.er1
26318 cat conftest.err >&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } &&
26321 { ac_try='test -z "$ac_c_werror_flag"
26322 || test ! -s conftest.err'
26323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324 (eval $ac_try) 2>&5
26325 ac_status=$?
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); }; } &&
26328 { ac_try='test -s conftest$ac_exeext'
26329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26330 (eval $ac_try) 2>&5
26331 ac_status=$?
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); }; }; then
26334 glibcxx_cv_func___builtin_sqrtl_link=yes
26335 else
26336 echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26339 glibcxx_cv_func___builtin_sqrtl_link=no
26341 rm -f conftest.err conftest.$ac_objext \
26342 conftest$ac_exeext conftest.$ac_ext
26347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26349 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26350 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26352 cat >>confdefs.h <<_ACEOF
26353 #define ${ac_tr_func} 1
26354 _ACEOF
26361 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26362 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26363 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26364 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 else
26370 ac_ext=cc
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26376 cat >conftest.$ac_ext <<_ACEOF
26377 /* confdefs.h. */
26378 _ACEOF
26379 cat confdefs.h >>conftest.$ac_ext
26380 cat >>conftest.$ac_ext <<_ACEOF
26381 /* end confdefs.h. */
26382 #include <math.h>
26384 main ()
26386 __builtin_sinf(0);
26388 return 0;
26390 _ACEOF
26391 rm -f conftest.$ac_objext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393 (eval $ac_compile) 2>conftest.er1
26394 ac_status=$?
26395 grep -v '^ *+' conftest.er1 >conftest.err
26396 rm -f conftest.er1
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } &&
26400 { ac_try='test -z "$ac_cxx_werror_flag"
26401 || test ! -s conftest.err'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; } &&
26407 { ac_try='test -s conftest.$ac_objext'
26408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409 (eval $ac_try) 2>&5
26410 ac_status=$?
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413 glibcxx_cv_func___builtin_sinf_use=yes
26414 else
26415 echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.$ac_ext >&5
26418 glibcxx_cv_func___builtin_sinf_use=no
26420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26421 ac_ext=c
26422 ac_cpp='$CPP $CPPFLAGS'
26423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26431 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26432 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26433 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26434 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26435 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26436 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26437 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26441 if test x$gcc_no_link = xyes; then
26442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26444 { (exit 1); exit 1; }; }
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h. */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 #include <math.h>
26454 main ()
26456 __builtin_sinf(0);
26458 return 0;
26460 _ACEOF
26461 rm -f conftest.$ac_objext conftest$ac_exeext
26462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26463 (eval $ac_link) 2>conftest.er1
26464 ac_status=$?
26465 grep -v '^ *+' conftest.er1 >conftest.err
26466 rm -f conftest.er1
26467 cat conftest.err >&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); } &&
26470 { ac_try='test -z "$ac_c_werror_flag"
26471 || test ! -s conftest.err'
26472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473 (eval $ac_try) 2>&5
26474 ac_status=$?
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); }; } &&
26477 { ac_try='test -s conftest$ac_exeext'
26478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26479 (eval $ac_try) 2>&5
26480 ac_status=$?
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); }; }; then
26483 glibcxx_cv_func___builtin_sinf_link=yes
26484 else
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.$ac_ext >&5
26488 glibcxx_cv_func___builtin_sinf_link=no
26490 rm -f conftest.err conftest.$ac_objext \
26491 conftest$ac_exeext conftest.$ac_ext
26496 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26497 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26498 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26499 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26501 cat >>confdefs.h <<_ACEOF
26502 #define ${ac_tr_func} 1
26503 _ACEOF
26509 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26510 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26511 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26512 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26513 echo $ECHO_N "(cached) $ECHO_C" >&6
26514 else
26518 ac_ext=cc
26519 ac_cpp='$CXXCPP $CPPFLAGS'
26520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26524 cat >conftest.$ac_ext <<_ACEOF
26525 /* confdefs.h. */
26526 _ACEOF
26527 cat confdefs.h >>conftest.$ac_ext
26528 cat >>conftest.$ac_ext <<_ACEOF
26529 /* end confdefs.h. */
26530 #include <math.h>
26532 main ()
26534 __builtin_sin(0);
26536 return 0;
26538 _ACEOF
26539 rm -f conftest.$ac_objext
26540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26541 (eval $ac_compile) 2>conftest.er1
26542 ac_status=$?
26543 grep -v '^ *+' conftest.er1 >conftest.err
26544 rm -f conftest.er1
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } &&
26548 { ac_try='test -z "$ac_cxx_werror_flag"
26549 || test ! -s conftest.err'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26552 ac_status=$?
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; } &&
26555 { ac_try='test -s conftest.$ac_objext'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26558 ac_status=$?
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; }; then
26561 glibcxx_cv_func___builtin_sin_use=yes
26562 else
26563 echo "$as_me: failed program was:" >&5
26564 sed 's/^/| /' conftest.$ac_ext >&5
26566 glibcxx_cv_func___builtin_sin_use=no
26568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26569 ac_ext=c
26570 ac_cpp='$CPP $CPPFLAGS'
26571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26580 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26581 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26582 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26583 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26584 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26585 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26589 if test x$gcc_no_link = xyes; then
26590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26592 { (exit 1); exit 1; }; }
26594 cat >conftest.$ac_ext <<_ACEOF
26595 /* confdefs.h. */
26596 _ACEOF
26597 cat confdefs.h >>conftest.$ac_ext
26598 cat >>conftest.$ac_ext <<_ACEOF
26599 /* end confdefs.h. */
26600 #include <math.h>
26602 main ()
26604 __builtin_sin(0);
26606 return 0;
26608 _ACEOF
26609 rm -f conftest.$ac_objext conftest$ac_exeext
26610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26611 (eval $ac_link) 2>conftest.er1
26612 ac_status=$?
26613 grep -v '^ *+' conftest.er1 >conftest.err
26614 rm -f conftest.er1
26615 cat conftest.err >&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } &&
26618 { ac_try='test -z "$ac_c_werror_flag"
26619 || test ! -s conftest.err'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26622 ac_status=$?
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; } &&
26625 { ac_try='test -s conftest$ac_exeext'
26626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26627 (eval $ac_try) 2>&5
26628 ac_status=$?
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); }; }; then
26631 glibcxx_cv_func___builtin_sin_link=yes
26632 else
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26636 glibcxx_cv_func___builtin_sin_link=no
26638 rm -f conftest.err conftest.$ac_objext \
26639 conftest$ac_exeext conftest.$ac_ext
26644 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26645 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26646 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26647 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26649 cat >>confdefs.h <<_ACEOF
26650 #define ${ac_tr_func} 1
26651 _ACEOF
26657 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26658 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26659 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26660 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26661 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 else
26666 ac_ext=cc
26667 ac_cpp='$CXXCPP $CPPFLAGS'
26668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26672 cat >conftest.$ac_ext <<_ACEOF
26673 /* confdefs.h. */
26674 _ACEOF
26675 cat confdefs.h >>conftest.$ac_ext
26676 cat >>conftest.$ac_ext <<_ACEOF
26677 /* end confdefs.h. */
26678 #include <math.h>
26680 main ()
26682 __builtin_sinl(0);
26684 return 0;
26686 _ACEOF
26687 rm -f conftest.$ac_objext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26689 (eval $ac_compile) 2>conftest.er1
26690 ac_status=$?
26691 grep -v '^ *+' conftest.er1 >conftest.err
26692 rm -f conftest.er1
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try='test -z "$ac_cxx_werror_flag"
26697 || test ! -s conftest.err'
26698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699 (eval $ac_try) 2>&5
26700 ac_status=$?
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); }; } &&
26703 { ac_try='test -s conftest.$ac_objext'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26709 glibcxx_cv_func___builtin_sinl_use=yes
26710 else
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.$ac_ext >&5
26714 glibcxx_cv_func___builtin_sinl_use=no
26716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26717 ac_ext=c
26718 ac_cpp='$CPP $CPPFLAGS'
26719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26729 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26730 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26731 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26732 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26733 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26737 if test x$gcc_no_link = xyes; then
26738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26740 { (exit 1); exit 1; }; }
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h. */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26748 #include <math.h>
26750 main ()
26752 __builtin_sinl(0);
26754 return 0;
26756 _ACEOF
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759 (eval $ac_link) 2>conftest.er1
26760 ac_status=$?
26761 grep -v '^ *+' conftest.er1 >conftest.err
26762 rm -f conftest.er1
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } &&
26766 { ac_try='test -z "$ac_c_werror_flag"
26767 || test ! -s conftest.err'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26770 ac_status=$?
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; } &&
26773 { ac_try='test -s conftest$ac_exeext'
26774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775 (eval $ac_try) 2>&5
26776 ac_status=$?
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); }; }; then
26779 glibcxx_cv_func___builtin_sinl_link=yes
26780 else
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26784 glibcxx_cv_func___builtin_sinl_link=no
26786 rm -f conftest.err conftest.$ac_objext \
26787 conftest$ac_exeext conftest.$ac_ext
26792 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26793 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26794 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26795 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26797 cat >>confdefs.h <<_ACEOF
26798 #define ${ac_tr_func} 1
26799 _ACEOF
26806 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26807 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26808 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26809 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 else
26815 ac_ext=cc
26816 ac_cpp='$CXXCPP $CPPFLAGS'
26817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26821 cat >conftest.$ac_ext <<_ACEOF
26822 /* confdefs.h. */
26823 _ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26827 #include <math.h>
26829 main ()
26831 __builtin_cosf(0);
26833 return 0;
26835 _ACEOF
26836 rm -f conftest.$ac_objext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26838 (eval $ac_compile) 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try='test -z "$ac_cxx_werror_flag"
26846 || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try='test -s conftest.$ac_objext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 glibcxx_cv_func___builtin_cosf_use=yes
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26863 glibcxx_cv_func___builtin_cosf_use=no
26865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26866 ac_ext=c
26867 ac_cpp='$CPP $CPPFLAGS'
26868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26878 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26879 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26880 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26881 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26882 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26886 if test x$gcc_no_link = xyes; then
26887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26889 { (exit 1); exit 1; }; }
26891 cat >conftest.$ac_ext <<_ACEOF
26892 /* confdefs.h. */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <math.h>
26899 main ()
26901 __builtin_cosf(0);
26903 return 0;
26905 _ACEOF
26906 rm -f conftest.$ac_objext conftest$ac_exeext
26907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26908 (eval $ac_link) 2>conftest.er1
26909 ac_status=$?
26910 grep -v '^ *+' conftest.er1 >conftest.err
26911 rm -f conftest.er1
26912 cat conftest.err >&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); } &&
26915 { ac_try='test -z "$ac_c_werror_flag"
26916 || test ! -s conftest.err'
26917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918 (eval $ac_try) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); }; } &&
26922 { ac_try='test -s conftest$ac_exeext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 glibcxx_cv_func___builtin_cosf_link=yes
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26933 glibcxx_cv_func___builtin_cosf_link=no
26935 rm -f conftest.err conftest.$ac_objext \
26936 conftest$ac_exeext conftest.$ac_ext
26941 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26942 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26943 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26944 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26946 cat >>confdefs.h <<_ACEOF
26947 #define ${ac_tr_func} 1
26948 _ACEOF
26954 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26955 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26956 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26957 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26963 ac_ext=cc
26964 ac_cpp='$CXXCPP $CPPFLAGS'
26965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26969 cat >conftest.$ac_ext <<_ACEOF
26970 /* confdefs.h. */
26971 _ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975 #include <math.h>
26977 main ()
26979 __builtin_cos(0);
26981 return 0;
26983 _ACEOF
26984 rm -f conftest.$ac_objext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26986 (eval $ac_compile) 2>conftest.er1
26987 ac_status=$?
26988 grep -v '^ *+' conftest.er1 >conftest.err
26989 rm -f conftest.er1
26990 cat conftest.err >&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } &&
26993 { ac_try='test -z "$ac_cxx_werror_flag"
26994 || test ! -s conftest.err'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26997 ac_status=$?
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; } &&
27000 { ac_try='test -s conftest.$ac_objext'
27001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 (eval $ac_try) 2>&5
27003 ac_status=$?
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 glibcxx_cv_func___builtin_cos_use=yes
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27011 glibcxx_cv_func___builtin_cos_use=no
27013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27014 ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27026 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27027 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27028 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27029 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27030 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 else
27034 if test x$gcc_no_link = xyes; then
27035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27037 { (exit 1); exit 1; }; }
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h. */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045 #include <math.h>
27047 main ()
27049 __builtin_cos(0);
27051 return 0;
27053 _ACEOF
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27056 (eval $ac_link) 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try='test -z "$ac_c_werror_flag"
27064 || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try='test -s conftest$ac_exeext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 glibcxx_cv_func___builtin_cos_link=yes
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27081 glibcxx_cv_func___builtin_cos_link=no
27083 rm -f conftest.err conftest.$ac_objext \
27084 conftest$ac_exeext conftest.$ac_ext
27089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27090 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27091 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27092 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27094 cat >>confdefs.h <<_ACEOF
27095 #define ${ac_tr_func} 1
27096 _ACEOF
27102 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27103 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27104 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27105 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27111 ac_ext=cc
27112 ac_cpp='$CXXCPP $CPPFLAGS'
27113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27117 cat >conftest.$ac_ext <<_ACEOF
27118 /* confdefs.h. */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27123 #include <math.h>
27125 main ()
27127 __builtin_cosl(0);
27129 return 0;
27131 _ACEOF
27132 rm -f conftest.$ac_objext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134 (eval $ac_compile) 2>conftest.er1
27135 ac_status=$?
27136 grep -v '^ *+' conftest.er1 >conftest.err
27137 rm -f conftest.er1
27138 cat conftest.err >&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } &&
27141 { ac_try='test -z "$ac_cxx_werror_flag"
27142 || test ! -s conftest.err'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27145 ac_status=$?
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; } &&
27148 { ac_try='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27151 ac_status=$?
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 glibcxx_cv_func___builtin_cosl_use=yes
27155 else
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27159 glibcxx_cv_func___builtin_cosl_use=no
27161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27162 ac_ext=c
27163 ac_cpp='$CPP $CPPFLAGS'
27164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27173 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27174 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27175 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27176 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27177 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27178 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27182 if test x$gcc_no_link = xyes; then
27183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27185 { (exit 1); exit 1; }; }
27187 cat >conftest.$ac_ext <<_ACEOF
27188 /* confdefs.h. */
27189 _ACEOF
27190 cat confdefs.h >>conftest.$ac_ext
27191 cat >>conftest.$ac_ext <<_ACEOF
27192 /* end confdefs.h. */
27193 #include <math.h>
27195 main ()
27197 __builtin_cosl(0);
27199 return 0;
27201 _ACEOF
27202 rm -f conftest.$ac_objext conftest$ac_exeext
27203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27204 (eval $ac_link) 2>conftest.er1
27205 ac_status=$?
27206 grep -v '^ *+' conftest.er1 >conftest.err
27207 rm -f conftest.er1
27208 cat conftest.err >&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } &&
27211 { ac_try='test -z "$ac_c_werror_flag"
27212 || test ! -s conftest.err'
27213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27214 (eval $ac_try) 2>&5
27215 ac_status=$?
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); }; } &&
27218 { ac_try='test -s conftest$ac_exeext'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27221 ac_status=$?
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; }; then
27224 glibcxx_cv_func___builtin_cosl_link=yes
27225 else
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27229 glibcxx_cv_func___builtin_cosl_link=no
27231 rm -f conftest.err conftest.$ac_objext \
27232 conftest$ac_exeext conftest.$ac_ext
27237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27238 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27239 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27240 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27242 cat >>confdefs.h <<_ACEOF
27243 #define ${ac_tr_func} 1
27244 _ACEOF
27252 echo "$as_me:$LINENO: checking for main in -lm" >&5
27253 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27254 if test "${ac_cv_lib_m_main+set}" = set; then
27255 echo $ECHO_N "(cached) $ECHO_C" >&6
27256 else
27257 ac_check_lib_save_LIBS=$LIBS
27258 LIBS="-lm $LIBS"
27259 if test x$gcc_no_link = xyes; then
27260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27262 { (exit 1); exit 1; }; }
27264 cat >conftest.$ac_ext <<_ACEOF
27265 /* confdefs.h. */
27266 _ACEOF
27267 cat confdefs.h >>conftest.$ac_ext
27268 cat >>conftest.$ac_ext <<_ACEOF
27269 /* end confdefs.h. */
27273 main ()
27275 main ();
27277 return 0;
27279 _ACEOF
27280 rm -f conftest.$ac_objext conftest$ac_exeext
27281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27282 (eval $ac_link) 2>conftest.er1
27283 ac_status=$?
27284 grep -v '^ *+' conftest.er1 >conftest.err
27285 rm -f conftest.er1
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } &&
27289 { ac_try='test -z "$ac_c_werror_flag"
27290 || test ! -s conftest.err'
27291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292 (eval $ac_try) 2>&5
27293 ac_status=$?
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); }; } &&
27296 { ac_try='test -s conftest$ac_exeext'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27299 ac_status=$?
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; }; then
27302 ac_cv_lib_m_main=yes
27303 else
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27307 ac_cv_lib_m_main=no
27309 rm -f conftest.err conftest.$ac_objext \
27310 conftest$ac_exeext conftest.$ac_ext
27311 LIBS=$ac_check_lib_save_LIBS
27313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27314 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27315 if test $ac_cv_lib_m_main = yes; then
27316 cat >>confdefs.h <<_ACEOF
27317 #define HAVE_LIBM 1
27318 _ACEOF
27320 LIBS="-lm $LIBS"
27325 for ac_func in copysignf
27327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27328 echo "$as_me:$LINENO: checking for $ac_func" >&5
27329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27330 if eval "test \"\${$as_ac_var+set}\" = set"; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 else
27333 if test x$gcc_no_link = xyes; then
27334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27336 { (exit 1); exit 1; }; }
27338 cat >conftest.$ac_ext <<_ACEOF
27339 /* confdefs.h. */
27340 _ACEOF
27341 cat confdefs.h >>conftest.$ac_ext
27342 cat >>conftest.$ac_ext <<_ACEOF
27343 /* end confdefs.h. */
27344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27346 #define $ac_func innocuous_$ac_func
27348 /* System header to define __stub macros and hopefully few prototypes,
27349 which can conflict with char $ac_func (); below.
27350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27351 <limits.h> exists even on freestanding compilers. */
27353 #ifdef __STDC__
27354 # include <limits.h>
27355 #else
27356 # include <assert.h>
27357 #endif
27359 #undef $ac_func
27361 /* Override any gcc2 internal prototype to avoid an error. */
27362 #ifdef __cplusplus
27363 extern "C"
27365 #endif
27366 /* We use char because int might match the return type of a gcc2
27367 builtin and then its argument prototype would still apply. */
27368 char $ac_func ();
27369 /* The GNU C library defines this for functions which it implements
27370 to always fail with ENOSYS. Some functions are actually named
27371 something starting with __ and the normal name is an alias. */
27372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27373 choke me
27374 #else
27375 char (*f) () = $ac_func;
27376 #endif
27377 #ifdef __cplusplus
27379 #endif
27382 main ()
27384 return f != $ac_func;
27386 return 0;
27388 _ACEOF
27389 rm -f conftest.$ac_objext conftest$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391 (eval $ac_link) 2>conftest.er1
27392 ac_status=$?
27393 grep -v '^ *+' conftest.er1 >conftest.err
27394 rm -f conftest.er1
27395 cat conftest.err >&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); } &&
27398 { ac_try='test -z "$ac_c_werror_flag"
27399 || test ! -s conftest.err'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27402 ac_status=$?
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; } &&
27405 { ac_try='test -s conftest$ac_exeext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27408 ac_status=$?
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 eval "$as_ac_var=yes"
27412 else
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27416 eval "$as_ac_var=no"
27418 rm -f conftest.err conftest.$ac_objext \
27419 conftest$ac_exeext conftest.$ac_ext
27421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27423 if test `eval echo '${'$as_ac_var'}'` = yes; then
27424 cat >>confdefs.h <<_ACEOF
27425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27426 _ACEOF
27428 else
27429 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27431 done
27435 for ac_func in __signbit
27437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27438 echo "$as_me:$LINENO: checking for $ac_func" >&5
27439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27440 if eval "test \"\${$as_ac_var+set}\" = set"; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27442 else
27443 if test x$gcc_no_link = xyes; then
27444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27446 { (exit 1); exit 1; }; }
27448 cat >conftest.$ac_ext <<_ACEOF
27449 /* confdefs.h. */
27450 _ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h. */
27454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27456 #define $ac_func innocuous_$ac_func
27458 /* System header to define __stub macros and hopefully few prototypes,
27459 which can conflict with char $ac_func (); below.
27460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27461 <limits.h> exists even on freestanding compilers. */
27463 #ifdef __STDC__
27464 # include <limits.h>
27465 #else
27466 # include <assert.h>
27467 #endif
27469 #undef $ac_func
27471 /* Override any gcc2 internal prototype to avoid an error. */
27472 #ifdef __cplusplus
27473 extern "C"
27475 #endif
27476 /* We use char because int might match the return type of a gcc2
27477 builtin and then its argument prototype would still apply. */
27478 char $ac_func ();
27479 /* The GNU C library defines this for functions which it implements
27480 to always fail with ENOSYS. Some functions are actually named
27481 something starting with __ and the normal name is an alias. */
27482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27483 choke me
27484 #else
27485 char (*f) () = $ac_func;
27486 #endif
27487 #ifdef __cplusplus
27489 #endif
27492 main ()
27494 return f != $ac_func;
27496 return 0;
27498 _ACEOF
27499 rm -f conftest.$ac_objext conftest$ac_exeext
27500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27501 (eval $ac_link) 2>conftest.er1
27502 ac_status=$?
27503 grep -v '^ *+' conftest.er1 >conftest.err
27504 rm -f conftest.er1
27505 cat conftest.err >&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); } &&
27508 { ac_try='test -z "$ac_c_werror_flag"
27509 || test ! -s conftest.err'
27510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27511 (eval $ac_try) 2>&5
27512 ac_status=$?
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; } &&
27515 { ac_try='test -s conftest$ac_exeext'
27516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517 (eval $ac_try) 2>&5
27518 ac_status=$?
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); }; }; then
27521 eval "$as_ac_var=yes"
27522 else
27523 echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.$ac_ext >&5
27526 eval "$as_ac_var=no"
27528 rm -f conftest.err conftest.$ac_objext \
27529 conftest$ac_exeext conftest.$ac_ext
27531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27533 if test `eval echo '${'$as_ac_var'}'` = yes; then
27534 cat >>confdefs.h <<_ACEOF
27535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27536 _ACEOF
27538 else
27539 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27541 done
27545 for ac_func in __signbitf
27547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27548 echo "$as_me:$LINENO: checking for $ac_func" >&5
27549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27550 if eval "test \"\${$as_ac_var+set}\" = set"; then
27551 echo $ECHO_N "(cached) $ECHO_C" >&6
27552 else
27553 if test x$gcc_no_link = xyes; then
27554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27556 { (exit 1); exit 1; }; }
27558 cat >conftest.$ac_ext <<_ACEOF
27559 /* confdefs.h. */
27560 _ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27566 #define $ac_func innocuous_$ac_func
27568 /* System header to define __stub macros and hopefully few prototypes,
27569 which can conflict with char $ac_func (); below.
27570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27571 <limits.h> exists even on freestanding compilers. */
27573 #ifdef __STDC__
27574 # include <limits.h>
27575 #else
27576 # include <assert.h>
27577 #endif
27579 #undef $ac_func
27581 /* Override any gcc2 internal prototype to avoid an error. */
27582 #ifdef __cplusplus
27583 extern "C"
27585 #endif
27586 /* We use char because int might match the return type of a gcc2
27587 builtin and then its argument prototype would still apply. */
27588 char $ac_func ();
27589 /* The GNU C library defines this for functions which it implements
27590 to always fail with ENOSYS. Some functions are actually named
27591 something starting with __ and the normal name is an alias. */
27592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27593 choke me
27594 #else
27595 char (*f) () = $ac_func;
27596 #endif
27597 #ifdef __cplusplus
27599 #endif
27602 main ()
27604 return f != $ac_func;
27606 return 0;
27608 _ACEOF
27609 rm -f conftest.$ac_objext conftest$ac_exeext
27610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27611 (eval $ac_link) 2>conftest.er1
27612 ac_status=$?
27613 grep -v '^ *+' conftest.er1 >conftest.err
27614 rm -f conftest.er1
27615 cat conftest.err >&5
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); } &&
27618 { ac_try='test -z "$ac_c_werror_flag"
27619 || test ! -s conftest.err'
27620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 (eval $ac_try) 2>&5
27622 ac_status=$?
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); }; } &&
27625 { ac_try='test -s conftest$ac_exeext'
27626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27627 (eval $ac_try) 2>&5
27628 ac_status=$?
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); }; }; then
27631 eval "$as_ac_var=yes"
27632 else
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27636 eval "$as_ac_var=no"
27638 rm -f conftest.err conftest.$ac_objext \
27639 conftest$ac_exeext conftest.$ac_ext
27641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27643 if test `eval echo '${'$as_ac_var'}'` = yes; then
27644 cat >>confdefs.h <<_ACEOF
27645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27646 _ACEOF
27648 else
27649 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27651 done
27654 if test x$ac_cv_func_copysignl = x"yes"; then
27656 for ac_func in __signbitl
27658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27659 echo "$as_me:$LINENO: checking for $ac_func" >&5
27660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27661 if eval "test \"\${$as_ac_var+set}\" = set"; then
27662 echo $ECHO_N "(cached) $ECHO_C" >&6
27663 else
27664 if test x$gcc_no_link = xyes; then
27665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27667 { (exit 1); exit 1; }; }
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h. */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27677 #define $ac_func innocuous_$ac_func
27679 /* System header to define __stub macros and hopefully few prototypes,
27680 which can conflict with char $ac_func (); below.
27681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27682 <limits.h> exists even on freestanding compilers. */
27684 #ifdef __STDC__
27685 # include <limits.h>
27686 #else
27687 # include <assert.h>
27688 #endif
27690 #undef $ac_func
27692 /* Override any gcc2 internal prototype to avoid an error. */
27693 #ifdef __cplusplus
27694 extern "C"
27696 #endif
27697 /* We use char because int might match the return type of a gcc2
27698 builtin and then its argument prototype would still apply. */
27699 char $ac_func ();
27700 /* The GNU C library defines this for functions which it implements
27701 to always fail with ENOSYS. Some functions are actually named
27702 something starting with __ and the normal name is an alias. */
27703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27704 choke me
27705 #else
27706 char (*f) () = $ac_func;
27707 #endif
27708 #ifdef __cplusplus
27710 #endif
27713 main ()
27715 return f != $ac_func;
27717 return 0;
27719 _ACEOF
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27722 (eval $ac_link) 2>conftest.er1
27723 ac_status=$?
27724 grep -v '^ *+' conftest.er1 >conftest.err
27725 rm -f conftest.er1
27726 cat conftest.err >&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try='test -z "$ac_c_werror_flag"
27730 || test ! -s conftest.err'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27733 ac_status=$?
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; } &&
27736 { ac_try='test -s conftest$ac_exeext'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27739 ac_status=$?
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; }; then
27742 eval "$as_ac_var=yes"
27743 else
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.$ac_ext >&5
27747 eval "$as_ac_var=no"
27749 rm -f conftest.err conftest.$ac_objext \
27750 conftest$ac_exeext conftest.$ac_ext
27752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27754 if test `eval echo '${'$as_ac_var'}'` = yes; then
27755 cat >>confdefs.h <<_ACEOF
27756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27757 _ACEOF
27759 else
27760 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27762 done
27766 # Used in libmath/Makefile.am.
27767 if test -n "$LIBMATHOBJS"; then
27768 need_libmath=yes
27773 # Test wchar.h for mbstate_t, which is needed for char_traits and
27774 # others even if wchar_t support is not on.
27775 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27776 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783 #include <wchar.h>
27785 main ()
27787 mbstate_t teststate;
27789 return 0;
27791 _ACEOF
27792 rm -f conftest.$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27795 ac_status=$?
27796 grep -v '^ *+' conftest.er1 >conftest.err
27797 rm -f conftest.er1
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try='test -z "$ac_c_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27805 ac_status=$?
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 have_mbstate_t=yes
27815 else
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27819 have_mbstate_t=no
27821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27822 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27823 echo "${ECHO_T}$have_mbstate_t" >&6
27824 if test x"$have_mbstate_t" = xyes; then
27825 cat >>confdefs.h <<\_ACEOF
27826 #define HAVE_MBSTATE_T 1
27827 _ACEOF
27831 # Sanity check for existence of ISO C99 headers for extended encoding.
27833 for ac_header in wchar.h
27835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27837 echo "$as_me:$LINENO: checking for $ac_header" >&5
27838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27844 else
27845 # Is the header compilable?
27846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854 $ac_includes_default
27855 #include <$ac_header>
27856 _ACEOF
27857 rm -f conftest.$ac_objext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27859 (eval $ac_compile) 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try='test -s conftest.$ac_objext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879 ac_header_compiler=yes
27880 else
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27884 ac_header_compiler=no
27886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27888 echo "${ECHO_T}$ac_header_compiler" >&6
27890 # Is the header present?
27891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27893 cat >conftest.$ac_ext <<_ACEOF
27894 /* confdefs.h. */
27895 _ACEOF
27896 cat confdefs.h >>conftest.$ac_ext
27897 cat >>conftest.$ac_ext <<_ACEOF
27898 /* end confdefs.h. */
27899 #include <$ac_header>
27900 _ACEOF
27901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27903 ac_status=$?
27904 grep -v '^ *+' conftest.er1 >conftest.err
27905 rm -f conftest.er1
27906 cat conftest.err >&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } >/dev/null; then
27909 if test -s conftest.err; then
27910 ac_cpp_err=$ac_c_preproc_warn_flag
27911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27912 else
27913 ac_cpp_err=
27915 else
27916 ac_cpp_err=yes
27918 if test -z "$ac_cpp_err"; then
27919 ac_header_preproc=yes
27920 else
27921 echo "$as_me: failed program was:" >&5
27922 sed 's/^/| /' conftest.$ac_ext >&5
27924 ac_header_preproc=no
27926 rm -f conftest.err conftest.$ac_ext
27927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27928 echo "${ECHO_T}$ac_header_preproc" >&6
27930 # So? What about this header?
27931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27932 yes:no: )
27933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27937 ac_header_preproc=yes
27939 no:yes:* )
27940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27953 cat <<\_ASBOX
27954 ## ----------------------------------------- ##
27955 ## Report this to the package-unused lists. ##
27956 ## ----------------------------------------- ##
27957 _ASBOX
27959 sed "s/^/$as_me: WARNING: /" >&2
27961 esac
27962 echo "$as_me:$LINENO: checking for $ac_header" >&5
27963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27965 echo $ECHO_N "(cached) $ECHO_C" >&6
27966 else
27967 eval "$as_ac_Header=\$ac_header_preproc"
27969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27974 cat >>confdefs.h <<_ACEOF
27975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27976 _ACEOF
27977 ac_has_wchar_h=yes
27978 else
27979 ac_has_wchar_h=no
27982 done
27985 for ac_header in wctype.h
27987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27989 echo "$as_me:$LINENO: checking for $ac_header" >&5
27990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27996 else
27997 # Is the header compilable?
27998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28000 cat >conftest.$ac_ext <<_ACEOF
28001 /* confdefs.h. */
28002 _ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28006 $ac_includes_default
28007 #include <$ac_header>
28008 _ACEOF
28009 rm -f conftest.$ac_objext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28011 (eval $ac_compile) 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try='test -z "$ac_c_werror_flag"
28019 || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try='test -s conftest.$ac_objext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 ac_header_compiler=yes
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28036 ac_header_compiler=no
28038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28040 echo "${ECHO_T}$ac_header_compiler" >&6
28042 # Is the header present?
28043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28045 cat >conftest.$ac_ext <<_ACEOF
28046 /* confdefs.h. */
28047 _ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28051 #include <$ac_header>
28052 _ACEOF
28053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28055 ac_status=$?
28056 grep -v '^ *+' conftest.er1 >conftest.err
28057 rm -f conftest.er1
28058 cat conftest.err >&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } >/dev/null; then
28061 if test -s conftest.err; then
28062 ac_cpp_err=$ac_c_preproc_warn_flag
28063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28064 else
28065 ac_cpp_err=
28067 else
28068 ac_cpp_err=yes
28070 if test -z "$ac_cpp_err"; then
28071 ac_header_preproc=yes
28072 else
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28076 ac_header_preproc=no
28078 rm -f conftest.err conftest.$ac_ext
28079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28080 echo "${ECHO_T}$ac_header_preproc" >&6
28082 # So? What about this header?
28083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28084 yes:no: )
28085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28089 ac_header_preproc=yes
28091 no:yes:* )
28092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28105 cat <<\_ASBOX
28106 ## ----------------------------------------- ##
28107 ## Report this to the package-unused lists. ##
28108 ## ----------------------------------------- ##
28109 _ASBOX
28111 sed "s/^/$as_me: WARNING: /" >&2
28113 esac
28114 echo "$as_me:$LINENO: checking for $ac_header" >&5
28115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119 eval "$as_ac_Header=\$ac_header_preproc"
28121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28126 cat >>confdefs.h <<_ACEOF
28127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28128 _ACEOF
28129 ac_has_wctype_h=yes
28130 else
28131 ac_has_wctype_h=no
28134 done
28137 # Only continue checking if the ISO C99 headers exist and support is on.
28138 if test x"$ac_has_wchar_h" = xyes &&
28139 test x"$ac_has_wctype_h" = xyes &&
28140 test x"$enable_c_mbchar" != xno; then
28142 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28143 # numeric_limits can instantiate type_traits<wchar_t>
28144 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28145 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28146 cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h. */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152 #include <wchar.h>
28154 main ()
28156 int i = WCHAR_MIN; int j = WCHAR_MAX;
28158 return 0;
28160 _ACEOF
28161 rm -f conftest.$ac_objext
28162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28163 (eval $ac_compile) 2>conftest.er1
28164 ac_status=$?
28165 grep -v '^ *+' conftest.er1 >conftest.err
28166 rm -f conftest.er1
28167 cat conftest.err >&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try='test -z "$ac_c_werror_flag"
28171 || test ! -s conftest.err'
28172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28173 (eval $ac_try) 2>&5
28174 ac_status=$?
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); }; } &&
28177 { ac_try='test -s conftest.$ac_objext'
28178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28179 (eval $ac_try) 2>&5
28180 ac_status=$?
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); }; }; then
28183 has_wchar_minmax=yes
28184 else
28185 echo "$as_me: failed program was:" >&5
28186 sed 's/^/| /' conftest.$ac_ext >&5
28188 has_wchar_minmax=no
28190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28191 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28192 echo "${ECHO_T}$has_wchar_minmax" >&6
28194 # Test wchar.h for WEOF, which is what we use to determine whether
28195 # to specialize for char_traits<wchar_t> or not.
28196 echo "$as_me:$LINENO: checking for WEOF" >&5
28197 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28198 cat >conftest.$ac_ext <<_ACEOF
28199 /* confdefs.h. */
28200 _ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28205 #include <wchar.h>
28206 #include <stddef.h>
28208 main ()
28210 wint_t i = WEOF;
28212 return 0;
28214 _ACEOF
28215 rm -f conftest.$ac_objext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28217 (eval $ac_compile) 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try='test -z "$ac_c_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try='test -s conftest.$ac_objext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 has_weof=yes
28238 else
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28242 has_weof=no
28244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28245 echo "$as_me:$LINENO: result: $has_weof" >&5
28246 echo "${ECHO_T}$has_weof" >&6
28248 # Tests for wide character functions used in char_traits<wchar_t>.
28249 ac_wfuncs=yes
28256 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259 echo "$as_me:$LINENO: checking for $ac_func" >&5
28260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28261 if eval "test \"\${$as_ac_var+set}\" = set"; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28263 else
28264 if test x$gcc_no_link = xyes; then
28265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28267 { (exit 1); exit 1; }; }
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28277 #define $ac_func innocuous_$ac_func
28279 /* System header to define __stub macros and hopefully few prototypes,
28280 which can conflict with char $ac_func (); below.
28281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28282 <limits.h> exists even on freestanding compilers. */
28284 #ifdef __STDC__
28285 # include <limits.h>
28286 #else
28287 # include <assert.h>
28288 #endif
28290 #undef $ac_func
28292 /* Override any gcc2 internal prototype to avoid an error. */
28293 #ifdef __cplusplus
28294 extern "C"
28296 #endif
28297 /* We use char because int might match the return type of a gcc2
28298 builtin and then its argument prototype would still apply. */
28299 char $ac_func ();
28300 /* The GNU C library defines this for functions which it implements
28301 to always fail with ENOSYS. Some functions are actually named
28302 something starting with __ and the normal name is an alias. */
28303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28304 choke me
28305 #else
28306 char (*f) () = $ac_func;
28307 #endif
28308 #ifdef __cplusplus
28310 #endif
28313 main ()
28315 return f != $ac_func;
28317 return 0;
28319 _ACEOF
28320 rm -f conftest.$ac_objext conftest$ac_exeext
28321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28322 (eval $ac_link) 2>conftest.er1
28323 ac_status=$?
28324 grep -v '^ *+' conftest.er1 >conftest.err
28325 rm -f conftest.er1
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } &&
28329 { ac_try='test -z "$ac_c_werror_flag"
28330 || test ! -s conftest.err'
28331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332 (eval $ac_try) 2>&5
28333 ac_status=$?
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; } &&
28336 { ac_try='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 eval "$as_ac_var=yes"
28343 else
28344 echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.$ac_ext >&5
28347 eval "$as_ac_var=no"
28349 rm -f conftest.err conftest.$ac_objext \
28350 conftest$ac_exeext conftest.$ac_ext
28352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28354 if test `eval echo '${'$as_ac_var'}'` = yes; then
28355 cat >>confdefs.h <<_ACEOF
28356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28357 _ACEOF
28359 else
28360 ac_wfuncs=no
28362 done
28365 # Checks for names injected into std:: by the c_std headers.
28412 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28413 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28414 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28415 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28416 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28417 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28420 echo "$as_me:$LINENO: checking for $ac_func" >&5
28421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28422 if eval "test \"\${$as_ac_var+set}\" = set"; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425 if test x$gcc_no_link = xyes; then
28426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28428 { (exit 1); exit 1; }; }
28430 cat >conftest.$ac_ext <<_ACEOF
28431 /* confdefs.h. */
28432 _ACEOF
28433 cat confdefs.h >>conftest.$ac_ext
28434 cat >>conftest.$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28438 #define $ac_func innocuous_$ac_func
28440 /* System header to define __stub macros and hopefully few prototypes,
28441 which can conflict with char $ac_func (); below.
28442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28443 <limits.h> exists even on freestanding compilers. */
28445 #ifdef __STDC__
28446 # include <limits.h>
28447 #else
28448 # include <assert.h>
28449 #endif
28451 #undef $ac_func
28453 /* Override any gcc2 internal prototype to avoid an error. */
28454 #ifdef __cplusplus
28455 extern "C"
28457 #endif
28458 /* We use char because int might match the return type of a gcc2
28459 builtin and then its argument prototype would still apply. */
28460 char $ac_func ();
28461 /* The GNU C library defines this for functions which it implements
28462 to always fail with ENOSYS. Some functions are actually named
28463 something starting with __ and the normal name is an alias. */
28464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28465 choke me
28466 #else
28467 char (*f) () = $ac_func;
28468 #endif
28469 #ifdef __cplusplus
28471 #endif
28474 main ()
28476 return f != $ac_func;
28478 return 0;
28480 _ACEOF
28481 rm -f conftest.$ac_objext conftest$ac_exeext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28483 (eval $ac_link) 2>conftest.er1
28484 ac_status=$?
28485 grep -v '^ *+' conftest.er1 >conftest.err
28486 rm -f conftest.er1
28487 cat conftest.err >&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try='test -z "$ac_c_werror_flag"
28491 || test ! -s conftest.err'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try='test -s conftest$ac_exeext'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28500 ac_status=$?
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503 eval "$as_ac_var=yes"
28504 else
28505 echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.$ac_ext >&5
28508 eval "$as_ac_var=no"
28510 rm -f conftest.err conftest.$ac_objext \
28511 conftest$ac_exeext conftest.$ac_ext
28513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28515 if test `eval echo '${'$as_ac_var'}'` = yes; then
28516 cat >>confdefs.h <<_ACEOF
28517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28518 _ACEOF
28520 else
28521 ac_wfuncs=no
28523 done
28526 # Checks for wide character functions that are not required
28527 # for basic wchar_t support. Don't disable support if they are missing.
28528 # Injection of these is wrapped with guard macros.
28534 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28537 echo "$as_me:$LINENO: checking for $ac_func" >&5
28538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28539 if eval "test \"\${$as_ac_var+set}\" = set"; then
28540 echo $ECHO_N "(cached) $ECHO_C" >&6
28541 else
28542 if test x$gcc_no_link = xyes; then
28543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28545 { (exit 1); exit 1; }; }
28547 cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h. */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28555 #define $ac_func innocuous_$ac_func
28557 /* System header to define __stub macros and hopefully few prototypes,
28558 which can conflict with char $ac_func (); below.
28559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28560 <limits.h> exists even on freestanding compilers. */
28562 #ifdef __STDC__
28563 # include <limits.h>
28564 #else
28565 # include <assert.h>
28566 #endif
28568 #undef $ac_func
28570 /* Override any gcc2 internal prototype to avoid an error. */
28571 #ifdef __cplusplus
28572 extern "C"
28574 #endif
28575 /* We use char because int might match the return type of a gcc2
28576 builtin and then its argument prototype would still apply. */
28577 char $ac_func ();
28578 /* The GNU C library defines this for functions which it implements
28579 to always fail with ENOSYS. Some functions are actually named
28580 something starting with __ and the normal name is an alias. */
28581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28582 choke me
28583 #else
28584 char (*f) () = $ac_func;
28585 #endif
28586 #ifdef __cplusplus
28588 #endif
28591 main ()
28593 return f != $ac_func;
28595 return 0;
28597 _ACEOF
28598 rm -f conftest.$ac_objext conftest$ac_exeext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28600 (eval $ac_link) 2>conftest.er1
28601 ac_status=$?
28602 grep -v '^ *+' conftest.er1 >conftest.err
28603 rm -f conftest.er1
28604 cat conftest.err >&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try='test -z "$ac_c_werror_flag"
28608 || test ! -s conftest.err'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; } &&
28614 { ac_try='test -s conftest$ac_exeext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 eval "$as_ac_var=yes"
28621 else
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28625 eval "$as_ac_var=no"
28627 rm -f conftest.err conftest.$ac_objext \
28628 conftest$ac_exeext conftest.$ac_ext
28630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28632 if test `eval echo '${'$as_ac_var'}'` = yes; then
28633 cat >>confdefs.h <<_ACEOF
28634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28635 _ACEOF
28638 done
28641 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28642 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28643 if test x"$has_weof" = xyes &&
28644 test x"$has_wchar_minmax" = xyes &&
28645 test x"$ac_wfuncs" = xyes;
28646 then
28647 ac_isoC99_wchar_t=yes
28648 else
28649 ac_isoC99_wchar_t=no
28651 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28652 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28654 # Use iconv for wchar_t to char conversions. As such, check for
28655 # X/Open Portability Guide, version 2 features (XPG2).
28656 if test "${ac_cv_header_iconv_h+set}" = set; then
28657 echo "$as_me:$LINENO: checking for iconv.h" >&5
28658 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28659 if test "${ac_cv_header_iconv_h+set}" = set; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28662 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28663 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28664 else
28665 # Is the header compilable?
28666 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28667 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674 $ac_includes_default
28675 #include <iconv.h>
28676 _ACEOF
28677 rm -f conftest.$ac_objext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28679 (eval $ac_compile) 2>conftest.er1
28680 ac_status=$?
28681 grep -v '^ *+' conftest.er1 >conftest.err
28682 rm -f conftest.er1
28683 cat conftest.err >&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } &&
28686 { ac_try='test -z "$ac_c_werror_flag"
28687 || test ! -s conftest.err'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; } &&
28693 { ac_try='test -s conftest.$ac_objext'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; }; then
28699 ac_header_compiler=yes
28700 else
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28704 ac_header_compiler=no
28706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28708 echo "${ECHO_T}$ac_header_compiler" >&6
28710 # Is the header present?
28711 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28712 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h. */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28719 #include <iconv.h>
28720 _ACEOF
28721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28723 ac_status=$?
28724 grep -v '^ *+' conftest.er1 >conftest.err
28725 rm -f conftest.er1
28726 cat conftest.err >&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); } >/dev/null; then
28729 if test -s conftest.err; then
28730 ac_cpp_err=$ac_c_preproc_warn_flag
28731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28732 else
28733 ac_cpp_err=
28735 else
28736 ac_cpp_err=yes
28738 if test -z "$ac_cpp_err"; then
28739 ac_header_preproc=yes
28740 else
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.$ac_ext >&5
28744 ac_header_preproc=no
28746 rm -f conftest.err conftest.$ac_ext
28747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28748 echo "${ECHO_T}$ac_header_preproc" >&6
28750 # So? What about this header?
28751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28752 yes:no: )
28753 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28754 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28756 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28757 ac_header_preproc=yes
28759 no:yes:* )
28760 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28761 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28762 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28763 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28764 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28765 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28766 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28767 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28768 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28769 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28770 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28771 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28773 cat <<\_ASBOX
28774 ## ----------------------------------------- ##
28775 ## Report this to the package-unused lists. ##
28776 ## ----------------------------------------- ##
28777 _ASBOX
28779 sed "s/^/$as_me: WARNING: /" >&2
28781 esac
28782 echo "$as_me:$LINENO: checking for iconv.h" >&5
28783 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28784 if test "${ac_cv_header_iconv_h+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787 ac_cv_header_iconv_h=$ac_header_preproc
28789 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28793 if test $ac_cv_header_iconv_h = yes; then
28794 ac_has_iconv_h=yes
28795 else
28796 ac_has_iconv_h=no
28800 if test "${ac_cv_header_langinfo_h+set}" = set; then
28801 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28802 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28803 if test "${ac_cv_header_langinfo_h+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28807 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28808 else
28809 # Is the header compilable?
28810 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28811 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28812 cat >conftest.$ac_ext <<_ACEOF
28813 /* confdefs.h. */
28814 _ACEOF
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28818 $ac_includes_default
28819 #include <langinfo.h>
28820 _ACEOF
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28824 ac_status=$?
28825 grep -v '^ *+' conftest.er1 >conftest.err
28826 rm -f conftest.er1
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_c_werror_flag"
28831 || test ! -s conftest.err'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; } &&
28837 { ac_try='test -s conftest.$ac_objext'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28840 ac_status=$?
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28843 ac_header_compiler=yes
28844 else
28845 echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.$ac_ext >&5
28848 ac_header_compiler=no
28850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28852 echo "${ECHO_T}$ac_header_compiler" >&6
28854 # Is the header present?
28855 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28856 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28857 cat >conftest.$ac_ext <<_ACEOF
28858 /* confdefs.h. */
28859 _ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28863 #include <langinfo.h>
28864 _ACEOF
28865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28867 ac_status=$?
28868 grep -v '^ *+' conftest.er1 >conftest.err
28869 rm -f conftest.er1
28870 cat conftest.err >&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); } >/dev/null; then
28873 if test -s conftest.err; then
28874 ac_cpp_err=$ac_c_preproc_warn_flag
28875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28876 else
28877 ac_cpp_err=
28879 else
28880 ac_cpp_err=yes
28882 if test -z "$ac_cpp_err"; then
28883 ac_header_preproc=yes
28884 else
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28888 ac_header_preproc=no
28890 rm -f conftest.err conftest.$ac_ext
28891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28892 echo "${ECHO_T}$ac_header_preproc" >&6
28894 # So? What about this header?
28895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28896 yes:no: )
28897 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28898 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28899 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28900 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28901 ac_header_preproc=yes
28903 no:yes:* )
28904 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28905 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28906 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28907 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28908 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28909 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28910 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28911 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28912 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28913 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28914 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28915 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28917 cat <<\_ASBOX
28918 ## ----------------------------------------- ##
28919 ## Report this to the package-unused lists. ##
28920 ## ----------------------------------------- ##
28921 _ASBOX
28923 sed "s/^/$as_me: WARNING: /" >&2
28925 esac
28926 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28927 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28928 if test "${ac_cv_header_langinfo_h+set}" = set; then
28929 echo $ECHO_N "(cached) $ECHO_C" >&6
28930 else
28931 ac_cv_header_langinfo_h=$ac_header_preproc
28933 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28934 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28937 if test $ac_cv_header_langinfo_h = yes; then
28938 ac_has_langinfo_h=yes
28939 else
28940 ac_has_langinfo_h=no
28945 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28946 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28947 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28948 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951 ac_check_lib_save_LIBS=$LIBS
28952 LIBS="-liconv $LIBS"
28953 if test x$gcc_no_link = xyes; then
28954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28956 { (exit 1); exit 1; }; }
28958 cat >conftest.$ac_ext <<_ACEOF
28959 /* confdefs.h. */
28960 _ACEOF
28961 cat confdefs.h >>conftest.$ac_ext
28962 cat >>conftest.$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28965 /* Override any gcc2 internal prototype to avoid an error. */
28966 #ifdef __cplusplus
28967 extern "C"
28968 #endif
28969 /* We use char because int might match the return type of a gcc2
28970 builtin and then its argument prototype would still apply. */
28971 char iconv ();
28973 main ()
28975 iconv ();
28977 return 0;
28979 _ACEOF
28980 rm -f conftest.$ac_objext conftest$ac_exeext
28981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28982 (eval $ac_link) 2>conftest.er1
28983 ac_status=$?
28984 grep -v '^ *+' conftest.er1 >conftest.err
28985 rm -f conftest.er1
28986 cat conftest.err >&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } &&
28989 { ac_try='test -z "$ac_c_werror_flag"
28990 || test ! -s conftest.err'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; } &&
28996 { ac_try='test -s conftest$ac_exeext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
28999 ac_status=$?
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_cv_lib_iconv_iconv=yes
29003 else
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29007 ac_cv_lib_iconv_iconv=no
29009 rm -f conftest.err conftest.$ac_objext \
29010 conftest$ac_exeext conftest.$ac_ext
29011 LIBS=$ac_check_lib_save_LIBS
29013 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29014 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29015 if test $ac_cv_lib_iconv_iconv = yes; then
29016 LIBICONV="-liconv"
29019 ac_save_LIBS="$LIBS"
29020 LIBS="$LIBS $LIBICONV"
29027 for ac_func in iconv_open iconv_close iconv nl_langinfo
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 if test x$gcc_no_link = xyes; then
29036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29038 { (exit 1); exit 1; }; }
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h. */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048 #define $ac_func innocuous_$ac_func
29050 /* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29055 #ifdef __STDC__
29056 # include <limits.h>
29057 #else
29058 # include <assert.h>
29059 #endif
29061 #undef $ac_func
29063 /* Override any gcc2 internal prototype to avoid an error. */
29064 #ifdef __cplusplus
29065 extern "C"
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070 char $ac_func ();
29071 /* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075 choke me
29076 #else
29077 char (*f) () = $ac_func;
29078 #endif
29079 #ifdef __cplusplus
29081 #endif
29084 main ()
29086 return f != $ac_func;
29088 return 0;
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29094 ac_status=$?
29095 grep -v '^ *+' conftest.er1 >conftest.err
29096 rm -f conftest.er1
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 eval "$as_ac_var=yes"
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29118 eval "$as_ac_var=no"
29120 rm -f conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126 cat >>confdefs.h <<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 _ACEOF
29129 ac_XPG2funcs=yes
29130 else
29131 ac_XPG2funcs=no
29133 done
29136 LIBS="$ac_save_LIBS"
29138 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29139 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29140 if test x"$ac_has_iconv_h" = xyes &&
29141 test x"$ac_has_langinfo_h" = xyes &&
29142 test x"$ac_XPG2funcs" = xyes;
29143 then
29144 ac_XPG2_wchar_t=yes
29145 else
29146 ac_XPG2_wchar_t=no
29148 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29149 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29151 # At the moment, only enable wchar_t specializations if all the
29152 # above support is present.
29153 if test x"$ac_isoC99_wchar_t" = xyes &&
29154 test x"$ac_XPG2_wchar_t" = xyes;
29155 then
29156 cat >>confdefs.h <<\_ACEOF
29157 #define _GLIBCXX_USE_WCHAR_T 1
29158 _ACEOF
29160 enable_wchar_t=yes
29163 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29164 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29165 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29166 echo "${ECHO_T}$enable_wchar_t" >&6
29169 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29170 ac_save_CXXFLAGS="$CXXFLAGS"
29171 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29174 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29175 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29176 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29177 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29178 echo $ECHO_N "(cached) $ECHO_C" >&6
29179 else
29183 ac_ext=cc
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189 cat >conftest.$ac_ext <<_ACEOF
29190 /* confdefs.h. */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195 #include <stdlib.h>
29197 main ()
29199 strtold(0, 0);
29201 return 0;
29203 _ACEOF
29204 rm -f conftest.$ac_objext
29205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29206 (eval $ac_compile) 2>conftest.er1
29207 ac_status=$?
29208 grep -v '^ *+' conftest.er1 >conftest.err
29209 rm -f conftest.er1
29210 cat conftest.err >&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } &&
29213 { ac_try='test -z "$ac_cxx_werror_flag"
29214 || test ! -s conftest.err'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29217 ac_status=$?
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; } &&
29220 { ac_try='test -s conftest.$ac_objext'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29223 ac_status=$?
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; }; then
29226 glibcxx_cv_func_strtold_use=yes
29227 else
29228 echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.$ac_ext >&5
29231 glibcxx_cv_func_strtold_use=no
29233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29234 ac_ext=c
29235 ac_cpp='$CPP $CPPFLAGS'
29236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29245 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29246 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29248 for ac_func in strtold
29250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29251 echo "$as_me:$LINENO: checking for $ac_func" >&5
29252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29253 if eval "test \"\${$as_ac_var+set}\" = set"; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256 if test x$gcc_no_link = xyes; then
29257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29259 { (exit 1); exit 1; }; }
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h. */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29269 #define $ac_func innocuous_$ac_func
29271 /* System header to define __stub macros and hopefully few prototypes,
29272 which can conflict with char $ac_func (); below.
29273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29274 <limits.h> exists even on freestanding compilers. */
29276 #ifdef __STDC__
29277 # include <limits.h>
29278 #else
29279 # include <assert.h>
29280 #endif
29282 #undef $ac_func
29284 /* Override any gcc2 internal prototype to avoid an error. */
29285 #ifdef __cplusplus
29286 extern "C"
29288 #endif
29289 /* We use char because int might match the return type of a gcc2
29290 builtin and then its argument prototype would still apply. */
29291 char $ac_func ();
29292 /* The GNU C library defines this for functions which it implements
29293 to always fail with ENOSYS. Some functions are actually named
29294 something starting with __ and the normal name is an alias. */
29295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29296 choke me
29297 #else
29298 char (*f) () = $ac_func;
29299 #endif
29300 #ifdef __cplusplus
29302 #endif
29305 main ()
29307 return f != $ac_func;
29309 return 0;
29311 _ACEOF
29312 rm -f conftest.$ac_objext conftest$ac_exeext
29313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29314 (eval $ac_link) 2>conftest.er1
29315 ac_status=$?
29316 grep -v '^ *+' conftest.er1 >conftest.err
29317 rm -f conftest.er1
29318 cat conftest.err >&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); } &&
29321 { ac_try='test -z "$ac_c_werror_flag"
29322 || test ! -s conftest.err'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29331 ac_status=$?
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 eval "$as_ac_var=yes"
29335 else
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.$ac_ext >&5
29339 eval "$as_ac_var=no"
29341 rm -f conftest.err conftest.$ac_objext \
29342 conftest$ac_exeext conftest.$ac_ext
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29346 if test `eval echo '${'$as_ac_var'}'` = yes; then
29347 cat >>confdefs.h <<_ACEOF
29348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29349 _ACEOF
29352 done
29357 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29358 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29359 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29360 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29362 else
29366 ac_ext=cc
29367 ac_cpp='$CXXCPP $CPPFLAGS'
29368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29372 cat >conftest.$ac_ext <<_ACEOF
29373 /* confdefs.h. */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29378 #include <stdlib.h>
29380 main ()
29382 strtof(0, 0);
29384 return 0;
29386 _ACEOF
29387 rm -f conftest.$ac_objext
29388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29389 (eval $ac_compile) 2>conftest.er1
29390 ac_status=$?
29391 grep -v '^ *+' conftest.er1 >conftest.err
29392 rm -f conftest.er1
29393 cat conftest.err >&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } &&
29396 { ac_try='test -z "$ac_cxx_werror_flag"
29397 || test ! -s conftest.err'
29398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399 (eval $ac_try) 2>&5
29400 ac_status=$?
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; } &&
29403 { ac_try='test -s conftest.$ac_objext'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29406 ac_status=$?
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; }; then
29409 glibcxx_cv_func_strtof_use=yes
29410 else
29411 echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.$ac_ext >&5
29414 glibcxx_cv_func_strtof_use=no
29416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29417 ac_ext=c
29418 ac_cpp='$CPP $CPPFLAGS'
29419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29428 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29429 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29431 for ac_func in strtof
29433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29434 echo "$as_me:$LINENO: checking for $ac_func" >&5
29435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29436 if eval "test \"\${$as_ac_var+set}\" = set"; then
29437 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 else
29439 if test x$gcc_no_link = xyes; then
29440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29442 { (exit 1); exit 1; }; }
29444 cat >conftest.$ac_ext <<_ACEOF
29445 /* confdefs.h. */
29446 _ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29452 #define $ac_func innocuous_$ac_func
29454 /* System header to define __stub macros and hopefully few prototypes,
29455 which can conflict with char $ac_func (); below.
29456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29457 <limits.h> exists even on freestanding compilers. */
29459 #ifdef __STDC__
29460 # include <limits.h>
29461 #else
29462 # include <assert.h>
29463 #endif
29465 #undef $ac_func
29467 /* Override any gcc2 internal prototype to avoid an error. */
29468 #ifdef __cplusplus
29469 extern "C"
29471 #endif
29472 /* We use char because int might match the return type of a gcc2
29473 builtin and then its argument prototype would still apply. */
29474 char $ac_func ();
29475 /* The GNU C library defines this for functions which it implements
29476 to always fail with ENOSYS. Some functions are actually named
29477 something starting with __ and the normal name is an alias. */
29478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29479 choke me
29480 #else
29481 char (*f) () = $ac_func;
29482 #endif
29483 #ifdef __cplusplus
29485 #endif
29488 main ()
29490 return f != $ac_func;
29492 return 0;
29494 _ACEOF
29495 rm -f conftest.$ac_objext conftest$ac_exeext
29496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29497 (eval $ac_link) 2>conftest.er1
29498 ac_status=$?
29499 grep -v '^ *+' conftest.er1 >conftest.err
29500 rm -f conftest.er1
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } &&
29504 { ac_try='test -z "$ac_c_werror_flag"
29505 || test ! -s conftest.err'
29506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29507 (eval $ac_try) 2>&5
29508 ac_status=$?
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); }; } &&
29511 { ac_try='test -s conftest$ac_exeext'
29512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29513 (eval $ac_try) 2>&5
29514 ac_status=$?
29515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516 (exit $ac_status); }; }; then
29517 eval "$as_ac_var=yes"
29518 else
29519 echo "$as_me: failed program was:" >&5
29520 sed 's/^/| /' conftest.$ac_ext >&5
29522 eval "$as_ac_var=no"
29524 rm -f conftest.err conftest.$ac_objext \
29525 conftest$ac_exeext conftest.$ac_ext
29527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29529 if test `eval echo '${'$as_ac_var'}'` = yes; then
29530 cat >>confdefs.h <<_ACEOF
29531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29532 _ACEOF
29535 done
29540 CXXFLAGS="$ac_save_CXXFLAGS"
29543 # For showmanyc_helper().
29546 for ac_header in sys/ioctl.h sys/filio.h
29548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29550 echo "$as_me:$LINENO: checking for $ac_header" >&5
29551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29553 echo $ECHO_N "(cached) $ECHO_C" >&6
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29557 else
29558 # Is the header compilable?
29559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h. */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567 $ac_includes_default
29568 #include <$ac_header>
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29572 (eval $ac_compile) 2>conftest.er1
29573 ac_status=$?
29574 grep -v '^ *+' conftest.er1 >conftest.err
29575 rm -f conftest.er1
29576 cat conftest.err >&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -z "$ac_c_werror_flag"
29580 || test ! -s conftest.err'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29583 ac_status=$?
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; } &&
29586 { ac_try='test -s conftest.$ac_objext'
29587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588 (eval $ac_try) 2>&5
29589 ac_status=$?
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); }; }; then
29592 ac_header_compiler=yes
29593 else
29594 echo "$as_me: failed program was:" >&5
29595 sed 's/^/| /' conftest.$ac_ext >&5
29597 ac_header_compiler=no
29599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29601 echo "${ECHO_T}$ac_header_compiler" >&6
29603 # Is the header present?
29604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29606 cat >conftest.$ac_ext <<_ACEOF
29607 /* confdefs.h. */
29608 _ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 #include <$ac_header>
29613 _ACEOF
29614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } >/dev/null; then
29622 if test -s conftest.err; then
29623 ac_cpp_err=$ac_c_preproc_warn_flag
29624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29625 else
29626 ac_cpp_err=
29628 else
29629 ac_cpp_err=yes
29631 if test -z "$ac_cpp_err"; then
29632 ac_header_preproc=yes
29633 else
29634 echo "$as_me: failed program was:" >&5
29635 sed 's/^/| /' conftest.$ac_ext >&5
29637 ac_header_preproc=no
29639 rm -f conftest.err conftest.$ac_ext
29640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29641 echo "${ECHO_T}$ac_header_preproc" >&6
29643 # So? What about this header?
29644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29645 yes:no: )
29646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29650 ac_header_preproc=yes
29652 no:yes:* )
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29666 cat <<\_ASBOX
29667 ## ----------------------------------------- ##
29668 ## Report this to the package-unused lists. ##
29669 ## ----------------------------------------- ##
29670 _ASBOX
29672 sed "s/^/$as_me: WARNING: /" >&2
29674 esac
29675 echo "$as_me:$LINENO: checking for $ac_header" >&5
29676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29678 echo $ECHO_N "(cached) $ECHO_C" >&6
29679 else
29680 eval "$as_ac_Header=\$ac_header_preproc"
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29687 cat >>confdefs.h <<_ACEOF
29688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29689 _ACEOF
29693 done
29696 if test "${glibcxx_cv_POLL+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29700 if test x$gcc_no_link = xyes; then
29701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29703 { (exit 1); exit 1; }; }
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 #include <poll.h>
29713 main ()
29715 struct pollfd pfd[1];
29716 pfd[0].events = POLLIN;
29717 poll(pfd, 1, 0);
29719 return 0;
29721 _ACEOF
29722 rm -f conftest.$ac_objext conftest$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724 (eval $ac_link) 2>conftest.er1
29725 ac_status=$?
29726 grep -v '^ *+' conftest.er1 >conftest.err
29727 rm -f conftest.er1
29728 cat conftest.err >&5
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); } &&
29731 { ac_try='test -z "$ac_c_werror_flag"
29732 || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try='test -s conftest$ac_exeext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 glibcxx_cv_POLL=yes
29745 else
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.$ac_ext >&5
29749 glibcxx_cv_POLL=no
29751 rm -f conftest.err conftest.$ac_objext \
29752 conftest$ac_exeext conftest.$ac_ext
29756 if test $glibcxx_cv_POLL = yes; then
29757 cat >>confdefs.h <<\_ACEOF
29758 #define HAVE_POLL 1
29759 _ACEOF
29764 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29768 if test x$gcc_no_link = xyes; then
29769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29771 { (exit 1); exit 1; }; }
29773 cat >conftest.$ac_ext <<_ACEOF
29774 /* confdefs.h. */
29775 _ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29779 #include <sys/stat.h>
29781 main ()
29783 struct stat buffer;
29784 fstat(0, &buffer);
29785 S_ISREG(buffer.st_mode);
29787 return 0;
29789 _ACEOF
29790 rm -f conftest.$ac_objext conftest$ac_exeext
29791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29792 (eval $ac_link) 2>conftest.er1
29793 ac_status=$?
29794 grep -v '^ *+' conftest.er1 >conftest.err
29795 rm -f conftest.er1
29796 cat conftest.err >&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try='test -z "$ac_c_werror_flag"
29800 || test ! -s conftest.err'
29801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802 (eval $ac_try) 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; } &&
29806 { ac_try='test -s conftest$ac_exeext'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; }; then
29812 glibcxx_cv_S_ISREG=yes
29813 else
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29817 glibcxx_cv_S_ISREG=no
29819 rm -f conftest.err conftest.$ac_objext \
29820 conftest$ac_exeext conftest.$ac_ext
29824 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29828 if test x$gcc_no_link = xyes; then
29829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29831 { (exit 1); exit 1; }; }
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h. */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29839 #include <sys/stat.h>
29841 main ()
29843 struct stat buffer;
29844 fstat(0, &buffer);
29845 S_IFREG & buffer.st_mode;
29847 return 0;
29849 _ACEOF
29850 rm -f conftest.$ac_objext conftest$ac_exeext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29852 (eval $ac_link) 2>conftest.er1
29853 ac_status=$?
29854 grep -v '^ *+' conftest.er1 >conftest.err
29855 rm -f conftest.er1
29856 cat conftest.err >&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try='test -z "$ac_c_werror_flag"
29860 || test ! -s conftest.err'
29861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 (eval $ac_try) 2>&5
29863 ac_status=$?
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); }; } &&
29866 { ac_try='test -s conftest$ac_exeext'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29869 ac_status=$?
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; }; then
29872 glibcxx_cv_S_IFREG=yes
29873 else
29874 echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.$ac_ext >&5
29877 glibcxx_cv_S_IFREG=no
29879 rm -f conftest.err conftest.$ac_objext \
29880 conftest$ac_exeext conftest.$ac_ext
29884 if test $glibcxx_cv_S_ISREG = yes; then
29885 cat >>confdefs.h <<\_ACEOF
29886 #define HAVE_S_ISREG 1
29887 _ACEOF
29889 elif test $glibcxx_cv_S_IFREG = yes; then
29890 cat >>confdefs.h <<\_ACEOF
29891 #define HAVE_S_IFREG 1
29892 _ACEOF
29897 # For xsputn_2().
29899 for ac_header in sys/uio.h
29901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29903 echo "$as_me:$LINENO: checking for $ac_header" >&5
29904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29906 echo $ECHO_N "(cached) $ECHO_C" >&6
29908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29910 else
29911 # Is the header compilable?
29912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29914 cat >conftest.$ac_ext <<_ACEOF
29915 /* confdefs.h. */
29916 _ACEOF
29917 cat confdefs.h >>conftest.$ac_ext
29918 cat >>conftest.$ac_ext <<_ACEOF
29919 /* end confdefs.h. */
29920 $ac_includes_default
29921 #include <$ac_header>
29922 _ACEOF
29923 rm -f conftest.$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925 (eval $ac_compile) 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } &&
29932 { ac_try='test -z "$ac_c_werror_flag"
29933 || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29936 ac_status=$?
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try='test -s conftest.$ac_objext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 ac_header_compiler=yes
29946 else
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29950 ac_header_compiler=no
29952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29954 echo "${ECHO_T}$ac_header_compiler" >&6
29956 # Is the header present?
29957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29959 cat >conftest.$ac_ext <<_ACEOF
29960 /* confdefs.h. */
29961 _ACEOF
29962 cat confdefs.h >>conftest.$ac_ext
29963 cat >>conftest.$ac_ext <<_ACEOF
29964 /* end confdefs.h. */
29965 #include <$ac_header>
29966 _ACEOF
29967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } >/dev/null; then
29975 if test -s conftest.err; then
29976 ac_cpp_err=$ac_c_preproc_warn_flag
29977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29978 else
29979 ac_cpp_err=
29981 else
29982 ac_cpp_err=yes
29984 if test -z "$ac_cpp_err"; then
29985 ac_header_preproc=yes
29986 else
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.$ac_ext >&5
29990 ac_header_preproc=no
29992 rm -f conftest.err conftest.$ac_ext
29993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29994 echo "${ECHO_T}$ac_header_preproc" >&6
29996 # So? What about this header?
29997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29998 yes:no: )
29999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30003 ac_header_preproc=yes
30005 no:yes:* )
30006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30019 cat <<\_ASBOX
30020 ## ----------------------------------------- ##
30021 ## Report this to the package-unused lists. ##
30022 ## ----------------------------------------- ##
30023 _ASBOX
30025 sed "s/^/$as_me: WARNING: /" >&2
30027 esac
30028 echo "$as_me:$LINENO: checking for $ac_header" >&5
30029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30032 else
30033 eval "$as_ac_Header=\$ac_header_preproc"
30035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30040 cat >>confdefs.h <<_ACEOF
30041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30042 _ACEOF
30046 done
30049 if test "${glibcxx_cv_WRITEV+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30053 if test x$gcc_no_link = xyes; then
30054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30056 { (exit 1); exit 1; }; }
30058 cat >conftest.$ac_ext <<_ACEOF
30059 /* confdefs.h. */
30060 _ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30064 #include <sys/uio.h>
30066 main ()
30068 struct iovec iov[2];
30069 writev(0, iov, 0);
30071 return 0;
30073 _ACEOF
30074 rm -f conftest.$ac_objext conftest$ac_exeext
30075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30076 (eval $ac_link) 2>conftest.er1
30077 ac_status=$?
30078 grep -v '^ *+' conftest.er1 >conftest.err
30079 rm -f conftest.er1
30080 cat conftest.err >&5
30081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082 (exit $ac_status); } &&
30083 { ac_try='test -z "$ac_c_werror_flag"
30084 || test ! -s conftest.err'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30087 ac_status=$?
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; } &&
30090 { ac_try='test -s conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30093 ac_status=$?
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30096 glibcxx_cv_WRITEV=yes
30097 else
30098 echo "$as_me: failed program was:" >&5
30099 sed 's/^/| /' conftest.$ac_ext >&5
30101 glibcxx_cv_WRITEV=no
30103 rm -f conftest.err conftest.$ac_objext \
30104 conftest$ac_exeext conftest.$ac_ext
30108 if test $glibcxx_cv_WRITEV = yes; then
30109 cat >>confdefs.h <<\_ACEOF
30110 #define HAVE_WRITEV 1
30111 _ACEOF
30116 # For the __streamoff_base_type typedef.
30118 if test "${glibcxx_cv_INT64_T+set}" = set; then
30119 echo $ECHO_N "(cached) $ECHO_C" >&6
30120 else
30122 cat >conftest.$ac_ext <<_ACEOF
30123 /* confdefs.h. */
30124 _ACEOF
30125 cat confdefs.h >>conftest.$ac_ext
30126 cat >>conftest.$ac_ext <<_ACEOF
30127 /* end confdefs.h. */
30128 #include <stdint.h>
30130 main ()
30132 int64_t var;
30134 return 0;
30136 _ACEOF
30137 rm -f conftest.$ac_objext
30138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30139 (eval $ac_compile) 2>conftest.er1
30140 ac_status=$?
30141 grep -v '^ *+' conftest.er1 >conftest.err
30142 rm -f conftest.er1
30143 cat conftest.err >&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } &&
30146 { ac_try='test -z "$ac_c_werror_flag"
30147 || test ! -s conftest.err'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30150 ac_status=$?
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; } &&
30153 { ac_try='test -s conftest.$ac_objext'
30154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155 (eval $ac_try) 2>&5
30156 ac_status=$?
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; }; then
30159 glibcxx_cv_INT64_T=yes
30160 else
30161 echo "$as_me: failed program was:" >&5
30162 sed 's/^/| /' conftest.$ac_ext >&5
30164 glibcxx_cv_INT64_T=no
30166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30170 if test $glibcxx_cv_INT64_T = yes; then
30171 cat >>confdefs.h <<\_ACEOF
30172 #define HAVE_INT64_T 1
30173 _ACEOF
30178 # For LFS support.
30182 ac_ext=cc
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188 ac_save_CXXFLAGS="$CXXFLAGS"
30189 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30190 if test "${glibcxx_cv_LFS+set}" = set; then
30191 echo $ECHO_N "(cached) $ECHO_C" >&6
30192 else
30194 if test x$gcc_no_link = xyes; then
30195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30197 { (exit 1); exit 1; }; }
30199 cat >conftest.$ac_ext <<_ACEOF
30200 /* confdefs.h. */
30201 _ACEOF
30202 cat confdefs.h >>conftest.$ac_ext
30203 cat >>conftest.$ac_ext <<_ACEOF
30204 /* end confdefs.h. */
30205 #include <unistd.h>
30206 #include <stdio.h>
30207 #include <sys/stat.h>
30210 main ()
30212 FILE* fp;
30213 fopen64("t", "w");
30214 fseeko64(fp, 0, SEEK_CUR);
30215 ftello64(fp);
30216 lseek64(1, 0, SEEK_CUR);
30217 struct stat64 buf;
30218 fstat64(1, &buf);
30220 return 0;
30222 _ACEOF
30223 rm -f conftest.$ac_objext conftest$ac_exeext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30225 (eval $ac_link) 2>conftest.er1
30226 ac_status=$?
30227 grep -v '^ *+' conftest.er1 >conftest.err
30228 rm -f conftest.er1
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try='test -z "$ac_cxx_werror_flag"
30233 || test ! -s conftest.err'
30234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30235 (eval $ac_try) 2>&5
30236 ac_status=$?
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; } &&
30239 { ac_try='test -s conftest$ac_exeext'
30240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241 (eval $ac_try) 2>&5
30242 ac_status=$?
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30245 glibcxx_cv_LFS=yes
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30250 glibcxx_cv_LFS=no
30252 rm -f conftest.err conftest.$ac_objext \
30253 conftest$ac_exeext conftest.$ac_ext
30257 if test $glibcxx_cv_LFS = yes; then
30258 cat >>confdefs.h <<\_ACEOF
30259 #define _GLIBCXX_USE_LFS 1
30260 _ACEOF
30263 CXXFLAGS="$ac_save_CXXFLAGS"
30264 ac_ext=c
30265 ac_cpp='$CPP $CPPFLAGS'
30266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273 if test "${ac_cv_header_locale_h+set}" = set; then
30274 echo "$as_me:$LINENO: checking for locale.h" >&5
30275 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30276 if test "${ac_cv_header_locale_h+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30280 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30281 else
30282 # Is the header compilable?
30283 echo "$as_me:$LINENO: checking locale.h usability" >&5
30284 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h. */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 $ac_includes_default
30292 #include <locale.h>
30293 _ACEOF
30294 rm -f conftest.$ac_objext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30296 (eval $ac_compile) 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -z "$ac_c_werror_flag"
30304 || test ! -s conftest.err'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30307 ac_status=$?
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; } &&
30310 { ac_try='test -s conftest.$ac_objext'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30313 ac_status=$?
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; }; then
30316 ac_header_compiler=yes
30317 else
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30321 ac_header_compiler=no
30323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30325 echo "${ECHO_T}$ac_header_compiler" >&6
30327 # Is the header present?
30328 echo "$as_me:$LINENO: checking locale.h presence" >&5
30329 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30330 cat >conftest.$ac_ext <<_ACEOF
30331 /* confdefs.h. */
30332 _ACEOF
30333 cat confdefs.h >>conftest.$ac_ext
30334 cat >>conftest.$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30336 #include <locale.h>
30337 _ACEOF
30338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30340 ac_status=$?
30341 grep -v '^ *+' conftest.er1 >conftest.err
30342 rm -f conftest.er1
30343 cat conftest.err >&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } >/dev/null; then
30346 if test -s conftest.err; then
30347 ac_cpp_err=$ac_c_preproc_warn_flag
30348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30349 else
30350 ac_cpp_err=
30352 else
30353 ac_cpp_err=yes
30355 if test -z "$ac_cpp_err"; then
30356 ac_header_preproc=yes
30357 else
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30361 ac_header_preproc=no
30363 rm -f conftest.err conftest.$ac_ext
30364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30365 echo "${ECHO_T}$ac_header_preproc" >&6
30367 # So? What about this header?
30368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30369 yes:no: )
30370 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30371 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30372 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30373 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30374 ac_header_preproc=yes
30376 no:yes:* )
30377 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30378 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30379 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30380 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30381 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30382 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30383 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30384 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30385 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30386 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30387 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30388 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30390 cat <<\_ASBOX
30391 ## ----------------------------------------- ##
30392 ## Report this to the package-unused lists. ##
30393 ## ----------------------------------------- ##
30394 _ASBOX
30396 sed "s/^/$as_me: WARNING: /" >&2
30398 esac
30399 echo "$as_me:$LINENO: checking for locale.h" >&5
30400 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30401 if test "${ac_cv_header_locale_h+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404 ac_cv_header_locale_h=$ac_header_preproc
30406 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30407 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30410 if test $ac_cv_header_locale_h = yes; then
30412 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30413 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30414 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30415 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 else
30417 if test x$gcc_no_link = xyes; then
30418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30420 { (exit 1); exit 1; }; }
30422 cat >conftest.$ac_ext <<_ACEOF
30423 /* confdefs.h. */
30424 _ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h. */
30428 #include <locale.h>
30430 main ()
30432 return LC_MESSAGES
30434 return 0;
30436 _ACEOF
30437 rm -f conftest.$ac_objext conftest$ac_exeext
30438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30439 (eval $ac_link) 2>conftest.er1
30440 ac_status=$?
30441 grep -v '^ *+' conftest.er1 >conftest.err
30442 rm -f conftest.er1
30443 cat conftest.err >&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); } &&
30446 { ac_try='test -z "$ac_c_werror_flag"
30447 || test ! -s conftest.err'
30448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449 (eval $ac_try) 2>&5
30450 ac_status=$?
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; } &&
30453 { ac_try='test -s conftest$ac_exeext'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30456 ac_status=$?
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; }; then
30459 ac_cv_val_LC_MESSAGES=yes
30460 else
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30464 ac_cv_val_LC_MESSAGES=no
30466 rm -f conftest.err conftest.$ac_objext \
30467 conftest$ac_exeext conftest.$ac_ext
30469 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30470 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30471 if test $ac_cv_val_LC_MESSAGES = yes; then
30472 cat >>confdefs.h <<\_ACEOF
30473 #define HAVE_LC_MESSAGES 1
30474 _ACEOF
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 #include <setjmp.h>
30491 main ()
30493 sigjmp_buf env;
30494 while (! sigsetjmp (env, 1))
30495 siglongjmp (env, 1);
30498 return 0;
30500 _ACEOF
30501 rm -f conftest.$ac_objext
30502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30503 (eval $ac_compile) 2>conftest.er1
30504 ac_status=$?
30505 grep -v '^ *+' conftest.er1 >conftest.err
30506 rm -f conftest.er1
30507 cat conftest.err >&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); } &&
30510 { ac_try='test -z "$ac_c_werror_flag"
30511 || test ! -s conftest.err'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; } &&
30517 { ac_try='test -s conftest.$ac_objext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30520 ac_status=$?
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30524 cat >>confdefs.h <<\_ACEOF
30525 #define HAVE_SIGSETJMP 1
30526 _ACEOF
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30535 if test x$gcc_no_link = xyes; then
30536 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30537 ac_cv_func_mmap_fixed_mapped=no
30540 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30543 for ac_header in stdlib.h unistd.h
30545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30547 echo "$as_me:$LINENO: checking for $ac_header" >&5
30548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30550 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30554 else
30555 # Is the header compilable?
30556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30558 cat >conftest.$ac_ext <<_ACEOF
30559 /* confdefs.h. */
30560 _ACEOF
30561 cat confdefs.h >>conftest.$ac_ext
30562 cat >>conftest.$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564 $ac_includes_default
30565 #include <$ac_header>
30566 _ACEOF
30567 rm -f conftest.$ac_objext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30569 (eval $ac_compile) 2>conftest.er1
30570 ac_status=$?
30571 grep -v '^ *+' conftest.er1 >conftest.err
30572 rm -f conftest.er1
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -z "$ac_c_werror_flag"
30577 || test ! -s conftest.err'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; } &&
30583 { ac_try='test -s conftest.$ac_objext'
30584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 (eval $ac_try) 2>&5
30586 ac_status=$?
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); }; }; then
30589 ac_header_compiler=yes
30590 else
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30594 ac_header_compiler=no
30596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30598 echo "${ECHO_T}$ac_header_compiler" >&6
30600 # Is the header present?
30601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30603 cat >conftest.$ac_ext <<_ACEOF
30604 /* confdefs.h. */
30605 _ACEOF
30606 cat confdefs.h >>conftest.$ac_ext
30607 cat >>conftest.$ac_ext <<_ACEOF
30608 /* end confdefs.h. */
30609 #include <$ac_header>
30610 _ACEOF
30611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30613 ac_status=$?
30614 grep -v '^ *+' conftest.er1 >conftest.err
30615 rm -f conftest.er1
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } >/dev/null; then
30619 if test -s conftest.err; then
30620 ac_cpp_err=$ac_c_preproc_warn_flag
30621 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30622 else
30623 ac_cpp_err=
30625 else
30626 ac_cpp_err=yes
30628 if test -z "$ac_cpp_err"; then
30629 ac_header_preproc=yes
30630 else
30631 echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30634 ac_header_preproc=no
30636 rm -f conftest.err conftest.$ac_ext
30637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30638 echo "${ECHO_T}$ac_header_preproc" >&6
30640 # So? What about this header?
30641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30642 yes:no: )
30643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30647 ac_header_preproc=yes
30649 no:yes:* )
30650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30663 cat <<\_ASBOX
30664 ## ----------------------------------------- ##
30665 ## Report this to the package-unused lists. ##
30666 ## ----------------------------------------- ##
30667 _ASBOX
30669 sed "s/^/$as_me: WARNING: /" >&2
30671 esac
30672 echo "$as_me:$LINENO: checking for $ac_header" >&5
30673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677 eval "$as_ac_Header=\$ac_header_preproc"
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30684 cat >>confdefs.h <<_ACEOF
30685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30686 _ACEOF
30690 done
30693 for ac_func in getpagesize
30695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30696 echo "$as_me:$LINENO: checking for $ac_func" >&5
30697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30698 if eval "test \"\${$as_ac_var+set}\" = set"; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701 if test x$gcc_no_link = xyes; then
30702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30704 { (exit 1); exit 1; }; }
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h. */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30714 #define $ac_func innocuous_$ac_func
30716 /* System header to define __stub macros and hopefully few prototypes,
30717 which can conflict with char $ac_func (); below.
30718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30719 <limits.h> exists even on freestanding compilers. */
30721 #ifdef __STDC__
30722 # include <limits.h>
30723 #else
30724 # include <assert.h>
30725 #endif
30727 #undef $ac_func
30729 /* Override any gcc2 internal prototype to avoid an error. */
30730 #ifdef __cplusplus
30731 extern "C"
30733 #endif
30734 /* We use char because int might match the return type of a gcc2
30735 builtin and then its argument prototype would still apply. */
30736 char $ac_func ();
30737 /* The GNU C library defines this for functions which it implements
30738 to always fail with ENOSYS. Some functions are actually named
30739 something starting with __ and the normal name is an alias. */
30740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30741 choke me
30742 #else
30743 char (*f) () = $ac_func;
30744 #endif
30745 #ifdef __cplusplus
30747 #endif
30750 main ()
30752 return f != $ac_func;
30754 return 0;
30756 _ACEOF
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759 (eval $ac_link) 2>conftest.er1
30760 ac_status=$?
30761 grep -v '^ *+' conftest.er1 >conftest.err
30762 rm -f conftest.er1
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try='test -z "$ac_c_werror_flag"
30767 || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30770 ac_status=$?
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try='test -s conftest$ac_exeext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30779 eval "$as_ac_var=yes"
30780 else
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30784 eval "$as_ac_var=no"
30786 rm -f conftest.err conftest.$ac_objext \
30787 conftest$ac_exeext conftest.$ac_ext
30789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30791 if test `eval echo '${'$as_ac_var'}'` = yes; then
30792 cat >>confdefs.h <<_ACEOF
30793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30794 _ACEOF
30797 done
30799 echo "$as_me:$LINENO: checking for working mmap" >&5
30800 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30801 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 else
30804 if test "$cross_compiling" = yes; then
30805 ac_cv_func_mmap_fixed_mapped=no
30806 else
30807 cat >conftest.$ac_ext <<_ACEOF
30808 /* confdefs.h. */
30809 _ACEOF
30810 cat confdefs.h >>conftest.$ac_ext
30811 cat >>conftest.$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30813 $ac_includes_default
30814 /* malloc might have been renamed as rpl_malloc. */
30815 #undef malloc
30817 /* Thanks to Mike Haertel and Jim Avera for this test.
30818 Here is a matrix of mmap possibilities:
30819 mmap private not fixed
30820 mmap private fixed at somewhere currently unmapped
30821 mmap private fixed at somewhere already mapped
30822 mmap shared not fixed
30823 mmap shared fixed at somewhere currently unmapped
30824 mmap shared fixed at somewhere already mapped
30825 For private mappings, we should verify that changes cannot be read()
30826 back from the file, nor mmap's back from the file at a different
30827 address. (There have been systems where private was not correctly
30828 implemented like the infamous i386 svr4.0, and systems where the
30829 VM page cache was not coherent with the file system buffer cache
30830 like early versions of FreeBSD and possibly contemporary NetBSD.)
30831 For shared mappings, we should conversely verify that changes get
30832 propagated back to all the places they're supposed to be.
30834 Grep wants private fixed already mapped.
30835 The main things grep needs to know about mmap are:
30836 * does it exist and is it safe to write into the mmap'd area
30837 * how to use it (BSD variants) */
30839 #include <fcntl.h>
30840 #include <sys/mman.h>
30842 #if !STDC_HEADERS && !HAVE_STDLIB_H
30843 char *malloc ();
30844 #endif
30846 /* This mess was copied from the GNU getpagesize.h. */
30847 #if !HAVE_GETPAGESIZE
30848 /* Assume that all systems that can run configure have sys/param.h. */
30849 # if !HAVE_SYS_PARAM_H
30850 # define HAVE_SYS_PARAM_H 1
30851 # endif
30853 # ifdef _SC_PAGESIZE
30854 # define getpagesize() sysconf(_SC_PAGESIZE)
30855 # else /* no _SC_PAGESIZE */
30856 # if HAVE_SYS_PARAM_H
30857 # include <sys/param.h>
30858 # ifdef EXEC_PAGESIZE
30859 # define getpagesize() EXEC_PAGESIZE
30860 # else /* no EXEC_PAGESIZE */
30861 # ifdef NBPG
30862 # define getpagesize() NBPG * CLSIZE
30863 # ifndef CLSIZE
30864 # define CLSIZE 1
30865 # endif /* no CLSIZE */
30866 # else /* no NBPG */
30867 # ifdef NBPC
30868 # define getpagesize() NBPC
30869 # else /* no NBPC */
30870 # ifdef PAGESIZE
30871 # define getpagesize() PAGESIZE
30872 # endif /* PAGESIZE */
30873 # endif /* no NBPC */
30874 # endif /* no NBPG */
30875 # endif /* no EXEC_PAGESIZE */
30876 # else /* no HAVE_SYS_PARAM_H */
30877 # define getpagesize() 8192 /* punt totally */
30878 # endif /* no HAVE_SYS_PARAM_H */
30879 # endif /* no _SC_PAGESIZE */
30881 #endif /* no HAVE_GETPAGESIZE */
30884 main ()
30886 char *data, *data2, *data3;
30887 int i, pagesize;
30888 int fd;
30890 pagesize = getpagesize ();
30892 /* First, make a file with some known garbage in it. */
30893 data = (char *) malloc (pagesize);
30894 if (!data)
30895 exit (1);
30896 for (i = 0; i < pagesize; ++i)
30897 *(data + i) = rand ();
30898 umask (0);
30899 fd = creat ("conftest.mmap", 0600);
30900 if (fd < 0)
30901 exit (1);
30902 if (write (fd, data, pagesize) != pagesize)
30903 exit (1);
30904 close (fd);
30906 /* Next, try to mmap the file at a fixed address which already has
30907 something else allocated at it. If we can, also make sure that
30908 we see the same garbage. */
30909 fd = open ("conftest.mmap", O_RDWR);
30910 if (fd < 0)
30911 exit (1);
30912 data2 = (char *) malloc (2 * pagesize);
30913 if (!data2)
30914 exit (1);
30915 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30916 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30917 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30918 exit (1);
30919 for (i = 0; i < pagesize; ++i)
30920 if (*(data + i) != *(data2 + i))
30921 exit (1);
30923 /* Finally, make sure that changes to the mapped area do not
30924 percolate back to the file as seen by read(). (This is a bug on
30925 some variants of i386 svr4.0.) */
30926 for (i = 0; i < pagesize; ++i)
30927 *(data2 + i) = *(data2 + i) + 1;
30928 data3 = (char *) malloc (pagesize);
30929 if (!data3)
30930 exit (1);
30931 if (read (fd, data3, pagesize) != pagesize)
30932 exit (1);
30933 for (i = 0; i < pagesize; ++i)
30934 if (*(data + i) != *(data3 + i))
30935 exit (1);
30936 close (fd);
30937 exit (0);
30939 _ACEOF
30940 rm -f conftest$ac_exeext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30942 (eval $ac_link) 2>&5
30943 ac_status=$?
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947 (eval $ac_try) 2>&5
30948 ac_status=$?
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; }; then
30951 ac_cv_func_mmap_fixed_mapped=yes
30952 else
30953 echo "$as_me: program exited with status $ac_status" >&5
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30957 ( exit $ac_status )
30958 ac_cv_func_mmap_fixed_mapped=no
30960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30963 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30964 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30965 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30967 cat >>confdefs.h <<\_ACEOF
30968 #define HAVE_MMAP 1
30969 _ACEOF
30972 rm -f conftest.mmap
30976 else
30978 # This lets us hard-code the functionality we know we'll have in the cross
30979 # target environment. "Let" is a sugar-coated word placed on an especially
30980 # dull and tedious hack, actually.
30982 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30983 # that involve linking, can't be used:
30984 # "cannot open sim-crt0.o"
30985 # "cannot open crt0.o"
30986 # etc. All this is because there currently exists no unified, consistent
30987 # way for top level CC information to be passed down to target directories:
30988 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30989 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30990 # crosses can be removed.
30992 # If Canadian cross, then don't pick up tools from the build directory.
30993 # Used only in GLIBCXX_EXPORT_INCLUDES.
30994 if test -n "$with_cross_host" &&
30995 test x"$build_alias" != x"$with_cross_host" &&
30996 test x"$build" != x"$target";
30997 then
30998 CANADIAN=yes
30999 else
31000 CANADIAN=no
31003 # Construct crosses by hand, eliminating bits that need ld...
31004 # GLIBCXX_CHECK_COMPILER_FEATURES
31005 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31006 # GLIBCXX_CHECK_MATH_SUPPORT
31008 # First, test for "known" system libraries. We may be using newlib even
31009 # on a hosted environment.
31010 if test "x${with_newlib}" = "xyes"; then
31011 os_include_dir="os/newlib"
31012 cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_HYPOT 1
31014 _ACEOF
31017 # GLIBCXX_CHECK_STDLIB_SUPPORT
31018 cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_STRTOF 1
31020 _ACEOF
31022 # AC_FUNC_MMAP
31023 cat >>confdefs.h <<\_ACEOF
31024 #define HAVE_MMAP 1
31025 _ACEOF
31028 cat >>confdefs.h <<\_ACEOF
31029 #define HAVE_ACOSF 1
31030 _ACEOF
31032 cat >>confdefs.h <<\_ACEOF
31033 #define HAVE_ASINF 1
31034 _ACEOF
31036 cat >>confdefs.h <<\_ACEOF
31037 #define HAVE_ATAN2F 1
31038 _ACEOF
31040 cat >>confdefs.h <<\_ACEOF
31041 #define HAVE_ATANF 1
31042 _ACEOF
31044 cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_CEILF 1
31046 _ACEOF
31048 cat >>confdefs.h <<\_ACEOF
31049 #define HAVE_COPYSIGN 1
31050 _ACEOF
31052 cat >>confdefs.h <<\_ACEOF
31053 #define HAVE_COPYSIGNF 1
31054 _ACEOF
31056 cat >>confdefs.h <<\_ACEOF
31057 #define HAVE_COSF 1
31058 _ACEOF
31060 cat >>confdefs.h <<\_ACEOF
31061 #define HAVE_COSHF 1
31062 _ACEOF
31064 cat >>confdefs.h <<\_ACEOF
31065 #define HAVE_EXPF 1
31066 _ACEOF
31068 cat >>confdefs.h <<\_ACEOF
31069 #define HAVE_FABSF 1
31070 _ACEOF
31072 cat >>confdefs.h <<\_ACEOF
31073 #define HAVE_FLOORF 1
31074 _ACEOF
31076 cat >>confdefs.h <<\_ACEOF
31077 #define HAVE_FMODF 1
31078 _ACEOF
31080 cat >>confdefs.h <<\_ACEOF
31081 #define HAVE_FREXPF 1
31082 _ACEOF
31084 cat >>confdefs.h <<\_ACEOF
31085 #define HAVE_LDEXPF 1
31086 _ACEOF
31088 cat >>confdefs.h <<\_ACEOF
31089 #define HAVE_LOG10F 1
31090 _ACEOF
31092 cat >>confdefs.h <<\_ACEOF
31093 #define HAVE_LOGF 1
31094 _ACEOF
31096 cat >>confdefs.h <<\_ACEOF
31097 #define HAVE_MODFF 1
31098 _ACEOF
31100 cat >>confdefs.h <<\_ACEOF
31101 #define HAVE_POWF 1
31102 _ACEOF
31104 cat >>confdefs.h <<\_ACEOF
31105 #define HAVE_SINF 1
31106 _ACEOF
31108 cat >>confdefs.h <<\_ACEOF
31109 #define HAVE_SINHF 1
31110 _ACEOF
31112 cat >>confdefs.h <<\_ACEOF
31113 #define HAVE_SQRTF 1
31114 _ACEOF
31116 cat >>confdefs.h <<\_ACEOF
31117 #define HAVE_TANF 1
31118 _ACEOF
31120 cat >>confdefs.h <<\_ACEOF
31121 #define HAVE_TANHF 1
31122 _ACEOF
31125 cat >>confdefs.h <<\_ACEOF
31126 #define HAVE_S_ISREG 1
31127 _ACEOF
31129 cat >>confdefs.h <<\_ACEOF
31130 #define HAVE_S_IFREG 1
31131 _ACEOF
31133 else
31135 # Base decisions on target environment.
31136 case "${host}" in
31137 arm*-*-symbianelf*)
31138 # This is a freestanding configuration; there is nothing to do here.
31141 *-darwin*)
31142 # Darwin versions vary, but the linker should work in a cross environment,
31143 # so we just check for all the features here.
31144 # Check for available headers.
31158 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31159 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31160 sys/types.h
31162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31164 echo "$as_me:$LINENO: checking for $ac_header" >&5
31165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31171 else
31172 # Is the header compilable?
31173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31175 cat >conftest.$ac_ext <<_ACEOF
31176 /* confdefs.h. */
31177 _ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31181 $ac_includes_default
31182 #include <$ac_header>
31183 _ACEOF
31184 rm -f conftest.$ac_objext
31185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31186 (eval $ac_compile) 2>conftest.er1
31187 ac_status=$?
31188 grep -v '^ *+' conftest.er1 >conftest.err
31189 rm -f conftest.er1
31190 cat conftest.err >&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); } &&
31193 { ac_try='test -z "$ac_c_werror_flag"
31194 || test ! -s conftest.err'
31195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31196 (eval $ac_try) 2>&5
31197 ac_status=$?
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); }; } &&
31200 { ac_try='test -s conftest.$ac_objext'
31201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202 (eval $ac_try) 2>&5
31203 ac_status=$?
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); }; }; then
31206 ac_header_compiler=yes
31207 else
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31211 ac_header_compiler=no
31213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31215 echo "${ECHO_T}$ac_header_compiler" >&6
31217 # Is the header present?
31218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31220 cat >conftest.$ac_ext <<_ACEOF
31221 /* confdefs.h. */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226 #include <$ac_header>
31227 _ACEOF
31228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31230 ac_status=$?
31231 grep -v '^ *+' conftest.er1 >conftest.err
31232 rm -f conftest.er1
31233 cat conftest.err >&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } >/dev/null; then
31236 if test -s conftest.err; then
31237 ac_cpp_err=$ac_c_preproc_warn_flag
31238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31239 else
31240 ac_cpp_err=
31242 else
31243 ac_cpp_err=yes
31245 if test -z "$ac_cpp_err"; then
31246 ac_header_preproc=yes
31247 else
31248 echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.$ac_ext >&5
31251 ac_header_preproc=no
31253 rm -f conftest.err conftest.$ac_ext
31254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31255 echo "${ECHO_T}$ac_header_preproc" >&6
31257 # So? What about this header?
31258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31259 yes:no: )
31260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31264 ac_header_preproc=yes
31266 no:yes:* )
31267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31280 cat <<\_ASBOX
31281 ## ----------------------------------------- ##
31282 ## Report this to the package-unused lists. ##
31283 ## ----------------------------------------- ##
31284 _ASBOX
31286 sed "s/^/$as_me: WARNING: /" >&2
31288 esac
31289 echo "$as_me:$LINENO: checking for $ac_header" >&5
31290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31293 else
31294 eval "$as_ac_Header=\$ac_header_preproc"
31296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31301 cat >>confdefs.h <<_ACEOF
31302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31303 _ACEOF
31307 done
31311 # All these tests are for C++; save the language and the compiler flags.
31312 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31313 # found in GLIBCXX_CONFIGURE.
31316 ac_ext=cc
31317 ac_cpp='$CXXCPP $CPPFLAGS'
31318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31322 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31323 ac_save_CXXFLAGS="$CXXFLAGS"
31325 # Check for maintainer-mode bits.
31326 if test x"$USE_MAINTAINER_MODE" = xno; then
31327 WERROR=''
31328 else
31329 WERROR='-Werror'
31332 # Check for -ffunction-sections -fdata-sections
31333 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31334 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31335 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31344 main ()
31346 int foo;
31348 return 0;
31350 _ACEOF
31351 rm -f conftest.$ac_objext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31353 (eval $ac_compile) 2>conftest.er1
31354 ac_status=$?
31355 grep -v '^ *+' conftest.er1 >conftest.err
31356 rm -f conftest.er1
31357 cat conftest.err >&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -z "$ac_cxx_werror_flag"
31361 || test ! -s conftest.err'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31364 ac_status=$?
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; } &&
31367 { ac_try='test -s conftest.$ac_objext'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31370 ac_status=$?
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; }; then
31373 ac_fdsections=yes
31374 else
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31378 ac_fdsections=no
31380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31381 if test "$ac_test_CXXFLAGS" = set; then
31382 CXXFLAGS="$ac_save_CXXFLAGS"
31383 else
31384 # this is the suspicious part
31385 CXXFLAGS=''
31387 if test x"$ac_fdsections" = x"yes"; then
31388 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31390 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31391 echo "${ECHO_T}$ac_fdsections" >&6
31393 ac_ext=c
31394 ac_cpp='$CPP $CPPFLAGS'
31395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31402 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31404 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31405 ac_save_CXXFLAGS="$CXXFLAGS"
31406 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31408 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31409 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31410 if test "${ac_cv_lib_m_sin+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 else
31413 ac_check_lib_save_LIBS=$LIBS
31414 LIBS="-lm $LIBS"
31415 if test x$gcc_no_link = xyes; then
31416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31418 { (exit 1); exit 1; }; }
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h. */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31427 /* Override any gcc2 internal prototype to avoid an error. */
31428 #ifdef __cplusplus
31429 extern "C"
31430 #endif
31431 /* We use char because int might match the return type of a gcc2
31432 builtin and then its argument prototype would still apply. */
31433 char sin ();
31435 main ()
31437 sin ();
31439 return 0;
31441 _ACEOF
31442 rm -f conftest.$ac_objext conftest$ac_exeext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31444 (eval $ac_link) 2>conftest.er1
31445 ac_status=$?
31446 grep -v '^ *+' conftest.er1 >conftest.err
31447 rm -f conftest.er1
31448 cat conftest.err >&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -z "$ac_c_werror_flag"
31452 || test ! -s conftest.err'
31453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454 (eval $ac_try) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; } &&
31458 { ac_try='test -s conftest$ac_exeext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31461 ac_status=$?
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_cv_lib_m_sin=yes
31465 else
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31469 ac_cv_lib_m_sin=no
31471 rm -f conftest.err conftest.$ac_objext \
31472 conftest$ac_exeext conftest.$ac_ext
31473 LIBS=$ac_check_lib_save_LIBS
31475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31476 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31477 if test $ac_cv_lib_m_sin = yes; then
31478 libm="-lm"
31481 ac_save_LIBS="$LIBS"
31482 LIBS="$LIBS $libm"
31486 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31487 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31488 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31489 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31490 echo $ECHO_N "(cached) $ECHO_C" >&6
31491 else
31495 ac_ext=cc
31496 ac_cpp='$CXXCPP $CPPFLAGS'
31497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h. */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507 #include <math.h>
31508 #ifdef HAVE_IEEEFP_H
31509 #include <ieeefp.h>
31510 #endif
31513 main ()
31515 isinf(0);
31517 return 0;
31519 _ACEOF
31520 rm -f conftest.$ac_objext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31522 (eval $ac_compile) 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try='test -z "$ac_cxx_werror_flag"
31530 || test ! -s conftest.err'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31533 ac_status=$?
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; } &&
31536 { ac_try='test -s conftest.$ac_objext'
31537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538 (eval $ac_try) 2>&5
31539 ac_status=$?
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; }; then
31542 glibcxx_cv_func_isinf_use=yes
31543 else
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.$ac_ext >&5
31547 glibcxx_cv_func_isinf_use=no
31549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31550 ac_ext=c
31551 ac_cpp='$CPP $CPPFLAGS'
31552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31561 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31563 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31565 for ac_func in isinf
31567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31568 echo "$as_me:$LINENO: checking for $ac_func" >&5
31569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31570 if eval "test \"\${$as_ac_var+set}\" = set"; then
31571 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 else
31573 if test x$gcc_no_link = xyes; then
31574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31576 { (exit 1); exit 1; }; }
31578 cat >conftest.$ac_ext <<_ACEOF
31579 /* confdefs.h. */
31580 _ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31586 #define $ac_func innocuous_$ac_func
31588 /* System header to define __stub macros and hopefully few prototypes,
31589 which can conflict with char $ac_func (); below.
31590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31591 <limits.h> exists even on freestanding compilers. */
31593 #ifdef __STDC__
31594 # include <limits.h>
31595 #else
31596 # include <assert.h>
31597 #endif
31599 #undef $ac_func
31601 /* Override any gcc2 internal prototype to avoid an error. */
31602 #ifdef __cplusplus
31603 extern "C"
31605 #endif
31606 /* We use char because int might match the return type of a gcc2
31607 builtin and then its argument prototype would still apply. */
31608 char $ac_func ();
31609 /* The GNU C library defines this for functions which it implements
31610 to always fail with ENOSYS. Some functions are actually named
31611 something starting with __ and the normal name is an alias. */
31612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31613 choke me
31614 #else
31615 char (*f) () = $ac_func;
31616 #endif
31617 #ifdef __cplusplus
31619 #endif
31622 main ()
31624 return f != $ac_func;
31626 return 0;
31628 _ACEOF
31629 rm -f conftest.$ac_objext conftest$ac_exeext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31631 (eval $ac_link) 2>conftest.er1
31632 ac_status=$?
31633 grep -v '^ *+' conftest.er1 >conftest.err
31634 rm -f conftest.er1
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } &&
31638 { ac_try='test -z "$ac_c_werror_flag"
31639 || test ! -s conftest.err'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; } &&
31645 { ac_try='test -s conftest$ac_exeext'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31648 ac_status=$?
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; }; then
31651 eval "$as_ac_var=yes"
31652 else
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31656 eval "$as_ac_var=no"
31658 rm -f conftest.err conftest.$ac_objext \
31659 conftest$ac_exeext conftest.$ac_ext
31661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31663 if test `eval echo '${'$as_ac_var'}'` = yes; then
31664 cat >>confdefs.h <<_ACEOF
31665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31666 _ACEOF
31669 done
31671 else
31673 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31674 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31675 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31676 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31682 ac_ext=cc
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31688 cat >conftest.$ac_ext <<_ACEOF
31689 /* confdefs.h. */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h. */
31694 #include <math.h>
31695 #ifdef HAVE_IEEEFP_H
31696 #include <ieeefp.h>
31697 #endif
31700 main ()
31702 _isinf(0);
31704 return 0;
31706 _ACEOF
31707 rm -f conftest.$ac_objext
31708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31709 (eval $ac_compile) 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } &&
31716 { ac_try='test -z "$ac_cxx_werror_flag"
31717 || test ! -s conftest.err'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31720 ac_status=$?
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; } &&
31723 { ac_try='test -s conftest.$ac_objext'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31726 ac_status=$?
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; }; then
31729 glibcxx_cv_func__isinf_use=yes
31730 else
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31734 glibcxx_cv_func__isinf_use=no
31736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31737 ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31748 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31750 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31752 for ac_func in _isinf
31754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31755 echo "$as_me:$LINENO: checking for $ac_func" >&5
31756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31757 if eval "test \"\${$as_ac_var+set}\" = set"; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 if test x$gcc_no_link = xyes; then
31761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31763 { (exit 1); exit 1; }; }
31765 cat >conftest.$ac_ext <<_ACEOF
31766 /* confdefs.h. */
31767 _ACEOF
31768 cat confdefs.h >>conftest.$ac_ext
31769 cat >>conftest.$ac_ext <<_ACEOF
31770 /* end confdefs.h. */
31771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31773 #define $ac_func innocuous_$ac_func
31775 /* System header to define __stub macros and hopefully few prototypes,
31776 which can conflict with char $ac_func (); below.
31777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31778 <limits.h> exists even on freestanding compilers. */
31780 #ifdef __STDC__
31781 # include <limits.h>
31782 #else
31783 # include <assert.h>
31784 #endif
31786 #undef $ac_func
31788 /* Override any gcc2 internal prototype to avoid an error. */
31789 #ifdef __cplusplus
31790 extern "C"
31792 #endif
31793 /* We use char because int might match the return type of a gcc2
31794 builtin and then its argument prototype would still apply. */
31795 char $ac_func ();
31796 /* The GNU C library defines this for functions which it implements
31797 to always fail with ENOSYS. Some functions are actually named
31798 something starting with __ and the normal name is an alias. */
31799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 choke me
31801 #else
31802 char (*f) () = $ac_func;
31803 #endif
31804 #ifdef __cplusplus
31806 #endif
31809 main ()
31811 return f != $ac_func;
31813 return 0;
31815 _ACEOF
31816 rm -f conftest.$ac_objext conftest$ac_exeext
31817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31818 (eval $ac_link) 2>conftest.er1
31819 ac_status=$?
31820 grep -v '^ *+' conftest.er1 >conftest.err
31821 rm -f conftest.er1
31822 cat conftest.err >&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); } &&
31825 { ac_try='test -z "$ac_c_werror_flag"
31826 || test ! -s conftest.err'
31827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31828 (eval $ac_try) 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; } &&
31832 { ac_try='test -s conftest$ac_exeext'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31835 ac_status=$?
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; }; then
31838 eval "$as_ac_var=yes"
31839 else
31840 echo "$as_me: failed program was:" >&5
31841 sed 's/^/| /' conftest.$ac_ext >&5
31843 eval "$as_ac_var=no"
31845 rm -f conftest.err conftest.$ac_objext \
31846 conftest$ac_exeext conftest.$ac_ext
31848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851 cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 _ACEOF
31856 done
31863 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31864 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31865 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31866 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31868 else
31872 ac_ext=cc
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31878 cat >conftest.$ac_ext <<_ACEOF
31879 /* confdefs.h. */
31880 _ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 #include <math.h>
31885 #ifdef HAVE_IEEEFP_H
31886 #include <ieeefp.h>
31887 #endif
31890 main ()
31892 isnan(0);
31894 return 0;
31896 _ACEOF
31897 rm -f conftest.$ac_objext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31899 (eval $ac_compile) 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try='test -z "$ac_cxx_werror_flag"
31907 || test ! -s conftest.err'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31910 ac_status=$?
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; } &&
31913 { ac_try='test -s conftest.$ac_objext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31916 ac_status=$?
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31919 glibcxx_cv_func_isnan_use=yes
31920 else
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31924 glibcxx_cv_func_isnan_use=no
31926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31927 ac_ext=c
31928 ac_cpp='$CPP $CPPFLAGS'
31929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31938 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31940 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31942 for ac_func in isnan
31944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31945 echo "$as_me:$LINENO: checking for $ac_func" >&5
31946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31947 if eval "test \"\${$as_ac_var+set}\" = set"; then
31948 echo $ECHO_N "(cached) $ECHO_C" >&6
31949 else
31950 if test x$gcc_no_link = xyes; then
31951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31953 { (exit 1); exit 1; }; }
31955 cat >conftest.$ac_ext <<_ACEOF
31956 /* confdefs.h. */
31957 _ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31963 #define $ac_func innocuous_$ac_func
31965 /* System header to define __stub macros and hopefully few prototypes,
31966 which can conflict with char $ac_func (); below.
31967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31968 <limits.h> exists even on freestanding compilers. */
31970 #ifdef __STDC__
31971 # include <limits.h>
31972 #else
31973 # include <assert.h>
31974 #endif
31976 #undef $ac_func
31978 /* Override any gcc2 internal prototype to avoid an error. */
31979 #ifdef __cplusplus
31980 extern "C"
31982 #endif
31983 /* We use char because int might match the return type of a gcc2
31984 builtin and then its argument prototype would still apply. */
31985 char $ac_func ();
31986 /* The GNU C library defines this for functions which it implements
31987 to always fail with ENOSYS. Some functions are actually named
31988 something starting with __ and the normal name is an alias. */
31989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31990 choke me
31991 #else
31992 char (*f) () = $ac_func;
31993 #endif
31994 #ifdef __cplusplus
31996 #endif
31999 main ()
32001 return f != $ac_func;
32003 return 0;
32005 _ACEOF
32006 rm -f conftest.$ac_objext conftest$ac_exeext
32007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32008 (eval $ac_link) 2>conftest.er1
32009 ac_status=$?
32010 grep -v '^ *+' conftest.er1 >conftest.err
32011 rm -f conftest.er1
32012 cat conftest.err >&5
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); } &&
32015 { ac_try='test -z "$ac_c_werror_flag"
32016 || test ! -s conftest.err'
32017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32018 (eval $ac_try) 2>&5
32019 ac_status=$?
32020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021 (exit $ac_status); }; } &&
32022 { ac_try='test -s conftest$ac_exeext'
32023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32024 (eval $ac_try) 2>&5
32025 ac_status=$?
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); }; }; then
32028 eval "$as_ac_var=yes"
32029 else
32030 echo "$as_me: failed program was:" >&5
32031 sed 's/^/| /' conftest.$ac_ext >&5
32033 eval "$as_ac_var=no"
32035 rm -f conftest.err conftest.$ac_objext \
32036 conftest$ac_exeext conftest.$ac_ext
32038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32040 if test `eval echo '${'$as_ac_var'}'` = yes; then
32041 cat >>confdefs.h <<_ACEOF
32042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32043 _ACEOF
32046 done
32048 else
32050 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32051 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32052 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32053 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32055 else
32059 ac_ext=cc
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32065 cat >conftest.$ac_ext <<_ACEOF
32066 /* confdefs.h. */
32067 _ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32071 #include <math.h>
32072 #ifdef HAVE_IEEEFP_H
32073 #include <ieeefp.h>
32074 #endif
32077 main ()
32079 _isnan(0);
32081 return 0;
32083 _ACEOF
32084 rm -f conftest.$ac_objext
32085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32086 (eval $ac_compile) 2>conftest.er1
32087 ac_status=$?
32088 grep -v '^ *+' conftest.er1 >conftest.err
32089 rm -f conftest.er1
32090 cat conftest.err >&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); } &&
32093 { ac_try='test -z "$ac_cxx_werror_flag"
32094 || test ! -s conftest.err'
32095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32096 (eval $ac_try) 2>&5
32097 ac_status=$?
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); }; } &&
32100 { ac_try='test -s conftest.$ac_objext'
32101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32102 (eval $ac_try) 2>&5
32103 ac_status=$?
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); }; }; then
32106 glibcxx_cv_func__isnan_use=yes
32107 else
32108 echo "$as_me: failed program was:" >&5
32109 sed 's/^/| /' conftest.$ac_ext >&5
32111 glibcxx_cv_func__isnan_use=no
32113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32114 ac_ext=c
32115 ac_cpp='$CPP $CPPFLAGS'
32116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32125 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32129 for ac_func in _isnan
32131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32132 echo "$as_me:$LINENO: checking for $ac_func" >&5
32133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32134 if eval "test \"\${$as_ac_var+set}\" = set"; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137 if test x$gcc_no_link = xyes; then
32138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32140 { (exit 1); exit 1; }; }
32142 cat >conftest.$ac_ext <<_ACEOF
32143 /* confdefs.h. */
32144 _ACEOF
32145 cat confdefs.h >>conftest.$ac_ext
32146 cat >>conftest.$ac_ext <<_ACEOF
32147 /* end confdefs.h. */
32148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32150 #define $ac_func innocuous_$ac_func
32152 /* System header to define __stub macros and hopefully few prototypes,
32153 which can conflict with char $ac_func (); below.
32154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32155 <limits.h> exists even on freestanding compilers. */
32157 #ifdef __STDC__
32158 # include <limits.h>
32159 #else
32160 # include <assert.h>
32161 #endif
32163 #undef $ac_func
32165 /* Override any gcc2 internal prototype to avoid an error. */
32166 #ifdef __cplusplus
32167 extern "C"
32169 #endif
32170 /* We use char because int might match the return type of a gcc2
32171 builtin and then its argument prototype would still apply. */
32172 char $ac_func ();
32173 /* The GNU C library defines this for functions which it implements
32174 to always fail with ENOSYS. Some functions are actually named
32175 something starting with __ and the normal name is an alias. */
32176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32177 choke me
32178 #else
32179 char (*f) () = $ac_func;
32180 #endif
32181 #ifdef __cplusplus
32183 #endif
32186 main ()
32188 return f != $ac_func;
32190 return 0;
32192 _ACEOF
32193 rm -f conftest.$ac_objext conftest$ac_exeext
32194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32195 (eval $ac_link) 2>conftest.er1
32196 ac_status=$?
32197 grep -v '^ *+' conftest.er1 >conftest.err
32198 rm -f conftest.er1
32199 cat conftest.err >&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); } &&
32202 { ac_try='test -z "$ac_c_werror_flag"
32203 || test ! -s conftest.err'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; } &&
32209 { ac_try='test -s conftest$ac_exeext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32212 ac_status=$?
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 eval "$as_ac_var=yes"
32216 else
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32220 eval "$as_ac_var=no"
32222 rm -f conftest.err conftest.$ac_objext \
32223 conftest$ac_exeext conftest.$ac_ext
32225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32227 if test `eval echo '${'$as_ac_var'}'` = yes; then
32228 cat >>confdefs.h <<_ACEOF
32229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32230 _ACEOF
32233 done
32240 echo "$as_me:$LINENO: checking for finite declaration" >&5
32241 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32242 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32243 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 else
32249 ac_ext=cc
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261 #include <math.h>
32262 #ifdef HAVE_IEEEFP_H
32263 #include <ieeefp.h>
32264 #endif
32267 main ()
32269 finite(0);
32271 return 0;
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276 (eval $ac_compile) 2>conftest.er1
32277 ac_status=$?
32278 grep -v '^ *+' conftest.er1 >conftest.err
32279 rm -f conftest.er1
32280 cat conftest.err >&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); } &&
32283 { ac_try='test -z "$ac_cxx_werror_flag"
32284 || test ! -s conftest.err'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; } &&
32290 { ac_try='test -s conftest.$ac_objext'
32291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 (eval $ac_try) 2>&5
32293 ac_status=$?
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); }; }; then
32296 glibcxx_cv_func_finite_use=yes
32297 else
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.$ac_ext >&5
32301 glibcxx_cv_func_finite_use=no
32303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32315 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32317 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32319 for ac_func in finite
32321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32322 echo "$as_me:$LINENO: checking for $ac_func" >&5
32323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32324 if eval "test \"\${$as_ac_var+set}\" = set"; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 if test x$gcc_no_link = xyes; then
32328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32330 { (exit 1); exit 1; }; }
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32340 #define $ac_func innocuous_$ac_func
32342 /* System header to define __stub macros and hopefully few prototypes,
32343 which can conflict with char $ac_func (); below.
32344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32345 <limits.h> exists even on freestanding compilers. */
32347 #ifdef __STDC__
32348 # include <limits.h>
32349 #else
32350 # include <assert.h>
32351 #endif
32353 #undef $ac_func
32355 /* Override any gcc2 internal prototype to avoid an error. */
32356 #ifdef __cplusplus
32357 extern "C"
32359 #endif
32360 /* We use char because int might match the return type of a gcc2
32361 builtin and then its argument prototype would still apply. */
32362 char $ac_func ();
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32367 choke me
32368 #else
32369 char (*f) () = $ac_func;
32370 #endif
32371 #ifdef __cplusplus
32373 #endif
32376 main ()
32378 return f != $ac_func;
32380 return 0;
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385 (eval $ac_link) 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -z "$ac_c_werror_flag"
32393 || test ! -s conftest.err'
32394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32395 (eval $ac_try) 2>&5
32396 ac_status=$?
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); }; } &&
32399 { ac_try='test -s conftest$ac_exeext'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32402 ac_status=$?
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; }; then
32405 eval "$as_ac_var=yes"
32406 else
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32410 eval "$as_ac_var=no"
32412 rm -f conftest.err conftest.$ac_objext \
32413 conftest$ac_exeext conftest.$ac_ext
32415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32417 if test `eval echo '${'$as_ac_var'}'` = yes; then
32418 cat >>confdefs.h <<_ACEOF
32419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32420 _ACEOF
32423 done
32425 else
32427 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32428 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32429 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32430 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 else
32436 ac_ext=cc
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442 cat >conftest.$ac_ext <<_ACEOF
32443 /* confdefs.h. */
32444 _ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448 #include <math.h>
32449 #ifdef HAVE_IEEEFP_H
32450 #include <ieeefp.h>
32451 #endif
32454 main ()
32456 _finite(0);
32458 return 0;
32460 _ACEOF
32461 rm -f conftest.$ac_objext
32462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32463 (eval $ac_compile) 2>conftest.er1
32464 ac_status=$?
32465 grep -v '^ *+' conftest.er1 >conftest.err
32466 rm -f conftest.er1
32467 cat conftest.err >&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } &&
32470 { ac_try='test -z "$ac_cxx_werror_flag"
32471 || test ! -s conftest.err'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32474 ac_status=$?
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; } &&
32477 { ac_try='test -s conftest.$ac_objext'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32480 ac_status=$?
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }; then
32483 glibcxx_cv_func__finite_use=yes
32484 else
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32488 glibcxx_cv_func__finite_use=no
32490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32491 ac_ext=c
32492 ac_cpp='$CPP $CPPFLAGS'
32493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32502 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32504 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32506 for ac_func in _finite
32508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32509 echo "$as_me:$LINENO: checking for $ac_func" >&5
32510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32511 if eval "test \"\${$as_ac_var+set}\" = set"; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514 if test x$gcc_no_link = xyes; then
32515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32517 { (exit 1); exit 1; }; }
32519 cat >conftest.$ac_ext <<_ACEOF
32520 /* confdefs.h. */
32521 _ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32527 #define $ac_func innocuous_$ac_func
32529 /* System header to define __stub macros and hopefully few prototypes,
32530 which can conflict with char $ac_func (); below.
32531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32532 <limits.h> exists even on freestanding compilers. */
32534 #ifdef __STDC__
32535 # include <limits.h>
32536 #else
32537 # include <assert.h>
32538 #endif
32540 #undef $ac_func
32542 /* Override any gcc2 internal prototype to avoid an error. */
32543 #ifdef __cplusplus
32544 extern "C"
32546 #endif
32547 /* We use char because int might match the return type of a gcc2
32548 builtin and then its argument prototype would still apply. */
32549 char $ac_func ();
32550 /* The GNU C library defines this for functions which it implements
32551 to always fail with ENOSYS. Some functions are actually named
32552 something starting with __ and the normal name is an alias. */
32553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32554 choke me
32555 #else
32556 char (*f) () = $ac_func;
32557 #endif
32558 #ifdef __cplusplus
32560 #endif
32563 main ()
32565 return f != $ac_func;
32567 return 0;
32569 _ACEOF
32570 rm -f conftest.$ac_objext conftest$ac_exeext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32572 (eval $ac_link) 2>conftest.er1
32573 ac_status=$?
32574 grep -v '^ *+' conftest.er1 >conftest.err
32575 rm -f conftest.er1
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } &&
32579 { ac_try='test -z "$ac_c_werror_flag"
32580 || test ! -s conftest.err'
32581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 (eval $ac_try) 2>&5
32583 ac_status=$?
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); }; } &&
32586 { ac_try='test -s conftest$ac_exeext'
32587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32588 (eval $ac_try) 2>&5
32589 ac_status=$?
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); }; }; then
32592 eval "$as_ac_var=yes"
32593 else
32594 echo "$as_me: failed program was:" >&5
32595 sed 's/^/| /' conftest.$ac_ext >&5
32597 eval "$as_ac_var=no"
32599 rm -f conftest.err conftest.$ac_objext \
32600 conftest$ac_exeext conftest.$ac_ext
32602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32604 if test `eval echo '${'$as_ac_var'}'` = yes; then
32605 cat >>confdefs.h <<_ACEOF
32606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32607 _ACEOF
32610 done
32617 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32618 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32619 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32620 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32626 ac_ext=cc
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 #include <math.h>
32640 main ()
32642 copysign(0, 0);
32644 return 0;
32646 _ACEOF
32647 rm -f conftest.$ac_objext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32649 (eval $ac_compile) 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try='test -z "$ac_cxx_werror_flag"
32657 || test ! -s conftest.err'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; } &&
32663 { ac_try='test -s conftest.$ac_objext'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }; then
32669 glibcxx_cv_func_copysign_use=yes
32670 else
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32674 glibcxx_cv_func_copysign_use=no
32676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32688 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32690 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32692 for ac_func in copysign
32694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32695 echo "$as_me:$LINENO: checking for $ac_func" >&5
32696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32697 if eval "test \"\${$as_ac_var+set}\" = set"; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 if test x$gcc_no_link = xyes; then
32701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32703 { (exit 1); exit 1; }; }
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32713 #define $ac_func innocuous_$ac_func
32715 /* System header to define __stub macros and hopefully few prototypes,
32716 which can conflict with char $ac_func (); below.
32717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718 <limits.h> exists even on freestanding compilers. */
32720 #ifdef __STDC__
32721 # include <limits.h>
32722 #else
32723 # include <assert.h>
32724 #endif
32726 #undef $ac_func
32728 /* Override any gcc2 internal prototype to avoid an error. */
32729 #ifdef __cplusplus
32730 extern "C"
32732 #endif
32733 /* We use char because int might match the return type of a gcc2
32734 builtin and then its argument prototype would still apply. */
32735 char $ac_func ();
32736 /* The GNU C library defines this for functions which it implements
32737 to always fail with ENOSYS. Some functions are actually named
32738 something starting with __ and the normal name is an alias. */
32739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32740 choke me
32741 #else
32742 char (*f) () = $ac_func;
32743 #endif
32744 #ifdef __cplusplus
32746 #endif
32749 main ()
32751 return f != $ac_func;
32753 return 0;
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32758 (eval $ac_link) 2>conftest.er1
32759 ac_status=$?
32760 grep -v '^ *+' conftest.er1 >conftest.err
32761 rm -f conftest.er1
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } &&
32765 { ac_try='test -z "$ac_c_werror_flag"
32766 || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try='test -s conftest$ac_exeext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_var=yes"
32779 else
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32783 eval "$as_ac_var=no"
32785 rm -f conftest.err conftest.$ac_objext \
32786 conftest$ac_exeext conftest.$ac_ext
32788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32790 if test `eval echo '${'$as_ac_var'}'` = yes; then
32791 cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32793 _ACEOF
32796 done
32798 else
32800 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32801 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32802 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32803 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32809 ac_ext=cc
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat >conftest.$ac_ext <<_ACEOF
32816 /* confdefs.h. */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32821 #include <math.h>
32823 main ()
32825 _copysign(0, 0);
32827 return 0;
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832 (eval $ac_compile) 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_cxx_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest.$ac_objext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32849 ac_status=$?
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 glibcxx_cv_func__copysign_use=yes
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 glibcxx_cv_func__copysign_use=no
32859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32871 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32873 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32875 for ac_func in _copysign
32877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32878 echo "$as_me:$LINENO: checking for $ac_func" >&5
32879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32880 if eval "test \"\${$as_ac_var+set}\" = set"; then
32881 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 else
32883 if test x$gcc_no_link = xyes; then
32884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32886 { (exit 1); exit 1; }; }
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h. */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h. */
32894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32896 #define $ac_func innocuous_$ac_func
32898 /* System header to define __stub macros and hopefully few prototypes,
32899 which can conflict with char $ac_func (); below.
32900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32901 <limits.h> exists even on freestanding compilers. */
32903 #ifdef __STDC__
32904 # include <limits.h>
32905 #else
32906 # include <assert.h>
32907 #endif
32909 #undef $ac_func
32911 /* Override any gcc2 internal prototype to avoid an error. */
32912 #ifdef __cplusplus
32913 extern "C"
32915 #endif
32916 /* We use char because int might match the return type of a gcc2
32917 builtin and then its argument prototype would still apply. */
32918 char $ac_func ();
32919 /* The GNU C library defines this for functions which it implements
32920 to always fail with ENOSYS. Some functions are actually named
32921 something starting with __ and the normal name is an alias. */
32922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32923 choke me
32924 #else
32925 char (*f) () = $ac_func;
32926 #endif
32927 #ifdef __cplusplus
32929 #endif
32932 main ()
32934 return f != $ac_func;
32936 return 0;
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32941 (eval $ac_link) 2>conftest.er1
32942 ac_status=$?
32943 grep -v '^ *+' conftest.er1 >conftest.err
32944 rm -f conftest.er1
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } &&
32948 { ac_try='test -z "$ac_c_werror_flag"
32949 || test ! -s conftest.err'
32950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951 (eval $ac_try) 2>&5
32952 ac_status=$?
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; } &&
32955 { ac_try='test -s conftest$ac_exeext'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32958 ac_status=$?
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; }; then
32961 eval "$as_ac_var=yes"
32962 else
32963 echo "$as_me: failed program was:" >&5
32964 sed 's/^/| /' conftest.$ac_ext >&5
32966 eval "$as_ac_var=no"
32968 rm -f conftest.err conftest.$ac_objext \
32969 conftest$ac_exeext conftest.$ac_ext
32971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32973 if test `eval echo '${'$as_ac_var'}'` = yes; then
32974 cat >>confdefs.h <<_ACEOF
32975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32976 _ACEOF
32979 done
32986 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32987 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32988 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32989 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32991 else
32995 ac_ext=cc
32996 ac_cpp='$CXXCPP $CPPFLAGS'
32997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33001 cat >conftest.$ac_ext <<_ACEOF
33002 /* confdefs.h. */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007 #include <math.h>
33009 main ()
33011 sincos(0, 0, 0);
33013 return 0;
33015 _ACEOF
33016 rm -f conftest.$ac_objext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33018 (eval $ac_compile) 2>conftest.er1
33019 ac_status=$?
33020 grep -v '^ *+' conftest.er1 >conftest.err
33021 rm -f conftest.er1
33022 cat conftest.err >&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } &&
33025 { ac_try='test -z "$ac_cxx_werror_flag"
33026 || test ! -s conftest.err'
33027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33028 (eval $ac_try) 2>&5
33029 ac_status=$?
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); }; } &&
33032 { ac_try='test -s conftest.$ac_objext'
33033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33034 (eval $ac_try) 2>&5
33035 ac_status=$?
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; }; then
33038 glibcxx_cv_func_sincos_use=yes
33039 else
33040 echo "$as_me: failed program was:" >&5
33041 sed 's/^/| /' conftest.$ac_ext >&5
33043 glibcxx_cv_func_sincos_use=no
33045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_ext=c
33047 ac_cpp='$CPP $CPPFLAGS'
33048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33057 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33059 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33061 for ac_func in sincos
33063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33064 echo "$as_me:$LINENO: checking for $ac_func" >&5
33065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33066 if eval "test \"\${$as_ac_var+set}\" = set"; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 else
33069 if test x$gcc_no_link = xyes; then
33070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33072 { (exit 1); exit 1; }; }
33074 cat >conftest.$ac_ext <<_ACEOF
33075 /* confdefs.h. */
33076 _ACEOF
33077 cat confdefs.h >>conftest.$ac_ext
33078 cat >>conftest.$ac_ext <<_ACEOF
33079 /* end confdefs.h. */
33080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33082 #define $ac_func innocuous_$ac_func
33084 /* System header to define __stub macros and hopefully few prototypes,
33085 which can conflict with char $ac_func (); below.
33086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33087 <limits.h> exists even on freestanding compilers. */
33089 #ifdef __STDC__
33090 # include <limits.h>
33091 #else
33092 # include <assert.h>
33093 #endif
33095 #undef $ac_func
33097 /* Override any gcc2 internal prototype to avoid an error. */
33098 #ifdef __cplusplus
33099 extern "C"
33101 #endif
33102 /* We use char because int might match the return type of a gcc2
33103 builtin and then its argument prototype would still apply. */
33104 char $ac_func ();
33105 /* The GNU C library defines this for functions which it implements
33106 to always fail with ENOSYS. Some functions are actually named
33107 something starting with __ and the normal name is an alias. */
33108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33109 choke me
33110 #else
33111 char (*f) () = $ac_func;
33112 #endif
33113 #ifdef __cplusplus
33115 #endif
33118 main ()
33120 return f != $ac_func;
33122 return 0;
33124 _ACEOF
33125 rm -f conftest.$ac_objext conftest$ac_exeext
33126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33127 (eval $ac_link) 2>conftest.er1
33128 ac_status=$?
33129 grep -v '^ *+' conftest.er1 >conftest.err
33130 rm -f conftest.er1
33131 cat conftest.err >&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } &&
33134 { ac_try='test -z "$ac_c_werror_flag"
33135 || test ! -s conftest.err'
33136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33137 (eval $ac_try) 2>&5
33138 ac_status=$?
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; } &&
33141 { ac_try='test -s conftest$ac_exeext'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33144 ac_status=$?
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; }; then
33147 eval "$as_ac_var=yes"
33148 else
33149 echo "$as_me: failed program was:" >&5
33150 sed 's/^/| /' conftest.$ac_ext >&5
33152 eval "$as_ac_var=no"
33154 rm -f conftest.err conftest.$ac_objext \
33155 conftest$ac_exeext conftest.$ac_ext
33157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33159 if test `eval echo '${'$as_ac_var'}'` = yes; then
33160 cat >>confdefs.h <<_ACEOF
33161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33162 _ACEOF
33165 done
33167 else
33169 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33170 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33171 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33172 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33174 else
33178 ac_ext=cc
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 #include <math.h>
33192 main ()
33194 _sincos(0, 0, 0);
33196 return 0;
33198 _ACEOF
33199 rm -f conftest.$ac_objext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33201 (eval $ac_compile) 2>conftest.er1
33202 ac_status=$?
33203 grep -v '^ *+' conftest.er1 >conftest.err
33204 rm -f conftest.er1
33205 cat conftest.err >&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try='test -z "$ac_cxx_werror_flag"
33209 || test ! -s conftest.err'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33212 ac_status=$?
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; } &&
33215 { ac_try='test -s conftest.$ac_objext'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33218 ac_status=$?
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; }; then
33221 glibcxx_cv_func__sincos_use=yes
33222 else
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33226 glibcxx_cv_func__sincos_use=no
33228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33229 ac_ext=c
33230 ac_cpp='$CPP $CPPFLAGS'
33231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33240 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33242 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33244 for ac_func in _sincos
33246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33247 echo "$as_me:$LINENO: checking for $ac_func" >&5
33248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33249 if eval "test \"\${$as_ac_var+set}\" = set"; then
33250 echo $ECHO_N "(cached) $ECHO_C" >&6
33251 else
33252 if test x$gcc_no_link = xyes; then
33253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33255 { (exit 1); exit 1; }; }
33257 cat >conftest.$ac_ext <<_ACEOF
33258 /* confdefs.h. */
33259 _ACEOF
33260 cat confdefs.h >>conftest.$ac_ext
33261 cat >>conftest.$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33265 #define $ac_func innocuous_$ac_func
33267 /* System header to define __stub macros and hopefully few prototypes,
33268 which can conflict with char $ac_func (); below.
33269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33270 <limits.h> exists even on freestanding compilers. */
33272 #ifdef __STDC__
33273 # include <limits.h>
33274 #else
33275 # include <assert.h>
33276 #endif
33278 #undef $ac_func
33280 /* Override any gcc2 internal prototype to avoid an error. */
33281 #ifdef __cplusplus
33282 extern "C"
33284 #endif
33285 /* We use char because int might match the return type of a gcc2
33286 builtin and then its argument prototype would still apply. */
33287 char $ac_func ();
33288 /* The GNU C library defines this for functions which it implements
33289 to always fail with ENOSYS. Some functions are actually named
33290 something starting with __ and the normal name is an alias. */
33291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33292 choke me
33293 #else
33294 char (*f) () = $ac_func;
33295 #endif
33296 #ifdef __cplusplus
33298 #endif
33301 main ()
33303 return f != $ac_func;
33305 return 0;
33307 _ACEOF
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33310 (eval $ac_link) 2>conftest.er1
33311 ac_status=$?
33312 grep -v '^ *+' conftest.er1 >conftest.err
33313 rm -f conftest.er1
33314 cat conftest.err >&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); } &&
33317 { ac_try='test -z "$ac_c_werror_flag"
33318 || test ! -s conftest.err'
33319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320 (eval $ac_try) 2>&5
33321 ac_status=$?
33322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); }; } &&
33324 { ac_try='test -s conftest$ac_exeext'
33325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33326 (eval $ac_try) 2>&5
33327 ac_status=$?
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); }; }; then
33330 eval "$as_ac_var=yes"
33331 else
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33335 eval "$as_ac_var=no"
33337 rm -f conftest.err conftest.$ac_objext \
33338 conftest$ac_exeext conftest.$ac_ext
33340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33342 if test `eval echo '${'$as_ac_var'}'` = yes; then
33343 cat >>confdefs.h <<_ACEOF
33344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33345 _ACEOF
33348 done
33355 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33356 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33357 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33358 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33359 echo $ECHO_N "(cached) $ECHO_C" >&6
33360 else
33364 ac_ext=cc
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33370 cat >conftest.$ac_ext <<_ACEOF
33371 /* confdefs.h. */
33372 _ACEOF
33373 cat confdefs.h >>conftest.$ac_ext
33374 cat >>conftest.$ac_ext <<_ACEOF
33375 /* end confdefs.h. */
33376 #include <math.h>
33377 #ifdef HAVE_IEEEFP_H
33378 #include <ieeefp.h>
33379 #endif
33382 main ()
33384 fpclass(0);
33386 return 0;
33388 _ACEOF
33389 rm -f conftest.$ac_objext
33390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33391 (eval $ac_compile) 2>conftest.er1
33392 ac_status=$?
33393 grep -v '^ *+' conftest.er1 >conftest.err
33394 rm -f conftest.er1
33395 cat conftest.err >&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); } &&
33398 { ac_try='test -z "$ac_cxx_werror_flag"
33399 || test ! -s conftest.err'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; } &&
33405 { ac_try='test -s conftest.$ac_objext'
33406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33407 (eval $ac_try) 2>&5
33408 ac_status=$?
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); }; }; then
33411 glibcxx_cv_func_fpclass_use=yes
33412 else
33413 echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.$ac_ext >&5
33416 glibcxx_cv_func_fpclass_use=no
33418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33419 ac_ext=c
33420 ac_cpp='$CPP $CPPFLAGS'
33421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33430 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33432 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33434 for ac_func in fpclass
33436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33437 echo "$as_me:$LINENO: checking for $ac_func" >&5
33438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33439 if eval "test \"\${$as_ac_var+set}\" = set"; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 else
33442 if test x$gcc_no_link = xyes; then
33443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33445 { (exit 1); exit 1; }; }
33447 cat >conftest.$ac_ext <<_ACEOF
33448 /* confdefs.h. */
33449 _ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33455 #define $ac_func innocuous_$ac_func
33457 /* System header to define __stub macros and hopefully few prototypes,
33458 which can conflict with char $ac_func (); below.
33459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33460 <limits.h> exists even on freestanding compilers. */
33462 #ifdef __STDC__
33463 # include <limits.h>
33464 #else
33465 # include <assert.h>
33466 #endif
33468 #undef $ac_func
33470 /* Override any gcc2 internal prototype to avoid an error. */
33471 #ifdef __cplusplus
33472 extern "C"
33474 #endif
33475 /* We use char because int might match the return type of a gcc2
33476 builtin and then its argument prototype would still apply. */
33477 char $ac_func ();
33478 /* The GNU C library defines this for functions which it implements
33479 to always fail with ENOSYS. Some functions are actually named
33480 something starting with __ and the normal name is an alias. */
33481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33482 choke me
33483 #else
33484 char (*f) () = $ac_func;
33485 #endif
33486 #ifdef __cplusplus
33488 #endif
33491 main ()
33493 return f != $ac_func;
33495 return 0;
33497 _ACEOF
33498 rm -f conftest.$ac_objext conftest$ac_exeext
33499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33500 (eval $ac_link) 2>conftest.er1
33501 ac_status=$?
33502 grep -v '^ *+' conftest.er1 >conftest.err
33503 rm -f conftest.er1
33504 cat conftest.err >&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); } &&
33507 { ac_try='test -z "$ac_c_werror_flag"
33508 || test ! -s conftest.err'
33509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510 (eval $ac_try) 2>&5
33511 ac_status=$?
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; } &&
33514 { ac_try='test -s conftest$ac_exeext'
33515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33516 (eval $ac_try) 2>&5
33517 ac_status=$?
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); }; }; then
33520 eval "$as_ac_var=yes"
33521 else
33522 echo "$as_me: failed program was:" >&5
33523 sed 's/^/| /' conftest.$ac_ext >&5
33525 eval "$as_ac_var=no"
33527 rm -f conftest.err conftest.$ac_objext \
33528 conftest$ac_exeext conftest.$ac_ext
33530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33532 if test `eval echo '${'$as_ac_var'}'` = yes; then
33533 cat >>confdefs.h <<_ACEOF
33534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33535 _ACEOF
33538 done
33540 else
33542 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33543 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33544 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33545 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33546 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 else
33551 ac_ext=cc
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33557 cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h. */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 #include <math.h>
33564 #ifdef HAVE_IEEEFP_H
33565 #include <ieeefp.h>
33566 #endif
33569 main ()
33571 _fpclass(0);
33573 return 0;
33575 _ACEOF
33576 rm -f conftest.$ac_objext
33577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33578 (eval $ac_compile) 2>conftest.er1
33579 ac_status=$?
33580 grep -v '^ *+' conftest.er1 >conftest.err
33581 rm -f conftest.er1
33582 cat conftest.err >&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); } &&
33585 { ac_try='test -z "$ac_cxx_werror_flag"
33586 || test ! -s conftest.err'
33587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588 (eval $ac_try) 2>&5
33589 ac_status=$?
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; } &&
33592 { ac_try='test -s conftest.$ac_objext'
33593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 (eval $ac_try) 2>&5
33595 ac_status=$?
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); }; }; then
33598 glibcxx_cv_func__fpclass_use=yes
33599 else
33600 echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33603 glibcxx_cv_func__fpclass_use=no
33605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33617 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33619 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33621 for ac_func in _fpclass
33623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33624 echo "$as_me:$LINENO: checking for $ac_func" >&5
33625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33626 if eval "test \"\${$as_ac_var+set}\" = set"; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629 if test x$gcc_no_link = xyes; then
33630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33632 { (exit 1); exit 1; }; }
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h. */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33642 #define $ac_func innocuous_$ac_func
33644 /* System header to define __stub macros and hopefully few prototypes,
33645 which can conflict with char $ac_func (); below.
33646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647 <limits.h> exists even on freestanding compilers. */
33649 #ifdef __STDC__
33650 # include <limits.h>
33651 #else
33652 # include <assert.h>
33653 #endif
33655 #undef $ac_func
33657 /* Override any gcc2 internal prototype to avoid an error. */
33658 #ifdef __cplusplus
33659 extern "C"
33661 #endif
33662 /* We use char because int might match the return type of a gcc2
33663 builtin and then its argument prototype would still apply. */
33664 char $ac_func ();
33665 /* The GNU C library defines this for functions which it implements
33666 to always fail with ENOSYS. Some functions are actually named
33667 something starting with __ and the normal name is an alias. */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33669 choke me
33670 #else
33671 char (*f) () = $ac_func;
33672 #endif
33673 #ifdef __cplusplus
33675 #endif
33678 main ()
33680 return f != $ac_func;
33682 return 0;
33684 _ACEOF
33685 rm -f conftest.$ac_objext conftest$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687 (eval $ac_link) 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } &&
33694 { ac_try='test -z "$ac_c_werror_flag"
33695 || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33698 ac_status=$?
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try='test -s conftest$ac_exeext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33704 ac_status=$?
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 eval "$as_ac_var=yes"
33708 else
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33712 eval "$as_ac_var=no"
33714 rm -f conftest.err conftest.$ac_objext \
33715 conftest$ac_exeext conftest.$ac_ext
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720 cat >>confdefs.h <<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33722 _ACEOF
33725 done
33732 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33733 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33734 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33735 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 else
33741 ac_ext=cc
33742 ac_cpp='$CXXCPP $CPPFLAGS'
33743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33747 cat >conftest.$ac_ext <<_ACEOF
33748 /* confdefs.h. */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753 #include <math.h>
33754 #ifdef HAVE_IEEEFP_H
33755 #include <ieeefp.h>
33756 #endif
33759 main ()
33761 qfpclass(0);
33763 return 0;
33765 _ACEOF
33766 rm -f conftest.$ac_objext
33767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33768 (eval $ac_compile) 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } &&
33775 { ac_try='test -z "$ac_cxx_werror_flag"
33776 || test ! -s conftest.err'
33777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778 (eval $ac_try) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); }; } &&
33782 { ac_try='test -s conftest.$ac_objext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33785 ac_status=$?
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 glibcxx_cv_func_qfpclass_use=yes
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33793 glibcxx_cv_func_qfpclass_use=no
33795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33796 ac_ext=c
33797 ac_cpp='$CPP $CPPFLAGS'
33798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33807 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33809 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33811 for ac_func in qfpclass
33813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33814 echo "$as_me:$LINENO: checking for $ac_func" >&5
33815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33816 if eval "test \"\${$as_ac_var+set}\" = set"; then
33817 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 else
33819 if test x$gcc_no_link = xyes; then
33820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33822 { (exit 1); exit 1; }; }
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33832 #define $ac_func innocuous_$ac_func
33834 /* System header to define __stub macros and hopefully few prototypes,
33835 which can conflict with char $ac_func (); below.
33836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33837 <limits.h> exists even on freestanding compilers. */
33839 #ifdef __STDC__
33840 # include <limits.h>
33841 #else
33842 # include <assert.h>
33843 #endif
33845 #undef $ac_func
33847 /* Override any gcc2 internal prototype to avoid an error. */
33848 #ifdef __cplusplus
33849 extern "C"
33851 #endif
33852 /* We use char because int might match the return type of a gcc2
33853 builtin and then its argument prototype would still apply. */
33854 char $ac_func ();
33855 /* The GNU C library defines this for functions which it implements
33856 to always fail with ENOSYS. Some functions are actually named
33857 something starting with __ and the normal name is an alias. */
33858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33859 choke me
33860 #else
33861 char (*f) () = $ac_func;
33862 #endif
33863 #ifdef __cplusplus
33865 #endif
33868 main ()
33870 return f != $ac_func;
33872 return 0;
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877 (eval $ac_link) 2>conftest.er1
33878 ac_status=$?
33879 grep -v '^ *+' conftest.er1 >conftest.err
33880 rm -f conftest.er1
33881 cat conftest.err >&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } &&
33884 { ac_try='test -z "$ac_c_werror_flag"
33885 || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33888 ac_status=$?
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33894 ac_status=$?
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897 eval "$as_ac_var=yes"
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33902 eval "$as_ac_var=no"
33904 rm -f conftest.err conftest.$ac_objext \
33905 conftest$ac_exeext conftest.$ac_ext
33907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33909 if test `eval echo '${'$as_ac_var'}'` = yes; then
33910 cat >>confdefs.h <<_ACEOF
33911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33912 _ACEOF
33915 done
33917 else
33919 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33920 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33921 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33922 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33928 ac_ext=cc
33929 ac_cpp='$CXXCPP $CPPFLAGS'
33930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33934 cat >conftest.$ac_ext <<_ACEOF
33935 /* confdefs.h. */
33936 _ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 #include <math.h>
33941 #ifdef HAVE_IEEEFP_H
33942 #include <ieeefp.h>
33943 #endif
33946 main ()
33948 _qfpclass(0);
33950 return 0;
33952 _ACEOF
33953 rm -f conftest.$ac_objext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33955 (eval $ac_compile) 2>conftest.er1
33956 ac_status=$?
33957 grep -v '^ *+' conftest.er1 >conftest.err
33958 rm -f conftest.er1
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -z "$ac_cxx_werror_flag"
33963 || test ! -s conftest.err'
33964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33965 (eval $ac_try) 2>&5
33966 ac_status=$?
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); }; } &&
33969 { ac_try='test -s conftest.$ac_objext'
33970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971 (eval $ac_try) 2>&5
33972 ac_status=$?
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; }; then
33975 glibcxx_cv_func__qfpclass_use=yes
33976 else
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.$ac_ext >&5
33980 glibcxx_cv_func__qfpclass_use=no
33982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33983 ac_ext=c
33984 ac_cpp='$CPP $CPPFLAGS'
33985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33994 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33996 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33998 for ac_func in _qfpclass
34000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34001 echo "$as_me:$LINENO: checking for $ac_func" >&5
34002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34003 if eval "test \"\${$as_ac_var+set}\" = set"; then
34004 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 else
34006 if test x$gcc_no_link = xyes; then
34007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34009 { (exit 1); exit 1; }; }
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h. */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34019 #define $ac_func innocuous_$ac_func
34021 /* System header to define __stub macros and hopefully few prototypes,
34022 which can conflict with char $ac_func (); below.
34023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34024 <limits.h> exists even on freestanding compilers. */
34026 #ifdef __STDC__
34027 # include <limits.h>
34028 #else
34029 # include <assert.h>
34030 #endif
34032 #undef $ac_func
34034 /* Override any gcc2 internal prototype to avoid an error. */
34035 #ifdef __cplusplus
34036 extern "C"
34038 #endif
34039 /* We use char because int might match the return type of a gcc2
34040 builtin and then its argument prototype would still apply. */
34041 char $ac_func ();
34042 /* The GNU C library defines this for functions which it implements
34043 to always fail with ENOSYS. Some functions are actually named
34044 something starting with __ and the normal name is an alias. */
34045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34046 choke me
34047 #else
34048 char (*f) () = $ac_func;
34049 #endif
34050 #ifdef __cplusplus
34052 #endif
34055 main ()
34057 return f != $ac_func;
34059 return 0;
34061 _ACEOF
34062 rm -f conftest.$ac_objext conftest$ac_exeext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34064 (eval $ac_link) 2>conftest.er1
34065 ac_status=$?
34066 grep -v '^ *+' conftest.er1 >conftest.err
34067 rm -f conftest.er1
34068 cat conftest.err >&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } &&
34071 { ac_try='test -z "$ac_c_werror_flag"
34072 || test ! -s conftest.err'
34073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34074 (eval $ac_try) 2>&5
34075 ac_status=$?
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); }; } &&
34078 { ac_try='test -s conftest$ac_exeext'
34079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34080 (eval $ac_try) 2>&5
34081 ac_status=$?
34082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34083 (exit $ac_status); }; }; then
34084 eval "$as_ac_var=yes"
34085 else
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34089 eval "$as_ac_var=no"
34091 rm -f conftest.err conftest.$ac_objext \
34092 conftest$ac_exeext conftest.$ac_ext
34094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34096 if test `eval echo '${'$as_ac_var'}'` = yes; then
34097 cat >>confdefs.h <<_ACEOF
34098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34099 _ACEOF
34102 done
34109 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34110 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34111 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34112 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 else
34118 ac_ext=cc
34119 ac_cpp='$CXXCPP $CPPFLAGS'
34120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34124 cat >conftest.$ac_ext <<_ACEOF
34125 /* confdefs.h. */
34126 _ACEOF
34127 cat confdefs.h >>conftest.$ac_ext
34128 cat >>conftest.$ac_ext <<_ACEOF
34129 /* end confdefs.h. */
34130 #include <math.h>
34132 main ()
34134 hypot(0, 0);
34136 return 0;
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try='test -z "$ac_cxx_werror_flag"
34149 || test ! -s conftest.err'
34150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151 (eval $ac_try) 2>&5
34152 ac_status=$?
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; } &&
34155 { ac_try='test -s conftest.$ac_objext'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34158 ac_status=$?
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; }; then
34161 glibcxx_cv_func_hypot_use=yes
34162 else
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34166 glibcxx_cv_func_hypot_use=no
34168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34180 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34182 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34184 for ac_func in hypot
34186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34187 echo "$as_me:$LINENO: checking for $ac_func" >&5
34188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34189 if eval "test \"\${$as_ac_var+set}\" = set"; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 else
34192 if test x$gcc_no_link = xyes; then
34193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34195 { (exit 1); exit 1; }; }
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34205 #define $ac_func innocuous_$ac_func
34207 /* System header to define __stub macros and hopefully few prototypes,
34208 which can conflict with char $ac_func (); below.
34209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34210 <limits.h> exists even on freestanding compilers. */
34212 #ifdef __STDC__
34213 # include <limits.h>
34214 #else
34215 # include <assert.h>
34216 #endif
34218 #undef $ac_func
34220 /* Override any gcc2 internal prototype to avoid an error. */
34221 #ifdef __cplusplus
34222 extern "C"
34224 #endif
34225 /* We use char because int might match the return type of a gcc2
34226 builtin and then its argument prototype would still apply. */
34227 char $ac_func ();
34228 /* The GNU C library defines this for functions which it implements
34229 to always fail with ENOSYS. Some functions are actually named
34230 something starting with __ and the normal name is an alias. */
34231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34232 choke me
34233 #else
34234 char (*f) () = $ac_func;
34235 #endif
34236 #ifdef __cplusplus
34238 #endif
34241 main ()
34243 return f != $ac_func;
34245 return 0;
34247 _ACEOF
34248 rm -f conftest.$ac_objext conftest$ac_exeext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34250 (eval $ac_link) 2>conftest.er1
34251 ac_status=$?
34252 grep -v '^ *+' conftest.er1 >conftest.err
34253 rm -f conftest.er1
34254 cat conftest.err >&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } &&
34257 { ac_try='test -z "$ac_c_werror_flag"
34258 || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest$ac_exeext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 eval "$as_ac_var=yes"
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34275 eval "$as_ac_var=no"
34277 rm -f conftest.err conftest.$ac_objext \
34278 conftest$ac_exeext conftest.$ac_ext
34280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34282 if test `eval echo '${'$as_ac_var'}'` = yes; then
34283 cat >>confdefs.h <<_ACEOF
34284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34285 _ACEOF
34288 done
34290 else
34292 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34293 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34294 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34295 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34301 ac_ext=cc
34302 ac_cpp='$CXXCPP $CPPFLAGS'
34303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307 cat >conftest.$ac_ext <<_ACEOF
34308 /* confdefs.h. */
34309 _ACEOF
34310 cat confdefs.h >>conftest.$ac_ext
34311 cat >>conftest.$ac_ext <<_ACEOF
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 _hypot(0, 0);
34319 return 0;
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324 (eval $ac_compile) 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try='test -z "$ac_cxx_werror_flag"
34332 || test ! -s conftest.err'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34335 ac_status=$?
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; } &&
34338 { ac_try='test -s conftest.$ac_objext'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; }; then
34344 glibcxx_cv_func__hypot_use=yes
34345 else
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34349 glibcxx_cv_func__hypot_use=no
34351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34363 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34365 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34367 for ac_func in _hypot
34369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34370 echo "$as_me:$LINENO: checking for $ac_func" >&5
34371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34372 if eval "test \"\${$as_ac_var+set}\" = set"; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375 if test x$gcc_no_link = xyes; then
34376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34378 { (exit 1); exit 1; }; }
34380 cat >conftest.$ac_ext <<_ACEOF
34381 /* confdefs.h. */
34382 _ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h. */
34386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34388 #define $ac_func innocuous_$ac_func
34390 /* System header to define __stub macros and hopefully few prototypes,
34391 which can conflict with char $ac_func (); below.
34392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34393 <limits.h> exists even on freestanding compilers. */
34395 #ifdef __STDC__
34396 # include <limits.h>
34397 #else
34398 # include <assert.h>
34399 #endif
34401 #undef $ac_func
34403 /* Override any gcc2 internal prototype to avoid an error. */
34404 #ifdef __cplusplus
34405 extern "C"
34407 #endif
34408 /* We use char because int might match the return type of a gcc2
34409 builtin and then its argument prototype would still apply. */
34410 char $ac_func ();
34411 /* The GNU C library defines this for functions which it implements
34412 to always fail with ENOSYS. Some functions are actually named
34413 something starting with __ and the normal name is an alias. */
34414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34415 choke me
34416 #else
34417 char (*f) () = $ac_func;
34418 #endif
34419 #ifdef __cplusplus
34421 #endif
34424 main ()
34426 return f != $ac_func;
34428 return 0;
34430 _ACEOF
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433 (eval $ac_link) 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } &&
34440 { ac_try='test -z "$ac_c_werror_flag"
34441 || test ! -s conftest.err'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34444 ac_status=$?
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; } &&
34447 { ac_try='test -s conftest$ac_exeext'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; }; then
34453 eval "$as_ac_var=yes"
34454 else
34455 echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.$ac_ext >&5
34458 eval "$as_ac_var=no"
34460 rm -f conftest.err conftest.$ac_objext \
34461 conftest$ac_exeext conftest.$ac_ext
34463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34465 if test `eval echo '${'$as_ac_var'}'` = yes; then
34466 cat >>confdefs.h <<_ACEOF
34467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 _ACEOF
34471 done
34478 echo "$as_me:$LINENO: checking for float trig functions" >&5
34479 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34480 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34481 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 else
34486 ac_ext=cc
34487 ac_cpp='$CXXCPP $CPPFLAGS'
34488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34492 cat >conftest.$ac_ext <<_ACEOF
34493 /* confdefs.h. */
34494 _ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34498 #include <math.h>
34500 main ()
34502 `for x in acosf asinf atanf \
34503 cosf sinf tanf \
34504 coshf sinhf tanhf; do echo "$x (0);"; done`
34506 return 0;
34508 _ACEOF
34509 rm -f conftest.$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511 (eval $ac_compile) 2>conftest.er1
34512 ac_status=$?
34513 grep -v '^ *+' conftest.er1 >conftest.err
34514 rm -f conftest.er1
34515 cat conftest.err >&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try='test -z "$ac_cxx_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try='test -s conftest.$ac_objext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 glibcxx_cv_func_float_trig_use=yes
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34536 glibcxx_cv_func_float_trig_use=no
34538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34548 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34549 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34559 for ac_func in acosf asinf atanf \
34560 cosf sinf tanf \
34561 coshf sinhf tanhf
34563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34564 echo "$as_me:$LINENO: checking for $ac_func" >&5
34565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34566 if eval "test \"\${$as_ac_var+set}\" = set"; then
34567 echo $ECHO_N "(cached) $ECHO_C" >&6
34568 else
34569 if test x$gcc_no_link = xyes; then
34570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34572 { (exit 1); exit 1; }; }
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34582 #define $ac_func innocuous_$ac_func
34584 /* System header to define __stub macros and hopefully few prototypes,
34585 which can conflict with char $ac_func (); below.
34586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34587 <limits.h> exists even on freestanding compilers. */
34589 #ifdef __STDC__
34590 # include <limits.h>
34591 #else
34592 # include <assert.h>
34593 #endif
34595 #undef $ac_func
34597 /* Override any gcc2 internal prototype to avoid an error. */
34598 #ifdef __cplusplus
34599 extern "C"
34601 #endif
34602 /* We use char because int might match the return type of a gcc2
34603 builtin and then its argument prototype would still apply. */
34604 char $ac_func ();
34605 /* The GNU C library defines this for functions which it implements
34606 to always fail with ENOSYS. Some functions are actually named
34607 something starting with __ and the normal name is an alias. */
34608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34609 choke me
34610 #else
34611 char (*f) () = $ac_func;
34612 #endif
34613 #ifdef __cplusplus
34615 #endif
34618 main ()
34620 return f != $ac_func;
34622 return 0;
34624 _ACEOF
34625 rm -f conftest.$ac_objext conftest$ac_exeext
34626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34627 (eval $ac_link) 2>conftest.er1
34628 ac_status=$?
34629 grep -v '^ *+' conftest.er1 >conftest.err
34630 rm -f conftest.er1
34631 cat conftest.err >&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); } &&
34634 { ac_try='test -z "$ac_c_werror_flag"
34635 || test ! -s conftest.err'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34638 ac_status=$?
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; } &&
34641 { ac_try='test -s conftest$ac_exeext'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34644 ac_status=$?
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; }; then
34647 eval "$as_ac_var=yes"
34648 else
34649 echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.$ac_ext >&5
34652 eval "$as_ac_var=no"
34654 rm -f conftest.err conftest.$ac_objext \
34655 conftest$ac_exeext conftest.$ac_ext
34657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34659 if test `eval echo '${'$as_ac_var'}'` = yes; then
34660 cat >>confdefs.h <<_ACEOF
34661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34662 _ACEOF
34665 done
34670 echo "$as_me:$LINENO: checking for float round functions" >&5
34671 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34672 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34674 else
34678 ac_ext=cc
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34684 cat >conftest.$ac_ext <<_ACEOF
34685 /* confdefs.h. */
34686 _ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34690 #include <math.h>
34692 main ()
34694 `for x in ceilf floorf; do echo "$x (0);"; done`
34696 return 0;
34698 _ACEOF
34699 rm -f conftest.$ac_objext
34700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34701 (eval $ac_compile) 2>conftest.er1
34702 ac_status=$?
34703 grep -v '^ *+' conftest.er1 >conftest.err
34704 rm -f conftest.er1
34705 cat conftest.err >&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } &&
34708 { ac_try='test -z "$ac_cxx_werror_flag"
34709 || test ! -s conftest.err'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34712 ac_status=$?
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; } &&
34715 { ac_try='test -s conftest.$ac_objext'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; }; then
34721 glibcxx_cv_func_float_round_use=yes
34722 else
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34726 glibcxx_cv_func_float_round_use=no
34728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34729 ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34738 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34739 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34742 for ac_func in ceilf floorf
34744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34745 echo "$as_me:$LINENO: checking for $ac_func" >&5
34746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34747 if eval "test \"\${$as_ac_var+set}\" = set"; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750 if test x$gcc_no_link = xyes; then
34751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34753 { (exit 1); exit 1; }; }
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34763 #define $ac_func innocuous_$ac_func
34765 /* System header to define __stub macros and hopefully few prototypes,
34766 which can conflict with char $ac_func (); below.
34767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34768 <limits.h> exists even on freestanding compilers. */
34770 #ifdef __STDC__
34771 # include <limits.h>
34772 #else
34773 # include <assert.h>
34774 #endif
34776 #undef $ac_func
34778 /* Override any gcc2 internal prototype to avoid an error. */
34779 #ifdef __cplusplus
34780 extern "C"
34782 #endif
34783 /* We use char because int might match the return type of a gcc2
34784 builtin and then its argument prototype would still apply. */
34785 char $ac_func ();
34786 /* The GNU C library defines this for functions which it implements
34787 to always fail with ENOSYS. Some functions are actually named
34788 something starting with __ and the normal name is an alias. */
34789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34790 choke me
34791 #else
34792 char (*f) () = $ac_func;
34793 #endif
34794 #ifdef __cplusplus
34796 #endif
34799 main ()
34801 return f != $ac_func;
34803 return 0;
34805 _ACEOF
34806 rm -f conftest.$ac_objext conftest$ac_exeext
34807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34808 (eval $ac_link) 2>conftest.er1
34809 ac_status=$?
34810 grep -v '^ *+' conftest.er1 >conftest.err
34811 rm -f conftest.er1
34812 cat conftest.err >&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); } &&
34815 { ac_try='test -z "$ac_c_werror_flag"
34816 || test ! -s conftest.err'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34819 ac_status=$?
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; } &&
34822 { ac_try='test -s conftest$ac_exeext'
34823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34824 (eval $ac_try) 2>&5
34825 ac_status=$?
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); }; }; then
34828 eval "$as_ac_var=yes"
34829 else
34830 echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.$ac_ext >&5
34833 eval "$as_ac_var=no"
34835 rm -f conftest.err conftest.$ac_objext \
34836 conftest$ac_exeext conftest.$ac_ext
34838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34840 if test `eval echo '${'$as_ac_var'}'` = yes; then
34841 cat >>confdefs.h <<_ACEOF
34842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34843 _ACEOF
34846 done
34852 echo "$as_me:$LINENO: checking for expf declaration" >&5
34853 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34854 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34855 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 else
34861 ac_ext=cc
34862 ac_cpp='$CXXCPP $CPPFLAGS'
34863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34867 cat >conftest.$ac_ext <<_ACEOF
34868 /* confdefs.h. */
34869 _ACEOF
34870 cat confdefs.h >>conftest.$ac_ext
34871 cat >>conftest.$ac_ext <<_ACEOF
34872 /* end confdefs.h. */
34873 #include <math.h>
34874 #ifdef HAVE_IEEEFP_H
34875 #include <ieeefp.h>
34876 #endif
34879 main ()
34881 expf(0);
34883 return 0;
34885 _ACEOF
34886 rm -f conftest.$ac_objext
34887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34888 (eval $ac_compile) 2>conftest.er1
34889 ac_status=$?
34890 grep -v '^ *+' conftest.er1 >conftest.err
34891 rm -f conftest.er1
34892 cat conftest.err >&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } &&
34895 { ac_try='test -z "$ac_cxx_werror_flag"
34896 || test ! -s conftest.err'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34899 ac_status=$?
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; } &&
34902 { ac_try='test -s conftest.$ac_objext'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34905 ac_status=$?
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; }; then
34908 glibcxx_cv_func_expf_use=yes
34909 else
34910 echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.$ac_ext >&5
34913 glibcxx_cv_func_expf_use=no
34915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34916 ac_ext=c
34917 ac_cpp='$CPP $CPPFLAGS'
34918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34927 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34929 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34931 for ac_func in expf
34933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34934 echo "$as_me:$LINENO: checking for $ac_func" >&5
34935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34936 if eval "test \"\${$as_ac_var+set}\" = set"; then
34937 echo $ECHO_N "(cached) $ECHO_C" >&6
34938 else
34939 if test x$gcc_no_link = xyes; then
34940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34942 { (exit 1); exit 1; }; }
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34952 #define $ac_func innocuous_$ac_func
34954 /* System header to define __stub macros and hopefully few prototypes,
34955 which can conflict with char $ac_func (); below.
34956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34957 <limits.h> exists even on freestanding compilers. */
34959 #ifdef __STDC__
34960 # include <limits.h>
34961 #else
34962 # include <assert.h>
34963 #endif
34965 #undef $ac_func
34967 /* Override any gcc2 internal prototype to avoid an error. */
34968 #ifdef __cplusplus
34969 extern "C"
34971 #endif
34972 /* We use char because int might match the return type of a gcc2
34973 builtin and then its argument prototype would still apply. */
34974 char $ac_func ();
34975 /* The GNU C library defines this for functions which it implements
34976 to always fail with ENOSYS. Some functions are actually named
34977 something starting with __ and the normal name is an alias. */
34978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34979 choke me
34980 #else
34981 char (*f) () = $ac_func;
34982 #endif
34983 #ifdef __cplusplus
34985 #endif
34988 main ()
34990 return f != $ac_func;
34992 return 0;
34994 _ACEOF
34995 rm -f conftest.$ac_objext conftest$ac_exeext
34996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34997 (eval $ac_link) 2>conftest.er1
34998 ac_status=$?
34999 grep -v '^ *+' conftest.er1 >conftest.err
35000 rm -f conftest.er1
35001 cat conftest.err >&5
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); } &&
35004 { ac_try='test -z "$ac_c_werror_flag"
35005 || test ! -s conftest.err'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35008 ac_status=$?
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; } &&
35011 { ac_try='test -s conftest$ac_exeext'
35012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013 (eval $ac_try) 2>&5
35014 ac_status=$?
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); }; }; then
35017 eval "$as_ac_var=yes"
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35022 eval "$as_ac_var=no"
35024 rm -f conftest.err conftest.$ac_objext \
35025 conftest$ac_exeext conftest.$ac_ext
35027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35029 if test `eval echo '${'$as_ac_var'}'` = yes; then
35030 cat >>confdefs.h <<_ACEOF
35031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35032 _ACEOF
35035 done
35037 else
35039 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35040 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35041 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35042 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35048 ac_ext=cc
35049 ac_cpp='$CXXCPP $CPPFLAGS'
35050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35054 cat >conftest.$ac_ext <<_ACEOF
35055 /* confdefs.h. */
35056 _ACEOF
35057 cat confdefs.h >>conftest.$ac_ext
35058 cat >>conftest.$ac_ext <<_ACEOF
35059 /* end confdefs.h. */
35060 #include <math.h>
35061 #ifdef HAVE_IEEEFP_H
35062 #include <ieeefp.h>
35063 #endif
35066 main ()
35068 _expf(0);
35070 return 0;
35072 _ACEOF
35073 rm -f conftest.$ac_objext
35074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35075 (eval $ac_compile) 2>conftest.er1
35076 ac_status=$?
35077 grep -v '^ *+' conftest.er1 >conftest.err
35078 rm -f conftest.er1
35079 cat conftest.err >&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); } &&
35082 { ac_try='test -z "$ac_cxx_werror_flag"
35083 || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35086 ac_status=$?
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try='test -s conftest.$ac_objext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 glibcxx_cv_func__expf_use=yes
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35100 glibcxx_cv_func__expf_use=no
35102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35103 ac_ext=c
35104 ac_cpp='$CPP $CPPFLAGS'
35105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35114 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35116 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35118 for ac_func in _expf
35120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35121 echo "$as_me:$LINENO: checking for $ac_func" >&5
35122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35123 if eval "test \"\${$as_ac_var+set}\" = set"; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126 if test x$gcc_no_link = xyes; then
35127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35129 { (exit 1); exit 1; }; }
35131 cat >conftest.$ac_ext <<_ACEOF
35132 /* confdefs.h. */
35133 _ACEOF
35134 cat confdefs.h >>conftest.$ac_ext
35135 cat >>conftest.$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35139 #define $ac_func innocuous_$ac_func
35141 /* System header to define __stub macros and hopefully few prototypes,
35142 which can conflict with char $ac_func (); below.
35143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35144 <limits.h> exists even on freestanding compilers. */
35146 #ifdef __STDC__
35147 # include <limits.h>
35148 #else
35149 # include <assert.h>
35150 #endif
35152 #undef $ac_func
35154 /* Override any gcc2 internal prototype to avoid an error. */
35155 #ifdef __cplusplus
35156 extern "C"
35158 #endif
35159 /* We use char because int might match the return type of a gcc2
35160 builtin and then its argument prototype would still apply. */
35161 char $ac_func ();
35162 /* The GNU C library defines this for functions which it implements
35163 to always fail with ENOSYS. Some functions are actually named
35164 something starting with __ and the normal name is an alias. */
35165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35166 choke me
35167 #else
35168 char (*f) () = $ac_func;
35169 #endif
35170 #ifdef __cplusplus
35172 #endif
35175 main ()
35177 return f != $ac_func;
35179 return 0;
35181 _ACEOF
35182 rm -f conftest.$ac_objext conftest$ac_exeext
35183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35184 (eval $ac_link) 2>conftest.er1
35185 ac_status=$?
35186 grep -v '^ *+' conftest.er1 >conftest.err
35187 rm -f conftest.er1
35188 cat conftest.err >&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } &&
35191 { ac_try='test -z "$ac_c_werror_flag"
35192 || test ! -s conftest.err'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35195 ac_status=$?
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; } &&
35198 { ac_try='test -s conftest$ac_exeext'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35201 ac_status=$?
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; }; then
35204 eval "$as_ac_var=yes"
35205 else
35206 echo "$as_me: failed program was:" >&5
35207 sed 's/^/| /' conftest.$ac_ext >&5
35209 eval "$as_ac_var=no"
35211 rm -f conftest.err conftest.$ac_objext \
35212 conftest$ac_exeext conftest.$ac_ext
35214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35216 if test `eval echo '${'$as_ac_var'}'` = yes; then
35217 cat >>confdefs.h <<_ACEOF
35218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35219 _ACEOF
35222 done
35229 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35230 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35231 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35232 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35233 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 else
35238 ac_ext=cc
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35244 cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h. */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 #include <math.h>
35251 #ifdef HAVE_IEEEFP_H
35252 #include <ieeefp.h>
35253 #endif
35256 main ()
35258 isnanf(0);
35260 return 0;
35262 _ACEOF
35263 rm -f conftest.$ac_objext
35264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35265 (eval $ac_compile) 2>conftest.er1
35266 ac_status=$?
35267 grep -v '^ *+' conftest.er1 >conftest.err
35268 rm -f conftest.er1
35269 cat conftest.err >&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); } &&
35272 { ac_try='test -z "$ac_cxx_werror_flag"
35273 || test ! -s conftest.err'
35274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275 (eval $ac_try) 2>&5
35276 ac_status=$?
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); }; } &&
35279 { ac_try='test -s conftest.$ac_objext'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; }; then
35285 glibcxx_cv_func_isnanf_use=yes
35286 else
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35290 glibcxx_cv_func_isnanf_use=no
35292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35293 ac_ext=c
35294 ac_cpp='$CPP $CPPFLAGS'
35295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35304 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35306 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35308 for ac_func in isnanf
35310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35311 echo "$as_me:$LINENO: checking for $ac_func" >&5
35312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35313 if eval "test \"\${$as_ac_var+set}\" = set"; then
35314 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 else
35316 if test x$gcc_no_link = xyes; then
35317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35319 { (exit 1); exit 1; }; }
35321 cat >conftest.$ac_ext <<_ACEOF
35322 /* confdefs.h. */
35323 _ACEOF
35324 cat confdefs.h >>conftest.$ac_ext
35325 cat >>conftest.$ac_ext <<_ACEOF
35326 /* end confdefs.h. */
35327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35329 #define $ac_func innocuous_$ac_func
35331 /* System header to define __stub macros and hopefully few prototypes,
35332 which can conflict with char $ac_func (); below.
35333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35334 <limits.h> exists even on freestanding compilers. */
35336 #ifdef __STDC__
35337 # include <limits.h>
35338 #else
35339 # include <assert.h>
35340 #endif
35342 #undef $ac_func
35344 /* Override any gcc2 internal prototype to avoid an error. */
35345 #ifdef __cplusplus
35346 extern "C"
35348 #endif
35349 /* We use char because int might match the return type of a gcc2
35350 builtin and then its argument prototype would still apply. */
35351 char $ac_func ();
35352 /* The GNU C library defines this for functions which it implements
35353 to always fail with ENOSYS. Some functions are actually named
35354 something starting with __ and the normal name is an alias. */
35355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35356 choke me
35357 #else
35358 char (*f) () = $ac_func;
35359 #endif
35360 #ifdef __cplusplus
35362 #endif
35365 main ()
35367 return f != $ac_func;
35369 return 0;
35371 _ACEOF
35372 rm -f conftest.$ac_objext conftest$ac_exeext
35373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35374 (eval $ac_link) 2>conftest.er1
35375 ac_status=$?
35376 grep -v '^ *+' conftest.er1 >conftest.err
35377 rm -f conftest.er1
35378 cat conftest.err >&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } &&
35381 { ac_try='test -z "$ac_c_werror_flag"
35382 || test ! -s conftest.err'
35383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35384 (eval $ac_try) 2>&5
35385 ac_status=$?
35386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387 (exit $ac_status); }; } &&
35388 { ac_try='test -s conftest$ac_exeext'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35391 ac_status=$?
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; }; then
35394 eval "$as_ac_var=yes"
35395 else
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35399 eval "$as_ac_var=no"
35401 rm -f conftest.err conftest.$ac_objext \
35402 conftest$ac_exeext conftest.$ac_ext
35404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35406 if test `eval echo '${'$as_ac_var'}'` = yes; then
35407 cat >>confdefs.h <<_ACEOF
35408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35409 _ACEOF
35412 done
35414 else
35416 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35417 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35418 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35419 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35420 echo $ECHO_N "(cached) $ECHO_C" >&6
35421 else
35425 ac_ext=cc
35426 ac_cpp='$CXXCPP $CPPFLAGS'
35427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35431 cat >conftest.$ac_ext <<_ACEOF
35432 /* confdefs.h. */
35433 _ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35437 #include <math.h>
35438 #ifdef HAVE_IEEEFP_H
35439 #include <ieeefp.h>
35440 #endif
35443 main ()
35445 _isnanf(0);
35447 return 0;
35449 _ACEOF
35450 rm -f conftest.$ac_objext
35451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35452 (eval $ac_compile) 2>conftest.er1
35453 ac_status=$?
35454 grep -v '^ *+' conftest.er1 >conftest.err
35455 rm -f conftest.er1
35456 cat conftest.err >&5
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); } &&
35459 { ac_try='test -z "$ac_cxx_werror_flag"
35460 || test ! -s conftest.err'
35461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462 (eval $ac_try) 2>&5
35463 ac_status=$?
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); }; } &&
35466 { ac_try='test -s conftest.$ac_objext'
35467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35468 (eval $ac_try) 2>&5
35469 ac_status=$?
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); }; }; then
35472 glibcxx_cv_func__isnanf_use=yes
35473 else
35474 echo "$as_me: failed program was:" >&5
35475 sed 's/^/| /' conftest.$ac_ext >&5
35477 glibcxx_cv_func__isnanf_use=no
35479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35480 ac_ext=c
35481 ac_cpp='$CPP $CPPFLAGS'
35482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35491 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35495 for ac_func in _isnanf
35497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35498 echo "$as_me:$LINENO: checking for $ac_func" >&5
35499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35500 if eval "test \"\${$as_ac_var+set}\" = set"; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 else
35503 if test x$gcc_no_link = xyes; then
35504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35506 { (exit 1); exit 1; }; }
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35516 #define $ac_func innocuous_$ac_func
35518 /* System header to define __stub macros and hopefully few prototypes,
35519 which can conflict with char $ac_func (); below.
35520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35521 <limits.h> exists even on freestanding compilers. */
35523 #ifdef __STDC__
35524 # include <limits.h>
35525 #else
35526 # include <assert.h>
35527 #endif
35529 #undef $ac_func
35531 /* Override any gcc2 internal prototype to avoid an error. */
35532 #ifdef __cplusplus
35533 extern "C"
35535 #endif
35536 /* We use char because int might match the return type of a gcc2
35537 builtin and then its argument prototype would still apply. */
35538 char $ac_func ();
35539 /* The GNU C library defines this for functions which it implements
35540 to always fail with ENOSYS. Some functions are actually named
35541 something starting with __ and the normal name is an alias. */
35542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35543 choke me
35544 #else
35545 char (*f) () = $ac_func;
35546 #endif
35547 #ifdef __cplusplus
35549 #endif
35552 main ()
35554 return f != $ac_func;
35556 return 0;
35558 _ACEOF
35559 rm -f conftest.$ac_objext conftest$ac_exeext
35560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35561 (eval $ac_link) 2>conftest.er1
35562 ac_status=$?
35563 grep -v '^ *+' conftest.er1 >conftest.err
35564 rm -f conftest.er1
35565 cat conftest.err >&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); } &&
35568 { ac_try='test -z "$ac_c_werror_flag"
35569 || test ! -s conftest.err'
35570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35571 (eval $ac_try) 2>&5
35572 ac_status=$?
35573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574 (exit $ac_status); }; } &&
35575 { ac_try='test -s conftest$ac_exeext'
35576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35577 (eval $ac_try) 2>&5
35578 ac_status=$?
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); }; }; then
35581 eval "$as_ac_var=yes"
35582 else
35583 echo "$as_me: failed program was:" >&5
35584 sed 's/^/| /' conftest.$ac_ext >&5
35586 eval "$as_ac_var=no"
35588 rm -f conftest.err conftest.$ac_objext \
35589 conftest$ac_exeext conftest.$ac_ext
35591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35593 if test `eval echo '${'$as_ac_var'}'` = yes; then
35594 cat >>confdefs.h <<_ACEOF
35595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35596 _ACEOF
35599 done
35606 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35607 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35608 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35609 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35610 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 else
35615 ac_ext=cc
35616 ac_cpp='$CXXCPP $CPPFLAGS'
35617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35621 cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h. */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h. */
35627 #include <math.h>
35628 #ifdef HAVE_IEEEFP_H
35629 #include <ieeefp.h>
35630 #endif
35633 main ()
35635 isinff(0);
35637 return 0;
35639 _ACEOF
35640 rm -f conftest.$ac_objext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35642 (eval $ac_compile) 2>conftest.er1
35643 ac_status=$?
35644 grep -v '^ *+' conftest.er1 >conftest.err
35645 rm -f conftest.er1
35646 cat conftest.err >&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try='test -z "$ac_cxx_werror_flag"
35650 || test ! -s conftest.err'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; } &&
35656 { ac_try='test -s conftest.$ac_objext'
35657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658 (eval $ac_try) 2>&5
35659 ac_status=$?
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); }; }; then
35662 glibcxx_cv_func_isinff_use=yes
35663 else
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35667 glibcxx_cv_func_isinff_use=no
35669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35670 ac_ext=c
35671 ac_cpp='$CPP $CPPFLAGS'
35672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35681 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35683 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35685 for ac_func in isinff
35687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35688 echo "$as_me:$LINENO: checking for $ac_func" >&5
35689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35690 if eval "test \"\${$as_ac_var+set}\" = set"; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693 if test x$gcc_no_link = xyes; then
35694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35696 { (exit 1); exit 1; }; }
35698 cat >conftest.$ac_ext <<_ACEOF
35699 /* confdefs.h. */
35700 _ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35706 #define $ac_func innocuous_$ac_func
35708 /* System header to define __stub macros and hopefully few prototypes,
35709 which can conflict with char $ac_func (); below.
35710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35711 <limits.h> exists even on freestanding compilers. */
35713 #ifdef __STDC__
35714 # include <limits.h>
35715 #else
35716 # include <assert.h>
35717 #endif
35719 #undef $ac_func
35721 /* Override any gcc2 internal prototype to avoid an error. */
35722 #ifdef __cplusplus
35723 extern "C"
35725 #endif
35726 /* We use char because int might match the return type of a gcc2
35727 builtin and then its argument prototype would still apply. */
35728 char $ac_func ();
35729 /* The GNU C library defines this for functions which it implements
35730 to always fail with ENOSYS. Some functions are actually named
35731 something starting with __ and the normal name is an alias. */
35732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35733 choke me
35734 #else
35735 char (*f) () = $ac_func;
35736 #endif
35737 #ifdef __cplusplus
35739 #endif
35742 main ()
35744 return f != $ac_func;
35746 return 0;
35748 _ACEOF
35749 rm -f conftest.$ac_objext conftest$ac_exeext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35751 (eval $ac_link) 2>conftest.er1
35752 ac_status=$?
35753 grep -v '^ *+' conftest.er1 >conftest.err
35754 rm -f conftest.er1
35755 cat conftest.err >&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try='test -z "$ac_c_werror_flag"
35759 || test ! -s conftest.err'
35760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761 (eval $ac_try) 2>&5
35762 ac_status=$?
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); }; } &&
35765 { ac_try='test -s conftest$ac_exeext'
35766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35767 (eval $ac_try) 2>&5
35768 ac_status=$?
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); }; }; then
35771 eval "$as_ac_var=yes"
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35776 eval "$as_ac_var=no"
35778 rm -f conftest.err conftest.$ac_objext \
35779 conftest$ac_exeext conftest.$ac_ext
35781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35783 if test `eval echo '${'$as_ac_var'}'` = yes; then
35784 cat >>confdefs.h <<_ACEOF
35785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35786 _ACEOF
35789 done
35791 else
35793 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35794 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35795 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35796 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35802 ac_ext=cc
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808 cat >conftest.$ac_ext <<_ACEOF
35809 /* confdefs.h. */
35810 _ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <math.h>
35815 #ifdef HAVE_IEEEFP_H
35816 #include <ieeefp.h>
35817 #endif
35820 main ()
35822 _isinff(0);
35824 return 0;
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_cxx_werror_flag"
35837 || test ! -s conftest.err'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35840 ac_status=$?
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; } &&
35843 { ac_try='test -s conftest.$ac_objext'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35846 ac_status=$?
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; }; then
35849 glibcxx_cv_func__isinff_use=yes
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35854 glibcxx_cv_func__isinff_use=no
35856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35857 ac_ext=c
35858 ac_cpp='$CPP $CPPFLAGS'
35859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35868 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35870 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35872 for ac_func in _isinff
35874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 echo "$as_me:$LINENO: checking for $ac_func" >&5
35876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35877 if eval "test \"\${$as_ac_var+set}\" = set"; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880 if test x$gcc_no_link = xyes; then
35881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35883 { (exit 1); exit 1; }; }
35885 cat >conftest.$ac_ext <<_ACEOF
35886 /* confdefs.h. */
35887 _ACEOF
35888 cat confdefs.h >>conftest.$ac_ext
35889 cat >>conftest.$ac_ext <<_ACEOF
35890 /* end confdefs.h. */
35891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35893 #define $ac_func innocuous_$ac_func
35895 /* System header to define __stub macros and hopefully few prototypes,
35896 which can conflict with char $ac_func (); below.
35897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35898 <limits.h> exists even on freestanding compilers. */
35900 #ifdef __STDC__
35901 # include <limits.h>
35902 #else
35903 # include <assert.h>
35904 #endif
35906 #undef $ac_func
35908 /* Override any gcc2 internal prototype to avoid an error. */
35909 #ifdef __cplusplus
35910 extern "C"
35912 #endif
35913 /* We use char because int might match the return type of a gcc2
35914 builtin and then its argument prototype would still apply. */
35915 char $ac_func ();
35916 /* The GNU C library defines this for functions which it implements
35917 to always fail with ENOSYS. Some functions are actually named
35918 something starting with __ and the normal name is an alias. */
35919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 choke me
35921 #else
35922 char (*f) () = $ac_func;
35923 #endif
35924 #ifdef __cplusplus
35926 #endif
35929 main ()
35931 return f != $ac_func;
35933 return 0;
35935 _ACEOF
35936 rm -f conftest.$ac_objext conftest$ac_exeext
35937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35938 (eval $ac_link) 2>conftest.er1
35939 ac_status=$?
35940 grep -v '^ *+' conftest.er1 >conftest.err
35941 rm -f conftest.er1
35942 cat conftest.err >&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); } &&
35945 { ac_try='test -z "$ac_c_werror_flag"
35946 || test ! -s conftest.err'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35949 ac_status=$?
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; } &&
35952 { ac_try='test -s conftest$ac_exeext'
35953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954 (eval $ac_try) 2>&5
35955 ac_status=$?
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); }; }; then
35958 eval "$as_ac_var=yes"
35959 else
35960 echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35963 eval "$as_ac_var=no"
35965 rm -f conftest.err conftest.$ac_objext \
35966 conftest$ac_exeext conftest.$ac_ext
35968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35970 if test `eval echo '${'$as_ac_var'}'` = yes; then
35971 cat >>confdefs.h <<_ACEOF
35972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35973 _ACEOF
35976 done
35983 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35984 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35985 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35986 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35992 ac_ext=cc
35993 ac_cpp='$CXXCPP $CPPFLAGS'
35994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35998 cat >conftest.$ac_ext <<_ACEOF
35999 /* confdefs.h. */
36000 _ACEOF
36001 cat confdefs.h >>conftest.$ac_ext
36002 cat >>conftest.$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 #include <math.h>
36006 main ()
36008 atan2f(0, 0);
36010 return 0;
36012 _ACEOF
36013 rm -f conftest.$ac_objext
36014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36015 (eval $ac_compile) 2>conftest.er1
36016 ac_status=$?
36017 grep -v '^ *+' conftest.er1 >conftest.err
36018 rm -f conftest.er1
36019 cat conftest.err >&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } &&
36022 { ac_try='test -z "$ac_cxx_werror_flag"
36023 || test ! -s conftest.err'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36026 ac_status=$?
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; } &&
36029 { ac_try='test -s conftest.$ac_objext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36032 ac_status=$?
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 glibcxx_cv_func_atan2f_use=yes
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36040 glibcxx_cv_func_atan2f_use=no
36042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36043 ac_ext=c
36044 ac_cpp='$CPP $CPPFLAGS'
36045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36054 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36056 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36058 for ac_func in atan2f
36060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36061 echo "$as_me:$LINENO: checking for $ac_func" >&5
36062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36063 if eval "test \"\${$as_ac_var+set}\" = set"; then
36064 echo $ECHO_N "(cached) $ECHO_C" >&6
36065 else
36066 if test x$gcc_no_link = xyes; then
36067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36069 { (exit 1); exit 1; }; }
36071 cat >conftest.$ac_ext <<_ACEOF
36072 /* confdefs.h. */
36073 _ACEOF
36074 cat confdefs.h >>conftest.$ac_ext
36075 cat >>conftest.$ac_ext <<_ACEOF
36076 /* end confdefs.h. */
36077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36079 #define $ac_func innocuous_$ac_func
36081 /* System header to define __stub macros and hopefully few prototypes,
36082 which can conflict with char $ac_func (); below.
36083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36084 <limits.h> exists even on freestanding compilers. */
36086 #ifdef __STDC__
36087 # include <limits.h>
36088 #else
36089 # include <assert.h>
36090 #endif
36092 #undef $ac_func
36094 /* Override any gcc2 internal prototype to avoid an error. */
36095 #ifdef __cplusplus
36096 extern "C"
36098 #endif
36099 /* We use char because int might match the return type of a gcc2
36100 builtin and then its argument prototype would still apply. */
36101 char $ac_func ();
36102 /* The GNU C library defines this for functions which it implements
36103 to always fail with ENOSYS. Some functions are actually named
36104 something starting with __ and the normal name is an alias. */
36105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36106 choke me
36107 #else
36108 char (*f) () = $ac_func;
36109 #endif
36110 #ifdef __cplusplus
36112 #endif
36115 main ()
36117 return f != $ac_func;
36119 return 0;
36121 _ACEOF
36122 rm -f conftest.$ac_objext conftest$ac_exeext
36123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36124 (eval $ac_link) 2>conftest.er1
36125 ac_status=$?
36126 grep -v '^ *+' conftest.er1 >conftest.err
36127 rm -f conftest.er1
36128 cat conftest.err >&5
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); } &&
36131 { ac_try='test -z "$ac_c_werror_flag"
36132 || test ! -s conftest.err'
36133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134 (eval $ac_try) 2>&5
36135 ac_status=$?
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; } &&
36138 { ac_try='test -s conftest$ac_exeext'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36141 ac_status=$?
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; }; then
36144 eval "$as_ac_var=yes"
36145 else
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36149 eval "$as_ac_var=no"
36151 rm -f conftest.err conftest.$ac_objext \
36152 conftest$ac_exeext conftest.$ac_ext
36154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36156 if test `eval echo '${'$as_ac_var'}'` = yes; then
36157 cat >>confdefs.h <<_ACEOF
36158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36159 _ACEOF
36162 done
36164 else
36166 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36167 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36168 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36169 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36170 echo $ECHO_N "(cached) $ECHO_C" >&6
36171 else
36175 ac_ext=cc
36176 ac_cpp='$CXXCPP $CPPFLAGS'
36177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36181 cat >conftest.$ac_ext <<_ACEOF
36182 /* confdefs.h. */
36183 _ACEOF
36184 cat confdefs.h >>conftest.$ac_ext
36185 cat >>conftest.$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36187 #include <math.h>
36189 main ()
36191 _atan2f(0, 0);
36193 return 0;
36195 _ACEOF
36196 rm -f conftest.$ac_objext
36197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36198 (eval $ac_compile) 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } &&
36205 { ac_try='test -z "$ac_cxx_werror_flag"
36206 || test ! -s conftest.err'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36209 ac_status=$?
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; } &&
36212 { ac_try='test -s conftest.$ac_objext'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36215 ac_status=$?
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; }; then
36218 glibcxx_cv_func__atan2f_use=yes
36219 else
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36223 glibcxx_cv_func__atan2f_use=no
36225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36226 ac_ext=c
36227 ac_cpp='$CPP $CPPFLAGS'
36228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36236 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36237 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36241 for ac_func in _atan2f
36243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36244 echo "$as_me:$LINENO: checking for $ac_func" >&5
36245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36246 if eval "test \"\${$as_ac_var+set}\" = set"; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36249 if test x$gcc_no_link = xyes; then
36250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36252 { (exit 1); exit 1; }; }
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h. */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36262 #define $ac_func innocuous_$ac_func
36264 /* System header to define __stub macros and hopefully few prototypes,
36265 which can conflict with char $ac_func (); below.
36266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36267 <limits.h> exists even on freestanding compilers. */
36269 #ifdef __STDC__
36270 # include <limits.h>
36271 #else
36272 # include <assert.h>
36273 #endif
36275 #undef $ac_func
36277 /* Override any gcc2 internal prototype to avoid an error. */
36278 #ifdef __cplusplus
36279 extern "C"
36281 #endif
36282 /* We use char because int might match the return type of a gcc2
36283 builtin and then its argument prototype would still apply. */
36284 char $ac_func ();
36285 /* The GNU C library defines this for functions which it implements
36286 to always fail with ENOSYS. Some functions are actually named
36287 something starting with __ and the normal name is an alias. */
36288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36289 choke me
36290 #else
36291 char (*f) () = $ac_func;
36292 #endif
36293 #ifdef __cplusplus
36295 #endif
36298 main ()
36300 return f != $ac_func;
36302 return 0;
36304 _ACEOF
36305 rm -f conftest.$ac_objext conftest$ac_exeext
36306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36307 (eval $ac_link) 2>conftest.er1
36308 ac_status=$?
36309 grep -v '^ *+' conftest.er1 >conftest.err
36310 rm -f conftest.er1
36311 cat conftest.err >&5
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); } &&
36314 { ac_try='test -z "$ac_c_werror_flag"
36315 || test ! -s conftest.err'
36316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36317 (eval $ac_try) 2>&5
36318 ac_status=$?
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); }; } &&
36321 { ac_try='test -s conftest$ac_exeext'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36324 ac_status=$?
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; }; then
36327 eval "$as_ac_var=yes"
36328 else
36329 echo "$as_me: failed program was:" >&5
36330 sed 's/^/| /' conftest.$ac_ext >&5
36332 eval "$as_ac_var=no"
36334 rm -f conftest.err conftest.$ac_objext \
36335 conftest$ac_exeext conftest.$ac_ext
36337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36339 if test `eval echo '${'$as_ac_var'}'` = yes; then
36340 cat >>confdefs.h <<_ACEOF
36341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36342 _ACEOF
36345 done
36352 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36353 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36354 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36355 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36356 echo $ECHO_N "(cached) $ECHO_C" >&6
36357 else
36361 ac_ext=cc
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367 cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h. */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 #include <math.h>
36374 #ifdef HAVE_IEEEFP_H
36375 #include <ieeefp.h>
36376 #endif
36379 main ()
36381 fabsf(0);
36383 return 0;
36385 _ACEOF
36386 rm -f conftest.$ac_objext
36387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36388 (eval $ac_compile) 2>conftest.er1
36389 ac_status=$?
36390 grep -v '^ *+' conftest.er1 >conftest.err
36391 rm -f conftest.er1
36392 cat conftest.err >&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); } &&
36395 { ac_try='test -z "$ac_cxx_werror_flag"
36396 || test ! -s conftest.err'
36397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398 (eval $ac_try) 2>&5
36399 ac_status=$?
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); }; } &&
36402 { ac_try='test -s conftest.$ac_objext'
36403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404 (eval $ac_try) 2>&5
36405 ac_status=$?
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); }; }; then
36408 glibcxx_cv_func_fabsf_use=yes
36409 else
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36413 glibcxx_cv_func_fabsf_use=no
36415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36416 ac_ext=c
36417 ac_cpp='$CPP $CPPFLAGS'
36418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36427 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36429 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36431 for ac_func in fabsf
36433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36434 echo "$as_me:$LINENO: checking for $ac_func" >&5
36435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36436 if eval "test \"\${$as_ac_var+set}\" = set"; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36439 if test x$gcc_no_link = xyes; then
36440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36442 { (exit 1); exit 1; }; }
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h. */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h. */
36450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36452 #define $ac_func innocuous_$ac_func
36454 /* System header to define __stub macros and hopefully few prototypes,
36455 which can conflict with char $ac_func (); below.
36456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36457 <limits.h> exists even on freestanding compilers. */
36459 #ifdef __STDC__
36460 # include <limits.h>
36461 #else
36462 # include <assert.h>
36463 #endif
36465 #undef $ac_func
36467 /* Override any gcc2 internal prototype to avoid an error. */
36468 #ifdef __cplusplus
36469 extern "C"
36471 #endif
36472 /* We use char because int might match the return type of a gcc2
36473 builtin and then its argument prototype would still apply. */
36474 char $ac_func ();
36475 /* The GNU C library defines this for functions which it implements
36476 to always fail with ENOSYS. Some functions are actually named
36477 something starting with __ and the normal name is an alias. */
36478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36479 choke me
36480 #else
36481 char (*f) () = $ac_func;
36482 #endif
36483 #ifdef __cplusplus
36485 #endif
36488 main ()
36490 return f != $ac_func;
36492 return 0;
36494 _ACEOF
36495 rm -f conftest.$ac_objext conftest$ac_exeext
36496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36497 (eval $ac_link) 2>conftest.er1
36498 ac_status=$?
36499 grep -v '^ *+' conftest.er1 >conftest.err
36500 rm -f conftest.er1
36501 cat conftest.err >&5
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); } &&
36504 { ac_try='test -z "$ac_c_werror_flag"
36505 || test ! -s conftest.err'
36506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 (eval $ac_try) 2>&5
36508 ac_status=$?
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); }; } &&
36511 { ac_try='test -s conftest$ac_exeext'
36512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513 (eval $ac_try) 2>&5
36514 ac_status=$?
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); }; }; then
36517 eval "$as_ac_var=yes"
36518 else
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36522 eval "$as_ac_var=no"
36524 rm -f conftest.err conftest.$ac_objext \
36525 conftest$ac_exeext conftest.$ac_ext
36527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36529 if test `eval echo '${'$as_ac_var'}'` = yes; then
36530 cat >>confdefs.h <<_ACEOF
36531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36535 done
36537 else
36539 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36540 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36541 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36542 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36548 ac_ext=cc
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36554 cat >conftest.$ac_ext <<_ACEOF
36555 /* confdefs.h. */
36556 _ACEOF
36557 cat confdefs.h >>conftest.$ac_ext
36558 cat >>conftest.$ac_ext <<_ACEOF
36559 /* end confdefs.h. */
36560 #include <math.h>
36561 #ifdef HAVE_IEEEFP_H
36562 #include <ieeefp.h>
36563 #endif
36566 main ()
36568 _fabsf(0);
36570 return 0;
36572 _ACEOF
36573 rm -f conftest.$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575 (eval $ac_compile) 2>conftest.er1
36576 ac_status=$?
36577 grep -v '^ *+' conftest.er1 >conftest.err
36578 rm -f conftest.er1
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } &&
36582 { ac_try='test -z "$ac_cxx_werror_flag"
36583 || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36586 ac_status=$?
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try='test -s conftest.$ac_objext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36592 ac_status=$?
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 glibcxx_cv_func__fabsf_use=yes
36596 else
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36600 glibcxx_cv_func__fabsf_use=no
36602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36603 ac_ext=c
36604 ac_cpp='$CPP $CPPFLAGS'
36605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36614 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36616 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36618 for ac_func in _fabsf
36620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36621 echo "$as_me:$LINENO: checking for $ac_func" >&5
36622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36623 if eval "test \"\${$as_ac_var+set}\" = set"; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626 if test x$gcc_no_link = xyes; then
36627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36629 { (exit 1); exit 1; }; }
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36639 #define $ac_func innocuous_$ac_func
36641 /* System header to define __stub macros and hopefully few prototypes,
36642 which can conflict with char $ac_func (); below.
36643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36644 <limits.h> exists even on freestanding compilers. */
36646 #ifdef __STDC__
36647 # include <limits.h>
36648 #else
36649 # include <assert.h>
36650 #endif
36652 #undef $ac_func
36654 /* Override any gcc2 internal prototype to avoid an error. */
36655 #ifdef __cplusplus
36656 extern "C"
36658 #endif
36659 /* We use char because int might match the return type of a gcc2
36660 builtin and then its argument prototype would still apply. */
36661 char $ac_func ();
36662 /* The GNU C library defines this for functions which it implements
36663 to always fail with ENOSYS. Some functions are actually named
36664 something starting with __ and the normal name is an alias. */
36665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36666 choke me
36667 #else
36668 char (*f) () = $ac_func;
36669 #endif
36670 #ifdef __cplusplus
36672 #endif
36675 main ()
36677 return f != $ac_func;
36679 return 0;
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36684 (eval $ac_link) 2>conftest.er1
36685 ac_status=$?
36686 grep -v '^ *+' conftest.er1 >conftest.err
36687 rm -f conftest.er1
36688 cat conftest.err >&5
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); } &&
36691 { ac_try='test -z "$ac_c_werror_flag"
36692 || test ! -s conftest.err'
36693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36694 (eval $ac_try) 2>&5
36695 ac_status=$?
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); }; } &&
36698 { ac_try='test -s conftest$ac_exeext'
36699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700 (eval $ac_try) 2>&5
36701 ac_status=$?
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); }; }; then
36704 eval "$as_ac_var=yes"
36705 else
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36709 eval "$as_ac_var=no"
36711 rm -f conftest.err conftest.$ac_objext \
36712 conftest$ac_exeext conftest.$ac_ext
36714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717 cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36719 _ACEOF
36722 done
36729 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36730 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36731 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36732 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36733 echo $ECHO_N "(cached) $ECHO_C" >&6
36734 else
36738 ac_ext=cc
36739 ac_cpp='$CXXCPP $CPPFLAGS'
36740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36744 cat >conftest.$ac_ext <<_ACEOF
36745 /* confdefs.h. */
36746 _ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36750 #include <math.h>
36752 main ()
36754 fmodf(0, 0);
36756 return 0;
36758 _ACEOF
36759 rm -f conftest.$ac_objext
36760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36761 (eval $ac_compile) 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } &&
36768 { ac_try='test -z "$ac_cxx_werror_flag"
36769 || test ! -s conftest.err'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36772 ac_status=$?
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; } &&
36775 { ac_try='test -s conftest.$ac_objext'
36776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777 (eval $ac_try) 2>&5
36778 ac_status=$?
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); }; }; then
36781 glibcxx_cv_func_fmodf_use=yes
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36786 glibcxx_cv_func_fmodf_use=no
36788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36789 ac_ext=c
36790 ac_cpp='$CPP $CPPFLAGS'
36791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36800 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36802 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36804 for ac_func in fmodf
36806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36807 echo "$as_me:$LINENO: checking for $ac_func" >&5
36808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36809 if eval "test \"\${$as_ac_var+set}\" = set"; then
36810 echo $ECHO_N "(cached) $ECHO_C" >&6
36811 else
36812 if test x$gcc_no_link = xyes; then
36813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36815 { (exit 1); exit 1; }; }
36817 cat >conftest.$ac_ext <<_ACEOF
36818 /* confdefs.h. */
36819 _ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36825 #define $ac_func innocuous_$ac_func
36827 /* System header to define __stub macros and hopefully few prototypes,
36828 which can conflict with char $ac_func (); below.
36829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830 <limits.h> exists even on freestanding compilers. */
36832 #ifdef __STDC__
36833 # include <limits.h>
36834 #else
36835 # include <assert.h>
36836 #endif
36838 #undef $ac_func
36840 /* Override any gcc2 internal prototype to avoid an error. */
36841 #ifdef __cplusplus
36842 extern "C"
36844 #endif
36845 /* We use char because int might match the return type of a gcc2
36846 builtin and then its argument prototype would still apply. */
36847 char $ac_func ();
36848 /* The GNU C library defines this for functions which it implements
36849 to always fail with ENOSYS. Some functions are actually named
36850 something starting with __ and the normal name is an alias. */
36851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36852 choke me
36853 #else
36854 char (*f) () = $ac_func;
36855 #endif
36856 #ifdef __cplusplus
36858 #endif
36861 main ()
36863 return f != $ac_func;
36865 return 0;
36867 _ACEOF
36868 rm -f conftest.$ac_objext conftest$ac_exeext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36870 (eval $ac_link) 2>conftest.er1
36871 ac_status=$?
36872 grep -v '^ *+' conftest.er1 >conftest.err
36873 rm -f conftest.er1
36874 cat conftest.err >&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); } &&
36877 { ac_try='test -z "$ac_c_werror_flag"
36878 || test ! -s conftest.err'
36879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36880 (eval $ac_try) 2>&5
36881 ac_status=$?
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); }; } &&
36884 { ac_try='test -s conftest$ac_exeext'
36885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36886 (eval $ac_try) 2>&5
36887 ac_status=$?
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); }; }; then
36890 eval "$as_ac_var=yes"
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 eval "$as_ac_var=no"
36897 rm -f conftest.err conftest.$ac_objext \
36898 conftest$ac_exeext conftest.$ac_ext
36900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36902 if test `eval echo '${'$as_ac_var'}'` = yes; then
36903 cat >>confdefs.h <<_ACEOF
36904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36905 _ACEOF
36908 done
36910 else
36912 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36913 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36914 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36915 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36917 else
36921 ac_ext=cc
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 #include <math.h>
36935 main ()
36937 _fmodf(0, 0);
36939 return 0;
36941 _ACEOF
36942 rm -f conftest.$ac_objext
36943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36944 (eval $ac_compile) 2>conftest.er1
36945 ac_status=$?
36946 grep -v '^ *+' conftest.er1 >conftest.err
36947 rm -f conftest.er1
36948 cat conftest.err >&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); } &&
36951 { ac_try='test -z "$ac_cxx_werror_flag"
36952 || test ! -s conftest.err'
36953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36954 (eval $ac_try) 2>&5
36955 ac_status=$?
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); }; } &&
36958 { ac_try='test -s conftest.$ac_objext'
36959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960 (eval $ac_try) 2>&5
36961 ac_status=$?
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; }; then
36964 glibcxx_cv_func__fmodf_use=yes
36965 else
36966 echo "$as_me: failed program was:" >&5
36967 sed 's/^/| /' conftest.$ac_ext >&5
36969 glibcxx_cv_func__fmodf_use=no
36971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36972 ac_ext=c
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36983 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36985 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36987 for ac_func in _fmodf
36989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36990 echo "$as_me:$LINENO: checking for $ac_func" >&5
36991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36992 if eval "test \"\${$as_ac_var+set}\" = set"; then
36993 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36995 if test x$gcc_no_link = xyes; then
36996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36998 { (exit 1); exit 1; }; }
37000 cat >conftest.$ac_ext <<_ACEOF
37001 /* confdefs.h. */
37002 _ACEOF
37003 cat confdefs.h >>conftest.$ac_ext
37004 cat >>conftest.$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37008 #define $ac_func innocuous_$ac_func
37010 /* System header to define __stub macros and hopefully few prototypes,
37011 which can conflict with char $ac_func (); below.
37012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37013 <limits.h> exists even on freestanding compilers. */
37015 #ifdef __STDC__
37016 # include <limits.h>
37017 #else
37018 # include <assert.h>
37019 #endif
37021 #undef $ac_func
37023 /* Override any gcc2 internal prototype to avoid an error. */
37024 #ifdef __cplusplus
37025 extern "C"
37027 #endif
37028 /* We use char because int might match the return type of a gcc2
37029 builtin and then its argument prototype would still apply. */
37030 char $ac_func ();
37031 /* The GNU C library defines this for functions which it implements
37032 to always fail with ENOSYS. Some functions are actually named
37033 something starting with __ and the normal name is an alias. */
37034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37035 choke me
37036 #else
37037 char (*f) () = $ac_func;
37038 #endif
37039 #ifdef __cplusplus
37041 #endif
37044 main ()
37046 return f != $ac_func;
37048 return 0;
37050 _ACEOF
37051 rm -f conftest.$ac_objext conftest$ac_exeext
37052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37053 (eval $ac_link) 2>conftest.er1
37054 ac_status=$?
37055 grep -v '^ *+' conftest.er1 >conftest.err
37056 rm -f conftest.er1
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } &&
37060 { ac_try='test -z "$ac_c_werror_flag"
37061 || test ! -s conftest.err'
37062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37063 (eval $ac_try) 2>&5
37064 ac_status=$?
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); }; } &&
37067 { ac_try='test -s conftest$ac_exeext'
37068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069 (eval $ac_try) 2>&5
37070 ac_status=$?
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; }; then
37073 eval "$as_ac_var=yes"
37074 else
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37078 eval "$as_ac_var=no"
37080 rm -f conftest.err conftest.$ac_objext \
37081 conftest$ac_exeext conftest.$ac_ext
37083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37085 if test `eval echo '${'$as_ac_var'}'` = yes; then
37086 cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37088 _ACEOF
37091 done
37098 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37099 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37100 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37101 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37102 echo $ECHO_N "(cached) $ECHO_C" >&6
37103 else
37107 ac_ext=cc
37108 ac_cpp='$CXXCPP $CPPFLAGS'
37109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37113 cat >conftest.$ac_ext <<_ACEOF
37114 /* confdefs.h. */
37115 _ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h. */
37119 #include <math.h>
37121 main ()
37123 frexpf(0, 0);
37125 return 0;
37127 _ACEOF
37128 rm -f conftest.$ac_objext
37129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37130 (eval $ac_compile) 2>conftest.er1
37131 ac_status=$?
37132 grep -v '^ *+' conftest.er1 >conftest.err
37133 rm -f conftest.er1
37134 cat conftest.err >&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } &&
37137 { ac_try='test -z "$ac_cxx_werror_flag"
37138 || test ! -s conftest.err'
37139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37140 (eval $ac_try) 2>&5
37141 ac_status=$?
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); }; } &&
37144 { ac_try='test -s conftest.$ac_objext'
37145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37146 (eval $ac_try) 2>&5
37147 ac_status=$?
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); }; }; then
37150 glibcxx_cv_func_frexpf_use=yes
37151 else
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.$ac_ext >&5
37155 glibcxx_cv_func_frexpf_use=no
37157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37158 ac_ext=c
37159 ac_cpp='$CPP $CPPFLAGS'
37160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37169 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37171 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37173 for ac_func in frexpf
37175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37176 echo "$as_me:$LINENO: checking for $ac_func" >&5
37177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37178 if eval "test \"\${$as_ac_var+set}\" = set"; then
37179 echo $ECHO_N "(cached) $ECHO_C" >&6
37180 else
37181 if test x$gcc_no_link = xyes; then
37182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37184 { (exit 1); exit 1; }; }
37186 cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h. */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37194 #define $ac_func innocuous_$ac_func
37196 /* System header to define __stub macros and hopefully few prototypes,
37197 which can conflict with char $ac_func (); below.
37198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37199 <limits.h> exists even on freestanding compilers. */
37201 #ifdef __STDC__
37202 # include <limits.h>
37203 #else
37204 # include <assert.h>
37205 #endif
37207 #undef $ac_func
37209 /* Override any gcc2 internal prototype to avoid an error. */
37210 #ifdef __cplusplus
37211 extern "C"
37213 #endif
37214 /* We use char because int might match the return type of a gcc2
37215 builtin and then its argument prototype would still apply. */
37216 char $ac_func ();
37217 /* The GNU C library defines this for functions which it implements
37218 to always fail with ENOSYS. Some functions are actually named
37219 something starting with __ and the normal name is an alias. */
37220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37221 choke me
37222 #else
37223 char (*f) () = $ac_func;
37224 #endif
37225 #ifdef __cplusplus
37227 #endif
37230 main ()
37232 return f != $ac_func;
37234 return 0;
37236 _ACEOF
37237 rm -f conftest.$ac_objext conftest$ac_exeext
37238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37239 (eval $ac_link) 2>conftest.er1
37240 ac_status=$?
37241 grep -v '^ *+' conftest.er1 >conftest.err
37242 rm -f conftest.er1
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); } &&
37246 { ac_try='test -z "$ac_c_werror_flag"
37247 || test ! -s conftest.err'
37248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37249 (eval $ac_try) 2>&5
37250 ac_status=$?
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; } &&
37253 { ac_try='test -s conftest$ac_exeext'
37254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37255 (eval $ac_try) 2>&5
37256 ac_status=$?
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); }; }; then
37259 eval "$as_ac_var=yes"
37260 else
37261 echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37264 eval "$as_ac_var=no"
37266 rm -f conftest.err conftest.$ac_objext \
37267 conftest$ac_exeext conftest.$ac_ext
37269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37271 if test `eval echo '${'$as_ac_var'}'` = yes; then
37272 cat >>confdefs.h <<_ACEOF
37273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37274 _ACEOF
37277 done
37279 else
37281 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37282 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37283 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37284 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37285 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 else
37290 ac_ext=cc
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296 cat >conftest.$ac_ext <<_ACEOF
37297 /* confdefs.h. */
37298 _ACEOF
37299 cat confdefs.h >>conftest.$ac_ext
37300 cat >>conftest.$ac_ext <<_ACEOF
37301 /* end confdefs.h. */
37302 #include <math.h>
37304 main ()
37306 _frexpf(0, 0);
37308 return 0;
37310 _ACEOF
37311 rm -f conftest.$ac_objext
37312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37313 (eval $ac_compile) 2>conftest.er1
37314 ac_status=$?
37315 grep -v '^ *+' conftest.er1 >conftest.err
37316 rm -f conftest.er1
37317 cat conftest.err >&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } &&
37320 { ac_try='test -z "$ac_cxx_werror_flag"
37321 || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37324 ac_status=$?
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try='test -s conftest.$ac_objext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37330 ac_status=$?
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 glibcxx_cv_func__frexpf_use=yes
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37338 glibcxx_cv_func__frexpf_use=no
37340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37341 ac_ext=c
37342 ac_cpp='$CPP $CPPFLAGS'
37343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37352 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37354 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37356 for ac_func in _frexpf
37358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37359 echo "$as_me:$LINENO: checking for $ac_func" >&5
37360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37361 if eval "test \"\${$as_ac_var+set}\" = set"; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364 if test x$gcc_no_link = xyes; then
37365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37367 { (exit 1); exit 1; }; }
37369 cat >conftest.$ac_ext <<_ACEOF
37370 /* confdefs.h. */
37371 _ACEOF
37372 cat confdefs.h >>conftest.$ac_ext
37373 cat >>conftest.$ac_ext <<_ACEOF
37374 /* end confdefs.h. */
37375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37377 #define $ac_func innocuous_$ac_func
37379 /* System header to define __stub macros and hopefully few prototypes,
37380 which can conflict with char $ac_func (); below.
37381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37382 <limits.h> exists even on freestanding compilers. */
37384 #ifdef __STDC__
37385 # include <limits.h>
37386 #else
37387 # include <assert.h>
37388 #endif
37390 #undef $ac_func
37392 /* Override any gcc2 internal prototype to avoid an error. */
37393 #ifdef __cplusplus
37394 extern "C"
37396 #endif
37397 /* We use char because int might match the return type of a gcc2
37398 builtin and then its argument prototype would still apply. */
37399 char $ac_func ();
37400 /* The GNU C library defines this for functions which it implements
37401 to always fail with ENOSYS. Some functions are actually named
37402 something starting with __ and the normal name is an alias. */
37403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37404 choke me
37405 #else
37406 char (*f) () = $ac_func;
37407 #endif
37408 #ifdef __cplusplus
37410 #endif
37413 main ()
37415 return f != $ac_func;
37417 return 0;
37419 _ACEOF
37420 rm -f conftest.$ac_objext conftest$ac_exeext
37421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37422 (eval $ac_link) 2>conftest.er1
37423 ac_status=$?
37424 grep -v '^ *+' conftest.er1 >conftest.err
37425 rm -f conftest.er1
37426 cat conftest.err >&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } &&
37429 { ac_try='test -z "$ac_c_werror_flag"
37430 || test ! -s conftest.err'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37433 ac_status=$?
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; } &&
37436 { ac_try='test -s conftest$ac_exeext'
37437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438 (eval $ac_try) 2>&5
37439 ac_status=$?
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); }; }; then
37442 eval "$as_ac_var=yes"
37443 else
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37447 eval "$as_ac_var=no"
37449 rm -f conftest.err conftest.$ac_objext \
37450 conftest$ac_exeext conftest.$ac_ext
37452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37454 if test `eval echo '${'$as_ac_var'}'` = yes; then
37455 cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37457 _ACEOF
37460 done
37467 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37468 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37469 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37470 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37471 echo $ECHO_N "(cached) $ECHO_C" >&6
37472 else
37476 ac_ext=cc
37477 ac_cpp='$CXXCPP $CPPFLAGS'
37478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37482 cat >conftest.$ac_ext <<_ACEOF
37483 /* confdefs.h. */
37484 _ACEOF
37485 cat confdefs.h >>conftest.$ac_ext
37486 cat >>conftest.$ac_ext <<_ACEOF
37487 /* end confdefs.h. */
37488 #include <math.h>
37490 main ()
37492 hypotf(0, 0);
37494 return 0;
37496 _ACEOF
37497 rm -f conftest.$ac_objext
37498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37499 (eval $ac_compile) 2>conftest.er1
37500 ac_status=$?
37501 grep -v '^ *+' conftest.er1 >conftest.err
37502 rm -f conftest.er1
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } &&
37506 { ac_try='test -z "$ac_cxx_werror_flag"
37507 || test ! -s conftest.err'
37508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509 (eval $ac_try) 2>&5
37510 ac_status=$?
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); }; } &&
37513 { ac_try='test -s conftest.$ac_objext'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37516 ac_status=$?
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; }; then
37519 glibcxx_cv_func_hypotf_use=yes
37520 else
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.$ac_ext >&5
37524 glibcxx_cv_func_hypotf_use=no
37526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37527 ac_ext=c
37528 ac_cpp='$CPP $CPPFLAGS'
37529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37538 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37540 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37542 for ac_func in hypotf
37544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37545 echo "$as_me:$LINENO: checking for $ac_func" >&5
37546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37547 if eval "test \"\${$as_ac_var+set}\" = set"; then
37548 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 else
37550 if test x$gcc_no_link = xyes; then
37551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37553 { (exit 1); exit 1; }; }
37555 cat >conftest.$ac_ext <<_ACEOF
37556 /* confdefs.h. */
37557 _ACEOF
37558 cat confdefs.h >>conftest.$ac_ext
37559 cat >>conftest.$ac_ext <<_ACEOF
37560 /* end confdefs.h. */
37561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37563 #define $ac_func innocuous_$ac_func
37565 /* System header to define __stub macros and hopefully few prototypes,
37566 which can conflict with char $ac_func (); below.
37567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37568 <limits.h> exists even on freestanding compilers. */
37570 #ifdef __STDC__
37571 # include <limits.h>
37572 #else
37573 # include <assert.h>
37574 #endif
37576 #undef $ac_func
37578 /* Override any gcc2 internal prototype to avoid an error. */
37579 #ifdef __cplusplus
37580 extern "C"
37582 #endif
37583 /* We use char because int might match the return type of a gcc2
37584 builtin and then its argument prototype would still apply. */
37585 char $ac_func ();
37586 /* The GNU C library defines this for functions which it implements
37587 to always fail with ENOSYS. Some functions are actually named
37588 something starting with __ and the normal name is an alias. */
37589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37590 choke me
37591 #else
37592 char (*f) () = $ac_func;
37593 #endif
37594 #ifdef __cplusplus
37596 #endif
37599 main ()
37601 return f != $ac_func;
37603 return 0;
37605 _ACEOF
37606 rm -f conftest.$ac_objext conftest$ac_exeext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37608 (eval $ac_link) 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } &&
37615 { ac_try='test -z "$ac_c_werror_flag"
37616 || test ! -s conftest.err'
37617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37618 (eval $ac_try) 2>&5
37619 ac_status=$?
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); }; } &&
37622 { ac_try='test -s conftest$ac_exeext'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37625 ac_status=$?
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; }; then
37628 eval "$as_ac_var=yes"
37629 else
37630 echo "$as_me: failed program was:" >&5
37631 sed 's/^/| /' conftest.$ac_ext >&5
37633 eval "$as_ac_var=no"
37635 rm -f conftest.err conftest.$ac_objext \
37636 conftest$ac_exeext conftest.$ac_ext
37638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37640 if test `eval echo '${'$as_ac_var'}'` = yes; then
37641 cat >>confdefs.h <<_ACEOF
37642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37643 _ACEOF
37646 done
37648 else
37650 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37651 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37652 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37653 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37654 echo $ECHO_N "(cached) $ECHO_C" >&6
37655 else
37659 ac_ext=cc
37660 ac_cpp='$CXXCPP $CPPFLAGS'
37661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665 cat >conftest.$ac_ext <<_ACEOF
37666 /* confdefs.h. */
37667 _ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37671 #include <math.h>
37673 main ()
37675 _hypotf(0, 0);
37677 return 0;
37679 _ACEOF
37680 rm -f conftest.$ac_objext
37681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37682 (eval $ac_compile) 2>conftest.er1
37683 ac_status=$?
37684 grep -v '^ *+' conftest.er1 >conftest.err
37685 rm -f conftest.er1
37686 cat conftest.err >&5
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); } &&
37689 { ac_try='test -z "$ac_cxx_werror_flag"
37690 || test ! -s conftest.err'
37691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692 (eval $ac_try) 2>&5
37693 ac_status=$?
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); }; } &&
37696 { ac_try='test -s conftest.$ac_objext'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37699 ac_status=$?
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; }; then
37702 glibcxx_cv_func__hypotf_use=yes
37703 else
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37707 glibcxx_cv_func__hypotf_use=no
37709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37710 ac_ext=c
37711 ac_cpp='$CPP $CPPFLAGS'
37712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37721 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37723 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37725 for ac_func in _hypotf
37727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37728 echo "$as_me:$LINENO: checking for $ac_func" >&5
37729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37730 if eval "test \"\${$as_ac_var+set}\" = set"; then
37731 echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733 if test x$gcc_no_link = xyes; then
37734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37736 { (exit 1); exit 1; }; }
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h. */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37753 #ifdef __STDC__
37754 # include <limits.h>
37755 #else
37756 # include <assert.h>
37757 #endif
37759 #undef $ac_func
37761 /* Override any gcc2 internal prototype to avoid an error. */
37762 #ifdef __cplusplus
37763 extern "C"
37765 #endif
37766 /* We use char because int might match the return type of a gcc2
37767 builtin and then its argument prototype would still apply. */
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37773 choke me
37774 #else
37775 char (*f) () = $ac_func;
37776 #endif
37777 #ifdef __cplusplus
37779 #endif
37782 main ()
37784 return f != $ac_func;
37786 return 0;
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37791 (eval $ac_link) 2>conftest.er1
37792 ac_status=$?
37793 grep -v '^ *+' conftest.er1 >conftest.err
37794 rm -f conftest.er1
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } &&
37798 { ac_try='test -z "$ac_c_werror_flag"
37799 || test ! -s conftest.err'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37802 ac_status=$?
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; } &&
37805 { ac_try='test -s conftest$ac_exeext'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37808 ac_status=$?
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; }; then
37811 eval "$as_ac_var=yes"
37812 else
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37816 eval "$as_ac_var=no"
37818 rm -f conftest.err conftest.$ac_objext \
37819 conftest$ac_exeext conftest.$ac_ext
37821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37823 if test `eval echo '${'$as_ac_var'}'` = yes; then
37824 cat >>confdefs.h <<_ACEOF
37825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37826 _ACEOF
37829 done
37836 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37837 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37838 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37839 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 else
37845 ac_ext=cc
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851 cat >conftest.$ac_ext <<_ACEOF
37852 /* confdefs.h. */
37853 _ACEOF
37854 cat confdefs.h >>conftest.$ac_ext
37855 cat >>conftest.$ac_ext <<_ACEOF
37856 /* end confdefs.h. */
37857 #include <math.h>
37859 main ()
37861 ldexpf(0, 0);
37863 return 0;
37865 _ACEOF
37866 rm -f conftest.$ac_objext
37867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37868 (eval $ac_compile) 2>conftest.er1
37869 ac_status=$?
37870 grep -v '^ *+' conftest.er1 >conftest.err
37871 rm -f conftest.er1
37872 cat conftest.err >&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } &&
37875 { ac_try='test -z "$ac_cxx_werror_flag"
37876 || test ! -s conftest.err'
37877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37878 (eval $ac_try) 2>&5
37879 ac_status=$?
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); }; } &&
37882 { ac_try='test -s conftest.$ac_objext'
37883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37884 (eval $ac_try) 2>&5
37885 ac_status=$?
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); }; }; then
37888 glibcxx_cv_func_ldexpf_use=yes
37889 else
37890 echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37893 glibcxx_cv_func_ldexpf_use=no
37895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37896 ac_ext=c
37897 ac_cpp='$CPP $CPPFLAGS'
37898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37907 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37909 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37911 for ac_func in ldexpf
37913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37914 echo "$as_me:$LINENO: checking for $ac_func" >&5
37915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37916 if eval "test \"\${$as_ac_var+set}\" = set"; then
37917 echo $ECHO_N "(cached) $ECHO_C" >&6
37918 else
37919 if test x$gcc_no_link = xyes; then
37920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37922 { (exit 1); exit 1; }; }
37924 cat >conftest.$ac_ext <<_ACEOF
37925 /* confdefs.h. */
37926 _ACEOF
37927 cat confdefs.h >>conftest.$ac_ext
37928 cat >>conftest.$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37932 #define $ac_func innocuous_$ac_func
37934 /* System header to define __stub macros and hopefully few prototypes,
37935 which can conflict with char $ac_func (); below.
37936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37937 <limits.h> exists even on freestanding compilers. */
37939 #ifdef __STDC__
37940 # include <limits.h>
37941 #else
37942 # include <assert.h>
37943 #endif
37945 #undef $ac_func
37947 /* Override any gcc2 internal prototype to avoid an error. */
37948 #ifdef __cplusplus
37949 extern "C"
37951 #endif
37952 /* We use char because int might match the return type of a gcc2
37953 builtin and then its argument prototype would still apply. */
37954 char $ac_func ();
37955 /* The GNU C library defines this for functions which it implements
37956 to always fail with ENOSYS. Some functions are actually named
37957 something starting with __ and the normal name is an alias. */
37958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37959 choke me
37960 #else
37961 char (*f) () = $ac_func;
37962 #endif
37963 #ifdef __cplusplus
37965 #endif
37968 main ()
37970 return f != $ac_func;
37972 return 0;
37974 _ACEOF
37975 rm -f conftest.$ac_objext conftest$ac_exeext
37976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37977 (eval $ac_link) 2>conftest.er1
37978 ac_status=$?
37979 grep -v '^ *+' conftest.er1 >conftest.err
37980 rm -f conftest.er1
37981 cat conftest.err >&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); } &&
37984 { ac_try='test -z "$ac_c_werror_flag"
37985 || test ! -s conftest.err'
37986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987 (eval $ac_try) 2>&5
37988 ac_status=$?
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); }; } &&
37991 { ac_try='test -s conftest$ac_exeext'
37992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993 (eval $ac_try) 2>&5
37994 ac_status=$?
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); }; }; then
37997 eval "$as_ac_var=yes"
37998 else
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38002 eval "$as_ac_var=no"
38004 rm -f conftest.err conftest.$ac_objext \
38005 conftest$ac_exeext conftest.$ac_ext
38007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38009 if test `eval echo '${'$as_ac_var'}'` = yes; then
38010 cat >>confdefs.h <<_ACEOF
38011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38012 _ACEOF
38015 done
38017 else
38019 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38020 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38021 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38022 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38028 ac_ext=cc
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 #include <math.h>
38042 main ()
38044 _ldexpf(0, 0);
38046 return 0;
38048 _ACEOF
38049 rm -f conftest.$ac_objext
38050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38051 (eval $ac_compile) 2>conftest.er1
38052 ac_status=$?
38053 grep -v '^ *+' conftest.er1 >conftest.err
38054 rm -f conftest.er1
38055 cat conftest.err >&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } &&
38058 { ac_try='test -z "$ac_cxx_werror_flag"
38059 || test ! -s conftest.err'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38062 ac_status=$?
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; } &&
38065 { ac_try='test -s conftest.$ac_objext'
38066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067 (eval $ac_try) 2>&5
38068 ac_status=$?
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; }; then
38071 glibcxx_cv_func__ldexpf_use=yes
38072 else
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38076 glibcxx_cv_func__ldexpf_use=no
38078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38079 ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38090 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38092 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38094 for ac_func in _ldexpf
38096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38097 echo "$as_me:$LINENO: checking for $ac_func" >&5
38098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38099 if eval "test \"\${$as_ac_var+set}\" = set"; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38101 else
38102 if test x$gcc_no_link = xyes; then
38103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38105 { (exit 1); exit 1; }; }
38107 cat >conftest.$ac_ext <<_ACEOF
38108 /* confdefs.h. */
38109 _ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38115 #define $ac_func innocuous_$ac_func
38117 /* System header to define __stub macros and hopefully few prototypes,
38118 which can conflict with char $ac_func (); below.
38119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38120 <limits.h> exists even on freestanding compilers. */
38122 #ifdef __STDC__
38123 # include <limits.h>
38124 #else
38125 # include <assert.h>
38126 #endif
38128 #undef $ac_func
38130 /* Override any gcc2 internal prototype to avoid an error. */
38131 #ifdef __cplusplus
38132 extern "C"
38134 #endif
38135 /* We use char because int might match the return type of a gcc2
38136 builtin and then its argument prototype would still apply. */
38137 char $ac_func ();
38138 /* The GNU C library defines this for functions which it implements
38139 to always fail with ENOSYS. Some functions are actually named
38140 something starting with __ and the normal name is an alias. */
38141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38142 choke me
38143 #else
38144 char (*f) () = $ac_func;
38145 #endif
38146 #ifdef __cplusplus
38148 #endif
38151 main ()
38153 return f != $ac_func;
38155 return 0;
38157 _ACEOF
38158 rm -f conftest.$ac_objext conftest$ac_exeext
38159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38160 (eval $ac_link) 2>conftest.er1
38161 ac_status=$?
38162 grep -v '^ *+' conftest.er1 >conftest.err
38163 rm -f conftest.er1
38164 cat conftest.err >&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); } &&
38167 { ac_try='test -z "$ac_c_werror_flag"
38168 || test ! -s conftest.err'
38169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38170 (eval $ac_try) 2>&5
38171 ac_status=$?
38172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38173 (exit $ac_status); }; } &&
38174 { ac_try='test -s conftest$ac_exeext'
38175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38176 (eval $ac_try) 2>&5
38177 ac_status=$?
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); }; }; then
38180 eval "$as_ac_var=yes"
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38185 eval "$as_ac_var=no"
38187 rm -f conftest.err conftest.$ac_objext \
38188 conftest$ac_exeext conftest.$ac_ext
38190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38192 if test `eval echo '${'$as_ac_var'}'` = yes; then
38193 cat >>confdefs.h <<_ACEOF
38194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38195 _ACEOF
38198 done
38205 echo "$as_me:$LINENO: checking for logf declaration" >&5
38206 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38207 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38208 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 else
38214 ac_ext=cc
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220 cat >conftest.$ac_ext <<_ACEOF
38221 /* confdefs.h. */
38222 _ACEOF
38223 cat confdefs.h >>conftest.$ac_ext
38224 cat >>conftest.$ac_ext <<_ACEOF
38225 /* end confdefs.h. */
38226 #include <math.h>
38227 #ifdef HAVE_IEEEFP_H
38228 #include <ieeefp.h>
38229 #endif
38232 main ()
38234 logf(0);
38236 return 0;
38238 _ACEOF
38239 rm -f conftest.$ac_objext
38240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38241 (eval $ac_compile) 2>conftest.er1
38242 ac_status=$?
38243 grep -v '^ *+' conftest.er1 >conftest.err
38244 rm -f conftest.er1
38245 cat conftest.err >&5
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); } &&
38248 { ac_try='test -z "$ac_cxx_werror_flag"
38249 || test ! -s conftest.err'
38250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38251 (eval $ac_try) 2>&5
38252 ac_status=$?
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); }; } &&
38255 { ac_try='test -s conftest.$ac_objext'
38256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38257 (eval $ac_try) 2>&5
38258 ac_status=$?
38259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260 (exit $ac_status); }; }; then
38261 glibcxx_cv_func_logf_use=yes
38262 else
38263 echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.$ac_ext >&5
38266 glibcxx_cv_func_logf_use=no
38268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38269 ac_ext=c
38270 ac_cpp='$CPP $CPPFLAGS'
38271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38280 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38282 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38284 for ac_func in logf
38286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38289 if eval "test \"\${$as_ac_var+set}\" = set"; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38291 else
38292 if test x$gcc_no_link = xyes; then
38293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38295 { (exit 1); exit 1; }; }
38297 cat >conftest.$ac_ext <<_ACEOF
38298 /* confdefs.h. */
38299 _ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38305 #define $ac_func innocuous_$ac_func
38307 /* System header to define __stub macros and hopefully few prototypes,
38308 which can conflict with char $ac_func (); below.
38309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38310 <limits.h> exists even on freestanding compilers. */
38312 #ifdef __STDC__
38313 # include <limits.h>
38314 #else
38315 # include <assert.h>
38316 #endif
38318 #undef $ac_func
38320 /* Override any gcc2 internal prototype to avoid an error. */
38321 #ifdef __cplusplus
38322 extern "C"
38324 #endif
38325 /* We use char because int might match the return type of a gcc2
38326 builtin and then its argument prototype would still apply. */
38327 char $ac_func ();
38328 /* The GNU C library defines this for functions which it implements
38329 to always fail with ENOSYS. Some functions are actually named
38330 something starting with __ and the normal name is an alias. */
38331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38332 choke me
38333 #else
38334 char (*f) () = $ac_func;
38335 #endif
38336 #ifdef __cplusplus
38338 #endif
38341 main ()
38343 return f != $ac_func;
38345 return 0;
38347 _ACEOF
38348 rm -f conftest.$ac_objext conftest$ac_exeext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38350 (eval $ac_link) 2>conftest.er1
38351 ac_status=$?
38352 grep -v '^ *+' conftest.er1 >conftest.err
38353 rm -f conftest.er1
38354 cat conftest.err >&5
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); } &&
38357 { ac_try='test -z "$ac_c_werror_flag"
38358 || test ! -s conftest.err'
38359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360 (eval $ac_try) 2>&5
38361 ac_status=$?
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); }; } &&
38364 { ac_try='test -s conftest$ac_exeext'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38367 ac_status=$?
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; }; then
38370 eval "$as_ac_var=yes"
38371 else
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38375 eval "$as_ac_var=no"
38377 rm -f conftest.err conftest.$ac_objext \
38378 conftest$ac_exeext conftest.$ac_ext
38380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38382 if test `eval echo '${'$as_ac_var'}'` = yes; then
38383 cat >>confdefs.h <<_ACEOF
38384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38385 _ACEOF
38388 done
38390 else
38392 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38393 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38394 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38395 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 else
38401 ac_ext=cc
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38407 cat >conftest.$ac_ext <<_ACEOF
38408 /* confdefs.h. */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 #include <math.h>
38414 #ifdef HAVE_IEEEFP_H
38415 #include <ieeefp.h>
38416 #endif
38419 main ()
38421 _logf(0);
38423 return 0;
38425 _ACEOF
38426 rm -f conftest.$ac_objext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38428 (eval $ac_compile) 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try='test -z "$ac_cxx_werror_flag"
38436 || test ! -s conftest.err'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38439 ac_status=$?
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; } &&
38442 { ac_try='test -s conftest.$ac_objext'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; }; then
38448 glibcxx_cv_func__logf_use=yes
38449 else
38450 echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.$ac_ext >&5
38453 glibcxx_cv_func__logf_use=no
38455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38456 ac_ext=c
38457 ac_cpp='$CPP $CPPFLAGS'
38458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38467 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38471 for ac_func in _logf
38473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38474 echo "$as_me:$LINENO: checking for $ac_func" >&5
38475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38476 if eval "test \"\${$as_ac_var+set}\" = set"; then
38477 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 else
38479 if test x$gcc_no_link = xyes; then
38480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38482 { (exit 1); exit 1; }; }
38484 cat >conftest.$ac_ext <<_ACEOF
38485 /* confdefs.h. */
38486 _ACEOF
38487 cat confdefs.h >>conftest.$ac_ext
38488 cat >>conftest.$ac_ext <<_ACEOF
38489 /* end confdefs.h. */
38490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38492 #define $ac_func innocuous_$ac_func
38494 /* System header to define __stub macros and hopefully few prototypes,
38495 which can conflict with char $ac_func (); below.
38496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38497 <limits.h> exists even on freestanding compilers. */
38499 #ifdef __STDC__
38500 # include <limits.h>
38501 #else
38502 # include <assert.h>
38503 #endif
38505 #undef $ac_func
38507 /* Override any gcc2 internal prototype to avoid an error. */
38508 #ifdef __cplusplus
38509 extern "C"
38511 #endif
38512 /* We use char because int might match the return type of a gcc2
38513 builtin and then its argument prototype would still apply. */
38514 char $ac_func ();
38515 /* The GNU C library defines this for functions which it implements
38516 to always fail with ENOSYS. Some functions are actually named
38517 something starting with __ and the normal name is an alias. */
38518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38519 choke me
38520 #else
38521 char (*f) () = $ac_func;
38522 #endif
38523 #ifdef __cplusplus
38525 #endif
38528 main ()
38530 return f != $ac_func;
38532 return 0;
38534 _ACEOF
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38537 (eval $ac_link) 2>conftest.er1
38538 ac_status=$?
38539 grep -v '^ *+' conftest.er1 >conftest.err
38540 rm -f conftest.er1
38541 cat conftest.err >&5
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); } &&
38544 { ac_try='test -z "$ac_c_werror_flag"
38545 || test ! -s conftest.err'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38548 ac_status=$?
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; } &&
38551 { ac_try='test -s conftest$ac_exeext'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38554 ac_status=$?
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; }; then
38557 eval "$as_ac_var=yes"
38558 else
38559 echo "$as_me: failed program was:" >&5
38560 sed 's/^/| /' conftest.$ac_ext >&5
38562 eval "$as_ac_var=no"
38564 rm -f conftest.err conftest.$ac_objext \
38565 conftest$ac_exeext conftest.$ac_ext
38567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38569 if test `eval echo '${'$as_ac_var'}'` = yes; then
38570 cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38572 _ACEOF
38575 done
38582 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38583 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38584 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38585 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38587 else
38591 ac_ext=cc
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38597 cat >conftest.$ac_ext <<_ACEOF
38598 /* confdefs.h. */
38599 _ACEOF
38600 cat confdefs.h >>conftest.$ac_ext
38601 cat >>conftest.$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38603 #include <math.h>
38604 #ifdef HAVE_IEEEFP_H
38605 #include <ieeefp.h>
38606 #endif
38609 main ()
38611 log10f(0);
38613 return 0;
38615 _ACEOF
38616 rm -f conftest.$ac_objext
38617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38618 (eval $ac_compile) 2>conftest.er1
38619 ac_status=$?
38620 grep -v '^ *+' conftest.er1 >conftest.err
38621 rm -f conftest.er1
38622 cat conftest.err >&5
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); } &&
38625 { ac_try='test -z "$ac_cxx_werror_flag"
38626 || test ! -s conftest.err'
38627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628 (eval $ac_try) 2>&5
38629 ac_status=$?
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); }; } &&
38632 { ac_try='test -s conftest.$ac_objext'
38633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38634 (eval $ac_try) 2>&5
38635 ac_status=$?
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); }; }; then
38638 glibcxx_cv_func_log10f_use=yes
38639 else
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38643 glibcxx_cv_func_log10f_use=no
38645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38646 ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38657 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38659 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38661 for ac_func in log10f
38663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38664 echo "$as_me:$LINENO: checking for $ac_func" >&5
38665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38666 if eval "test \"\${$as_ac_var+set}\" = set"; then
38667 echo $ECHO_N "(cached) $ECHO_C" >&6
38668 else
38669 if test x$gcc_no_link = xyes; then
38670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38672 { (exit 1); exit 1; }; }
38674 cat >conftest.$ac_ext <<_ACEOF
38675 /* confdefs.h. */
38676 _ACEOF
38677 cat confdefs.h >>conftest.$ac_ext
38678 cat >>conftest.$ac_ext <<_ACEOF
38679 /* end confdefs.h. */
38680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38682 #define $ac_func innocuous_$ac_func
38684 /* System header to define __stub macros and hopefully few prototypes,
38685 which can conflict with char $ac_func (); below.
38686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38687 <limits.h> exists even on freestanding compilers. */
38689 #ifdef __STDC__
38690 # include <limits.h>
38691 #else
38692 # include <assert.h>
38693 #endif
38695 #undef $ac_func
38697 /* Override any gcc2 internal prototype to avoid an error. */
38698 #ifdef __cplusplus
38699 extern "C"
38701 #endif
38702 /* We use char because int might match the return type of a gcc2
38703 builtin and then its argument prototype would still apply. */
38704 char $ac_func ();
38705 /* The GNU C library defines this for functions which it implements
38706 to always fail with ENOSYS. Some functions are actually named
38707 something starting with __ and the normal name is an alias. */
38708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38709 choke me
38710 #else
38711 char (*f) () = $ac_func;
38712 #endif
38713 #ifdef __cplusplus
38715 #endif
38718 main ()
38720 return f != $ac_func;
38722 return 0;
38724 _ACEOF
38725 rm -f conftest.$ac_objext conftest$ac_exeext
38726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38727 (eval $ac_link) 2>conftest.er1
38728 ac_status=$?
38729 grep -v '^ *+' conftest.er1 >conftest.err
38730 rm -f conftest.er1
38731 cat conftest.err >&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } &&
38734 { ac_try='test -z "$ac_c_werror_flag"
38735 || test ! -s conftest.err'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38738 ac_status=$?
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; } &&
38741 { ac_try='test -s conftest$ac_exeext'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38744 ac_status=$?
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; }; then
38747 eval "$as_ac_var=yes"
38748 else
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38752 eval "$as_ac_var=no"
38754 rm -f conftest.err conftest.$ac_objext \
38755 conftest$ac_exeext conftest.$ac_ext
38757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38759 if test `eval echo '${'$as_ac_var'}'` = yes; then
38760 cat >>confdefs.h <<_ACEOF
38761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38762 _ACEOF
38765 done
38767 else
38769 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38770 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38771 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38772 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38773 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38778 ac_ext=cc
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 #include <math.h>
38791 #ifdef HAVE_IEEEFP_H
38792 #include <ieeefp.h>
38793 #endif
38796 main ()
38798 _log10f(0);
38800 return 0;
38802 _ACEOF
38803 rm -f conftest.$ac_objext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38805 (eval $ac_compile) 2>conftest.er1
38806 ac_status=$?
38807 grep -v '^ *+' conftest.er1 >conftest.err
38808 rm -f conftest.er1
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } &&
38812 { ac_try='test -z "$ac_cxx_werror_flag"
38813 || test ! -s conftest.err'
38814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815 (eval $ac_try) 2>&5
38816 ac_status=$?
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); }; } &&
38819 { ac_try='test -s conftest.$ac_objext'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38822 ac_status=$?
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; }; then
38825 glibcxx_cv_func__log10f_use=yes
38826 else
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38830 glibcxx_cv_func__log10f_use=no
38832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38833 ac_ext=c
38834 ac_cpp='$CPP $CPPFLAGS'
38835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38844 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38846 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38848 for ac_func in _log10f
38850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38851 echo "$as_me:$LINENO: checking for $ac_func" >&5
38852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38853 if eval "test \"\${$as_ac_var+set}\" = set"; then
38854 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 else
38856 if test x$gcc_no_link = xyes; then
38857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38859 { (exit 1); exit 1; }; }
38861 cat >conftest.$ac_ext <<_ACEOF
38862 /* confdefs.h. */
38863 _ACEOF
38864 cat confdefs.h >>conftest.$ac_ext
38865 cat >>conftest.$ac_ext <<_ACEOF
38866 /* end confdefs.h. */
38867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38869 #define $ac_func innocuous_$ac_func
38871 /* System header to define __stub macros and hopefully few prototypes,
38872 which can conflict with char $ac_func (); below.
38873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38874 <limits.h> exists even on freestanding compilers. */
38876 #ifdef __STDC__
38877 # include <limits.h>
38878 #else
38879 # include <assert.h>
38880 #endif
38882 #undef $ac_func
38884 /* Override any gcc2 internal prototype to avoid an error. */
38885 #ifdef __cplusplus
38886 extern "C"
38888 #endif
38889 /* We use char because int might match the return type of a gcc2
38890 builtin and then its argument prototype would still apply. */
38891 char $ac_func ();
38892 /* The GNU C library defines this for functions which it implements
38893 to always fail with ENOSYS. Some functions are actually named
38894 something starting with __ and the normal name is an alias. */
38895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38896 choke me
38897 #else
38898 char (*f) () = $ac_func;
38899 #endif
38900 #ifdef __cplusplus
38902 #endif
38905 main ()
38907 return f != $ac_func;
38909 return 0;
38911 _ACEOF
38912 rm -f conftest.$ac_objext conftest$ac_exeext
38913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38914 (eval $ac_link) 2>conftest.er1
38915 ac_status=$?
38916 grep -v '^ *+' conftest.er1 >conftest.err
38917 rm -f conftest.er1
38918 cat conftest.err >&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); } &&
38921 { ac_try='test -z "$ac_c_werror_flag"
38922 || test ! -s conftest.err'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38925 ac_status=$?
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; } &&
38928 { ac_try='test -s conftest$ac_exeext'
38929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38930 (eval $ac_try) 2>&5
38931 ac_status=$?
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); }; }; then
38934 eval "$as_ac_var=yes"
38935 else
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38939 eval "$as_ac_var=no"
38941 rm -f conftest.err conftest.$ac_objext \
38942 conftest$ac_exeext conftest.$ac_ext
38944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38946 if test `eval echo '${'$as_ac_var'}'` = yes; then
38947 cat >>confdefs.h <<_ACEOF
38948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38949 _ACEOF
38952 done
38959 echo "$as_me:$LINENO: checking for modff declaration" >&5
38960 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38961 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38962 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38963 echo $ECHO_N "(cached) $ECHO_C" >&6
38964 else
38968 ac_ext=cc
38969 ac_cpp='$CXXCPP $CPPFLAGS'
38970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38974 cat >conftest.$ac_ext <<_ACEOF
38975 /* confdefs.h. */
38976 _ACEOF
38977 cat confdefs.h >>conftest.$ac_ext
38978 cat >>conftest.$ac_ext <<_ACEOF
38979 /* end confdefs.h. */
38980 #include <math.h>
38982 main ()
38984 modff(0, 0);
38986 return 0;
38988 _ACEOF
38989 rm -f conftest.$ac_objext
38990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38991 (eval $ac_compile) 2>conftest.er1
38992 ac_status=$?
38993 grep -v '^ *+' conftest.er1 >conftest.err
38994 rm -f conftest.er1
38995 cat conftest.err >&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); } &&
38998 { ac_try='test -z "$ac_cxx_werror_flag"
38999 || test ! -s conftest.err'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39002 ac_status=$?
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; } &&
39005 { ac_try='test -s conftest.$ac_objext'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39008 ac_status=$?
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; }; then
39011 glibcxx_cv_func_modff_use=yes
39012 else
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.$ac_ext >&5
39016 glibcxx_cv_func_modff_use=no
39018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39019 ac_ext=c
39020 ac_cpp='$CPP $CPPFLAGS'
39021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39030 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39032 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39034 for ac_func in modff
39036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39039 if eval "test \"\${$as_ac_var+set}\" = set"; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042 if test x$gcc_no_link = xyes; then
39043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39045 { (exit 1); exit 1; }; }
39047 cat >conftest.$ac_ext <<_ACEOF
39048 /* confdefs.h. */
39049 _ACEOF
39050 cat confdefs.h >>conftest.$ac_ext
39051 cat >>conftest.$ac_ext <<_ACEOF
39052 /* end confdefs.h. */
39053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39055 #define $ac_func innocuous_$ac_func
39057 /* System header to define __stub macros and hopefully few prototypes,
39058 which can conflict with char $ac_func (); below.
39059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39060 <limits.h> exists even on freestanding compilers. */
39062 #ifdef __STDC__
39063 # include <limits.h>
39064 #else
39065 # include <assert.h>
39066 #endif
39068 #undef $ac_func
39070 /* Override any gcc2 internal prototype to avoid an error. */
39071 #ifdef __cplusplus
39072 extern "C"
39074 #endif
39075 /* We use char because int might match the return type of a gcc2
39076 builtin and then its argument prototype would still apply. */
39077 char $ac_func ();
39078 /* The GNU C library defines this for functions which it implements
39079 to always fail with ENOSYS. Some functions are actually named
39080 something starting with __ and the normal name is an alias. */
39081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39082 choke me
39083 #else
39084 char (*f) () = $ac_func;
39085 #endif
39086 #ifdef __cplusplus
39088 #endif
39091 main ()
39093 return f != $ac_func;
39095 return 0;
39097 _ACEOF
39098 rm -f conftest.$ac_objext conftest$ac_exeext
39099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39100 (eval $ac_link) 2>conftest.er1
39101 ac_status=$?
39102 grep -v '^ *+' conftest.er1 >conftest.err
39103 rm -f conftest.er1
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } &&
39107 { ac_try='test -z "$ac_c_werror_flag"
39108 || test ! -s conftest.err'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39111 ac_status=$?
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; } &&
39114 { ac_try='test -s conftest$ac_exeext'
39115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116 (eval $ac_try) 2>&5
39117 ac_status=$?
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); }; }; then
39120 eval "$as_ac_var=yes"
39121 else
39122 echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.$ac_ext >&5
39125 eval "$as_ac_var=no"
39127 rm -f conftest.err conftest.$ac_objext \
39128 conftest$ac_exeext conftest.$ac_ext
39130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39132 if test `eval echo '${'$as_ac_var'}'` = yes; then
39133 cat >>confdefs.h <<_ACEOF
39134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39135 _ACEOF
39138 done
39140 else
39142 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39143 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39144 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39145 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39151 ac_ext=cc
39152 ac_cpp='$CXXCPP $CPPFLAGS'
39153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 #include <math.h>
39165 main ()
39167 _modff(0, 0);
39169 return 0;
39171 _ACEOF
39172 rm -f conftest.$ac_objext
39173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39174 (eval $ac_compile) 2>conftest.er1
39175 ac_status=$?
39176 grep -v '^ *+' conftest.er1 >conftest.err
39177 rm -f conftest.er1
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } &&
39181 { ac_try='test -z "$ac_cxx_werror_flag"
39182 || test ! -s conftest.err'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39185 ac_status=$?
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; } &&
39188 { ac_try='test -s conftest.$ac_objext'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39191 ac_status=$?
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; }; then
39194 glibcxx_cv_func__modff_use=yes
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39199 glibcxx_cv_func__modff_use=no
39201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39202 ac_ext=c
39203 ac_cpp='$CPP $CPPFLAGS'
39204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39213 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39215 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39217 for ac_func in _modff
39219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39220 echo "$as_me:$LINENO: checking for $ac_func" >&5
39221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39222 if eval "test \"\${$as_ac_var+set}\" = set"; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225 if test x$gcc_no_link = xyes; then
39226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39228 { (exit 1); exit 1; }; }
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39238 #define $ac_func innocuous_$ac_func
39240 /* System header to define __stub macros and hopefully few prototypes,
39241 which can conflict with char $ac_func (); below.
39242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39243 <limits.h> exists even on freestanding compilers. */
39245 #ifdef __STDC__
39246 # include <limits.h>
39247 #else
39248 # include <assert.h>
39249 #endif
39251 #undef $ac_func
39253 /* Override any gcc2 internal prototype to avoid an error. */
39254 #ifdef __cplusplus
39255 extern "C"
39257 #endif
39258 /* We use char because int might match the return type of a gcc2
39259 builtin and then its argument prototype would still apply. */
39260 char $ac_func ();
39261 /* The GNU C library defines this for functions which it implements
39262 to always fail with ENOSYS. Some functions are actually named
39263 something starting with __ and the normal name is an alias. */
39264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39265 choke me
39266 #else
39267 char (*f) () = $ac_func;
39268 #endif
39269 #ifdef __cplusplus
39271 #endif
39274 main ()
39276 return f != $ac_func;
39278 return 0;
39280 _ACEOF
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39283 (eval $ac_link) 2>conftest.er1
39284 ac_status=$?
39285 grep -v '^ *+' conftest.er1 >conftest.err
39286 rm -f conftest.er1
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } &&
39290 { ac_try='test -z "$ac_c_werror_flag"
39291 || test ! -s conftest.err'
39292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39293 (eval $ac_try) 2>&5
39294 ac_status=$?
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); }; } &&
39297 { ac_try='test -s conftest$ac_exeext'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39300 ac_status=$?
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; }; then
39303 eval "$as_ac_var=yes"
39304 else
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39308 eval "$as_ac_var=no"
39310 rm -f conftest.err conftest.$ac_objext \
39311 conftest$ac_exeext conftest.$ac_ext
39313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39315 if test `eval echo '${'$as_ac_var'}'` = yes; then
39316 cat >>confdefs.h <<_ACEOF
39317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39318 _ACEOF
39321 done
39328 echo "$as_me:$LINENO: checking for powf declaration" >&5
39329 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39330 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39331 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 else
39337 ac_ext=cc
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 #include <math.h>
39351 main ()
39353 powf(0, 0);
39355 return 0;
39357 _ACEOF
39358 rm -f conftest.$ac_objext
39359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39360 (eval $ac_compile) 2>conftest.er1
39361 ac_status=$?
39362 grep -v '^ *+' conftest.er1 >conftest.err
39363 rm -f conftest.er1
39364 cat conftest.err >&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } &&
39367 { ac_try='test -z "$ac_cxx_werror_flag"
39368 || test ! -s conftest.err'
39369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370 (eval $ac_try) 2>&5
39371 ac_status=$?
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); }; } &&
39374 { ac_try='test -s conftest.$ac_objext'
39375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39376 (eval $ac_try) 2>&5
39377 ac_status=$?
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); }; }; then
39380 glibcxx_cv_func_powf_use=yes
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39385 glibcxx_cv_func_powf_use=no
39387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39388 ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39399 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39401 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39403 for ac_func in powf
39405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39406 echo "$as_me:$LINENO: checking for $ac_func" >&5
39407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39408 if eval "test \"\${$as_ac_var+set}\" = set"; then
39409 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 else
39411 if test x$gcc_no_link = xyes; then
39412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39414 { (exit 1); exit 1; }; }
39416 cat >conftest.$ac_ext <<_ACEOF
39417 /* confdefs.h. */
39418 _ACEOF
39419 cat confdefs.h >>conftest.$ac_ext
39420 cat >>conftest.$ac_ext <<_ACEOF
39421 /* end confdefs.h. */
39422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39424 #define $ac_func innocuous_$ac_func
39426 /* System header to define __stub macros and hopefully few prototypes,
39427 which can conflict with char $ac_func (); below.
39428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39429 <limits.h> exists even on freestanding compilers. */
39431 #ifdef __STDC__
39432 # include <limits.h>
39433 #else
39434 # include <assert.h>
39435 #endif
39437 #undef $ac_func
39439 /* Override any gcc2 internal prototype to avoid an error. */
39440 #ifdef __cplusplus
39441 extern "C"
39443 #endif
39444 /* We use char because int might match the return type of a gcc2
39445 builtin and then its argument prototype would still apply. */
39446 char $ac_func ();
39447 /* The GNU C library defines this for functions which it implements
39448 to always fail with ENOSYS. Some functions are actually named
39449 something starting with __ and the normal name is an alias. */
39450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39451 choke me
39452 #else
39453 char (*f) () = $ac_func;
39454 #endif
39455 #ifdef __cplusplus
39457 #endif
39460 main ()
39462 return f != $ac_func;
39464 return 0;
39466 _ACEOF
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39469 (eval $ac_link) 2>conftest.er1
39470 ac_status=$?
39471 grep -v '^ *+' conftest.er1 >conftest.err
39472 rm -f conftest.er1
39473 cat conftest.err >&5
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); } &&
39476 { ac_try='test -z "$ac_c_werror_flag"
39477 || test ! -s conftest.err'
39478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479 (eval $ac_try) 2>&5
39480 ac_status=$?
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); }; } &&
39483 { ac_try='test -s conftest$ac_exeext'
39484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39485 (eval $ac_try) 2>&5
39486 ac_status=$?
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); }; }; then
39489 eval "$as_ac_var=yes"
39490 else
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.$ac_ext >&5
39494 eval "$as_ac_var=no"
39496 rm -f conftest.err conftest.$ac_objext \
39497 conftest$ac_exeext conftest.$ac_ext
39499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39501 if test `eval echo '${'$as_ac_var'}'` = yes; then
39502 cat >>confdefs.h <<_ACEOF
39503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39504 _ACEOF
39507 done
39509 else
39511 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39512 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39513 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39514 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39515 echo $ECHO_N "(cached) $ECHO_C" >&6
39516 else
39520 ac_ext=cc
39521 ac_cpp='$CXXCPP $CPPFLAGS'
39522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526 cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h. */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 #include <math.h>
39534 main ()
39536 _powf(0, 0);
39538 return 0;
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39543 (eval $ac_compile) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_cxx_werror_flag"
39551 || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest.$ac_objext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 glibcxx_cv_func__powf_use=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39568 glibcxx_cv_func__powf_use=no
39570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39571 ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39582 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39584 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39586 for ac_func in _powf
39588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39589 echo "$as_me:$LINENO: checking for $ac_func" >&5
39590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39591 if eval "test \"\${$as_ac_var+set}\" = set"; then
39592 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 else
39594 if test x$gcc_no_link = xyes; then
39595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39597 { (exit 1); exit 1; }; }
39599 cat >conftest.$ac_ext <<_ACEOF
39600 /* confdefs.h. */
39601 _ACEOF
39602 cat confdefs.h >>conftest.$ac_ext
39603 cat >>conftest.$ac_ext <<_ACEOF
39604 /* end confdefs.h. */
39605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39607 #define $ac_func innocuous_$ac_func
39609 /* System header to define __stub macros and hopefully few prototypes,
39610 which can conflict with char $ac_func (); below.
39611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612 <limits.h> exists even on freestanding compilers. */
39614 #ifdef __STDC__
39615 # include <limits.h>
39616 #else
39617 # include <assert.h>
39618 #endif
39620 #undef $ac_func
39622 /* Override any gcc2 internal prototype to avoid an error. */
39623 #ifdef __cplusplus
39624 extern "C"
39626 #endif
39627 /* We use char because int might match the return type of a gcc2
39628 builtin and then its argument prototype would still apply. */
39629 char $ac_func ();
39630 /* The GNU C library defines this for functions which it implements
39631 to always fail with ENOSYS. Some functions are actually named
39632 something starting with __ and the normal name is an alias. */
39633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39634 choke me
39635 #else
39636 char (*f) () = $ac_func;
39637 #endif
39638 #ifdef __cplusplus
39640 #endif
39643 main ()
39645 return f != $ac_func;
39647 return 0;
39649 _ACEOF
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39652 (eval $ac_link) 2>conftest.er1
39653 ac_status=$?
39654 grep -v '^ *+' conftest.er1 >conftest.err
39655 rm -f conftest.er1
39656 cat conftest.err >&5
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); } &&
39659 { ac_try='test -z "$ac_c_werror_flag"
39660 || test ! -s conftest.err'
39661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662 (eval $ac_try) 2>&5
39663 ac_status=$?
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); }; } &&
39666 { ac_try='test -s conftest$ac_exeext'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39669 ac_status=$?
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; }; then
39672 eval "$as_ac_var=yes"
39673 else
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39677 eval "$as_ac_var=no"
39679 rm -f conftest.err conftest.$ac_objext \
39680 conftest$ac_exeext conftest.$ac_ext
39682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39684 if test `eval echo '${'$as_ac_var'}'` = yes; then
39685 cat >>confdefs.h <<_ACEOF
39686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39687 _ACEOF
39690 done
39697 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39698 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39699 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39700 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39706 ac_ext=cc
39707 ac_cpp='$CXXCPP $CPPFLAGS'
39708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718 #include <math.h>
39719 #ifdef HAVE_IEEEFP_H
39720 #include <ieeefp.h>
39721 #endif
39724 main ()
39726 sqrtf(0);
39728 return 0;
39730 _ACEOF
39731 rm -f conftest.$ac_objext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39733 (eval $ac_compile) 2>conftest.er1
39734 ac_status=$?
39735 grep -v '^ *+' conftest.er1 >conftest.err
39736 rm -f conftest.er1
39737 cat conftest.err >&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } &&
39740 { ac_try='test -z "$ac_cxx_werror_flag"
39741 || test ! -s conftest.err'
39742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39743 (eval $ac_try) 2>&5
39744 ac_status=$?
39745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39746 (exit $ac_status); }; } &&
39747 { ac_try='test -s conftest.$ac_objext'
39748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749 (eval $ac_try) 2>&5
39750 ac_status=$?
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); }; }; then
39753 glibcxx_cv_func_sqrtf_use=yes
39754 else
39755 echo "$as_me: failed program was:" >&5
39756 sed 's/^/| /' conftest.$ac_ext >&5
39758 glibcxx_cv_func_sqrtf_use=no
39760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39761 ac_ext=c
39762 ac_cpp='$CPP $CPPFLAGS'
39763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39772 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39774 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39776 for ac_func in sqrtf
39778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39779 echo "$as_me:$LINENO: checking for $ac_func" >&5
39780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39781 if eval "test \"\${$as_ac_var+set}\" = set"; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 else
39784 if test x$gcc_no_link = xyes; then
39785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39787 { (exit 1); exit 1; }; }
39789 cat >conftest.$ac_ext <<_ACEOF
39790 /* confdefs.h. */
39791 _ACEOF
39792 cat confdefs.h >>conftest.$ac_ext
39793 cat >>conftest.$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39797 #define $ac_func innocuous_$ac_func
39799 /* System header to define __stub macros and hopefully few prototypes,
39800 which can conflict with char $ac_func (); below.
39801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39802 <limits.h> exists even on freestanding compilers. */
39804 #ifdef __STDC__
39805 # include <limits.h>
39806 #else
39807 # include <assert.h>
39808 #endif
39810 #undef $ac_func
39812 /* Override any gcc2 internal prototype to avoid an error. */
39813 #ifdef __cplusplus
39814 extern "C"
39816 #endif
39817 /* We use char because int might match the return type of a gcc2
39818 builtin and then its argument prototype would still apply. */
39819 char $ac_func ();
39820 /* The GNU C library defines this for functions which it implements
39821 to always fail with ENOSYS. Some functions are actually named
39822 something starting with __ and the normal name is an alias. */
39823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39824 choke me
39825 #else
39826 char (*f) () = $ac_func;
39827 #endif
39828 #ifdef __cplusplus
39830 #endif
39833 main ()
39835 return f != $ac_func;
39837 return 0;
39839 _ACEOF
39840 rm -f conftest.$ac_objext conftest$ac_exeext
39841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39842 (eval $ac_link) 2>conftest.er1
39843 ac_status=$?
39844 grep -v '^ *+' conftest.er1 >conftest.err
39845 rm -f conftest.er1
39846 cat conftest.err >&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); } &&
39849 { ac_try='test -z "$ac_c_werror_flag"
39850 || test ! -s conftest.err'
39851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39852 (eval $ac_try) 2>&5
39853 ac_status=$?
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); }; } &&
39856 { ac_try='test -s conftest$ac_exeext'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39859 ac_status=$?
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; }; then
39862 eval "$as_ac_var=yes"
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39867 eval "$as_ac_var=no"
39869 rm -f conftest.err conftest.$ac_objext \
39870 conftest$ac_exeext conftest.$ac_ext
39872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39874 if test `eval echo '${'$as_ac_var'}'` = yes; then
39875 cat >>confdefs.h <<_ACEOF
39876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39877 _ACEOF
39880 done
39882 else
39884 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39885 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39886 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39887 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39888 echo $ECHO_N "(cached) $ECHO_C" >&6
39889 else
39893 ac_ext=cc
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899 cat >conftest.$ac_ext <<_ACEOF
39900 /* confdefs.h. */
39901 _ACEOF
39902 cat confdefs.h >>conftest.$ac_ext
39903 cat >>conftest.$ac_ext <<_ACEOF
39904 /* end confdefs.h. */
39905 #include <math.h>
39906 #ifdef HAVE_IEEEFP_H
39907 #include <ieeefp.h>
39908 #endif
39911 main ()
39913 _sqrtf(0);
39915 return 0;
39917 _ACEOF
39918 rm -f conftest.$ac_objext
39919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39920 (eval $ac_compile) 2>conftest.er1
39921 ac_status=$?
39922 grep -v '^ *+' conftest.er1 >conftest.err
39923 rm -f conftest.er1
39924 cat conftest.err >&5
39925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926 (exit $ac_status); } &&
39927 { ac_try='test -z "$ac_cxx_werror_flag"
39928 || test ! -s conftest.err'
39929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39930 (eval $ac_try) 2>&5
39931 ac_status=$?
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); }; } &&
39934 { ac_try='test -s conftest.$ac_objext'
39935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936 (eval $ac_try) 2>&5
39937 ac_status=$?
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); }; }; then
39940 glibcxx_cv_func__sqrtf_use=yes
39941 else
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39945 glibcxx_cv_func__sqrtf_use=no
39947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39948 ac_ext=c
39949 ac_cpp='$CPP $CPPFLAGS'
39950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39959 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39961 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39963 for ac_func in _sqrtf
39965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39966 echo "$as_me:$LINENO: checking for $ac_func" >&5
39967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39968 if eval "test \"\${$as_ac_var+set}\" = set"; then
39969 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 else
39971 if test x$gcc_no_link = xyes; then
39972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39974 { (exit 1); exit 1; }; }
39976 cat >conftest.$ac_ext <<_ACEOF
39977 /* confdefs.h. */
39978 _ACEOF
39979 cat confdefs.h >>conftest.$ac_ext
39980 cat >>conftest.$ac_ext <<_ACEOF
39981 /* end confdefs.h. */
39982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39984 #define $ac_func innocuous_$ac_func
39986 /* System header to define __stub macros and hopefully few prototypes,
39987 which can conflict with char $ac_func (); below.
39988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39989 <limits.h> exists even on freestanding compilers. */
39991 #ifdef __STDC__
39992 # include <limits.h>
39993 #else
39994 # include <assert.h>
39995 #endif
39997 #undef $ac_func
39999 /* Override any gcc2 internal prototype to avoid an error. */
40000 #ifdef __cplusplus
40001 extern "C"
40003 #endif
40004 /* We use char because int might match the return type of a gcc2
40005 builtin and then its argument prototype would still apply. */
40006 char $ac_func ();
40007 /* The GNU C library defines this for functions which it implements
40008 to always fail with ENOSYS. Some functions are actually named
40009 something starting with __ and the normal name is an alias. */
40010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40011 choke me
40012 #else
40013 char (*f) () = $ac_func;
40014 #endif
40015 #ifdef __cplusplus
40017 #endif
40020 main ()
40022 return f != $ac_func;
40024 return 0;
40026 _ACEOF
40027 rm -f conftest.$ac_objext conftest$ac_exeext
40028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40029 (eval $ac_link) 2>conftest.er1
40030 ac_status=$?
40031 grep -v '^ *+' conftest.er1 >conftest.err
40032 rm -f conftest.er1
40033 cat conftest.err >&5
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); } &&
40036 { ac_try='test -z "$ac_c_werror_flag"
40037 || test ! -s conftest.err'
40038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039 (eval $ac_try) 2>&5
40040 ac_status=$?
40041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042 (exit $ac_status); }; } &&
40043 { ac_try='test -s conftest$ac_exeext'
40044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40045 (eval $ac_try) 2>&5
40046 ac_status=$?
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); }; }; then
40049 eval "$as_ac_var=yes"
40050 else
40051 echo "$as_me: failed program was:" >&5
40052 sed 's/^/| /' conftest.$ac_ext >&5
40054 eval "$as_ac_var=no"
40056 rm -f conftest.err conftest.$ac_objext \
40057 conftest$ac_exeext conftest.$ac_ext
40059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40061 if test `eval echo '${'$as_ac_var'}'` = yes; then
40062 cat >>confdefs.h <<_ACEOF
40063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40064 _ACEOF
40067 done
40074 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40075 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40076 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40077 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40078 echo $ECHO_N "(cached) $ECHO_C" >&6
40079 else
40083 ac_ext=cc
40084 ac_cpp='$CXXCPP $CPPFLAGS'
40085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40089 cat >conftest.$ac_ext <<_ACEOF
40090 /* confdefs.h. */
40091 _ACEOF
40092 cat confdefs.h >>conftest.$ac_ext
40093 cat >>conftest.$ac_ext <<_ACEOF
40094 /* end confdefs.h. */
40095 #include <math.h>
40097 main ()
40099 sincosf(0, 0, 0);
40101 return 0;
40103 _ACEOF
40104 rm -f conftest.$ac_objext
40105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40106 (eval $ac_compile) 2>conftest.er1
40107 ac_status=$?
40108 grep -v '^ *+' conftest.er1 >conftest.err
40109 rm -f conftest.er1
40110 cat conftest.err >&5
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); } &&
40113 { ac_try='test -z "$ac_cxx_werror_flag"
40114 || test ! -s conftest.err'
40115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40116 (eval $ac_try) 2>&5
40117 ac_status=$?
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); }; } &&
40120 { ac_try='test -s conftest.$ac_objext'
40121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122 (eval $ac_try) 2>&5
40123 ac_status=$?
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); }; }; then
40126 glibcxx_cv_func_sincosf_use=yes
40127 else
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.$ac_ext >&5
40131 glibcxx_cv_func_sincosf_use=no
40133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40134 ac_ext=c
40135 ac_cpp='$CPP $CPPFLAGS'
40136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40145 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40149 for ac_func in sincosf
40151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40152 echo "$as_me:$LINENO: checking for $ac_func" >&5
40153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40154 if eval "test \"\${$as_ac_var+set}\" = set"; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40157 if test x$gcc_no_link = xyes; then
40158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40160 { (exit 1); exit 1; }; }
40162 cat >conftest.$ac_ext <<_ACEOF
40163 /* confdefs.h. */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40170 #define $ac_func innocuous_$ac_func
40172 /* System header to define __stub macros and hopefully few prototypes,
40173 which can conflict with char $ac_func (); below.
40174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40175 <limits.h> exists even on freestanding compilers. */
40177 #ifdef __STDC__
40178 # include <limits.h>
40179 #else
40180 # include <assert.h>
40181 #endif
40183 #undef $ac_func
40185 /* Override any gcc2 internal prototype to avoid an error. */
40186 #ifdef __cplusplus
40187 extern "C"
40189 #endif
40190 /* We use char because int might match the return type of a gcc2
40191 builtin and then its argument prototype would still apply. */
40192 char $ac_func ();
40193 /* The GNU C library defines this for functions which it implements
40194 to always fail with ENOSYS. Some functions are actually named
40195 something starting with __ and the normal name is an alias. */
40196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40197 choke me
40198 #else
40199 char (*f) () = $ac_func;
40200 #endif
40201 #ifdef __cplusplus
40203 #endif
40206 main ()
40208 return f != $ac_func;
40210 return 0;
40212 _ACEOF
40213 rm -f conftest.$ac_objext conftest$ac_exeext
40214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40215 (eval $ac_link) 2>conftest.er1
40216 ac_status=$?
40217 grep -v '^ *+' conftest.er1 >conftest.err
40218 rm -f conftest.er1
40219 cat conftest.err >&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); } &&
40222 { ac_try='test -z "$ac_c_werror_flag"
40223 || test ! -s conftest.err'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40226 ac_status=$?
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; } &&
40229 { ac_try='test -s conftest$ac_exeext'
40230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40231 (eval $ac_try) 2>&5
40232 ac_status=$?
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); }; }; then
40235 eval "$as_ac_var=yes"
40236 else
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40240 eval "$as_ac_var=no"
40242 rm -f conftest.err conftest.$ac_objext \
40243 conftest$ac_exeext conftest.$ac_ext
40245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40247 if test `eval echo '${'$as_ac_var'}'` = yes; then
40248 cat >>confdefs.h <<_ACEOF
40249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40250 _ACEOF
40253 done
40255 else
40257 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40258 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40259 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40260 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40266 ac_ext=cc
40267 ac_cpp='$CXXCPP $CPPFLAGS'
40268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40272 cat >conftest.$ac_ext <<_ACEOF
40273 /* confdefs.h. */
40274 _ACEOF
40275 cat confdefs.h >>conftest.$ac_ext
40276 cat >>conftest.$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40278 #include <math.h>
40280 main ()
40282 _sincosf(0, 0, 0);
40284 return 0;
40286 _ACEOF
40287 rm -f conftest.$ac_objext
40288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40289 (eval $ac_compile) 2>conftest.er1
40290 ac_status=$?
40291 grep -v '^ *+' conftest.er1 >conftest.err
40292 rm -f conftest.er1
40293 cat conftest.err >&5
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); } &&
40296 { ac_try='test -z "$ac_cxx_werror_flag"
40297 || test ! -s conftest.err'
40298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40299 (eval $ac_try) 2>&5
40300 ac_status=$?
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); }; } &&
40303 { ac_try='test -s conftest.$ac_objext'
40304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40305 (eval $ac_try) 2>&5
40306 ac_status=$?
40307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308 (exit $ac_status); }; }; then
40309 glibcxx_cv_func__sincosf_use=yes
40310 else
40311 echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40314 glibcxx_cv_func__sincosf_use=no
40316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40317 ac_ext=c
40318 ac_cpp='$CPP $CPPFLAGS'
40319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40328 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40330 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40332 for ac_func in _sincosf
40334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40335 echo "$as_me:$LINENO: checking for $ac_func" >&5
40336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40337 if eval "test \"\${$as_ac_var+set}\" = set"; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40339 else
40340 if test x$gcc_no_link = xyes; then
40341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40343 { (exit 1); exit 1; }; }
40345 cat >conftest.$ac_ext <<_ACEOF
40346 /* confdefs.h. */
40347 _ACEOF
40348 cat confdefs.h >>conftest.$ac_ext
40349 cat >>conftest.$ac_ext <<_ACEOF
40350 /* end confdefs.h. */
40351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40353 #define $ac_func innocuous_$ac_func
40355 /* System header to define __stub macros and hopefully few prototypes,
40356 which can conflict with char $ac_func (); below.
40357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40358 <limits.h> exists even on freestanding compilers. */
40360 #ifdef __STDC__
40361 # include <limits.h>
40362 #else
40363 # include <assert.h>
40364 #endif
40366 #undef $ac_func
40368 /* Override any gcc2 internal prototype to avoid an error. */
40369 #ifdef __cplusplus
40370 extern "C"
40372 #endif
40373 /* We use char because int might match the return type of a gcc2
40374 builtin and then its argument prototype would still apply. */
40375 char $ac_func ();
40376 /* The GNU C library defines this for functions which it implements
40377 to always fail with ENOSYS. Some functions are actually named
40378 something starting with __ and the normal name is an alias. */
40379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40380 choke me
40381 #else
40382 char (*f) () = $ac_func;
40383 #endif
40384 #ifdef __cplusplus
40386 #endif
40389 main ()
40391 return f != $ac_func;
40393 return 0;
40395 _ACEOF
40396 rm -f conftest.$ac_objext conftest$ac_exeext
40397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40398 (eval $ac_link) 2>conftest.er1
40399 ac_status=$?
40400 grep -v '^ *+' conftest.er1 >conftest.err
40401 rm -f conftest.er1
40402 cat conftest.err >&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); } &&
40405 { ac_try='test -z "$ac_c_werror_flag"
40406 || test ! -s conftest.err'
40407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408 (eval $ac_try) 2>&5
40409 ac_status=$?
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); }; } &&
40412 { ac_try='test -s conftest$ac_exeext'
40413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40414 (eval $ac_try) 2>&5
40415 ac_status=$?
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); }; }; then
40418 eval "$as_ac_var=yes"
40419 else
40420 echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.$ac_ext >&5
40423 eval "$as_ac_var=no"
40425 rm -f conftest.err conftest.$ac_objext \
40426 conftest$ac_exeext conftest.$ac_ext
40428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40430 if test `eval echo '${'$as_ac_var'}'` = yes; then
40431 cat >>confdefs.h <<_ACEOF
40432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40433 _ACEOF
40436 done
40443 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40444 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40445 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40446 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40447 echo $ECHO_N "(cached) $ECHO_C" >&6
40448 else
40452 ac_ext=cc
40453 ac_cpp='$CXXCPP $CPPFLAGS'
40454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40458 cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h. */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40464 #include <math.h>
40465 #ifdef HAVE_IEEEFP_H
40466 #include <ieeefp.h>
40467 #endif
40470 main ()
40472 finitef(0);
40474 return 0;
40476 _ACEOF
40477 rm -f conftest.$ac_objext
40478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40479 (eval $ac_compile) 2>conftest.er1
40480 ac_status=$?
40481 grep -v '^ *+' conftest.er1 >conftest.err
40482 rm -f conftest.er1
40483 cat conftest.err >&5
40484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485 (exit $ac_status); } &&
40486 { ac_try='test -z "$ac_cxx_werror_flag"
40487 || test ! -s conftest.err'
40488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40489 (eval $ac_try) 2>&5
40490 ac_status=$?
40491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492 (exit $ac_status); }; } &&
40493 { ac_try='test -s conftest.$ac_objext'
40494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495 (eval $ac_try) 2>&5
40496 ac_status=$?
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); }; }; then
40499 glibcxx_cv_func_finitef_use=yes
40500 else
40501 echo "$as_me: failed program was:" >&5
40502 sed 's/^/| /' conftest.$ac_ext >&5
40504 glibcxx_cv_func_finitef_use=no
40506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40507 ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40518 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40520 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40522 for ac_func in finitef
40524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40525 echo "$as_me:$LINENO: checking for $ac_func" >&5
40526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40527 if eval "test \"\${$as_ac_var+set}\" = set"; then
40528 echo $ECHO_N "(cached) $ECHO_C" >&6
40529 else
40530 if test x$gcc_no_link = xyes; then
40531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40533 { (exit 1); exit 1; }; }
40535 cat >conftest.$ac_ext <<_ACEOF
40536 /* confdefs.h. */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h. */
40541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40543 #define $ac_func innocuous_$ac_func
40545 /* System header to define __stub macros and hopefully few prototypes,
40546 which can conflict with char $ac_func (); below.
40547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40548 <limits.h> exists even on freestanding compilers. */
40550 #ifdef __STDC__
40551 # include <limits.h>
40552 #else
40553 # include <assert.h>
40554 #endif
40556 #undef $ac_func
40558 /* Override any gcc2 internal prototype to avoid an error. */
40559 #ifdef __cplusplus
40560 extern "C"
40562 #endif
40563 /* We use char because int might match the return type of a gcc2
40564 builtin and then its argument prototype would still apply. */
40565 char $ac_func ();
40566 /* The GNU C library defines this for functions which it implements
40567 to always fail with ENOSYS. Some functions are actually named
40568 something starting with __ and the normal name is an alias. */
40569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40570 choke me
40571 #else
40572 char (*f) () = $ac_func;
40573 #endif
40574 #ifdef __cplusplus
40576 #endif
40579 main ()
40581 return f != $ac_func;
40583 return 0;
40585 _ACEOF
40586 rm -f conftest.$ac_objext conftest$ac_exeext
40587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40588 (eval $ac_link) 2>conftest.er1
40589 ac_status=$?
40590 grep -v '^ *+' conftest.er1 >conftest.err
40591 rm -f conftest.er1
40592 cat conftest.err >&5
40593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40594 (exit $ac_status); } &&
40595 { ac_try='test -z "$ac_c_werror_flag"
40596 || test ! -s conftest.err'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40599 ac_status=$?
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; } &&
40602 { ac_try='test -s conftest$ac_exeext'
40603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40604 (eval $ac_try) 2>&5
40605 ac_status=$?
40606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40607 (exit $ac_status); }; }; then
40608 eval "$as_ac_var=yes"
40609 else
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40613 eval "$as_ac_var=no"
40615 rm -f conftest.err conftest.$ac_objext \
40616 conftest$ac_exeext conftest.$ac_ext
40618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40620 if test `eval echo '${'$as_ac_var'}'` = yes; then
40621 cat >>confdefs.h <<_ACEOF
40622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40623 _ACEOF
40626 done
40628 else
40630 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40631 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40632 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40633 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40635 else
40639 ac_ext=cc
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645 cat >conftest.$ac_ext <<_ACEOF
40646 /* confdefs.h. */
40647 _ACEOF
40648 cat confdefs.h >>conftest.$ac_ext
40649 cat >>conftest.$ac_ext <<_ACEOF
40650 /* end confdefs.h. */
40651 #include <math.h>
40652 #ifdef HAVE_IEEEFP_H
40653 #include <ieeefp.h>
40654 #endif
40657 main ()
40659 _finitef(0);
40661 return 0;
40663 _ACEOF
40664 rm -f conftest.$ac_objext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40666 (eval $ac_compile) 2>conftest.er1
40667 ac_status=$?
40668 grep -v '^ *+' conftest.er1 >conftest.err
40669 rm -f conftest.er1
40670 cat conftest.err >&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); } &&
40673 { ac_try='test -z "$ac_cxx_werror_flag"
40674 || test ! -s conftest.err'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40677 ac_status=$?
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; } &&
40680 { ac_try='test -s conftest.$ac_objext'
40681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40682 (eval $ac_try) 2>&5
40683 ac_status=$?
40684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40685 (exit $ac_status); }; }; then
40686 glibcxx_cv_func__finitef_use=yes
40687 else
40688 echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40691 glibcxx_cv_func__finitef_use=no
40693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40694 ac_ext=c
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40705 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40707 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40709 for ac_func in _finitef
40711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40712 echo "$as_me:$LINENO: checking for $ac_func" >&5
40713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40714 if eval "test \"\${$as_ac_var+set}\" = set"; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717 if test x$gcc_no_link = xyes; then
40718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40720 { (exit 1); exit 1; }; }
40722 cat >conftest.$ac_ext <<_ACEOF
40723 /* confdefs.h. */
40724 _ACEOF
40725 cat confdefs.h >>conftest.$ac_ext
40726 cat >>conftest.$ac_ext <<_ACEOF
40727 /* end confdefs.h. */
40728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40730 #define $ac_func innocuous_$ac_func
40732 /* System header to define __stub macros and hopefully few prototypes,
40733 which can conflict with char $ac_func (); below.
40734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40735 <limits.h> exists even on freestanding compilers. */
40737 #ifdef __STDC__
40738 # include <limits.h>
40739 #else
40740 # include <assert.h>
40741 #endif
40743 #undef $ac_func
40745 /* Override any gcc2 internal prototype to avoid an error. */
40746 #ifdef __cplusplus
40747 extern "C"
40749 #endif
40750 /* We use char because int might match the return type of a gcc2
40751 builtin and then its argument prototype would still apply. */
40752 char $ac_func ();
40753 /* The GNU C library defines this for functions which it implements
40754 to always fail with ENOSYS. Some functions are actually named
40755 something starting with __ and the normal name is an alias. */
40756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40757 choke me
40758 #else
40759 char (*f) () = $ac_func;
40760 #endif
40761 #ifdef __cplusplus
40763 #endif
40766 main ()
40768 return f != $ac_func;
40770 return 0;
40772 _ACEOF
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40775 (eval $ac_link) 2>conftest.er1
40776 ac_status=$?
40777 grep -v '^ *+' conftest.er1 >conftest.err
40778 rm -f conftest.er1
40779 cat conftest.err >&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); } &&
40782 { ac_try='test -z "$ac_c_werror_flag"
40783 || test ! -s conftest.err'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40786 ac_status=$?
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; } &&
40789 { ac_try='test -s conftest$ac_exeext'
40790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40791 (eval $ac_try) 2>&5
40792 ac_status=$?
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); }; }; then
40795 eval "$as_ac_var=yes"
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40800 eval "$as_ac_var=no"
40802 rm -f conftest.err conftest.$ac_objext \
40803 conftest$ac_exeext conftest.$ac_ext
40805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40807 if test `eval echo '${'$as_ac_var'}'` = yes; then
40808 cat >>confdefs.h <<_ACEOF
40809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40810 _ACEOF
40813 done
40820 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40821 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40822 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40823 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40828 ac_ext=cc
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40834 cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h. */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40840 #include <math.h>
40842 main ()
40844 `for x in acosl asinl atanl \
40845 cosl sinl tanl \
40846 coshl sinhl tanhl; do echo "$x (0);"; done`
40848 return 0;
40850 _ACEOF
40851 rm -f conftest.$ac_objext
40852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40853 (eval $ac_compile) 2>conftest.er1
40854 ac_status=$?
40855 grep -v '^ *+' conftest.er1 >conftest.err
40856 rm -f conftest.er1
40857 cat conftest.err >&5
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); } &&
40860 { ac_try='test -z "$ac_cxx_werror_flag"
40861 || test ! -s conftest.err'
40862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40863 (eval $ac_try) 2>&5
40864 ac_status=$?
40865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866 (exit $ac_status); }; } &&
40867 { ac_try='test -s conftest.$ac_objext'
40868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869 (eval $ac_try) 2>&5
40870 ac_status=$?
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); }; }; then
40873 glibcxx_cv_func_long_double_trig_use=yes
40874 else
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.$ac_ext >&5
40878 glibcxx_cv_func_long_double_trig_use=no
40880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40881 ac_ext=c
40882 ac_cpp='$CPP $CPPFLAGS'
40883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40890 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40891 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40901 for ac_func in acosl asinl atanl \
40902 cosl sinl tanl \
40903 coshl sinhl tanhl
40905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40906 echo "$as_me:$LINENO: checking for $ac_func" >&5
40907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40908 if eval "test \"\${$as_ac_var+set}\" = set"; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40910 else
40911 if test x$gcc_no_link = xyes; then
40912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40914 { (exit 1); exit 1; }; }
40916 cat >conftest.$ac_ext <<_ACEOF
40917 /* confdefs.h. */
40918 _ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h. */
40922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40924 #define $ac_func innocuous_$ac_func
40926 /* System header to define __stub macros and hopefully few prototypes,
40927 which can conflict with char $ac_func (); below.
40928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40929 <limits.h> exists even on freestanding compilers. */
40931 #ifdef __STDC__
40932 # include <limits.h>
40933 #else
40934 # include <assert.h>
40935 #endif
40937 #undef $ac_func
40939 /* Override any gcc2 internal prototype to avoid an error. */
40940 #ifdef __cplusplus
40941 extern "C"
40943 #endif
40944 /* We use char because int might match the return type of a gcc2
40945 builtin and then its argument prototype would still apply. */
40946 char $ac_func ();
40947 /* The GNU C library defines this for functions which it implements
40948 to always fail with ENOSYS. Some functions are actually named
40949 something starting with __ and the normal name is an alias. */
40950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40951 choke me
40952 #else
40953 char (*f) () = $ac_func;
40954 #endif
40955 #ifdef __cplusplus
40957 #endif
40960 main ()
40962 return f != $ac_func;
40964 return 0;
40966 _ACEOF
40967 rm -f conftest.$ac_objext conftest$ac_exeext
40968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40969 (eval $ac_link) 2>conftest.er1
40970 ac_status=$?
40971 grep -v '^ *+' conftest.er1 >conftest.err
40972 rm -f conftest.er1
40973 cat conftest.err >&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); } &&
40976 { ac_try='test -z "$ac_c_werror_flag"
40977 || test ! -s conftest.err'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40980 ac_status=$?
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; } &&
40983 { ac_try='test -s conftest$ac_exeext'
40984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40985 (eval $ac_try) 2>&5
40986 ac_status=$?
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); }; }; then
40989 eval "$as_ac_var=yes"
40990 else
40991 echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40994 eval "$as_ac_var=no"
40996 rm -f conftest.err conftest.$ac_objext \
40997 conftest$ac_exeext conftest.$ac_ext
40999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41001 if test `eval echo '${'$as_ac_var'}'` = yes; then
41002 cat >>confdefs.h <<_ACEOF
41003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41004 _ACEOF
41007 done
41012 echo "$as_me:$LINENO: checking for long double round functions" >&5
41013 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41014 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41015 echo $ECHO_N "(cached) $ECHO_C" >&6
41016 else
41020 ac_ext=cc
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41026 cat >conftest.$ac_ext <<_ACEOF
41027 /* confdefs.h. */
41028 _ACEOF
41029 cat confdefs.h >>conftest.$ac_ext
41030 cat >>conftest.$ac_ext <<_ACEOF
41031 /* end confdefs.h. */
41032 #include <math.h>
41034 main ()
41036 `for x in ceill floorl; do echo "$x (0);"; done`
41038 return 0;
41040 _ACEOF
41041 rm -f conftest.$ac_objext
41042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41043 (eval $ac_compile) 2>conftest.er1
41044 ac_status=$?
41045 grep -v '^ *+' conftest.er1 >conftest.err
41046 rm -f conftest.er1
41047 cat conftest.err >&5
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); } &&
41050 { ac_try='test -z "$ac_cxx_werror_flag"
41051 || test ! -s conftest.err'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41054 ac_status=$?
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; } &&
41057 { ac_try='test -s conftest.$ac_objext'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; }; then
41063 glibcxx_cv_func_long_double_round_use=yes
41064 else
41065 echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 glibcxx_cv_func_long_double_round_use=no
41070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41071 ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41080 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41081 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41084 for ac_func in ceill floorl
41086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41087 echo "$as_me:$LINENO: checking for $ac_func" >&5
41088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41089 if eval "test \"\${$as_ac_var+set}\" = set"; then
41090 echo $ECHO_N "(cached) $ECHO_C" >&6
41091 else
41092 if test x$gcc_no_link = xyes; then
41093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41095 { (exit 1); exit 1; }; }
41097 cat >conftest.$ac_ext <<_ACEOF
41098 /* confdefs.h. */
41099 _ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41105 #define $ac_func innocuous_$ac_func
41107 /* System header to define __stub macros and hopefully few prototypes,
41108 which can conflict with char $ac_func (); below.
41109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41110 <limits.h> exists even on freestanding compilers. */
41112 #ifdef __STDC__
41113 # include <limits.h>
41114 #else
41115 # include <assert.h>
41116 #endif
41118 #undef $ac_func
41120 /* Override any gcc2 internal prototype to avoid an error. */
41121 #ifdef __cplusplus
41122 extern "C"
41124 #endif
41125 /* We use char because int might match the return type of a gcc2
41126 builtin and then its argument prototype would still apply. */
41127 char $ac_func ();
41128 /* The GNU C library defines this for functions which it implements
41129 to always fail with ENOSYS. Some functions are actually named
41130 something starting with __ and the normal name is an alias. */
41131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41132 choke me
41133 #else
41134 char (*f) () = $ac_func;
41135 #endif
41136 #ifdef __cplusplus
41138 #endif
41141 main ()
41143 return f != $ac_func;
41145 return 0;
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150 (eval $ac_link) 2>conftest.er1
41151 ac_status=$?
41152 grep -v '^ *+' conftest.er1 >conftest.err
41153 rm -f conftest.er1
41154 cat conftest.err >&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } &&
41157 { ac_try='test -z "$ac_c_werror_flag"
41158 || test ! -s conftest.err'
41159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160 (eval $ac_try) 2>&5
41161 ac_status=$?
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); }; } &&
41164 { ac_try='test -s conftest$ac_exeext'
41165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166 (eval $ac_try) 2>&5
41167 ac_status=$?
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; }; then
41170 eval "$as_ac_var=yes"
41171 else
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41175 eval "$as_ac_var=no"
41177 rm -f conftest.err conftest.$ac_objext \
41178 conftest$ac_exeext conftest.$ac_ext
41180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41182 if test `eval echo '${'$as_ac_var'}'` = yes; then
41183 cat >>confdefs.h <<_ACEOF
41184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41185 _ACEOF
41188 done
41194 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41195 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41199 else
41203 ac_ext=cc
41204 ac_cpp='$CXXCPP $CPPFLAGS'
41205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41209 cat >conftest.$ac_ext <<_ACEOF
41210 /* confdefs.h. */
41211 _ACEOF
41212 cat confdefs.h >>conftest.$ac_ext
41213 cat >>conftest.$ac_ext <<_ACEOF
41214 /* end confdefs.h. */
41215 #include <math.h>
41216 #ifdef HAVE_IEEEFP_H
41217 #include <ieeefp.h>
41218 #endif
41221 main ()
41223 isnanl(0);
41225 return 0;
41227 _ACEOF
41228 rm -f conftest.$ac_objext
41229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41230 (eval $ac_compile) 2>conftest.er1
41231 ac_status=$?
41232 grep -v '^ *+' conftest.er1 >conftest.err
41233 rm -f conftest.er1
41234 cat conftest.err >&5
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); } &&
41237 { ac_try='test -z "$ac_cxx_werror_flag"
41238 || test ! -s conftest.err'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41241 ac_status=$?
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; } &&
41244 { ac_try='test -s conftest.$ac_objext'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41247 ac_status=$?
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; }; then
41250 glibcxx_cv_func_isnanl_use=yes
41251 else
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.$ac_ext >&5
41255 glibcxx_cv_func_isnanl_use=no
41257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41258 ac_ext=c
41259 ac_cpp='$CPP $CPPFLAGS'
41260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41269 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41271 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41273 for ac_func in isnanl
41275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41276 echo "$as_me:$LINENO: checking for $ac_func" >&5
41277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41278 if eval "test \"\${$as_ac_var+set}\" = set"; then
41279 echo $ECHO_N "(cached) $ECHO_C" >&6
41280 else
41281 if test x$gcc_no_link = xyes; then
41282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41284 { (exit 1); exit 1; }; }
41286 cat >conftest.$ac_ext <<_ACEOF
41287 /* confdefs.h. */
41288 _ACEOF
41289 cat confdefs.h >>conftest.$ac_ext
41290 cat >>conftest.$ac_ext <<_ACEOF
41291 /* end confdefs.h. */
41292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41294 #define $ac_func innocuous_$ac_func
41296 /* System header to define __stub macros and hopefully few prototypes,
41297 which can conflict with char $ac_func (); below.
41298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41299 <limits.h> exists even on freestanding compilers. */
41301 #ifdef __STDC__
41302 # include <limits.h>
41303 #else
41304 # include <assert.h>
41305 #endif
41307 #undef $ac_func
41309 /* Override any gcc2 internal prototype to avoid an error. */
41310 #ifdef __cplusplus
41311 extern "C"
41313 #endif
41314 /* We use char because int might match the return type of a gcc2
41315 builtin and then its argument prototype would still apply. */
41316 char $ac_func ();
41317 /* The GNU C library defines this for functions which it implements
41318 to always fail with ENOSYS. Some functions are actually named
41319 something starting with __ and the normal name is an alias. */
41320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41321 choke me
41322 #else
41323 char (*f) () = $ac_func;
41324 #endif
41325 #ifdef __cplusplus
41327 #endif
41330 main ()
41332 return f != $ac_func;
41334 return 0;
41336 _ACEOF
41337 rm -f conftest.$ac_objext conftest$ac_exeext
41338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41339 (eval $ac_link) 2>conftest.er1
41340 ac_status=$?
41341 grep -v '^ *+' conftest.er1 >conftest.err
41342 rm -f conftest.er1
41343 cat conftest.err >&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); } &&
41346 { ac_try='test -z "$ac_c_werror_flag"
41347 || test ! -s conftest.err'
41348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41349 (eval $ac_try) 2>&5
41350 ac_status=$?
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); }; } &&
41353 { ac_try='test -s conftest$ac_exeext'
41354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355 (eval $ac_try) 2>&5
41356 ac_status=$?
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); }; }; then
41359 eval "$as_ac_var=yes"
41360 else
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41364 eval "$as_ac_var=no"
41366 rm -f conftest.err conftest.$ac_objext \
41367 conftest$ac_exeext conftest.$ac_ext
41369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41371 if test `eval echo '${'$as_ac_var'}'` = yes; then
41372 cat >>confdefs.h <<_ACEOF
41373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41374 _ACEOF
41377 done
41379 else
41381 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41382 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41383 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41384 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41385 echo $ECHO_N "(cached) $ECHO_C" >&6
41386 else
41390 ac_ext=cc
41391 ac_cpp='$CXXCPP $CPPFLAGS'
41392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41396 cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h. */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402 #include <math.h>
41403 #ifdef HAVE_IEEEFP_H
41404 #include <ieeefp.h>
41405 #endif
41408 main ()
41410 _isnanl(0);
41412 return 0;
41414 _ACEOF
41415 rm -f conftest.$ac_objext
41416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41417 (eval $ac_compile) 2>conftest.er1
41418 ac_status=$?
41419 grep -v '^ *+' conftest.er1 >conftest.err
41420 rm -f conftest.er1
41421 cat conftest.err >&5
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); } &&
41424 { ac_try='test -z "$ac_cxx_werror_flag"
41425 || test ! -s conftest.err'
41426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427 (eval $ac_try) 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; } &&
41431 { ac_try='test -s conftest.$ac_objext'
41432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433 (eval $ac_try) 2>&5
41434 ac_status=$?
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); }; }; then
41437 glibcxx_cv_func__isnanl_use=yes
41438 else
41439 echo "$as_me: failed program was:" >&5
41440 sed 's/^/| /' conftest.$ac_ext >&5
41442 glibcxx_cv_func__isnanl_use=no
41444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41445 ac_ext=c
41446 ac_cpp='$CPP $CPPFLAGS'
41447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41456 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41458 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41460 for ac_func in _isnanl
41462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41463 echo "$as_me:$LINENO: checking for $ac_func" >&5
41464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41465 if eval "test \"\${$as_ac_var+set}\" = set"; then
41466 echo $ECHO_N "(cached) $ECHO_C" >&6
41467 else
41468 if test x$gcc_no_link = xyes; then
41469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41471 { (exit 1); exit 1; }; }
41473 cat >conftest.$ac_ext <<_ACEOF
41474 /* confdefs.h. */
41475 _ACEOF
41476 cat confdefs.h >>conftest.$ac_ext
41477 cat >>conftest.$ac_ext <<_ACEOF
41478 /* end confdefs.h. */
41479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41481 #define $ac_func innocuous_$ac_func
41483 /* System header to define __stub macros and hopefully few prototypes,
41484 which can conflict with char $ac_func (); below.
41485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41486 <limits.h> exists even on freestanding compilers. */
41488 #ifdef __STDC__
41489 # include <limits.h>
41490 #else
41491 # include <assert.h>
41492 #endif
41494 #undef $ac_func
41496 /* Override any gcc2 internal prototype to avoid an error. */
41497 #ifdef __cplusplus
41498 extern "C"
41500 #endif
41501 /* We use char because int might match the return type of a gcc2
41502 builtin and then its argument prototype would still apply. */
41503 char $ac_func ();
41504 /* The GNU C library defines this for functions which it implements
41505 to always fail with ENOSYS. Some functions are actually named
41506 something starting with __ and the normal name is an alias. */
41507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41508 choke me
41509 #else
41510 char (*f) () = $ac_func;
41511 #endif
41512 #ifdef __cplusplus
41514 #endif
41517 main ()
41519 return f != $ac_func;
41521 return 0;
41523 _ACEOF
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41526 (eval $ac_link) 2>conftest.er1
41527 ac_status=$?
41528 grep -v '^ *+' conftest.er1 >conftest.err
41529 rm -f conftest.er1
41530 cat conftest.err >&5
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); } &&
41533 { ac_try='test -z "$ac_c_werror_flag"
41534 || test ! -s conftest.err'
41535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41536 (eval $ac_try) 2>&5
41537 ac_status=$?
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); }; } &&
41540 { ac_try='test -s conftest$ac_exeext'
41541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41542 (eval $ac_try) 2>&5
41543 ac_status=$?
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; }; then
41546 eval "$as_ac_var=yes"
41547 else
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41551 eval "$as_ac_var=no"
41553 rm -f conftest.err conftest.$ac_objext \
41554 conftest$ac_exeext conftest.$ac_ext
41556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41558 if test `eval echo '${'$as_ac_var'}'` = yes; then
41559 cat >>confdefs.h <<_ACEOF
41560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41561 _ACEOF
41564 done
41571 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41572 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41573 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41574 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 else
41580 ac_ext=cc
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586 cat >conftest.$ac_ext <<_ACEOF
41587 /* confdefs.h. */
41588 _ACEOF
41589 cat confdefs.h >>conftest.$ac_ext
41590 cat >>conftest.$ac_ext <<_ACEOF
41591 /* end confdefs.h. */
41592 #include <math.h>
41593 #ifdef HAVE_IEEEFP_H
41594 #include <ieeefp.h>
41595 #endif
41598 main ()
41600 isinfl(0);
41602 return 0;
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41607 (eval $ac_compile) 2>conftest.er1
41608 ac_status=$?
41609 grep -v '^ *+' conftest.er1 >conftest.err
41610 rm -f conftest.er1
41611 cat conftest.err >&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); } &&
41614 { ac_try='test -z "$ac_cxx_werror_flag"
41615 || test ! -s conftest.err'
41616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617 (eval $ac_try) 2>&5
41618 ac_status=$?
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); }; } &&
41621 { ac_try='test -s conftest.$ac_objext'
41622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623 (eval $ac_try) 2>&5
41624 ac_status=$?
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); }; }; then
41627 glibcxx_cv_func_isinfl_use=yes
41628 else
41629 echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41632 glibcxx_cv_func_isinfl_use=no
41634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41635 ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41646 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41648 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41650 for ac_func in isinfl
41652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41653 echo "$as_me:$LINENO: checking for $ac_func" >&5
41654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41655 if eval "test \"\${$as_ac_var+set}\" = set"; then
41656 echo $ECHO_N "(cached) $ECHO_C" >&6
41657 else
41658 if test x$gcc_no_link = xyes; then
41659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41661 { (exit 1); exit 1; }; }
41663 cat >conftest.$ac_ext <<_ACEOF
41664 /* confdefs.h. */
41665 _ACEOF
41666 cat confdefs.h >>conftest.$ac_ext
41667 cat >>conftest.$ac_ext <<_ACEOF
41668 /* end confdefs.h. */
41669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41671 #define $ac_func innocuous_$ac_func
41673 /* System header to define __stub macros and hopefully few prototypes,
41674 which can conflict with char $ac_func (); below.
41675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41676 <limits.h> exists even on freestanding compilers. */
41678 #ifdef __STDC__
41679 # include <limits.h>
41680 #else
41681 # include <assert.h>
41682 #endif
41684 #undef $ac_func
41686 /* Override any gcc2 internal prototype to avoid an error. */
41687 #ifdef __cplusplus
41688 extern "C"
41690 #endif
41691 /* We use char because int might match the return type of a gcc2
41692 builtin and then its argument prototype would still apply. */
41693 char $ac_func ();
41694 /* The GNU C library defines this for functions which it implements
41695 to always fail with ENOSYS. Some functions are actually named
41696 something starting with __ and the normal name is an alias. */
41697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41698 choke me
41699 #else
41700 char (*f) () = $ac_func;
41701 #endif
41702 #ifdef __cplusplus
41704 #endif
41707 main ()
41709 return f != $ac_func;
41711 return 0;
41713 _ACEOF
41714 rm -f conftest.$ac_objext conftest$ac_exeext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41716 (eval $ac_link) 2>conftest.er1
41717 ac_status=$?
41718 grep -v '^ *+' conftest.er1 >conftest.err
41719 rm -f conftest.er1
41720 cat conftest.err >&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try='test -z "$ac_c_werror_flag"
41724 || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41727 ac_status=$?
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try='test -s conftest$ac_exeext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41733 ac_status=$?
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41736 eval "$as_ac_var=yes"
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41741 eval "$as_ac_var=no"
41743 rm -f conftest.err conftest.$ac_objext \
41744 conftest$ac_exeext conftest.$ac_ext
41746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41748 if test `eval echo '${'$as_ac_var'}'` = yes; then
41749 cat >>confdefs.h <<_ACEOF
41750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41751 _ACEOF
41754 done
41756 else
41758 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41759 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41760 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41761 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41762 echo $ECHO_N "(cached) $ECHO_C" >&6
41763 else
41767 ac_ext=cc
41768 ac_cpp='$CXXCPP $CPPFLAGS'
41769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41773 cat >conftest.$ac_ext <<_ACEOF
41774 /* confdefs.h. */
41775 _ACEOF
41776 cat confdefs.h >>conftest.$ac_ext
41777 cat >>conftest.$ac_ext <<_ACEOF
41778 /* end confdefs.h. */
41779 #include <math.h>
41780 #ifdef HAVE_IEEEFP_H
41781 #include <ieeefp.h>
41782 #endif
41785 main ()
41787 _isinfl(0);
41789 return 0;
41791 _ACEOF
41792 rm -f conftest.$ac_objext
41793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41794 (eval $ac_compile) 2>conftest.er1
41795 ac_status=$?
41796 grep -v '^ *+' conftest.er1 >conftest.err
41797 rm -f conftest.er1
41798 cat conftest.err >&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } &&
41801 { ac_try='test -z "$ac_cxx_werror_flag"
41802 || test ! -s conftest.err'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41805 ac_status=$?
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; } &&
41808 { ac_try='test -s conftest.$ac_objext'
41809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41810 (eval $ac_try) 2>&5
41811 ac_status=$?
41812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41813 (exit $ac_status); }; }; then
41814 glibcxx_cv_func__isinfl_use=yes
41815 else
41816 echo "$as_me: failed program was:" >&5
41817 sed 's/^/| /' conftest.$ac_ext >&5
41819 glibcxx_cv_func__isinfl_use=no
41821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41822 ac_ext=c
41823 ac_cpp='$CPP $CPPFLAGS'
41824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41833 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41835 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41837 for ac_func in _isinfl
41839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41840 echo "$as_me:$LINENO: checking for $ac_func" >&5
41841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41842 if eval "test \"\${$as_ac_var+set}\" = set"; then
41843 echo $ECHO_N "(cached) $ECHO_C" >&6
41844 else
41845 if test x$gcc_no_link = xyes; then
41846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41848 { (exit 1); exit 1; }; }
41850 cat >conftest.$ac_ext <<_ACEOF
41851 /* confdefs.h. */
41852 _ACEOF
41853 cat confdefs.h >>conftest.$ac_ext
41854 cat >>conftest.$ac_ext <<_ACEOF
41855 /* end confdefs.h. */
41856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41858 #define $ac_func innocuous_$ac_func
41860 /* System header to define __stub macros and hopefully few prototypes,
41861 which can conflict with char $ac_func (); below.
41862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41863 <limits.h> exists even on freestanding compilers. */
41865 #ifdef __STDC__
41866 # include <limits.h>
41867 #else
41868 # include <assert.h>
41869 #endif
41871 #undef $ac_func
41873 /* Override any gcc2 internal prototype to avoid an error. */
41874 #ifdef __cplusplus
41875 extern "C"
41877 #endif
41878 /* We use char because int might match the return type of a gcc2
41879 builtin and then its argument prototype would still apply. */
41880 char $ac_func ();
41881 /* The GNU C library defines this for functions which it implements
41882 to always fail with ENOSYS. Some functions are actually named
41883 something starting with __ and the normal name is an alias. */
41884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41885 choke me
41886 #else
41887 char (*f) () = $ac_func;
41888 #endif
41889 #ifdef __cplusplus
41891 #endif
41894 main ()
41896 return f != $ac_func;
41898 return 0;
41900 _ACEOF
41901 rm -f conftest.$ac_objext conftest$ac_exeext
41902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41903 (eval $ac_link) 2>conftest.er1
41904 ac_status=$?
41905 grep -v '^ *+' conftest.er1 >conftest.err
41906 rm -f conftest.er1
41907 cat conftest.err >&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); } &&
41910 { ac_try='test -z "$ac_c_werror_flag"
41911 || test ! -s conftest.err'
41912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41913 (eval $ac_try) 2>&5
41914 ac_status=$?
41915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916 (exit $ac_status); }; } &&
41917 { ac_try='test -s conftest$ac_exeext'
41918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41919 (eval $ac_try) 2>&5
41920 ac_status=$?
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); }; }; then
41923 eval "$as_ac_var=yes"
41924 else
41925 echo "$as_me: failed program was:" >&5
41926 sed 's/^/| /' conftest.$ac_ext >&5
41928 eval "$as_ac_var=no"
41930 rm -f conftest.err conftest.$ac_objext \
41931 conftest$ac_exeext conftest.$ac_ext
41933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41935 if test `eval echo '${'$as_ac_var'}'` = yes; then
41936 cat >>confdefs.h <<_ACEOF
41937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41938 _ACEOF
41941 done
41948 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41949 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41950 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41951 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41953 else
41957 ac_ext=cc
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41963 cat >conftest.$ac_ext <<_ACEOF
41964 /* confdefs.h. */
41965 _ACEOF
41966 cat confdefs.h >>conftest.$ac_ext
41967 cat >>conftest.$ac_ext <<_ACEOF
41968 /* end confdefs.h. */
41969 #include <math.h>
41971 main ()
41973 copysignl(0, 0);
41975 return 0;
41977 _ACEOF
41978 rm -f conftest.$ac_objext
41979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41980 (eval $ac_compile) 2>conftest.er1
41981 ac_status=$?
41982 grep -v '^ *+' conftest.er1 >conftest.err
41983 rm -f conftest.er1
41984 cat conftest.err >&5
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); } &&
41987 { ac_try='test -z "$ac_cxx_werror_flag"
41988 || test ! -s conftest.err'
41989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41990 (eval $ac_try) 2>&5
41991 ac_status=$?
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); }; } &&
41994 { ac_try='test -s conftest.$ac_objext'
41995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41996 (eval $ac_try) 2>&5
41997 ac_status=$?
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); }; }; then
42000 glibcxx_cv_func_copysignl_use=yes
42001 else
42002 echo "$as_me: failed program was:" >&5
42003 sed 's/^/| /' conftest.$ac_ext >&5
42005 glibcxx_cv_func_copysignl_use=no
42007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42019 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42021 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42023 for ac_func in copysignl
42025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42026 echo "$as_me:$LINENO: checking for $ac_func" >&5
42027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42028 if eval "test \"\${$as_ac_var+set}\" = set"; then
42029 echo $ECHO_N "(cached) $ECHO_C" >&6
42030 else
42031 if test x$gcc_no_link = xyes; then
42032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42034 { (exit 1); exit 1; }; }
42036 cat >conftest.$ac_ext <<_ACEOF
42037 /* confdefs.h. */
42038 _ACEOF
42039 cat confdefs.h >>conftest.$ac_ext
42040 cat >>conftest.$ac_ext <<_ACEOF
42041 /* end confdefs.h. */
42042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42044 #define $ac_func innocuous_$ac_func
42046 /* System header to define __stub macros and hopefully few prototypes,
42047 which can conflict with char $ac_func (); below.
42048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42049 <limits.h> exists even on freestanding compilers. */
42051 #ifdef __STDC__
42052 # include <limits.h>
42053 #else
42054 # include <assert.h>
42055 #endif
42057 #undef $ac_func
42059 /* Override any gcc2 internal prototype to avoid an error. */
42060 #ifdef __cplusplus
42061 extern "C"
42063 #endif
42064 /* We use char because int might match the return type of a gcc2
42065 builtin and then its argument prototype would still apply. */
42066 char $ac_func ();
42067 /* The GNU C library defines this for functions which it implements
42068 to always fail with ENOSYS. Some functions are actually named
42069 something starting with __ and the normal name is an alias. */
42070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42071 choke me
42072 #else
42073 char (*f) () = $ac_func;
42074 #endif
42075 #ifdef __cplusplus
42077 #endif
42080 main ()
42082 return f != $ac_func;
42084 return 0;
42086 _ACEOF
42087 rm -f conftest.$ac_objext conftest$ac_exeext
42088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42089 (eval $ac_link) 2>conftest.er1
42090 ac_status=$?
42091 grep -v '^ *+' conftest.er1 >conftest.err
42092 rm -f conftest.er1
42093 cat conftest.err >&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); } &&
42096 { ac_try='test -z "$ac_c_werror_flag"
42097 || test ! -s conftest.err'
42098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42099 (eval $ac_try) 2>&5
42100 ac_status=$?
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); }; } &&
42103 { ac_try='test -s conftest$ac_exeext'
42104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42105 (eval $ac_try) 2>&5
42106 ac_status=$?
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); }; }; then
42109 eval "$as_ac_var=yes"
42110 else
42111 echo "$as_me: failed program was:" >&5
42112 sed 's/^/| /' conftest.$ac_ext >&5
42114 eval "$as_ac_var=no"
42116 rm -f conftest.err conftest.$ac_objext \
42117 conftest$ac_exeext conftest.$ac_ext
42119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42121 if test `eval echo '${'$as_ac_var'}'` = yes; then
42122 cat >>confdefs.h <<_ACEOF
42123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42124 _ACEOF
42127 done
42129 else
42131 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42132 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42133 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42134 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42135 echo $ECHO_N "(cached) $ECHO_C" >&6
42136 else
42140 ac_ext=cc
42141 ac_cpp='$CXXCPP $CPPFLAGS'
42142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42146 cat >conftest.$ac_ext <<_ACEOF
42147 /* confdefs.h. */
42148 _ACEOF
42149 cat confdefs.h >>conftest.$ac_ext
42150 cat >>conftest.$ac_ext <<_ACEOF
42151 /* end confdefs.h. */
42152 #include <math.h>
42154 main ()
42156 _copysignl(0, 0);
42158 return 0;
42160 _ACEOF
42161 rm -f conftest.$ac_objext
42162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42163 (eval $ac_compile) 2>conftest.er1
42164 ac_status=$?
42165 grep -v '^ *+' conftest.er1 >conftest.err
42166 rm -f conftest.er1
42167 cat conftest.err >&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); } &&
42170 { ac_try='test -z "$ac_cxx_werror_flag"
42171 || test ! -s conftest.err'
42172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173 (eval $ac_try) 2>&5
42174 ac_status=$?
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); }; } &&
42177 { ac_try='test -s conftest.$ac_objext'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42180 ac_status=$?
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; }; then
42183 glibcxx_cv_func__copysignl_use=yes
42184 else
42185 echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.$ac_ext >&5
42188 glibcxx_cv_func__copysignl_use=no
42190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42191 ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42202 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42204 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42206 for ac_func in _copysignl
42208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42209 echo "$as_me:$LINENO: checking for $ac_func" >&5
42210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42211 if eval "test \"\${$as_ac_var+set}\" = set"; then
42212 echo $ECHO_N "(cached) $ECHO_C" >&6
42213 else
42214 if test x$gcc_no_link = xyes; then
42215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42217 { (exit 1); exit 1; }; }
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h. */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42227 #define $ac_func innocuous_$ac_func
42229 /* System header to define __stub macros and hopefully few prototypes,
42230 which can conflict with char $ac_func (); below.
42231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232 <limits.h> exists even on freestanding compilers. */
42234 #ifdef __STDC__
42235 # include <limits.h>
42236 #else
42237 # include <assert.h>
42238 #endif
42240 #undef $ac_func
42242 /* Override any gcc2 internal prototype to avoid an error. */
42243 #ifdef __cplusplus
42244 extern "C"
42246 #endif
42247 /* We use char because int might match the return type of a gcc2
42248 builtin and then its argument prototype would still apply. */
42249 char $ac_func ();
42250 /* The GNU C library defines this for functions which it implements
42251 to always fail with ENOSYS. Some functions are actually named
42252 something starting with __ and the normal name is an alias. */
42253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42254 choke me
42255 #else
42256 char (*f) () = $ac_func;
42257 #endif
42258 #ifdef __cplusplus
42260 #endif
42263 main ()
42265 return f != $ac_func;
42267 return 0;
42269 _ACEOF
42270 rm -f conftest.$ac_objext conftest$ac_exeext
42271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42272 (eval $ac_link) 2>conftest.er1
42273 ac_status=$?
42274 grep -v '^ *+' conftest.er1 >conftest.err
42275 rm -f conftest.er1
42276 cat conftest.err >&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); } &&
42279 { ac_try='test -z "$ac_c_werror_flag"
42280 || test ! -s conftest.err'
42281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42282 (eval $ac_try) 2>&5
42283 ac_status=$?
42284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285 (exit $ac_status); }; } &&
42286 { ac_try='test -s conftest$ac_exeext'
42287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42288 (eval $ac_try) 2>&5
42289 ac_status=$?
42290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42291 (exit $ac_status); }; }; then
42292 eval "$as_ac_var=yes"
42293 else
42294 echo "$as_me: failed program was:" >&5
42295 sed 's/^/| /' conftest.$ac_ext >&5
42297 eval "$as_ac_var=no"
42299 rm -f conftest.err conftest.$ac_objext \
42300 conftest$ac_exeext conftest.$ac_ext
42302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42304 if test `eval echo '${'$as_ac_var'}'` = yes; then
42305 cat >>confdefs.h <<_ACEOF
42306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42307 _ACEOF
42310 done
42317 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42318 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42319 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42320 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42322 else
42326 ac_ext=cc
42327 ac_cpp='$CXXCPP $CPPFLAGS'
42328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42332 cat >conftest.$ac_ext <<_ACEOF
42333 /* confdefs.h. */
42334 _ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42338 #include <math.h>
42340 main ()
42342 atan2l(0, 0);
42344 return 0;
42346 _ACEOF
42347 rm -f conftest.$ac_objext
42348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42349 (eval $ac_compile) 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } &&
42356 { ac_try='test -z "$ac_cxx_werror_flag"
42357 || test ! -s conftest.err'
42358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42359 (eval $ac_try) 2>&5
42360 ac_status=$?
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); }; } &&
42363 { ac_try='test -s conftest.$ac_objext'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42366 ac_status=$?
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; }; then
42369 glibcxx_cv_func_atan2l_use=yes
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42374 glibcxx_cv_func_atan2l_use=no
42376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42377 ac_ext=c
42378 ac_cpp='$CPP $CPPFLAGS'
42379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42387 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42388 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42390 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42392 for ac_func in atan2l
42394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42395 echo "$as_me:$LINENO: checking for $ac_func" >&5
42396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42397 if eval "test \"\${$as_ac_var+set}\" = set"; then
42398 echo $ECHO_N "(cached) $ECHO_C" >&6
42399 else
42400 if test x$gcc_no_link = xyes; then
42401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42403 { (exit 1); exit 1; }; }
42405 cat >conftest.$ac_ext <<_ACEOF
42406 /* confdefs.h. */
42407 _ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42413 #define $ac_func innocuous_$ac_func
42415 /* System header to define __stub macros and hopefully few prototypes,
42416 which can conflict with char $ac_func (); below.
42417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42418 <limits.h> exists even on freestanding compilers. */
42420 #ifdef __STDC__
42421 # include <limits.h>
42422 #else
42423 # include <assert.h>
42424 #endif
42426 #undef $ac_func
42428 /* Override any gcc2 internal prototype to avoid an error. */
42429 #ifdef __cplusplus
42430 extern "C"
42432 #endif
42433 /* We use char because int might match the return type of a gcc2
42434 builtin and then its argument prototype would still apply. */
42435 char $ac_func ();
42436 /* The GNU C library defines this for functions which it implements
42437 to always fail with ENOSYS. Some functions are actually named
42438 something starting with __ and the normal name is an alias. */
42439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42440 choke me
42441 #else
42442 char (*f) () = $ac_func;
42443 #endif
42444 #ifdef __cplusplus
42446 #endif
42449 main ()
42451 return f != $ac_func;
42453 return 0;
42455 _ACEOF
42456 rm -f conftest.$ac_objext conftest$ac_exeext
42457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42458 (eval $ac_link) 2>conftest.er1
42459 ac_status=$?
42460 grep -v '^ *+' conftest.er1 >conftest.err
42461 rm -f conftest.er1
42462 cat conftest.err >&5
42463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464 (exit $ac_status); } &&
42465 { ac_try='test -z "$ac_c_werror_flag"
42466 || test ! -s conftest.err'
42467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468 (eval $ac_try) 2>&5
42469 ac_status=$?
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); }; } &&
42472 { ac_try='test -s conftest$ac_exeext'
42473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474 (eval $ac_try) 2>&5
42475 ac_status=$?
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); }; }; then
42478 eval "$as_ac_var=yes"
42479 else
42480 echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42483 eval "$as_ac_var=no"
42485 rm -f conftest.err conftest.$ac_objext \
42486 conftest$ac_exeext conftest.$ac_ext
42488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42490 if test `eval echo '${'$as_ac_var'}'` = yes; then
42491 cat >>confdefs.h <<_ACEOF
42492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42493 _ACEOF
42496 done
42498 else
42500 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42501 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42502 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42503 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42504 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 else
42509 ac_ext=cc
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42515 cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h. */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521 #include <math.h>
42523 main ()
42525 _atan2l(0, 0);
42527 return 0;
42529 _ACEOF
42530 rm -f conftest.$ac_objext
42531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42532 (eval $ac_compile) 2>conftest.er1
42533 ac_status=$?
42534 grep -v '^ *+' conftest.er1 >conftest.err
42535 rm -f conftest.er1
42536 cat conftest.err >&5
42537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538 (exit $ac_status); } &&
42539 { ac_try='test -z "$ac_cxx_werror_flag"
42540 || test ! -s conftest.err'
42541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42542 (eval $ac_try) 2>&5
42543 ac_status=$?
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); }; } &&
42546 { ac_try='test -s conftest.$ac_objext'
42547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548 (eval $ac_try) 2>&5
42549 ac_status=$?
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; }; then
42552 glibcxx_cv_func__atan2l_use=yes
42553 else
42554 echo "$as_me: failed program was:" >&5
42555 sed 's/^/| /' conftest.$ac_ext >&5
42557 glibcxx_cv_func__atan2l_use=no
42559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42560 ac_ext=c
42561 ac_cpp='$CPP $CPPFLAGS'
42562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42571 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42573 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42575 for ac_func in _atan2l
42577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42578 echo "$as_me:$LINENO: checking for $ac_func" >&5
42579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42580 if eval "test \"\${$as_ac_var+set}\" = set"; then
42581 echo $ECHO_N "(cached) $ECHO_C" >&6
42582 else
42583 if test x$gcc_no_link = xyes; then
42584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42586 { (exit 1); exit 1; }; }
42588 cat >conftest.$ac_ext <<_ACEOF
42589 /* confdefs.h. */
42590 _ACEOF
42591 cat confdefs.h >>conftest.$ac_ext
42592 cat >>conftest.$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42596 #define $ac_func innocuous_$ac_func
42598 /* System header to define __stub macros and hopefully few prototypes,
42599 which can conflict with char $ac_func (); below.
42600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42601 <limits.h> exists even on freestanding compilers. */
42603 #ifdef __STDC__
42604 # include <limits.h>
42605 #else
42606 # include <assert.h>
42607 #endif
42609 #undef $ac_func
42611 /* Override any gcc2 internal prototype to avoid an error. */
42612 #ifdef __cplusplus
42613 extern "C"
42615 #endif
42616 /* We use char because int might match the return type of a gcc2
42617 builtin and then its argument prototype would still apply. */
42618 char $ac_func ();
42619 /* The GNU C library defines this for functions which it implements
42620 to always fail with ENOSYS. Some functions are actually named
42621 something starting with __ and the normal name is an alias. */
42622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42623 choke me
42624 #else
42625 char (*f) () = $ac_func;
42626 #endif
42627 #ifdef __cplusplus
42629 #endif
42632 main ()
42634 return f != $ac_func;
42636 return 0;
42638 _ACEOF
42639 rm -f conftest.$ac_objext conftest$ac_exeext
42640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42641 (eval $ac_link) 2>conftest.er1
42642 ac_status=$?
42643 grep -v '^ *+' conftest.er1 >conftest.err
42644 rm -f conftest.er1
42645 cat conftest.err >&5
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); } &&
42648 { ac_try='test -z "$ac_c_werror_flag"
42649 || test ! -s conftest.err'
42650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42651 (eval $ac_try) 2>&5
42652 ac_status=$?
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); }; } &&
42655 { ac_try='test -s conftest$ac_exeext'
42656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42657 (eval $ac_try) 2>&5
42658 ac_status=$?
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); }; }; then
42661 eval "$as_ac_var=yes"
42662 else
42663 echo "$as_me: failed program was:" >&5
42664 sed 's/^/| /' conftest.$ac_ext >&5
42666 eval "$as_ac_var=no"
42668 rm -f conftest.err conftest.$ac_objext \
42669 conftest$ac_exeext conftest.$ac_ext
42671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42673 if test `eval echo '${'$as_ac_var'}'` = yes; then
42674 cat >>confdefs.h <<_ACEOF
42675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42676 _ACEOF
42679 done
42686 echo "$as_me:$LINENO: checking for expl declaration" >&5
42687 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42688 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42689 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 else
42695 ac_ext=cc
42696 ac_cpp='$CXXCPP $CPPFLAGS'
42697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42701 cat >conftest.$ac_ext <<_ACEOF
42702 /* confdefs.h. */
42703 _ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h. */
42707 #include <math.h>
42708 #ifdef HAVE_IEEEFP_H
42709 #include <ieeefp.h>
42710 #endif
42713 main ()
42715 expl(0);
42717 return 0;
42719 _ACEOF
42720 rm -f conftest.$ac_objext
42721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42722 (eval $ac_compile) 2>conftest.er1
42723 ac_status=$?
42724 grep -v '^ *+' conftest.er1 >conftest.err
42725 rm -f conftest.er1
42726 cat conftest.err >&5
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); } &&
42729 { ac_try='test -z "$ac_cxx_werror_flag"
42730 || test ! -s conftest.err'
42731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732 (eval $ac_try) 2>&5
42733 ac_status=$?
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); }; } &&
42736 { ac_try='test -s conftest.$ac_objext'
42737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42738 (eval $ac_try) 2>&5
42739 ac_status=$?
42740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741 (exit $ac_status); }; }; then
42742 glibcxx_cv_func_expl_use=yes
42743 else
42744 echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42747 glibcxx_cv_func_expl_use=no
42749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42750 ac_ext=c
42751 ac_cpp='$CPP $CPPFLAGS'
42752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42761 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42765 for ac_func in expl
42767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42768 echo "$as_me:$LINENO: checking for $ac_func" >&5
42769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42770 if eval "test \"\${$as_ac_var+set}\" = set"; then
42771 echo $ECHO_N "(cached) $ECHO_C" >&6
42772 else
42773 if test x$gcc_no_link = xyes; then
42774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42776 { (exit 1); exit 1; }; }
42778 cat >conftest.$ac_ext <<_ACEOF
42779 /* confdefs.h. */
42780 _ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h. */
42784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42786 #define $ac_func innocuous_$ac_func
42788 /* System header to define __stub macros and hopefully few prototypes,
42789 which can conflict with char $ac_func (); below.
42790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42791 <limits.h> exists even on freestanding compilers. */
42793 #ifdef __STDC__
42794 # include <limits.h>
42795 #else
42796 # include <assert.h>
42797 #endif
42799 #undef $ac_func
42801 /* Override any gcc2 internal prototype to avoid an error. */
42802 #ifdef __cplusplus
42803 extern "C"
42805 #endif
42806 /* We use char because int might match the return type of a gcc2
42807 builtin and then its argument prototype would still apply. */
42808 char $ac_func ();
42809 /* The GNU C library defines this for functions which it implements
42810 to always fail with ENOSYS. Some functions are actually named
42811 something starting with __ and the normal name is an alias. */
42812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42813 choke me
42814 #else
42815 char (*f) () = $ac_func;
42816 #endif
42817 #ifdef __cplusplus
42819 #endif
42822 main ()
42824 return f != $ac_func;
42826 return 0;
42828 _ACEOF
42829 rm -f conftest.$ac_objext conftest$ac_exeext
42830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42831 (eval $ac_link) 2>conftest.er1
42832 ac_status=$?
42833 grep -v '^ *+' conftest.er1 >conftest.err
42834 rm -f conftest.er1
42835 cat conftest.err >&5
42836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837 (exit $ac_status); } &&
42838 { ac_try='test -z "$ac_c_werror_flag"
42839 || test ! -s conftest.err'
42840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42841 (eval $ac_try) 2>&5
42842 ac_status=$?
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; } &&
42845 { ac_try='test -s conftest$ac_exeext'
42846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42847 (eval $ac_try) 2>&5
42848 ac_status=$?
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); }; }; then
42851 eval "$as_ac_var=yes"
42852 else
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42856 eval "$as_ac_var=no"
42858 rm -f conftest.err conftest.$ac_objext \
42859 conftest$ac_exeext conftest.$ac_ext
42861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42863 if test `eval echo '${'$as_ac_var'}'` = yes; then
42864 cat >>confdefs.h <<_ACEOF
42865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42866 _ACEOF
42869 done
42871 else
42873 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42874 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42875 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42876 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 else
42882 ac_ext=cc
42883 ac_cpp='$CXXCPP $CPPFLAGS'
42884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42888 cat >conftest.$ac_ext <<_ACEOF
42889 /* confdefs.h. */
42890 _ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h. */
42894 #include <math.h>
42895 #ifdef HAVE_IEEEFP_H
42896 #include <ieeefp.h>
42897 #endif
42900 main ()
42902 _expl(0);
42904 return 0;
42906 _ACEOF
42907 rm -f conftest.$ac_objext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42909 (eval $ac_compile) 2>conftest.er1
42910 ac_status=$?
42911 grep -v '^ *+' conftest.er1 >conftest.err
42912 rm -f conftest.er1
42913 cat conftest.err >&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } &&
42916 { ac_try='test -z "$ac_cxx_werror_flag"
42917 || test ! -s conftest.err'
42918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42919 (eval $ac_try) 2>&5
42920 ac_status=$?
42921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922 (exit $ac_status); }; } &&
42923 { ac_try='test -s conftest.$ac_objext'
42924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42925 (eval $ac_try) 2>&5
42926 ac_status=$?
42927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928 (exit $ac_status); }; }; then
42929 glibcxx_cv_func__expl_use=yes
42930 else
42931 echo "$as_me: failed program was:" >&5
42932 sed 's/^/| /' conftest.$ac_ext >&5
42934 glibcxx_cv_func__expl_use=no
42936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42937 ac_ext=c
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42948 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42950 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42952 for ac_func in _expl
42954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42955 echo "$as_me:$LINENO: checking for $ac_func" >&5
42956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42957 if eval "test \"\${$as_ac_var+set}\" = set"; then
42958 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 else
42960 if test x$gcc_no_link = xyes; then
42961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42963 { (exit 1); exit 1; }; }
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42973 #define $ac_func innocuous_$ac_func
42975 /* System header to define __stub macros and hopefully few prototypes,
42976 which can conflict with char $ac_func (); below.
42977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42978 <limits.h> exists even on freestanding compilers. */
42980 #ifdef __STDC__
42981 # include <limits.h>
42982 #else
42983 # include <assert.h>
42984 #endif
42986 #undef $ac_func
42988 /* Override any gcc2 internal prototype to avoid an error. */
42989 #ifdef __cplusplus
42990 extern "C"
42992 #endif
42993 /* We use char because int might match the return type of a gcc2
42994 builtin and then its argument prototype would still apply. */
42995 char $ac_func ();
42996 /* The GNU C library defines this for functions which it implements
42997 to always fail with ENOSYS. Some functions are actually named
42998 something starting with __ and the normal name is an alias. */
42999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43000 choke me
43001 #else
43002 char (*f) () = $ac_func;
43003 #endif
43004 #ifdef __cplusplus
43006 #endif
43009 main ()
43011 return f != $ac_func;
43013 return 0;
43015 _ACEOF
43016 rm -f conftest.$ac_objext conftest$ac_exeext
43017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43018 (eval $ac_link) 2>conftest.er1
43019 ac_status=$?
43020 grep -v '^ *+' conftest.er1 >conftest.err
43021 rm -f conftest.er1
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } &&
43025 { ac_try='test -z "$ac_c_werror_flag"
43026 || test ! -s conftest.err'
43027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43028 (eval $ac_try) 2>&5
43029 ac_status=$?
43030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031 (exit $ac_status); }; } &&
43032 { ac_try='test -s conftest$ac_exeext'
43033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43034 (eval $ac_try) 2>&5
43035 ac_status=$?
43036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037 (exit $ac_status); }; }; then
43038 eval "$as_ac_var=yes"
43039 else
43040 echo "$as_me: failed program was:" >&5
43041 sed 's/^/| /' conftest.$ac_ext >&5
43043 eval "$as_ac_var=no"
43045 rm -f conftest.err conftest.$ac_objext \
43046 conftest$ac_exeext conftest.$ac_ext
43048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43050 if test `eval echo '${'$as_ac_var'}'` = yes; then
43051 cat >>confdefs.h <<_ACEOF
43052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43053 _ACEOF
43056 done
43063 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43064 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43065 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43066 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43067 echo $ECHO_N "(cached) $ECHO_C" >&6
43068 else
43072 ac_ext=cc
43073 ac_cpp='$CXXCPP $CPPFLAGS'
43074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43078 cat >conftest.$ac_ext <<_ACEOF
43079 /* confdefs.h. */
43080 _ACEOF
43081 cat confdefs.h >>conftest.$ac_ext
43082 cat >>conftest.$ac_ext <<_ACEOF
43083 /* end confdefs.h. */
43084 #include <math.h>
43085 #ifdef HAVE_IEEEFP_H
43086 #include <ieeefp.h>
43087 #endif
43090 main ()
43092 fabsl(0);
43094 return 0;
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099 (eval $ac_compile) 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } &&
43106 { ac_try='test -z "$ac_cxx_werror_flag"
43107 || test ! -s conftest.err'
43108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43109 (eval $ac_try) 2>&5
43110 ac_status=$?
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); }; } &&
43113 { ac_try='test -s conftest.$ac_objext'
43114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43115 (eval $ac_try) 2>&5
43116 ac_status=$?
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); }; }; then
43119 glibcxx_cv_func_fabsl_use=yes
43120 else
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43124 glibcxx_cv_func_fabsl_use=no
43126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43127 ac_ext=c
43128 ac_cpp='$CPP $CPPFLAGS'
43129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43138 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43140 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43142 for ac_func in fabsl
43144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43145 echo "$as_me:$LINENO: checking for $ac_func" >&5
43146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43147 if eval "test \"\${$as_ac_var+set}\" = set"; then
43148 echo $ECHO_N "(cached) $ECHO_C" >&6
43149 else
43150 if test x$gcc_no_link = xyes; then
43151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43153 { (exit 1); exit 1; }; }
43155 cat >conftest.$ac_ext <<_ACEOF
43156 /* confdefs.h. */
43157 _ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43163 #define $ac_func innocuous_$ac_func
43165 /* System header to define __stub macros and hopefully few prototypes,
43166 which can conflict with char $ac_func (); below.
43167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43168 <limits.h> exists even on freestanding compilers. */
43170 #ifdef __STDC__
43171 # include <limits.h>
43172 #else
43173 # include <assert.h>
43174 #endif
43176 #undef $ac_func
43178 /* Override any gcc2 internal prototype to avoid an error. */
43179 #ifdef __cplusplus
43180 extern "C"
43182 #endif
43183 /* We use char because int might match the return type of a gcc2
43184 builtin and then its argument prototype would still apply. */
43185 char $ac_func ();
43186 /* The GNU C library defines this for functions which it implements
43187 to always fail with ENOSYS. Some functions are actually named
43188 something starting with __ and the normal name is an alias. */
43189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43190 choke me
43191 #else
43192 char (*f) () = $ac_func;
43193 #endif
43194 #ifdef __cplusplus
43196 #endif
43199 main ()
43201 return f != $ac_func;
43203 return 0;
43205 _ACEOF
43206 rm -f conftest.$ac_objext conftest$ac_exeext
43207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43208 (eval $ac_link) 2>conftest.er1
43209 ac_status=$?
43210 grep -v '^ *+' conftest.er1 >conftest.err
43211 rm -f conftest.er1
43212 cat conftest.err >&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } &&
43215 { ac_try='test -z "$ac_c_werror_flag"
43216 || test ! -s conftest.err'
43217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218 (eval $ac_try) 2>&5
43219 ac_status=$?
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; } &&
43222 { ac_try='test -s conftest$ac_exeext'
43223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43224 (eval $ac_try) 2>&5
43225 ac_status=$?
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); }; }; then
43228 eval "$as_ac_var=yes"
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43233 eval "$as_ac_var=no"
43235 rm -f conftest.err conftest.$ac_objext \
43236 conftest$ac_exeext conftest.$ac_ext
43238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43240 if test `eval echo '${'$as_ac_var'}'` = yes; then
43241 cat >>confdefs.h <<_ACEOF
43242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43243 _ACEOF
43246 done
43248 else
43250 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43251 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43252 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43253 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43254 echo $ECHO_N "(cached) $ECHO_C" >&6
43255 else
43259 ac_ext=cc
43260 ac_cpp='$CXXCPP $CPPFLAGS'
43261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43265 cat >conftest.$ac_ext <<_ACEOF
43266 /* confdefs.h. */
43267 _ACEOF
43268 cat confdefs.h >>conftest.$ac_ext
43269 cat >>conftest.$ac_ext <<_ACEOF
43270 /* end confdefs.h. */
43271 #include <math.h>
43272 #ifdef HAVE_IEEEFP_H
43273 #include <ieeefp.h>
43274 #endif
43277 main ()
43279 _fabsl(0);
43281 return 0;
43283 _ACEOF
43284 rm -f conftest.$ac_objext
43285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43286 (eval $ac_compile) 2>conftest.er1
43287 ac_status=$?
43288 grep -v '^ *+' conftest.er1 >conftest.err
43289 rm -f conftest.er1
43290 cat conftest.err >&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); } &&
43293 { ac_try='test -z "$ac_cxx_werror_flag"
43294 || test ! -s conftest.err'
43295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43296 (eval $ac_try) 2>&5
43297 ac_status=$?
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); }; } &&
43300 { ac_try='test -s conftest.$ac_objext'
43301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43302 (eval $ac_try) 2>&5
43303 ac_status=$?
43304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43305 (exit $ac_status); }; }; then
43306 glibcxx_cv_func__fabsl_use=yes
43307 else
43308 echo "$as_me: failed program was:" >&5
43309 sed 's/^/| /' conftest.$ac_ext >&5
43311 glibcxx_cv_func__fabsl_use=no
43313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43314 ac_ext=c
43315 ac_cpp='$CPP $CPPFLAGS'
43316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43325 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43327 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43329 for ac_func in _fabsl
43331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43332 echo "$as_me:$LINENO: checking for $ac_func" >&5
43333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43334 if eval "test \"\${$as_ac_var+set}\" = set"; then
43335 echo $ECHO_N "(cached) $ECHO_C" >&6
43336 else
43337 if test x$gcc_no_link = xyes; then
43338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43340 { (exit 1); exit 1; }; }
43342 cat >conftest.$ac_ext <<_ACEOF
43343 /* confdefs.h. */
43344 _ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43350 #define $ac_func innocuous_$ac_func
43352 /* System header to define __stub macros and hopefully few prototypes,
43353 which can conflict with char $ac_func (); below.
43354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43355 <limits.h> exists even on freestanding compilers. */
43357 #ifdef __STDC__
43358 # include <limits.h>
43359 #else
43360 # include <assert.h>
43361 #endif
43363 #undef $ac_func
43365 /* Override any gcc2 internal prototype to avoid an error. */
43366 #ifdef __cplusplus
43367 extern "C"
43369 #endif
43370 /* We use char because int might match the return type of a gcc2
43371 builtin and then its argument prototype would still apply. */
43372 char $ac_func ();
43373 /* The GNU C library defines this for functions which it implements
43374 to always fail with ENOSYS. Some functions are actually named
43375 something starting with __ and the normal name is an alias. */
43376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43377 choke me
43378 #else
43379 char (*f) () = $ac_func;
43380 #endif
43381 #ifdef __cplusplus
43383 #endif
43386 main ()
43388 return f != $ac_func;
43390 return 0;
43392 _ACEOF
43393 rm -f conftest.$ac_objext conftest$ac_exeext
43394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43395 (eval $ac_link) 2>conftest.er1
43396 ac_status=$?
43397 grep -v '^ *+' conftest.er1 >conftest.err
43398 rm -f conftest.er1
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } &&
43402 { ac_try='test -z "$ac_c_werror_flag"
43403 || test ! -s conftest.err'
43404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405 (eval $ac_try) 2>&5
43406 ac_status=$?
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); }; } &&
43409 { ac_try='test -s conftest$ac_exeext'
43410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411 (eval $ac_try) 2>&5
43412 ac_status=$?
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); }; }; then
43415 eval "$as_ac_var=yes"
43416 else
43417 echo "$as_me: failed program was:" >&5
43418 sed 's/^/| /' conftest.$ac_ext >&5
43420 eval "$as_ac_var=no"
43422 rm -f conftest.err conftest.$ac_objext \
43423 conftest$ac_exeext conftest.$ac_ext
43425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43427 if test `eval echo '${'$as_ac_var'}'` = yes; then
43428 cat >>confdefs.h <<_ACEOF
43429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43430 _ACEOF
43433 done
43440 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43441 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43442 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43443 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43444 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 else
43449 ac_ext=cc
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455 cat >conftest.$ac_ext <<_ACEOF
43456 /* confdefs.h. */
43457 _ACEOF
43458 cat confdefs.h >>conftest.$ac_ext
43459 cat >>conftest.$ac_ext <<_ACEOF
43460 /* end confdefs.h. */
43461 #include <math.h>
43463 main ()
43465 fmodl(0, 0);
43467 return 0;
43469 _ACEOF
43470 rm -f conftest.$ac_objext
43471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43472 (eval $ac_compile) 2>conftest.er1
43473 ac_status=$?
43474 grep -v '^ *+' conftest.er1 >conftest.err
43475 rm -f conftest.er1
43476 cat conftest.err >&5
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); } &&
43479 { ac_try='test -z "$ac_cxx_werror_flag"
43480 || test ! -s conftest.err'
43481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43482 (eval $ac_try) 2>&5
43483 ac_status=$?
43484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485 (exit $ac_status); }; } &&
43486 { ac_try='test -s conftest.$ac_objext'
43487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43488 (eval $ac_try) 2>&5
43489 ac_status=$?
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); }; }; then
43492 glibcxx_cv_func_fmodl_use=yes
43493 else
43494 echo "$as_me: failed program was:" >&5
43495 sed 's/^/| /' conftest.$ac_ext >&5
43497 glibcxx_cv_func_fmodl_use=no
43499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43511 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43513 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43515 for ac_func in fmodl
43517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43518 echo "$as_me:$LINENO: checking for $ac_func" >&5
43519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43520 if eval "test \"\${$as_ac_var+set}\" = set"; then
43521 echo $ECHO_N "(cached) $ECHO_C" >&6
43522 else
43523 if test x$gcc_no_link = xyes; then
43524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43526 { (exit 1); exit 1; }; }
43528 cat >conftest.$ac_ext <<_ACEOF
43529 /* confdefs.h. */
43530 _ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h. */
43534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43536 #define $ac_func innocuous_$ac_func
43538 /* System header to define __stub macros and hopefully few prototypes,
43539 which can conflict with char $ac_func (); below.
43540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43541 <limits.h> exists even on freestanding compilers. */
43543 #ifdef __STDC__
43544 # include <limits.h>
43545 #else
43546 # include <assert.h>
43547 #endif
43549 #undef $ac_func
43551 /* Override any gcc2 internal prototype to avoid an error. */
43552 #ifdef __cplusplus
43553 extern "C"
43555 #endif
43556 /* We use char because int might match the return type of a gcc2
43557 builtin and then its argument prototype would still apply. */
43558 char $ac_func ();
43559 /* The GNU C library defines this for functions which it implements
43560 to always fail with ENOSYS. Some functions are actually named
43561 something starting with __ and the normal name is an alias. */
43562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43563 choke me
43564 #else
43565 char (*f) () = $ac_func;
43566 #endif
43567 #ifdef __cplusplus
43569 #endif
43572 main ()
43574 return f != $ac_func;
43576 return 0;
43578 _ACEOF
43579 rm -f conftest.$ac_objext conftest$ac_exeext
43580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43581 (eval $ac_link) 2>conftest.er1
43582 ac_status=$?
43583 grep -v '^ *+' conftest.er1 >conftest.err
43584 rm -f conftest.er1
43585 cat conftest.err >&5
43586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587 (exit $ac_status); } &&
43588 { ac_try='test -z "$ac_c_werror_flag"
43589 || test ! -s conftest.err'
43590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591 (eval $ac_try) 2>&5
43592 ac_status=$?
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; } &&
43595 { ac_try='test -s conftest$ac_exeext'
43596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43597 (eval $ac_try) 2>&5
43598 ac_status=$?
43599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600 (exit $ac_status); }; }; then
43601 eval "$as_ac_var=yes"
43602 else
43603 echo "$as_me: failed program was:" >&5
43604 sed 's/^/| /' conftest.$ac_ext >&5
43606 eval "$as_ac_var=no"
43608 rm -f conftest.err conftest.$ac_objext \
43609 conftest$ac_exeext conftest.$ac_ext
43611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43613 if test `eval echo '${'$as_ac_var'}'` = yes; then
43614 cat >>confdefs.h <<_ACEOF
43615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43616 _ACEOF
43619 done
43621 else
43623 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43624 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43625 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43626 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43632 ac_ext=cc
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat >conftest.$ac_ext <<_ACEOF
43639 /* confdefs.h. */
43640 _ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h. */
43644 #include <math.h>
43646 main ()
43648 _fmodl(0, 0);
43650 return 0;
43652 _ACEOF
43653 rm -f conftest.$ac_objext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43655 (eval $ac_compile) 2>conftest.er1
43656 ac_status=$?
43657 grep -v '^ *+' conftest.er1 >conftest.err
43658 rm -f conftest.er1
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } &&
43662 { ac_try='test -z "$ac_cxx_werror_flag"
43663 || test ! -s conftest.err'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43666 ac_status=$?
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; } &&
43669 { ac_try='test -s conftest.$ac_objext'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43672 ac_status=$?
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; }; then
43675 glibcxx_cv_func__fmodl_use=yes
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43680 glibcxx_cv_func__fmodl_use=no
43682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43694 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43696 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43698 for ac_func in _fmodl
43700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43701 echo "$as_me:$LINENO: checking for $ac_func" >&5
43702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43703 if eval "test \"\${$as_ac_var+set}\" = set"; then
43704 echo $ECHO_N "(cached) $ECHO_C" >&6
43705 else
43706 if test x$gcc_no_link = xyes; then
43707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43709 { (exit 1); exit 1; }; }
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h. */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h. */
43717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43719 #define $ac_func innocuous_$ac_func
43721 /* System header to define __stub macros and hopefully few prototypes,
43722 which can conflict with char $ac_func (); below.
43723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43724 <limits.h> exists even on freestanding compilers. */
43726 #ifdef __STDC__
43727 # include <limits.h>
43728 #else
43729 # include <assert.h>
43730 #endif
43732 #undef $ac_func
43734 /* Override any gcc2 internal prototype to avoid an error. */
43735 #ifdef __cplusplus
43736 extern "C"
43738 #endif
43739 /* We use char because int might match the return type of a gcc2
43740 builtin and then its argument prototype would still apply. */
43741 char $ac_func ();
43742 /* The GNU C library defines this for functions which it implements
43743 to always fail with ENOSYS. Some functions are actually named
43744 something starting with __ and the normal name is an alias. */
43745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43746 choke me
43747 #else
43748 char (*f) () = $ac_func;
43749 #endif
43750 #ifdef __cplusplus
43752 #endif
43755 main ()
43757 return f != $ac_func;
43759 return 0;
43761 _ACEOF
43762 rm -f conftest.$ac_objext conftest$ac_exeext
43763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43764 (eval $ac_link) 2>conftest.er1
43765 ac_status=$?
43766 grep -v '^ *+' conftest.er1 >conftest.err
43767 rm -f conftest.er1
43768 cat conftest.err >&5
43769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770 (exit $ac_status); } &&
43771 { ac_try='test -z "$ac_c_werror_flag"
43772 || test ! -s conftest.err'
43773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43774 (eval $ac_try) 2>&5
43775 ac_status=$?
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); }; } &&
43778 { ac_try='test -s conftest$ac_exeext'
43779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43780 (eval $ac_try) 2>&5
43781 ac_status=$?
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); }; }; then
43784 eval "$as_ac_var=yes"
43785 else
43786 echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43789 eval "$as_ac_var=no"
43791 rm -f conftest.err conftest.$ac_objext \
43792 conftest$ac_exeext conftest.$ac_ext
43794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43796 if test `eval echo '${'$as_ac_var'}'` = yes; then
43797 cat >>confdefs.h <<_ACEOF
43798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43799 _ACEOF
43802 done
43809 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43810 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43811 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43812 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43818 ac_ext=cc
43819 ac_cpp='$CXXCPP $CPPFLAGS'
43820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43824 cat >conftest.$ac_ext <<_ACEOF
43825 /* confdefs.h. */
43826 _ACEOF
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h. */
43830 #include <math.h>
43832 main ()
43834 frexpl(0, 0);
43836 return 0;
43838 _ACEOF
43839 rm -f conftest.$ac_objext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43841 (eval $ac_compile) 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try='test -z "$ac_cxx_werror_flag"
43849 || test ! -s conftest.err'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; } &&
43855 { ac_try='test -s conftest.$ac_objext'
43856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857 (eval $ac_try) 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; }; then
43861 glibcxx_cv_func_frexpl_use=yes
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 glibcxx_cv_func_frexpl_use=no
43868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43869 ac_ext=c
43870 ac_cpp='$CPP $CPPFLAGS'
43871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43880 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43882 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43884 for ac_func in frexpl
43886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43887 echo "$as_me:$LINENO: checking for $ac_func" >&5
43888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43889 if eval "test \"\${$as_ac_var+set}\" = set"; then
43890 echo $ECHO_N "(cached) $ECHO_C" >&6
43891 else
43892 if test x$gcc_no_link = xyes; then
43893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43895 { (exit 1); exit 1; }; }
43897 cat >conftest.$ac_ext <<_ACEOF
43898 /* confdefs.h. */
43899 _ACEOF
43900 cat confdefs.h >>conftest.$ac_ext
43901 cat >>conftest.$ac_ext <<_ACEOF
43902 /* end confdefs.h. */
43903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43905 #define $ac_func innocuous_$ac_func
43907 /* System header to define __stub macros and hopefully few prototypes,
43908 which can conflict with char $ac_func (); below.
43909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43910 <limits.h> exists even on freestanding compilers. */
43912 #ifdef __STDC__
43913 # include <limits.h>
43914 #else
43915 # include <assert.h>
43916 #endif
43918 #undef $ac_func
43920 /* Override any gcc2 internal prototype to avoid an error. */
43921 #ifdef __cplusplus
43922 extern "C"
43924 #endif
43925 /* We use char because int might match the return type of a gcc2
43926 builtin and then its argument prototype would still apply. */
43927 char $ac_func ();
43928 /* The GNU C library defines this for functions which it implements
43929 to always fail with ENOSYS. Some functions are actually named
43930 something starting with __ and the normal name is an alias. */
43931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43932 choke me
43933 #else
43934 char (*f) () = $ac_func;
43935 #endif
43936 #ifdef __cplusplus
43938 #endif
43941 main ()
43943 return f != $ac_func;
43945 return 0;
43947 _ACEOF
43948 rm -f conftest.$ac_objext conftest$ac_exeext
43949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43950 (eval $ac_link) 2>conftest.er1
43951 ac_status=$?
43952 grep -v '^ *+' conftest.er1 >conftest.err
43953 rm -f conftest.er1
43954 cat conftest.err >&5
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); } &&
43957 { ac_try='test -z "$ac_c_werror_flag"
43958 || test ! -s conftest.err'
43959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43960 (eval $ac_try) 2>&5
43961 ac_status=$?
43962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43963 (exit $ac_status); }; } &&
43964 { ac_try='test -s conftest$ac_exeext'
43965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43966 (eval $ac_try) 2>&5
43967 ac_status=$?
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); }; }; then
43970 eval "$as_ac_var=yes"
43971 else
43972 echo "$as_me: failed program was:" >&5
43973 sed 's/^/| /' conftest.$ac_ext >&5
43975 eval "$as_ac_var=no"
43977 rm -f conftest.err conftest.$ac_objext \
43978 conftest$ac_exeext conftest.$ac_ext
43980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43982 if test `eval echo '${'$as_ac_var'}'` = yes; then
43983 cat >>confdefs.h <<_ACEOF
43984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43985 _ACEOF
43988 done
43990 else
43992 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43993 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43994 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43995 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
44001 ac_ext=cc
44002 ac_cpp='$CXXCPP $CPPFLAGS'
44003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007 cat >conftest.$ac_ext <<_ACEOF
44008 /* confdefs.h. */
44009 _ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h. */
44013 #include <math.h>
44015 main ()
44017 _frexpl(0, 0);
44019 return 0;
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024 (eval $ac_compile) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_cxx_werror_flag"
44032 || test ! -s conftest.err'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest.$ac_objext'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; }; then
44044 glibcxx_cv_func__frexpl_use=yes
44045 else
44046 echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44049 glibcxx_cv_func__frexpl_use=no
44051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44052 ac_ext=c
44053 ac_cpp='$CPP $CPPFLAGS'
44054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44063 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44065 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44067 for ac_func in _frexpl
44069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44070 echo "$as_me:$LINENO: checking for $ac_func" >&5
44071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44072 if eval "test \"\${$as_ac_var+set}\" = set"; then
44073 echo $ECHO_N "(cached) $ECHO_C" >&6
44074 else
44075 if test x$gcc_no_link = xyes; then
44076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44078 { (exit 1); exit 1; }; }
44080 cat >conftest.$ac_ext <<_ACEOF
44081 /* confdefs.h. */
44082 _ACEOF
44083 cat confdefs.h >>conftest.$ac_ext
44084 cat >>conftest.$ac_ext <<_ACEOF
44085 /* end confdefs.h. */
44086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44088 #define $ac_func innocuous_$ac_func
44090 /* System header to define __stub macros and hopefully few prototypes,
44091 which can conflict with char $ac_func (); below.
44092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44093 <limits.h> exists even on freestanding compilers. */
44095 #ifdef __STDC__
44096 # include <limits.h>
44097 #else
44098 # include <assert.h>
44099 #endif
44101 #undef $ac_func
44103 /* Override any gcc2 internal prototype to avoid an error. */
44104 #ifdef __cplusplus
44105 extern "C"
44107 #endif
44108 /* We use char because int might match the return type of a gcc2
44109 builtin and then its argument prototype would still apply. */
44110 char $ac_func ();
44111 /* The GNU C library defines this for functions which it implements
44112 to always fail with ENOSYS. Some functions are actually named
44113 something starting with __ and the normal name is an alias. */
44114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44115 choke me
44116 #else
44117 char (*f) () = $ac_func;
44118 #endif
44119 #ifdef __cplusplus
44121 #endif
44124 main ()
44126 return f != $ac_func;
44128 return 0;
44130 _ACEOF
44131 rm -f conftest.$ac_objext conftest$ac_exeext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44133 (eval $ac_link) 2>conftest.er1
44134 ac_status=$?
44135 grep -v '^ *+' conftest.er1 >conftest.err
44136 rm -f conftest.er1
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } &&
44140 { ac_try='test -z "$ac_c_werror_flag"
44141 || test ! -s conftest.err'
44142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143 (eval $ac_try) 2>&5
44144 ac_status=$?
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); }; } &&
44147 { ac_try='test -s conftest$ac_exeext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44150 ac_status=$?
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153 eval "$as_ac_var=yes"
44154 else
44155 echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44158 eval "$as_ac_var=no"
44160 rm -f conftest.err conftest.$ac_objext \
44161 conftest$ac_exeext conftest.$ac_ext
44163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44165 if test `eval echo '${'$as_ac_var'}'` = yes; then
44166 cat >>confdefs.h <<_ACEOF
44167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44168 _ACEOF
44171 done
44178 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44179 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44180 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44181 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44182 echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44187 ac_ext=cc
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193 cat >conftest.$ac_ext <<_ACEOF
44194 /* confdefs.h. */
44195 _ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44199 #include <math.h>
44201 main ()
44203 hypotl(0, 0);
44205 return 0;
44207 _ACEOF
44208 rm -f conftest.$ac_objext
44209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44210 (eval $ac_compile) 2>conftest.er1
44211 ac_status=$?
44212 grep -v '^ *+' conftest.er1 >conftest.err
44213 rm -f conftest.er1
44214 cat conftest.err >&5
44215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216 (exit $ac_status); } &&
44217 { ac_try='test -z "$ac_cxx_werror_flag"
44218 || test ! -s conftest.err'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; } &&
44224 { ac_try='test -s conftest.$ac_objext'
44225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44226 (eval $ac_try) 2>&5
44227 ac_status=$?
44228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44229 (exit $ac_status); }; }; then
44230 glibcxx_cv_func_hypotl_use=yes
44231 else
44232 echo "$as_me: failed program was:" >&5
44233 sed 's/^/| /' conftest.$ac_ext >&5
44235 glibcxx_cv_func_hypotl_use=no
44237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44238 ac_ext=c
44239 ac_cpp='$CPP $CPPFLAGS'
44240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44249 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44251 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44253 for ac_func in hypotl
44255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44256 echo "$as_me:$LINENO: checking for $ac_func" >&5
44257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44258 if eval "test \"\${$as_ac_var+set}\" = set"; then
44259 echo $ECHO_N "(cached) $ECHO_C" >&6
44260 else
44261 if test x$gcc_no_link = xyes; then
44262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44264 { (exit 1); exit 1; }; }
44266 cat >conftest.$ac_ext <<_ACEOF
44267 /* confdefs.h. */
44268 _ACEOF
44269 cat confdefs.h >>conftest.$ac_ext
44270 cat >>conftest.$ac_ext <<_ACEOF
44271 /* end confdefs.h. */
44272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44274 #define $ac_func innocuous_$ac_func
44276 /* System header to define __stub macros and hopefully few prototypes,
44277 which can conflict with char $ac_func (); below.
44278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44279 <limits.h> exists even on freestanding compilers. */
44281 #ifdef __STDC__
44282 # include <limits.h>
44283 #else
44284 # include <assert.h>
44285 #endif
44287 #undef $ac_func
44289 /* Override any gcc2 internal prototype to avoid an error. */
44290 #ifdef __cplusplus
44291 extern "C"
44293 #endif
44294 /* We use char because int might match the return type of a gcc2
44295 builtin and then its argument prototype would still apply. */
44296 char $ac_func ();
44297 /* The GNU C library defines this for functions which it implements
44298 to always fail with ENOSYS. Some functions are actually named
44299 something starting with __ and the normal name is an alias. */
44300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44301 choke me
44302 #else
44303 char (*f) () = $ac_func;
44304 #endif
44305 #ifdef __cplusplus
44307 #endif
44310 main ()
44312 return f != $ac_func;
44314 return 0;
44316 _ACEOF
44317 rm -f conftest.$ac_objext conftest$ac_exeext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44319 (eval $ac_link) 2>conftest.er1
44320 ac_status=$?
44321 grep -v '^ *+' conftest.er1 >conftest.err
44322 rm -f conftest.er1
44323 cat conftest.err >&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); } &&
44326 { ac_try='test -z "$ac_c_werror_flag"
44327 || test ! -s conftest.err'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; } &&
44333 { ac_try='test -s conftest$ac_exeext'
44334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335 (eval $ac_try) 2>&5
44336 ac_status=$?
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); }; }; then
44339 eval "$as_ac_var=yes"
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44344 eval "$as_ac_var=no"
44346 rm -f conftest.err conftest.$ac_objext \
44347 conftest$ac_exeext conftest.$ac_ext
44349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44351 if test `eval echo '${'$as_ac_var'}'` = yes; then
44352 cat >>confdefs.h <<_ACEOF
44353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44354 _ACEOF
44357 done
44359 else
44361 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44362 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44363 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44364 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44365 echo $ECHO_N "(cached) $ECHO_C" >&6
44366 else
44370 ac_ext=cc
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44376 cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h. */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h. */
44382 #include <math.h>
44384 main ()
44386 _hypotl(0, 0);
44388 return 0;
44390 _ACEOF
44391 rm -f conftest.$ac_objext
44392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44393 (eval $ac_compile) 2>conftest.er1
44394 ac_status=$?
44395 grep -v '^ *+' conftest.er1 >conftest.err
44396 rm -f conftest.er1
44397 cat conftest.err >&5
44398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399 (exit $ac_status); } &&
44400 { ac_try='test -z "$ac_cxx_werror_flag"
44401 || test ! -s conftest.err'
44402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44403 (eval $ac_try) 2>&5
44404 ac_status=$?
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); }; } &&
44407 { ac_try='test -s conftest.$ac_objext'
44408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44409 (eval $ac_try) 2>&5
44410 ac_status=$?
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); }; }; then
44413 glibcxx_cv_func__hypotl_use=yes
44414 else
44415 echo "$as_me: failed program was:" >&5
44416 sed 's/^/| /' conftest.$ac_ext >&5
44418 glibcxx_cv_func__hypotl_use=no
44420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44421 ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44432 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44434 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44436 for ac_func in _hypotl
44438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44439 echo "$as_me:$LINENO: checking for $ac_func" >&5
44440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44441 if eval "test \"\${$as_ac_var+set}\" = set"; then
44442 echo $ECHO_N "(cached) $ECHO_C" >&6
44443 else
44444 if test x$gcc_no_link = xyes; then
44445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44447 { (exit 1); exit 1; }; }
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h. */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44457 #define $ac_func innocuous_$ac_func
44459 /* System header to define __stub macros and hopefully few prototypes,
44460 which can conflict with char $ac_func (); below.
44461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44462 <limits.h> exists even on freestanding compilers. */
44464 #ifdef __STDC__
44465 # include <limits.h>
44466 #else
44467 # include <assert.h>
44468 #endif
44470 #undef $ac_func
44472 /* Override any gcc2 internal prototype to avoid an error. */
44473 #ifdef __cplusplus
44474 extern "C"
44476 #endif
44477 /* We use char because int might match the return type of a gcc2
44478 builtin and then its argument prototype would still apply. */
44479 char $ac_func ();
44480 /* The GNU C library defines this for functions which it implements
44481 to always fail with ENOSYS. Some functions are actually named
44482 something starting with __ and the normal name is an alias. */
44483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44484 choke me
44485 #else
44486 char (*f) () = $ac_func;
44487 #endif
44488 #ifdef __cplusplus
44490 #endif
44493 main ()
44495 return f != $ac_func;
44497 return 0;
44499 _ACEOF
44500 rm -f conftest.$ac_objext conftest$ac_exeext
44501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44502 (eval $ac_link) 2>conftest.er1
44503 ac_status=$?
44504 grep -v '^ *+' conftest.er1 >conftest.err
44505 rm -f conftest.er1
44506 cat conftest.err >&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); } &&
44509 { ac_try='test -z "$ac_c_werror_flag"
44510 || test ! -s conftest.err'
44511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512 (eval $ac_try) 2>&5
44513 ac_status=$?
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); }; } &&
44516 { ac_try='test -s conftest$ac_exeext'
44517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44518 (eval $ac_try) 2>&5
44519 ac_status=$?
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); }; }; then
44522 eval "$as_ac_var=yes"
44523 else
44524 echo "$as_me: failed program was:" >&5
44525 sed 's/^/| /' conftest.$ac_ext >&5
44527 eval "$as_ac_var=no"
44529 rm -f conftest.err conftest.$ac_objext \
44530 conftest$ac_exeext conftest.$ac_ext
44532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44534 if test `eval echo '${'$as_ac_var'}'` = yes; then
44535 cat >>confdefs.h <<_ACEOF
44536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44537 _ACEOF
44540 done
44547 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44548 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44549 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44550 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44551 echo $ECHO_N "(cached) $ECHO_C" >&6
44552 else
44556 ac_ext=cc
44557 ac_cpp='$CXXCPP $CPPFLAGS'
44558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562 cat >conftest.$ac_ext <<_ACEOF
44563 /* confdefs.h. */
44564 _ACEOF
44565 cat confdefs.h >>conftest.$ac_ext
44566 cat >>conftest.$ac_ext <<_ACEOF
44567 /* end confdefs.h. */
44568 #include <math.h>
44570 main ()
44572 ldexpl(0, 0);
44574 return 0;
44576 _ACEOF
44577 rm -f conftest.$ac_objext
44578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44579 (eval $ac_compile) 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } &&
44586 { ac_try='test -z "$ac_cxx_werror_flag"
44587 || test ! -s conftest.err'
44588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589 (eval $ac_try) 2>&5
44590 ac_status=$?
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; } &&
44593 { ac_try='test -s conftest.$ac_objext'
44594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595 (eval $ac_try) 2>&5
44596 ac_status=$?
44597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598 (exit $ac_status); }; }; then
44599 glibcxx_cv_func_ldexpl_use=yes
44600 else
44601 echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.$ac_ext >&5
44604 glibcxx_cv_func_ldexpl_use=no
44606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44607 ac_ext=c
44608 ac_cpp='$CPP $CPPFLAGS'
44609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44618 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44620 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44622 for ac_func in ldexpl
44624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44625 echo "$as_me:$LINENO: checking for $ac_func" >&5
44626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44627 if eval "test \"\${$as_ac_var+set}\" = set"; then
44628 echo $ECHO_N "(cached) $ECHO_C" >&6
44629 else
44630 if test x$gcc_no_link = xyes; then
44631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44633 { (exit 1); exit 1; }; }
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44643 #define $ac_func innocuous_$ac_func
44645 /* System header to define __stub macros and hopefully few prototypes,
44646 which can conflict with char $ac_func (); below.
44647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44648 <limits.h> exists even on freestanding compilers. */
44650 #ifdef __STDC__
44651 # include <limits.h>
44652 #else
44653 # include <assert.h>
44654 #endif
44656 #undef $ac_func
44658 /* Override any gcc2 internal prototype to avoid an error. */
44659 #ifdef __cplusplus
44660 extern "C"
44662 #endif
44663 /* We use char because int might match the return type of a gcc2
44664 builtin and then its argument prototype would still apply. */
44665 char $ac_func ();
44666 /* The GNU C library defines this for functions which it implements
44667 to always fail with ENOSYS. Some functions are actually named
44668 something starting with __ and the normal name is an alias. */
44669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44670 choke me
44671 #else
44672 char (*f) () = $ac_func;
44673 #endif
44674 #ifdef __cplusplus
44676 #endif
44679 main ()
44681 return f != $ac_func;
44683 return 0;
44685 _ACEOF
44686 rm -f conftest.$ac_objext conftest$ac_exeext
44687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44688 (eval $ac_link) 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } &&
44695 { ac_try='test -z "$ac_c_werror_flag"
44696 || test ! -s conftest.err'
44697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698 (eval $ac_try) 2>&5
44699 ac_status=$?
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); }; } &&
44702 { ac_try='test -s conftest$ac_exeext'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44705 ac_status=$?
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44708 eval "$as_ac_var=yes"
44709 else
44710 echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44713 eval "$as_ac_var=no"
44715 rm -f conftest.err conftest.$ac_objext \
44716 conftest$ac_exeext conftest.$ac_ext
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721 cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44723 _ACEOF
44726 done
44728 else
44730 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44731 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44732 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44733 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44734 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44739 ac_ext=cc
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745 cat >conftest.$ac_ext <<_ACEOF
44746 /* confdefs.h. */
44747 _ACEOF
44748 cat confdefs.h >>conftest.$ac_ext
44749 cat >>conftest.$ac_ext <<_ACEOF
44750 /* end confdefs.h. */
44751 #include <math.h>
44753 main ()
44755 _ldexpl(0, 0);
44757 return 0;
44759 _ACEOF
44760 rm -f conftest.$ac_objext
44761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44762 (eval $ac_compile) 2>conftest.er1
44763 ac_status=$?
44764 grep -v '^ *+' conftest.er1 >conftest.err
44765 rm -f conftest.er1
44766 cat conftest.err >&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); } &&
44769 { ac_try='test -z "$ac_cxx_werror_flag"
44770 || test ! -s conftest.err'
44771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44772 (eval $ac_try) 2>&5
44773 ac_status=$?
44774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44775 (exit $ac_status); }; } &&
44776 { ac_try='test -s conftest.$ac_objext'
44777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44778 (eval $ac_try) 2>&5
44779 ac_status=$?
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); }; }; then
44782 glibcxx_cv_func__ldexpl_use=yes
44783 else
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.$ac_ext >&5
44787 glibcxx_cv_func__ldexpl_use=no
44789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44790 ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44801 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44803 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44805 for ac_func in _ldexpl
44807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44808 echo "$as_me:$LINENO: checking for $ac_func" >&5
44809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44810 if eval "test \"\${$as_ac_var+set}\" = set"; then
44811 echo $ECHO_N "(cached) $ECHO_C" >&6
44812 else
44813 if test x$gcc_no_link = xyes; then
44814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44816 { (exit 1); exit 1; }; }
44818 cat >conftest.$ac_ext <<_ACEOF
44819 /* confdefs.h. */
44820 _ACEOF
44821 cat confdefs.h >>conftest.$ac_ext
44822 cat >>conftest.$ac_ext <<_ACEOF
44823 /* end confdefs.h. */
44824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44826 #define $ac_func innocuous_$ac_func
44828 /* System header to define __stub macros and hopefully few prototypes,
44829 which can conflict with char $ac_func (); below.
44830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44831 <limits.h> exists even on freestanding compilers. */
44833 #ifdef __STDC__
44834 # include <limits.h>
44835 #else
44836 # include <assert.h>
44837 #endif
44839 #undef $ac_func
44841 /* Override any gcc2 internal prototype to avoid an error. */
44842 #ifdef __cplusplus
44843 extern "C"
44845 #endif
44846 /* We use char because int might match the return type of a gcc2
44847 builtin and then its argument prototype would still apply. */
44848 char $ac_func ();
44849 /* The GNU C library defines this for functions which it implements
44850 to always fail with ENOSYS. Some functions are actually named
44851 something starting with __ and the normal name is an alias. */
44852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44853 choke me
44854 #else
44855 char (*f) () = $ac_func;
44856 #endif
44857 #ifdef __cplusplus
44859 #endif
44862 main ()
44864 return f != $ac_func;
44866 return 0;
44868 _ACEOF
44869 rm -f conftest.$ac_objext conftest$ac_exeext
44870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44871 (eval $ac_link) 2>conftest.er1
44872 ac_status=$?
44873 grep -v '^ *+' conftest.er1 >conftest.err
44874 rm -f conftest.er1
44875 cat conftest.err >&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); } &&
44878 { ac_try='test -z "$ac_c_werror_flag"
44879 || test ! -s conftest.err'
44880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44881 (eval $ac_try) 2>&5
44882 ac_status=$?
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); }; } &&
44885 { ac_try='test -s conftest$ac_exeext'
44886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887 (eval $ac_try) 2>&5
44888 ac_status=$?
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); }; }; then
44891 eval "$as_ac_var=yes"
44892 else
44893 echo "$as_me: failed program was:" >&5
44894 sed 's/^/| /' conftest.$ac_ext >&5
44896 eval "$as_ac_var=no"
44898 rm -f conftest.err conftest.$ac_objext \
44899 conftest$ac_exeext conftest.$ac_ext
44901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44903 if test `eval echo '${'$as_ac_var'}'` = yes; then
44904 cat >>confdefs.h <<_ACEOF
44905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44906 _ACEOF
44909 done
44916 echo "$as_me:$LINENO: checking for logl declaration" >&5
44917 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44918 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44919 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44920 echo $ECHO_N "(cached) $ECHO_C" >&6
44921 else
44925 ac_ext=cc
44926 ac_cpp='$CXXCPP $CPPFLAGS'
44927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44931 cat >conftest.$ac_ext <<_ACEOF
44932 /* confdefs.h. */
44933 _ACEOF
44934 cat confdefs.h >>conftest.$ac_ext
44935 cat >>conftest.$ac_ext <<_ACEOF
44936 /* end confdefs.h. */
44937 #include <math.h>
44938 #ifdef HAVE_IEEEFP_H
44939 #include <ieeefp.h>
44940 #endif
44943 main ()
44945 logl(0);
44947 return 0;
44949 _ACEOF
44950 rm -f conftest.$ac_objext
44951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44952 (eval $ac_compile) 2>conftest.er1
44953 ac_status=$?
44954 grep -v '^ *+' conftest.er1 >conftest.err
44955 rm -f conftest.er1
44956 cat conftest.err >&5
44957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958 (exit $ac_status); } &&
44959 { ac_try='test -z "$ac_cxx_werror_flag"
44960 || test ! -s conftest.err'
44961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962 (eval $ac_try) 2>&5
44963 ac_status=$?
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; } &&
44966 { ac_try='test -s conftest.$ac_objext'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44969 ac_status=$?
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; }; then
44972 glibcxx_cv_func_logl_use=yes
44973 else
44974 echo "$as_me: failed program was:" >&5
44975 sed 's/^/| /' conftest.$ac_ext >&5
44977 glibcxx_cv_func_logl_use=no
44979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44991 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44993 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44995 for ac_func in logl
44997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44998 echo "$as_me:$LINENO: checking for $ac_func" >&5
44999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45000 if eval "test \"\${$as_ac_var+set}\" = set"; then
45001 echo $ECHO_N "(cached) $ECHO_C" >&6
45002 else
45003 if test x$gcc_no_link = xyes; then
45004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45006 { (exit 1); exit 1; }; }
45008 cat >conftest.$ac_ext <<_ACEOF
45009 /* confdefs.h. */
45010 _ACEOF
45011 cat confdefs.h >>conftest.$ac_ext
45012 cat >>conftest.$ac_ext <<_ACEOF
45013 /* end confdefs.h. */
45014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45016 #define $ac_func innocuous_$ac_func
45018 /* System header to define __stub macros and hopefully few prototypes,
45019 which can conflict with char $ac_func (); below.
45020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45021 <limits.h> exists even on freestanding compilers. */
45023 #ifdef __STDC__
45024 # include <limits.h>
45025 #else
45026 # include <assert.h>
45027 #endif
45029 #undef $ac_func
45031 /* Override any gcc2 internal prototype to avoid an error. */
45032 #ifdef __cplusplus
45033 extern "C"
45035 #endif
45036 /* We use char because int might match the return type of a gcc2
45037 builtin and then its argument prototype would still apply. */
45038 char $ac_func ();
45039 /* The GNU C library defines this for functions which it implements
45040 to always fail with ENOSYS. Some functions are actually named
45041 something starting with __ and the normal name is an alias. */
45042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45043 choke me
45044 #else
45045 char (*f) () = $ac_func;
45046 #endif
45047 #ifdef __cplusplus
45049 #endif
45052 main ()
45054 return f != $ac_func;
45056 return 0;
45058 _ACEOF
45059 rm -f conftest.$ac_objext conftest$ac_exeext
45060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45061 (eval $ac_link) 2>conftest.er1
45062 ac_status=$?
45063 grep -v '^ *+' conftest.er1 >conftest.err
45064 rm -f conftest.er1
45065 cat conftest.err >&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); } &&
45068 { ac_try='test -z "$ac_c_werror_flag"
45069 || test ! -s conftest.err'
45070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45071 (eval $ac_try) 2>&5
45072 ac_status=$?
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); }; } &&
45075 { ac_try='test -s conftest$ac_exeext'
45076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45077 (eval $ac_try) 2>&5
45078 ac_status=$?
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); }; }; then
45081 eval "$as_ac_var=yes"
45082 else
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.$ac_ext >&5
45086 eval "$as_ac_var=no"
45088 rm -f conftest.err conftest.$ac_objext \
45089 conftest$ac_exeext conftest.$ac_ext
45091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45093 if test `eval echo '${'$as_ac_var'}'` = yes; then
45094 cat >>confdefs.h <<_ACEOF
45095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45096 _ACEOF
45099 done
45101 else
45103 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45104 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45105 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45106 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45107 echo $ECHO_N "(cached) $ECHO_C" >&6
45108 else
45112 ac_ext=cc
45113 ac_cpp='$CXXCPP $CPPFLAGS'
45114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45118 cat >conftest.$ac_ext <<_ACEOF
45119 /* confdefs.h. */
45120 _ACEOF
45121 cat confdefs.h >>conftest.$ac_ext
45122 cat >>conftest.$ac_ext <<_ACEOF
45123 /* end confdefs.h. */
45124 #include <math.h>
45125 #ifdef HAVE_IEEEFP_H
45126 #include <ieeefp.h>
45127 #endif
45130 main ()
45132 _logl(0);
45134 return 0;
45136 _ACEOF
45137 rm -f conftest.$ac_objext
45138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45139 (eval $ac_compile) 2>conftest.er1
45140 ac_status=$?
45141 grep -v '^ *+' conftest.er1 >conftest.err
45142 rm -f conftest.er1
45143 cat conftest.err >&5
45144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45145 (exit $ac_status); } &&
45146 { ac_try='test -z "$ac_cxx_werror_flag"
45147 || test ! -s conftest.err'
45148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45149 (eval $ac_try) 2>&5
45150 ac_status=$?
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); }; } &&
45153 { ac_try='test -s conftest.$ac_objext'
45154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45155 (eval $ac_try) 2>&5
45156 ac_status=$?
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); }; }; then
45159 glibcxx_cv_func__logl_use=yes
45160 else
45161 echo "$as_me: failed program was:" >&5
45162 sed 's/^/| /' conftest.$ac_ext >&5
45164 glibcxx_cv_func__logl_use=no
45166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45167 ac_ext=c
45168 ac_cpp='$CPP $CPPFLAGS'
45169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45178 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45180 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45182 for ac_func in _logl
45184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45185 echo "$as_me:$LINENO: checking for $ac_func" >&5
45186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45187 if eval "test \"\${$as_ac_var+set}\" = set"; then
45188 echo $ECHO_N "(cached) $ECHO_C" >&6
45189 else
45190 if test x$gcc_no_link = xyes; then
45191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45193 { (exit 1); exit 1; }; }
45195 cat >conftest.$ac_ext <<_ACEOF
45196 /* confdefs.h. */
45197 _ACEOF
45198 cat confdefs.h >>conftest.$ac_ext
45199 cat >>conftest.$ac_ext <<_ACEOF
45200 /* end confdefs.h. */
45201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45203 #define $ac_func innocuous_$ac_func
45205 /* System header to define __stub macros and hopefully few prototypes,
45206 which can conflict with char $ac_func (); below.
45207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45208 <limits.h> exists even on freestanding compilers. */
45210 #ifdef __STDC__
45211 # include <limits.h>
45212 #else
45213 # include <assert.h>
45214 #endif
45216 #undef $ac_func
45218 /* Override any gcc2 internal prototype to avoid an error. */
45219 #ifdef __cplusplus
45220 extern "C"
45222 #endif
45223 /* We use char because int might match the return type of a gcc2
45224 builtin and then its argument prototype would still apply. */
45225 char $ac_func ();
45226 /* The GNU C library defines this for functions which it implements
45227 to always fail with ENOSYS. Some functions are actually named
45228 something starting with __ and the normal name is an alias. */
45229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45230 choke me
45231 #else
45232 char (*f) () = $ac_func;
45233 #endif
45234 #ifdef __cplusplus
45236 #endif
45239 main ()
45241 return f != $ac_func;
45243 return 0;
45245 _ACEOF
45246 rm -f conftest.$ac_objext conftest$ac_exeext
45247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45248 (eval $ac_link) 2>conftest.er1
45249 ac_status=$?
45250 grep -v '^ *+' conftest.er1 >conftest.err
45251 rm -f conftest.er1
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } &&
45255 { ac_try='test -z "$ac_c_werror_flag"
45256 || test ! -s conftest.err'
45257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45258 (eval $ac_try) 2>&5
45259 ac_status=$?
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); }; } &&
45262 { ac_try='test -s conftest$ac_exeext'
45263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45264 (eval $ac_try) 2>&5
45265 ac_status=$?
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); }; }; then
45268 eval "$as_ac_var=yes"
45269 else
45270 echo "$as_me: failed program was:" >&5
45271 sed 's/^/| /' conftest.$ac_ext >&5
45273 eval "$as_ac_var=no"
45275 rm -f conftest.err conftest.$ac_objext \
45276 conftest$ac_exeext conftest.$ac_ext
45278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45280 if test `eval echo '${'$as_ac_var'}'` = yes; then
45281 cat >>confdefs.h <<_ACEOF
45282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45283 _ACEOF
45286 done
45293 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45294 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45295 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45296 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45297 echo $ECHO_N "(cached) $ECHO_C" >&6
45298 else
45302 ac_ext=cc
45303 ac_cpp='$CXXCPP $CPPFLAGS'
45304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45308 cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h. */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45314 #include <math.h>
45315 #ifdef HAVE_IEEEFP_H
45316 #include <ieeefp.h>
45317 #endif
45320 main ()
45322 log10l(0);
45324 return 0;
45326 _ACEOF
45327 rm -f conftest.$ac_objext
45328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45329 (eval $ac_compile) 2>conftest.er1
45330 ac_status=$?
45331 grep -v '^ *+' conftest.er1 >conftest.err
45332 rm -f conftest.er1
45333 cat conftest.err >&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); } &&
45336 { ac_try='test -z "$ac_cxx_werror_flag"
45337 || test ! -s conftest.err'
45338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45339 (eval $ac_try) 2>&5
45340 ac_status=$?
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); }; } &&
45343 { ac_try='test -s conftest.$ac_objext'
45344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45345 (eval $ac_try) 2>&5
45346 ac_status=$?
45347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45348 (exit $ac_status); }; }; then
45349 glibcxx_cv_func_log10l_use=yes
45350 else
45351 echo "$as_me: failed program was:" >&5
45352 sed 's/^/| /' conftest.$ac_ext >&5
45354 glibcxx_cv_func_log10l_use=no
45356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45357 ac_ext=c
45358 ac_cpp='$CPP $CPPFLAGS'
45359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45368 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45370 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45372 for ac_func in log10l
45374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45375 echo "$as_me:$LINENO: checking for $ac_func" >&5
45376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45377 if eval "test \"\${$as_ac_var+set}\" = set"; then
45378 echo $ECHO_N "(cached) $ECHO_C" >&6
45379 else
45380 if test x$gcc_no_link = xyes; then
45381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45383 { (exit 1); exit 1; }; }
45385 cat >conftest.$ac_ext <<_ACEOF
45386 /* confdefs.h. */
45387 _ACEOF
45388 cat confdefs.h >>conftest.$ac_ext
45389 cat >>conftest.$ac_ext <<_ACEOF
45390 /* end confdefs.h. */
45391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45393 #define $ac_func innocuous_$ac_func
45395 /* System header to define __stub macros and hopefully few prototypes,
45396 which can conflict with char $ac_func (); below.
45397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45398 <limits.h> exists even on freestanding compilers. */
45400 #ifdef __STDC__
45401 # include <limits.h>
45402 #else
45403 # include <assert.h>
45404 #endif
45406 #undef $ac_func
45408 /* Override any gcc2 internal prototype to avoid an error. */
45409 #ifdef __cplusplus
45410 extern "C"
45412 #endif
45413 /* We use char because int might match the return type of a gcc2
45414 builtin and then its argument prototype would still apply. */
45415 char $ac_func ();
45416 /* The GNU C library defines this for functions which it implements
45417 to always fail with ENOSYS. Some functions are actually named
45418 something starting with __ and the normal name is an alias. */
45419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45420 choke me
45421 #else
45422 char (*f) () = $ac_func;
45423 #endif
45424 #ifdef __cplusplus
45426 #endif
45429 main ()
45431 return f != $ac_func;
45433 return 0;
45435 _ACEOF
45436 rm -f conftest.$ac_objext conftest$ac_exeext
45437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45438 (eval $ac_link) 2>conftest.er1
45439 ac_status=$?
45440 grep -v '^ *+' conftest.er1 >conftest.err
45441 rm -f conftest.er1
45442 cat conftest.err >&5
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); } &&
45445 { ac_try='test -z "$ac_c_werror_flag"
45446 || test ! -s conftest.err'
45447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448 (eval $ac_try) 2>&5
45449 ac_status=$?
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); }; } &&
45452 { ac_try='test -s conftest$ac_exeext'
45453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45454 (eval $ac_try) 2>&5
45455 ac_status=$?
45456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45457 (exit $ac_status); }; }; then
45458 eval "$as_ac_var=yes"
45459 else
45460 echo "$as_me: failed program was:" >&5
45461 sed 's/^/| /' conftest.$ac_ext >&5
45463 eval "$as_ac_var=no"
45465 rm -f conftest.err conftest.$ac_objext \
45466 conftest$ac_exeext conftest.$ac_ext
45468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45470 if test `eval echo '${'$as_ac_var'}'` = yes; then
45471 cat >>confdefs.h <<_ACEOF
45472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45473 _ACEOF
45476 done
45478 else
45480 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45481 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45483 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45484 echo $ECHO_N "(cached) $ECHO_C" >&6
45485 else
45489 ac_ext=cc
45490 ac_cpp='$CXXCPP $CPPFLAGS'
45491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45495 cat >conftest.$ac_ext <<_ACEOF
45496 /* confdefs.h. */
45497 _ACEOF
45498 cat confdefs.h >>conftest.$ac_ext
45499 cat >>conftest.$ac_ext <<_ACEOF
45500 /* end confdefs.h. */
45501 #include <math.h>
45502 #ifdef HAVE_IEEEFP_H
45503 #include <ieeefp.h>
45504 #endif
45507 main ()
45509 _log10l(0);
45511 return 0;
45513 _ACEOF
45514 rm -f conftest.$ac_objext
45515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45516 (eval $ac_compile) 2>conftest.er1
45517 ac_status=$?
45518 grep -v '^ *+' conftest.er1 >conftest.err
45519 rm -f conftest.er1
45520 cat conftest.err >&5
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); } &&
45523 { ac_try='test -z "$ac_cxx_werror_flag"
45524 || test ! -s conftest.err'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; } &&
45530 { ac_try='test -s conftest.$ac_objext'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; }; then
45536 glibcxx_cv_func__log10l_use=yes
45537 else
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45541 glibcxx_cv_func__log10l_use=no
45543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45555 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45557 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45559 for ac_func in _log10l
45561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45564 if eval "test \"\${$as_ac_var+set}\" = set"; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567 if test x$gcc_no_link = xyes; then
45568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45570 { (exit 1); exit 1; }; }
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h. */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45580 #define $ac_func innocuous_$ac_func
45582 /* System header to define __stub macros and hopefully few prototypes,
45583 which can conflict with char $ac_func (); below.
45584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45585 <limits.h> exists even on freestanding compilers. */
45587 #ifdef __STDC__
45588 # include <limits.h>
45589 #else
45590 # include <assert.h>
45591 #endif
45593 #undef $ac_func
45595 /* Override any gcc2 internal prototype to avoid an error. */
45596 #ifdef __cplusplus
45597 extern "C"
45599 #endif
45600 /* We use char because int might match the return type of a gcc2
45601 builtin and then its argument prototype would still apply. */
45602 char $ac_func ();
45603 /* The GNU C library defines this for functions which it implements
45604 to always fail with ENOSYS. Some functions are actually named
45605 something starting with __ and the normal name is an alias. */
45606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45607 choke me
45608 #else
45609 char (*f) () = $ac_func;
45610 #endif
45611 #ifdef __cplusplus
45613 #endif
45616 main ()
45618 return f != $ac_func;
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest$ac_exeext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 eval "$as_ac_var=yes"
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 eval "$as_ac_var=no"
45652 rm -f conftest.err conftest.$ac_objext \
45653 conftest$ac_exeext conftest.$ac_ext
45655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45657 if test `eval echo '${'$as_ac_var'}'` = yes; then
45658 cat >>confdefs.h <<_ACEOF
45659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45660 _ACEOF
45663 done
45670 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45671 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45672 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45673 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45674 echo $ECHO_N "(cached) $ECHO_C" >&6
45675 else
45679 ac_ext=cc
45680 ac_cpp='$CXXCPP $CPPFLAGS'
45681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45685 cat >conftest.$ac_ext <<_ACEOF
45686 /* confdefs.h. */
45687 _ACEOF
45688 cat confdefs.h >>conftest.$ac_ext
45689 cat >>conftest.$ac_ext <<_ACEOF
45690 /* end confdefs.h. */
45691 #include <math.h>
45693 main ()
45695 modfl(0, 0);
45697 return 0;
45699 _ACEOF
45700 rm -f conftest.$ac_objext
45701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45702 (eval $ac_compile) 2>conftest.er1
45703 ac_status=$?
45704 grep -v '^ *+' conftest.er1 >conftest.err
45705 rm -f conftest.er1
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } &&
45709 { ac_try='test -z "$ac_cxx_werror_flag"
45710 || test ! -s conftest.err'
45711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45712 (eval $ac_try) 2>&5
45713 ac_status=$?
45714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45715 (exit $ac_status); }; } &&
45716 { ac_try='test -s conftest.$ac_objext'
45717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45718 (eval $ac_try) 2>&5
45719 ac_status=$?
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); }; }; then
45722 glibcxx_cv_func_modfl_use=yes
45723 else
45724 echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.$ac_ext >&5
45727 glibcxx_cv_func_modfl_use=no
45729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45730 ac_ext=c
45731 ac_cpp='$CPP $CPPFLAGS'
45732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45741 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45743 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45745 for ac_func in modfl
45747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45748 echo "$as_me:$LINENO: checking for $ac_func" >&5
45749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45750 if eval "test \"\${$as_ac_var+set}\" = set"; then
45751 echo $ECHO_N "(cached) $ECHO_C" >&6
45752 else
45753 if test x$gcc_no_link = xyes; then
45754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45756 { (exit 1); exit 1; }; }
45758 cat >conftest.$ac_ext <<_ACEOF
45759 /* confdefs.h. */
45760 _ACEOF
45761 cat confdefs.h >>conftest.$ac_ext
45762 cat >>conftest.$ac_ext <<_ACEOF
45763 /* end confdefs.h. */
45764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45766 #define $ac_func innocuous_$ac_func
45768 /* System header to define __stub macros and hopefully few prototypes,
45769 which can conflict with char $ac_func (); below.
45770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45771 <limits.h> exists even on freestanding compilers. */
45773 #ifdef __STDC__
45774 # include <limits.h>
45775 #else
45776 # include <assert.h>
45777 #endif
45779 #undef $ac_func
45781 /* Override any gcc2 internal prototype to avoid an error. */
45782 #ifdef __cplusplus
45783 extern "C"
45785 #endif
45786 /* We use char because int might match the return type of a gcc2
45787 builtin and then its argument prototype would still apply. */
45788 char $ac_func ();
45789 /* The GNU C library defines this for functions which it implements
45790 to always fail with ENOSYS. Some functions are actually named
45791 something starting with __ and the normal name is an alias. */
45792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45793 choke me
45794 #else
45795 char (*f) () = $ac_func;
45796 #endif
45797 #ifdef __cplusplus
45799 #endif
45802 main ()
45804 return f != $ac_func;
45806 return 0;
45808 _ACEOF
45809 rm -f conftest.$ac_objext conftest$ac_exeext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45811 (eval $ac_link) 2>conftest.er1
45812 ac_status=$?
45813 grep -v '^ *+' conftest.er1 >conftest.err
45814 rm -f conftest.er1
45815 cat conftest.err >&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } &&
45818 { ac_try='test -z "$ac_c_werror_flag"
45819 || test ! -s conftest.err'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; } &&
45825 { ac_try='test -s conftest$ac_exeext'
45826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45827 (eval $ac_try) 2>&5
45828 ac_status=$?
45829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45830 (exit $ac_status); }; }; then
45831 eval "$as_ac_var=yes"
45832 else
45833 echo "$as_me: failed program was:" >&5
45834 sed 's/^/| /' conftest.$ac_ext >&5
45836 eval "$as_ac_var=no"
45838 rm -f conftest.err conftest.$ac_objext \
45839 conftest$ac_exeext conftest.$ac_ext
45841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45843 if test `eval echo '${'$as_ac_var'}'` = yes; then
45844 cat >>confdefs.h <<_ACEOF
45845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45846 _ACEOF
45849 done
45851 else
45853 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45854 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45855 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45856 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45862 ac_ext=cc
45863 ac_cpp='$CXXCPP $CPPFLAGS'
45864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45868 cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h. */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45874 #include <math.h>
45876 main ()
45878 _modfl(0, 0);
45880 return 0;
45882 _ACEOF
45883 rm -f conftest.$ac_objext
45884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45885 (eval $ac_compile) 2>conftest.er1
45886 ac_status=$?
45887 grep -v '^ *+' conftest.er1 >conftest.err
45888 rm -f conftest.er1
45889 cat conftest.err >&5
45890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891 (exit $ac_status); } &&
45892 { ac_try='test -z "$ac_cxx_werror_flag"
45893 || test ! -s conftest.err'
45894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45895 (eval $ac_try) 2>&5
45896 ac_status=$?
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); }; } &&
45899 { ac_try='test -s conftest.$ac_objext'
45900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45901 (eval $ac_try) 2>&5
45902 ac_status=$?
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); }; }; then
45905 glibcxx_cv_func__modfl_use=yes
45906 else
45907 echo "$as_me: failed program was:" >&5
45908 sed 's/^/| /' conftest.$ac_ext >&5
45910 glibcxx_cv_func__modfl_use=no
45912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45913 ac_ext=c
45914 ac_cpp='$CPP $CPPFLAGS'
45915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45924 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45926 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45928 for ac_func in _modfl
45930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45931 echo "$as_me:$LINENO: checking for $ac_func" >&5
45932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45933 if eval "test \"\${$as_ac_var+set}\" = set"; then
45934 echo $ECHO_N "(cached) $ECHO_C" >&6
45935 else
45936 if test x$gcc_no_link = xyes; then
45937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45939 { (exit 1); exit 1; }; }
45941 cat >conftest.$ac_ext <<_ACEOF
45942 /* confdefs.h. */
45943 _ACEOF
45944 cat confdefs.h >>conftest.$ac_ext
45945 cat >>conftest.$ac_ext <<_ACEOF
45946 /* end confdefs.h. */
45947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45949 #define $ac_func innocuous_$ac_func
45951 /* System header to define __stub macros and hopefully few prototypes,
45952 which can conflict with char $ac_func (); below.
45953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45954 <limits.h> exists even on freestanding compilers. */
45956 #ifdef __STDC__
45957 # include <limits.h>
45958 #else
45959 # include <assert.h>
45960 #endif
45962 #undef $ac_func
45964 /* Override any gcc2 internal prototype to avoid an error. */
45965 #ifdef __cplusplus
45966 extern "C"
45968 #endif
45969 /* We use char because int might match the return type of a gcc2
45970 builtin and then its argument prototype would still apply. */
45971 char $ac_func ();
45972 /* The GNU C library defines this for functions which it implements
45973 to always fail with ENOSYS. Some functions are actually named
45974 something starting with __ and the normal name is an alias. */
45975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45976 choke me
45977 #else
45978 char (*f) () = $ac_func;
45979 #endif
45980 #ifdef __cplusplus
45982 #endif
45985 main ()
45987 return f != $ac_func;
45989 return 0;
45991 _ACEOF
45992 rm -f conftest.$ac_objext conftest$ac_exeext
45993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45994 (eval $ac_link) 2>conftest.er1
45995 ac_status=$?
45996 grep -v '^ *+' conftest.er1 >conftest.err
45997 rm -f conftest.er1
45998 cat conftest.err >&5
45999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000 (exit $ac_status); } &&
46001 { ac_try='test -z "$ac_c_werror_flag"
46002 || test ! -s conftest.err'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; } &&
46008 { ac_try='test -s conftest$ac_exeext'
46009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46010 (eval $ac_try) 2>&5
46011 ac_status=$?
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; }; then
46014 eval "$as_ac_var=yes"
46015 else
46016 echo "$as_me: failed program was:" >&5
46017 sed 's/^/| /' conftest.$ac_ext >&5
46019 eval "$as_ac_var=no"
46021 rm -f conftest.err conftest.$ac_objext \
46022 conftest$ac_exeext conftest.$ac_ext
46024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46026 if test `eval echo '${'$as_ac_var'}'` = yes; then
46027 cat >>confdefs.h <<_ACEOF
46028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46029 _ACEOF
46032 done
46039 echo "$as_me:$LINENO: checking for powl declaration" >&5
46040 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46041 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46042 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46043 echo $ECHO_N "(cached) $ECHO_C" >&6
46044 else
46048 ac_ext=cc
46049 ac_cpp='$CXXCPP $CPPFLAGS'
46050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46054 cat >conftest.$ac_ext <<_ACEOF
46055 /* confdefs.h. */
46056 _ACEOF
46057 cat confdefs.h >>conftest.$ac_ext
46058 cat >>conftest.$ac_ext <<_ACEOF
46059 /* end confdefs.h. */
46060 #include <math.h>
46062 main ()
46064 powl(0, 0);
46066 return 0;
46068 _ACEOF
46069 rm -f conftest.$ac_objext
46070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46071 (eval $ac_compile) 2>conftest.er1
46072 ac_status=$?
46073 grep -v '^ *+' conftest.er1 >conftest.err
46074 rm -f conftest.er1
46075 cat conftest.err >&5
46076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077 (exit $ac_status); } &&
46078 { ac_try='test -z "$ac_cxx_werror_flag"
46079 || test ! -s conftest.err'
46080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46081 (eval $ac_try) 2>&5
46082 ac_status=$?
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); }; } &&
46085 { ac_try='test -s conftest.$ac_objext'
46086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46087 (eval $ac_try) 2>&5
46088 ac_status=$?
46089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46090 (exit $ac_status); }; }; then
46091 glibcxx_cv_func_powl_use=yes
46092 else
46093 echo "$as_me: failed program was:" >&5
46094 sed 's/^/| /' conftest.$ac_ext >&5
46096 glibcxx_cv_func_powl_use=no
46098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46099 ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46110 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46112 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46114 for ac_func in powl
46116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46117 echo "$as_me:$LINENO: checking for $ac_func" >&5
46118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46119 if eval "test \"\${$as_ac_var+set}\" = set"; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122 if test x$gcc_no_link = xyes; then
46123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46125 { (exit 1); exit 1; }; }
46127 cat >conftest.$ac_ext <<_ACEOF
46128 /* confdefs.h. */
46129 _ACEOF
46130 cat confdefs.h >>conftest.$ac_ext
46131 cat >>conftest.$ac_ext <<_ACEOF
46132 /* end confdefs.h. */
46133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46135 #define $ac_func innocuous_$ac_func
46137 /* System header to define __stub macros and hopefully few prototypes,
46138 which can conflict with char $ac_func (); below.
46139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46140 <limits.h> exists even on freestanding compilers. */
46142 #ifdef __STDC__
46143 # include <limits.h>
46144 #else
46145 # include <assert.h>
46146 #endif
46148 #undef $ac_func
46150 /* Override any gcc2 internal prototype to avoid an error. */
46151 #ifdef __cplusplus
46152 extern "C"
46154 #endif
46155 /* We use char because int might match the return type of a gcc2
46156 builtin and then its argument prototype would still apply. */
46157 char $ac_func ();
46158 /* The GNU C library defines this for functions which it implements
46159 to always fail with ENOSYS. Some functions are actually named
46160 something starting with __ and the normal name is an alias. */
46161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46162 choke me
46163 #else
46164 char (*f) () = $ac_func;
46165 #endif
46166 #ifdef __cplusplus
46168 #endif
46171 main ()
46173 return f != $ac_func;
46175 return 0;
46177 _ACEOF
46178 rm -f conftest.$ac_objext conftest$ac_exeext
46179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46180 (eval $ac_link) 2>conftest.er1
46181 ac_status=$?
46182 grep -v '^ *+' conftest.er1 >conftest.err
46183 rm -f conftest.er1
46184 cat conftest.err >&5
46185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46186 (exit $ac_status); } &&
46187 { ac_try='test -z "$ac_c_werror_flag"
46188 || test ! -s conftest.err'
46189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46190 (eval $ac_try) 2>&5
46191 ac_status=$?
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); }; } &&
46194 { ac_try='test -s conftest$ac_exeext'
46195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46196 (eval $ac_try) 2>&5
46197 ac_status=$?
46198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199 (exit $ac_status); }; }; then
46200 eval "$as_ac_var=yes"
46201 else
46202 echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46205 eval "$as_ac_var=no"
46207 rm -f conftest.err conftest.$ac_objext \
46208 conftest$ac_exeext conftest.$ac_ext
46210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46212 if test `eval echo '${'$as_ac_var'}'` = yes; then
46213 cat >>confdefs.h <<_ACEOF
46214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46215 _ACEOF
46218 done
46220 else
46222 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46223 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46224 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46225 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46231 ac_ext=cc
46232 ac_cpp='$CXXCPP $CPPFLAGS'
46233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46237 cat >conftest.$ac_ext <<_ACEOF
46238 /* confdefs.h. */
46239 _ACEOF
46240 cat confdefs.h >>conftest.$ac_ext
46241 cat >>conftest.$ac_ext <<_ACEOF
46242 /* end confdefs.h. */
46243 #include <math.h>
46245 main ()
46247 _powl(0, 0);
46249 return 0;
46251 _ACEOF
46252 rm -f conftest.$ac_objext
46253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46254 (eval $ac_compile) 2>conftest.er1
46255 ac_status=$?
46256 grep -v '^ *+' conftest.er1 >conftest.err
46257 rm -f conftest.er1
46258 cat conftest.err >&5
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); } &&
46261 { ac_try='test -z "$ac_cxx_werror_flag"
46262 || test ! -s conftest.err'
46263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46264 (eval $ac_try) 2>&5
46265 ac_status=$?
46266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267 (exit $ac_status); }; } &&
46268 { ac_try='test -s conftest.$ac_objext'
46269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46270 (eval $ac_try) 2>&5
46271 ac_status=$?
46272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273 (exit $ac_status); }; }; then
46274 glibcxx_cv_func__powl_use=yes
46275 else
46276 echo "$as_me: failed program was:" >&5
46277 sed 's/^/| /' conftest.$ac_ext >&5
46279 glibcxx_cv_func__powl_use=no
46281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46282 ac_ext=c
46283 ac_cpp='$CPP $CPPFLAGS'
46284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46293 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46295 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46297 for ac_func in _powl
46299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46300 echo "$as_me:$LINENO: checking for $ac_func" >&5
46301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46302 if eval "test \"\${$as_ac_var+set}\" = set"; then
46303 echo $ECHO_N "(cached) $ECHO_C" >&6
46304 else
46305 if test x$gcc_no_link = xyes; then
46306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46308 { (exit 1); exit 1; }; }
46310 cat >conftest.$ac_ext <<_ACEOF
46311 /* confdefs.h. */
46312 _ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h. */
46316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46318 #define $ac_func innocuous_$ac_func
46320 /* System header to define __stub macros and hopefully few prototypes,
46321 which can conflict with char $ac_func (); below.
46322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46323 <limits.h> exists even on freestanding compilers. */
46325 #ifdef __STDC__
46326 # include <limits.h>
46327 #else
46328 # include <assert.h>
46329 #endif
46331 #undef $ac_func
46333 /* Override any gcc2 internal prototype to avoid an error. */
46334 #ifdef __cplusplus
46335 extern "C"
46337 #endif
46338 /* We use char because int might match the return type of a gcc2
46339 builtin and then its argument prototype would still apply. */
46340 char $ac_func ();
46341 /* The GNU C library defines this for functions which it implements
46342 to always fail with ENOSYS. Some functions are actually named
46343 something starting with __ and the normal name is an alias. */
46344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46345 choke me
46346 #else
46347 char (*f) () = $ac_func;
46348 #endif
46349 #ifdef __cplusplus
46351 #endif
46354 main ()
46356 return f != $ac_func;
46358 return 0;
46360 _ACEOF
46361 rm -f conftest.$ac_objext conftest$ac_exeext
46362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46363 (eval $ac_link) 2>conftest.er1
46364 ac_status=$?
46365 grep -v '^ *+' conftest.er1 >conftest.err
46366 rm -f conftest.er1
46367 cat conftest.err >&5
46368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369 (exit $ac_status); } &&
46370 { ac_try='test -z "$ac_c_werror_flag"
46371 || test ! -s conftest.err'
46372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46373 (eval $ac_try) 2>&5
46374 ac_status=$?
46375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376 (exit $ac_status); }; } &&
46377 { ac_try='test -s conftest$ac_exeext'
46378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46379 (eval $ac_try) 2>&5
46380 ac_status=$?
46381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46382 (exit $ac_status); }; }; then
46383 eval "$as_ac_var=yes"
46384 else
46385 echo "$as_me: failed program was:" >&5
46386 sed 's/^/| /' conftest.$ac_ext >&5
46388 eval "$as_ac_var=no"
46390 rm -f conftest.err conftest.$ac_objext \
46391 conftest$ac_exeext conftest.$ac_ext
46393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46395 if test `eval echo '${'$as_ac_var'}'` = yes; then
46396 cat >>confdefs.h <<_ACEOF
46397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46398 _ACEOF
46401 done
46408 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46409 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46410 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46411 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46412 echo $ECHO_N "(cached) $ECHO_C" >&6
46413 else
46417 ac_ext=cc
46418 ac_cpp='$CXXCPP $CPPFLAGS'
46419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46423 cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h. */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h. */
46429 #include <math.h>
46430 #ifdef HAVE_IEEEFP_H
46431 #include <ieeefp.h>
46432 #endif
46435 main ()
46437 sqrtl(0);
46439 return 0;
46441 _ACEOF
46442 rm -f conftest.$ac_objext
46443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46444 (eval $ac_compile) 2>conftest.er1
46445 ac_status=$?
46446 grep -v '^ *+' conftest.er1 >conftest.err
46447 rm -f conftest.er1
46448 cat conftest.err >&5
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); } &&
46451 { ac_try='test -z "$ac_cxx_werror_flag"
46452 || test ! -s conftest.err'
46453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46454 (eval $ac_try) 2>&5
46455 ac_status=$?
46456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457 (exit $ac_status); }; } &&
46458 { ac_try='test -s conftest.$ac_objext'
46459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46460 (eval $ac_try) 2>&5
46461 ac_status=$?
46462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463 (exit $ac_status); }; }; then
46464 glibcxx_cv_func_sqrtl_use=yes
46465 else
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46469 glibcxx_cv_func_sqrtl_use=no
46471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46472 ac_ext=c
46473 ac_cpp='$CPP $CPPFLAGS'
46474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46483 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46485 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46487 for ac_func in sqrtl
46489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46490 echo "$as_me:$LINENO: checking for $ac_func" >&5
46491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46492 if eval "test \"\${$as_ac_var+set}\" = set"; then
46493 echo $ECHO_N "(cached) $ECHO_C" >&6
46494 else
46495 if test x$gcc_no_link = xyes; then
46496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46498 { (exit 1); exit 1; }; }
46500 cat >conftest.$ac_ext <<_ACEOF
46501 /* confdefs.h. */
46502 _ACEOF
46503 cat confdefs.h >>conftest.$ac_ext
46504 cat >>conftest.$ac_ext <<_ACEOF
46505 /* end confdefs.h. */
46506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46508 #define $ac_func innocuous_$ac_func
46510 /* System header to define __stub macros and hopefully few prototypes,
46511 which can conflict with char $ac_func (); below.
46512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46513 <limits.h> exists even on freestanding compilers. */
46515 #ifdef __STDC__
46516 # include <limits.h>
46517 #else
46518 # include <assert.h>
46519 #endif
46521 #undef $ac_func
46523 /* Override any gcc2 internal prototype to avoid an error. */
46524 #ifdef __cplusplus
46525 extern "C"
46527 #endif
46528 /* We use char because int might match the return type of a gcc2
46529 builtin and then its argument prototype would still apply. */
46530 char $ac_func ();
46531 /* The GNU C library defines this for functions which it implements
46532 to always fail with ENOSYS. Some functions are actually named
46533 something starting with __ and the normal name is an alias. */
46534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46535 choke me
46536 #else
46537 char (*f) () = $ac_func;
46538 #endif
46539 #ifdef __cplusplus
46541 #endif
46544 main ()
46546 return f != $ac_func;
46548 return 0;
46550 _ACEOF
46551 rm -f conftest.$ac_objext conftest$ac_exeext
46552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46553 (eval $ac_link) 2>conftest.er1
46554 ac_status=$?
46555 grep -v '^ *+' conftest.er1 >conftest.err
46556 rm -f conftest.er1
46557 cat conftest.err >&5
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } &&
46560 { ac_try='test -z "$ac_c_werror_flag"
46561 || test ! -s conftest.err'
46562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46563 (eval $ac_try) 2>&5
46564 ac_status=$?
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); }; } &&
46567 { ac_try='test -s conftest$ac_exeext'
46568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46569 (eval $ac_try) 2>&5
46570 ac_status=$?
46571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 (exit $ac_status); }; }; then
46573 eval "$as_ac_var=yes"
46574 else
46575 echo "$as_me: failed program was:" >&5
46576 sed 's/^/| /' conftest.$ac_ext >&5
46578 eval "$as_ac_var=no"
46580 rm -f conftest.err conftest.$ac_objext \
46581 conftest$ac_exeext conftest.$ac_ext
46583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46585 if test `eval echo '${'$as_ac_var'}'` = yes; then
46586 cat >>confdefs.h <<_ACEOF
46587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46588 _ACEOF
46591 done
46593 else
46595 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46596 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46597 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46598 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 else
46604 ac_ext=cc
46605 ac_cpp='$CXXCPP $CPPFLAGS'
46606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46610 cat >conftest.$ac_ext <<_ACEOF
46611 /* confdefs.h. */
46612 _ACEOF
46613 cat confdefs.h >>conftest.$ac_ext
46614 cat >>conftest.$ac_ext <<_ACEOF
46615 /* end confdefs.h. */
46616 #include <math.h>
46617 #ifdef HAVE_IEEEFP_H
46618 #include <ieeefp.h>
46619 #endif
46622 main ()
46624 _sqrtl(0);
46626 return 0;
46628 _ACEOF
46629 rm -f conftest.$ac_objext
46630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46631 (eval $ac_compile) 2>conftest.er1
46632 ac_status=$?
46633 grep -v '^ *+' conftest.er1 >conftest.err
46634 rm -f conftest.er1
46635 cat conftest.err >&5
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); } &&
46638 { ac_try='test -z "$ac_cxx_werror_flag"
46639 || test ! -s conftest.err'
46640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46641 (eval $ac_try) 2>&5
46642 ac_status=$?
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); }; } &&
46645 { ac_try='test -s conftest.$ac_objext'
46646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46647 (eval $ac_try) 2>&5
46648 ac_status=$?
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); }; }; then
46651 glibcxx_cv_func__sqrtl_use=yes
46652 else
46653 echo "$as_me: failed program was:" >&5
46654 sed 's/^/| /' conftest.$ac_ext >&5
46656 glibcxx_cv_func__sqrtl_use=no
46658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46659 ac_ext=c
46660 ac_cpp='$CPP $CPPFLAGS'
46661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46670 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46672 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46674 for ac_func in _sqrtl
46676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46677 echo "$as_me:$LINENO: checking for $ac_func" >&5
46678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46679 if eval "test \"\${$as_ac_var+set}\" = set"; then
46680 echo $ECHO_N "(cached) $ECHO_C" >&6
46681 else
46682 if test x$gcc_no_link = xyes; then
46683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46685 { (exit 1); exit 1; }; }
46687 cat >conftest.$ac_ext <<_ACEOF
46688 /* confdefs.h. */
46689 _ACEOF
46690 cat confdefs.h >>conftest.$ac_ext
46691 cat >>conftest.$ac_ext <<_ACEOF
46692 /* end confdefs.h. */
46693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46695 #define $ac_func innocuous_$ac_func
46697 /* System header to define __stub macros and hopefully few prototypes,
46698 which can conflict with char $ac_func (); below.
46699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46700 <limits.h> exists even on freestanding compilers. */
46702 #ifdef __STDC__
46703 # include <limits.h>
46704 #else
46705 # include <assert.h>
46706 #endif
46708 #undef $ac_func
46710 /* Override any gcc2 internal prototype to avoid an error. */
46711 #ifdef __cplusplus
46712 extern "C"
46714 #endif
46715 /* We use char because int might match the return type of a gcc2
46716 builtin and then its argument prototype would still apply. */
46717 char $ac_func ();
46718 /* The GNU C library defines this for functions which it implements
46719 to always fail with ENOSYS. Some functions are actually named
46720 something starting with __ and the normal name is an alias. */
46721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46722 choke me
46723 #else
46724 char (*f) () = $ac_func;
46725 #endif
46726 #ifdef __cplusplus
46728 #endif
46731 main ()
46733 return f != $ac_func;
46735 return 0;
46737 _ACEOF
46738 rm -f conftest.$ac_objext conftest$ac_exeext
46739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46740 (eval $ac_link) 2>conftest.er1
46741 ac_status=$?
46742 grep -v '^ *+' conftest.er1 >conftest.err
46743 rm -f conftest.er1
46744 cat conftest.err >&5
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); } &&
46747 { ac_try='test -z "$ac_c_werror_flag"
46748 || test ! -s conftest.err'
46749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750 (eval $ac_try) 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; } &&
46754 { ac_try='test -s conftest$ac_exeext'
46755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46756 (eval $ac_try) 2>&5
46757 ac_status=$?
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); }; }; then
46760 eval "$as_ac_var=yes"
46761 else
46762 echo "$as_me: failed program was:" >&5
46763 sed 's/^/| /' conftest.$ac_ext >&5
46765 eval "$as_ac_var=no"
46767 rm -f conftest.err conftest.$ac_objext \
46768 conftest$ac_exeext conftest.$ac_ext
46770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46772 if test `eval echo '${'$as_ac_var'}'` = yes; then
46773 cat >>confdefs.h <<_ACEOF
46774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46775 _ACEOF
46778 done
46785 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46786 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46787 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46788 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46789 echo $ECHO_N "(cached) $ECHO_C" >&6
46790 else
46794 ac_ext=cc
46795 ac_cpp='$CXXCPP $CPPFLAGS'
46796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46800 cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h. */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46806 #include <math.h>
46808 main ()
46810 sincosl(0, 0, 0);
46812 return 0;
46814 _ACEOF
46815 rm -f conftest.$ac_objext
46816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46817 (eval $ac_compile) 2>conftest.er1
46818 ac_status=$?
46819 grep -v '^ *+' conftest.er1 >conftest.err
46820 rm -f conftest.er1
46821 cat conftest.err >&5
46822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823 (exit $ac_status); } &&
46824 { ac_try='test -z "$ac_cxx_werror_flag"
46825 || test ! -s conftest.err'
46826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46827 (eval $ac_try) 2>&5
46828 ac_status=$?
46829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46830 (exit $ac_status); }; } &&
46831 { ac_try='test -s conftest.$ac_objext'
46832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46833 (eval $ac_try) 2>&5
46834 ac_status=$?
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); }; }; then
46837 glibcxx_cv_func_sincosl_use=yes
46838 else
46839 echo "$as_me: failed program was:" >&5
46840 sed 's/^/| /' conftest.$ac_ext >&5
46842 glibcxx_cv_func_sincosl_use=no
46844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46856 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46858 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46860 for ac_func in sincosl
46862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46863 echo "$as_me:$LINENO: checking for $ac_func" >&5
46864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46865 if eval "test \"\${$as_ac_var+set}\" = set"; then
46866 echo $ECHO_N "(cached) $ECHO_C" >&6
46867 else
46868 if test x$gcc_no_link = xyes; then
46869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46871 { (exit 1); exit 1; }; }
46873 cat >conftest.$ac_ext <<_ACEOF
46874 /* confdefs.h. */
46875 _ACEOF
46876 cat confdefs.h >>conftest.$ac_ext
46877 cat >>conftest.$ac_ext <<_ACEOF
46878 /* end confdefs.h. */
46879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46881 #define $ac_func innocuous_$ac_func
46883 /* System header to define __stub macros and hopefully few prototypes,
46884 which can conflict with char $ac_func (); below.
46885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46886 <limits.h> exists even on freestanding compilers. */
46888 #ifdef __STDC__
46889 # include <limits.h>
46890 #else
46891 # include <assert.h>
46892 #endif
46894 #undef $ac_func
46896 /* Override any gcc2 internal prototype to avoid an error. */
46897 #ifdef __cplusplus
46898 extern "C"
46900 #endif
46901 /* We use char because int might match the return type of a gcc2
46902 builtin and then its argument prototype would still apply. */
46903 char $ac_func ();
46904 /* The GNU C library defines this for functions which it implements
46905 to always fail with ENOSYS. Some functions are actually named
46906 something starting with __ and the normal name is an alias. */
46907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46908 choke me
46909 #else
46910 char (*f) () = $ac_func;
46911 #endif
46912 #ifdef __cplusplus
46914 #endif
46917 main ()
46919 return f != $ac_func;
46921 return 0;
46923 _ACEOF
46924 rm -f conftest.$ac_objext conftest$ac_exeext
46925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46926 (eval $ac_link) 2>conftest.er1
46927 ac_status=$?
46928 grep -v '^ *+' conftest.er1 >conftest.err
46929 rm -f conftest.er1
46930 cat conftest.err >&5
46931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46932 (exit $ac_status); } &&
46933 { ac_try='test -z "$ac_c_werror_flag"
46934 || test ! -s conftest.err'
46935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46936 (eval $ac_try) 2>&5
46937 ac_status=$?
46938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939 (exit $ac_status); }; } &&
46940 { ac_try='test -s conftest$ac_exeext'
46941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46942 (eval $ac_try) 2>&5
46943 ac_status=$?
46944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945 (exit $ac_status); }; }; then
46946 eval "$as_ac_var=yes"
46947 else
46948 echo "$as_me: failed program was:" >&5
46949 sed 's/^/| /' conftest.$ac_ext >&5
46951 eval "$as_ac_var=no"
46953 rm -f conftest.err conftest.$ac_objext \
46954 conftest$ac_exeext conftest.$ac_ext
46956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46958 if test `eval echo '${'$as_ac_var'}'` = yes; then
46959 cat >>confdefs.h <<_ACEOF
46960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46961 _ACEOF
46964 done
46966 else
46968 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46969 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46970 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46971 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46977 ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h. */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h. */
46989 #include <math.h>
46991 main ()
46993 _sincosl(0, 0, 0);
46995 return 0;
46997 _ACEOF
46998 rm -f conftest.$ac_objext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47000 (eval $ac_compile) 2>conftest.er1
47001 ac_status=$?
47002 grep -v '^ *+' conftest.er1 >conftest.err
47003 rm -f conftest.er1
47004 cat conftest.err >&5
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); } &&
47007 { ac_try='test -z "$ac_cxx_werror_flag"
47008 || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try='test -s conftest.$ac_objext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47017 ac_status=$?
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47020 glibcxx_cv_func__sincosl_use=yes
47021 else
47022 echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47025 glibcxx_cv_func__sincosl_use=no
47027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47028 ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47039 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47041 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47043 for ac_func in _sincosl
47045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47046 echo "$as_me:$LINENO: checking for $ac_func" >&5
47047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47048 if eval "test \"\${$as_ac_var+set}\" = set"; then
47049 echo $ECHO_N "(cached) $ECHO_C" >&6
47050 else
47051 if test x$gcc_no_link = xyes; then
47052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47054 { (exit 1); exit 1; }; }
47056 cat >conftest.$ac_ext <<_ACEOF
47057 /* confdefs.h. */
47058 _ACEOF
47059 cat confdefs.h >>conftest.$ac_ext
47060 cat >>conftest.$ac_ext <<_ACEOF
47061 /* end confdefs.h. */
47062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47064 #define $ac_func innocuous_$ac_func
47066 /* System header to define __stub macros and hopefully few prototypes,
47067 which can conflict with char $ac_func (); below.
47068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47069 <limits.h> exists even on freestanding compilers. */
47071 #ifdef __STDC__
47072 # include <limits.h>
47073 #else
47074 # include <assert.h>
47075 #endif
47077 #undef $ac_func
47079 /* Override any gcc2 internal prototype to avoid an error. */
47080 #ifdef __cplusplus
47081 extern "C"
47083 #endif
47084 /* We use char because int might match the return type of a gcc2
47085 builtin and then its argument prototype would still apply. */
47086 char $ac_func ();
47087 /* The GNU C library defines this for functions which it implements
47088 to always fail with ENOSYS. Some functions are actually named
47089 something starting with __ and the normal name is an alias. */
47090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47091 choke me
47092 #else
47093 char (*f) () = $ac_func;
47094 #endif
47095 #ifdef __cplusplus
47097 #endif
47100 main ()
47102 return f != $ac_func;
47104 return 0;
47106 _ACEOF
47107 rm -f conftest.$ac_objext conftest$ac_exeext
47108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47109 (eval $ac_link) 2>conftest.er1
47110 ac_status=$?
47111 grep -v '^ *+' conftest.er1 >conftest.err
47112 rm -f conftest.er1
47113 cat conftest.err >&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); } &&
47116 { ac_try='test -z "$ac_c_werror_flag"
47117 || test ! -s conftest.err'
47118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47119 (eval $ac_try) 2>&5
47120 ac_status=$?
47121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122 (exit $ac_status); }; } &&
47123 { ac_try='test -s conftest$ac_exeext'
47124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47125 (eval $ac_try) 2>&5
47126 ac_status=$?
47127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47128 (exit $ac_status); }; }; then
47129 eval "$as_ac_var=yes"
47130 else
47131 echo "$as_me: failed program was:" >&5
47132 sed 's/^/| /' conftest.$ac_ext >&5
47134 eval "$as_ac_var=no"
47136 rm -f conftest.err conftest.$ac_objext \
47137 conftest$ac_exeext conftest.$ac_ext
47139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47141 if test `eval echo '${'$as_ac_var'}'` = yes; then
47142 cat >>confdefs.h <<_ACEOF
47143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47144 _ACEOF
47147 done
47154 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47155 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47156 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47157 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47158 echo $ECHO_N "(cached) $ECHO_C" >&6
47159 else
47163 ac_ext=cc
47164 ac_cpp='$CXXCPP $CPPFLAGS'
47165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47169 cat >conftest.$ac_ext <<_ACEOF
47170 /* confdefs.h. */
47171 _ACEOF
47172 cat confdefs.h >>conftest.$ac_ext
47173 cat >>conftest.$ac_ext <<_ACEOF
47174 /* end confdefs.h. */
47175 #include <math.h>
47176 #ifdef HAVE_IEEEFP_H
47177 #include <ieeefp.h>
47178 #endif
47181 main ()
47183 finitel(0);
47185 return 0;
47187 _ACEOF
47188 rm -f conftest.$ac_objext
47189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47190 (eval $ac_compile) 2>conftest.er1
47191 ac_status=$?
47192 grep -v '^ *+' conftest.er1 >conftest.err
47193 rm -f conftest.er1
47194 cat conftest.err >&5
47195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47196 (exit $ac_status); } &&
47197 { ac_try='test -z "$ac_cxx_werror_flag"
47198 || test ! -s conftest.err'
47199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47200 (eval $ac_try) 2>&5
47201 ac_status=$?
47202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47203 (exit $ac_status); }; } &&
47204 { ac_try='test -s conftest.$ac_objext'
47205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47206 (eval $ac_try) 2>&5
47207 ac_status=$?
47208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209 (exit $ac_status); }; }; then
47210 glibcxx_cv_func_finitel_use=yes
47211 else
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47215 glibcxx_cv_func_finitel_use=no
47217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47218 ac_ext=c
47219 ac_cpp='$CPP $CPPFLAGS'
47220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47228 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47229 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47231 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47233 for ac_func in finitel
47235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47236 echo "$as_me:$LINENO: checking for $ac_func" >&5
47237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47238 if eval "test \"\${$as_ac_var+set}\" = set"; then
47239 echo $ECHO_N "(cached) $ECHO_C" >&6
47240 else
47241 if test x$gcc_no_link = xyes; then
47242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47244 { (exit 1); exit 1; }; }
47246 cat >conftest.$ac_ext <<_ACEOF
47247 /* confdefs.h. */
47248 _ACEOF
47249 cat confdefs.h >>conftest.$ac_ext
47250 cat >>conftest.$ac_ext <<_ACEOF
47251 /* end confdefs.h. */
47252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47254 #define $ac_func innocuous_$ac_func
47256 /* System header to define __stub macros and hopefully few prototypes,
47257 which can conflict with char $ac_func (); below.
47258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47259 <limits.h> exists even on freestanding compilers. */
47261 #ifdef __STDC__
47262 # include <limits.h>
47263 #else
47264 # include <assert.h>
47265 #endif
47267 #undef $ac_func
47269 /* Override any gcc2 internal prototype to avoid an error. */
47270 #ifdef __cplusplus
47271 extern "C"
47273 #endif
47274 /* We use char because int might match the return type of a gcc2
47275 builtin and then its argument prototype would still apply. */
47276 char $ac_func ();
47277 /* The GNU C library defines this for functions which it implements
47278 to always fail with ENOSYS. Some functions are actually named
47279 something starting with __ and the normal name is an alias. */
47280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47281 choke me
47282 #else
47283 char (*f) () = $ac_func;
47284 #endif
47285 #ifdef __cplusplus
47287 #endif
47290 main ()
47292 return f != $ac_func;
47294 return 0;
47296 _ACEOF
47297 rm -f conftest.$ac_objext conftest$ac_exeext
47298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47299 (eval $ac_link) 2>conftest.er1
47300 ac_status=$?
47301 grep -v '^ *+' conftest.er1 >conftest.err
47302 rm -f conftest.er1
47303 cat conftest.err >&5
47304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305 (exit $ac_status); } &&
47306 { ac_try='test -z "$ac_c_werror_flag"
47307 || test ! -s conftest.err'
47308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47309 (eval $ac_try) 2>&5
47310 ac_status=$?
47311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312 (exit $ac_status); }; } &&
47313 { ac_try='test -s conftest$ac_exeext'
47314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47315 (eval $ac_try) 2>&5
47316 ac_status=$?
47317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47318 (exit $ac_status); }; }; then
47319 eval "$as_ac_var=yes"
47320 else
47321 echo "$as_me: failed program was:" >&5
47322 sed 's/^/| /' conftest.$ac_ext >&5
47324 eval "$as_ac_var=no"
47326 rm -f conftest.err conftest.$ac_objext \
47327 conftest$ac_exeext conftest.$ac_ext
47329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47331 if test `eval echo '${'$as_ac_var'}'` = yes; then
47332 cat >>confdefs.h <<_ACEOF
47333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47334 _ACEOF
47337 done
47339 else
47341 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47342 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47343 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47344 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47345 echo $ECHO_N "(cached) $ECHO_C" >&6
47346 else
47350 ac_ext=cc
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47356 cat >conftest.$ac_ext <<_ACEOF
47357 /* confdefs.h. */
47358 _ACEOF
47359 cat confdefs.h >>conftest.$ac_ext
47360 cat >>conftest.$ac_ext <<_ACEOF
47361 /* end confdefs.h. */
47362 #include <math.h>
47363 #ifdef HAVE_IEEEFP_H
47364 #include <ieeefp.h>
47365 #endif
47368 main ()
47370 _finitel(0);
47372 return 0;
47374 _ACEOF
47375 rm -f conftest.$ac_objext
47376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47377 (eval $ac_compile) 2>conftest.er1
47378 ac_status=$?
47379 grep -v '^ *+' conftest.er1 >conftest.err
47380 rm -f conftest.er1
47381 cat conftest.err >&5
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); } &&
47384 { ac_try='test -z "$ac_cxx_werror_flag"
47385 || test ! -s conftest.err'
47386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47387 (eval $ac_try) 2>&5
47388 ac_status=$?
47389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47390 (exit $ac_status); }; } &&
47391 { ac_try='test -s conftest.$ac_objext'
47392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47393 (eval $ac_try) 2>&5
47394 ac_status=$?
47395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396 (exit $ac_status); }; }; then
47397 glibcxx_cv_func__finitel_use=yes
47398 else
47399 echo "$as_me: failed program was:" >&5
47400 sed 's/^/| /' conftest.$ac_ext >&5
47402 glibcxx_cv_func__finitel_use=no
47404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47416 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47418 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47420 for ac_func in _finitel
47422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47423 echo "$as_me:$LINENO: checking for $ac_func" >&5
47424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47425 if eval "test \"\${$as_ac_var+set}\" = set"; then
47426 echo $ECHO_N "(cached) $ECHO_C" >&6
47427 else
47428 if test x$gcc_no_link = xyes; then
47429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47431 { (exit 1); exit 1; }; }
47433 cat >conftest.$ac_ext <<_ACEOF
47434 /* confdefs.h. */
47435 _ACEOF
47436 cat confdefs.h >>conftest.$ac_ext
47437 cat >>conftest.$ac_ext <<_ACEOF
47438 /* end confdefs.h. */
47439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47441 #define $ac_func innocuous_$ac_func
47443 /* System header to define __stub macros and hopefully few prototypes,
47444 which can conflict with char $ac_func (); below.
47445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47446 <limits.h> exists even on freestanding compilers. */
47448 #ifdef __STDC__
47449 # include <limits.h>
47450 #else
47451 # include <assert.h>
47452 #endif
47454 #undef $ac_func
47456 /* Override any gcc2 internal prototype to avoid an error. */
47457 #ifdef __cplusplus
47458 extern "C"
47460 #endif
47461 /* We use char because int might match the return type of a gcc2
47462 builtin and then its argument prototype would still apply. */
47463 char $ac_func ();
47464 /* The GNU C library defines this for functions which it implements
47465 to always fail with ENOSYS. Some functions are actually named
47466 something starting with __ and the normal name is an alias. */
47467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47468 choke me
47469 #else
47470 char (*f) () = $ac_func;
47471 #endif
47472 #ifdef __cplusplus
47474 #endif
47477 main ()
47479 return f != $ac_func;
47481 return 0;
47483 _ACEOF
47484 rm -f conftest.$ac_objext conftest$ac_exeext
47485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47486 (eval $ac_link) 2>conftest.er1
47487 ac_status=$?
47488 grep -v '^ *+' conftest.er1 >conftest.err
47489 rm -f conftest.er1
47490 cat conftest.err >&5
47491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492 (exit $ac_status); } &&
47493 { ac_try='test -z "$ac_c_werror_flag"
47494 || test ! -s conftest.err'
47495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47496 (eval $ac_try) 2>&5
47497 ac_status=$?
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); }; } &&
47500 { ac_try='test -s conftest$ac_exeext'
47501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47502 (eval $ac_try) 2>&5
47503 ac_status=$?
47504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505 (exit $ac_status); }; }; then
47506 eval "$as_ac_var=yes"
47507 else
47508 echo "$as_me: failed program was:" >&5
47509 sed 's/^/| /' conftest.$ac_ext >&5
47511 eval "$as_ac_var=no"
47513 rm -f conftest.err conftest.$ac_objext \
47514 conftest$ac_exeext conftest.$ac_ext
47516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47518 if test `eval echo '${'$as_ac_var'}'` = yes; then
47519 cat >>confdefs.h <<_ACEOF
47520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47521 _ACEOF
47524 done
47532 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47533 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47534 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47535 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 else
47540 ac_ext=cc
47541 ac_cpp='$CXXCPP $CPPFLAGS'
47542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47546 cat >conftest.$ac_ext <<_ACEOF
47547 /* confdefs.h. */
47548 _ACEOF
47549 cat confdefs.h >>conftest.$ac_ext
47550 cat >>conftest.$ac_ext <<_ACEOF
47551 /* end confdefs.h. */
47552 #include <math.h>
47554 main ()
47556 `for x in _acosf _asinf _atanf \
47557 _cosf _sinf _tanf \
47558 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47560 return 0;
47562 _ACEOF
47563 rm -f conftest.$ac_objext
47564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47565 (eval $ac_compile) 2>conftest.er1
47566 ac_status=$?
47567 grep -v '^ *+' conftest.er1 >conftest.err
47568 rm -f conftest.er1
47569 cat conftest.err >&5
47570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571 (exit $ac_status); } &&
47572 { ac_try='test -z "$ac_cxx_werror_flag"
47573 || test ! -s conftest.err'
47574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575 (eval $ac_try) 2>&5
47576 ac_status=$?
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); }; } &&
47579 { ac_try='test -s conftest.$ac_objext'
47580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47581 (eval $ac_try) 2>&5
47582 ac_status=$?
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); }; }; then
47585 glibcxx_cv_func__float_trig_use=yes
47586 else
47587 echo "$as_me: failed program was:" >&5
47588 sed 's/^/| /' conftest.$ac_ext >&5
47590 glibcxx_cv_func__float_trig_use=no
47592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47593 ac_ext=c
47594 ac_cpp='$CPP $CPPFLAGS'
47595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47602 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47603 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47613 for ac_func in _acosf _asinf _atanf \
47614 _cosf _sinf _tanf \
47615 _coshf _sinhf _tanhf
47617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47618 echo "$as_me:$LINENO: checking for $ac_func" >&5
47619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47620 if eval "test \"\${$as_ac_var+set}\" = set"; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623 if test x$gcc_no_link = xyes; then
47624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47626 { (exit 1); exit 1; }; }
47628 cat >conftest.$ac_ext <<_ACEOF
47629 /* confdefs.h. */
47630 _ACEOF
47631 cat confdefs.h >>conftest.$ac_ext
47632 cat >>conftest.$ac_ext <<_ACEOF
47633 /* end confdefs.h. */
47634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47636 #define $ac_func innocuous_$ac_func
47638 /* System header to define __stub macros and hopefully few prototypes,
47639 which can conflict with char $ac_func (); below.
47640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47641 <limits.h> exists even on freestanding compilers. */
47643 #ifdef __STDC__
47644 # include <limits.h>
47645 #else
47646 # include <assert.h>
47647 #endif
47649 #undef $ac_func
47651 /* Override any gcc2 internal prototype to avoid an error. */
47652 #ifdef __cplusplus
47653 extern "C"
47655 #endif
47656 /* We use char because int might match the return type of a gcc2
47657 builtin and then its argument prototype would still apply. */
47658 char $ac_func ();
47659 /* The GNU C library defines this for functions which it implements
47660 to always fail with ENOSYS. Some functions are actually named
47661 something starting with __ and the normal name is an alias. */
47662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47663 choke me
47664 #else
47665 char (*f) () = $ac_func;
47666 #endif
47667 #ifdef __cplusplus
47669 #endif
47672 main ()
47674 return f != $ac_func;
47676 return 0;
47678 _ACEOF
47679 rm -f conftest.$ac_objext conftest$ac_exeext
47680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47681 (eval $ac_link) 2>conftest.er1
47682 ac_status=$?
47683 grep -v '^ *+' conftest.er1 >conftest.err
47684 rm -f conftest.er1
47685 cat conftest.err >&5
47686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687 (exit $ac_status); } &&
47688 { ac_try='test -z "$ac_c_werror_flag"
47689 || test ! -s conftest.err'
47690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47691 (eval $ac_try) 2>&5
47692 ac_status=$?
47693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47694 (exit $ac_status); }; } &&
47695 { ac_try='test -s conftest$ac_exeext'
47696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47697 (eval $ac_try) 2>&5
47698 ac_status=$?
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); }; }; then
47701 eval "$as_ac_var=yes"
47702 else
47703 echo "$as_me: failed program was:" >&5
47704 sed 's/^/| /' conftest.$ac_ext >&5
47706 eval "$as_ac_var=no"
47708 rm -f conftest.err conftest.$ac_objext \
47709 conftest$ac_exeext conftest.$ac_ext
47711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47713 if test `eval echo '${'$as_ac_var'}'` = yes; then
47714 cat >>confdefs.h <<_ACEOF
47715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47716 _ACEOF
47719 done
47724 echo "$as_me:$LINENO: checking for _float round functions" >&5
47725 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47726 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47727 echo $ECHO_N "(cached) $ECHO_C" >&6
47728 else
47732 ac_ext=cc
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47738 cat >conftest.$ac_ext <<_ACEOF
47739 /* confdefs.h. */
47740 _ACEOF
47741 cat confdefs.h >>conftest.$ac_ext
47742 cat >>conftest.$ac_ext <<_ACEOF
47743 /* end confdefs.h. */
47744 #include <math.h>
47746 main ()
47748 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47750 return 0;
47752 _ACEOF
47753 rm -f conftest.$ac_objext
47754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47755 (eval $ac_compile) 2>conftest.er1
47756 ac_status=$?
47757 grep -v '^ *+' conftest.er1 >conftest.err
47758 rm -f conftest.er1
47759 cat conftest.err >&5
47760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47761 (exit $ac_status); } &&
47762 { ac_try='test -z "$ac_cxx_werror_flag"
47763 || test ! -s conftest.err'
47764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47765 (eval $ac_try) 2>&5
47766 ac_status=$?
47767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768 (exit $ac_status); }; } &&
47769 { ac_try='test -s conftest.$ac_objext'
47770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771 (eval $ac_try) 2>&5
47772 ac_status=$?
47773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774 (exit $ac_status); }; }; then
47775 glibcxx_cv_func__float_round_use=yes
47776 else
47777 echo "$as_me: failed program was:" >&5
47778 sed 's/^/| /' conftest.$ac_ext >&5
47780 glibcxx_cv_func__float_round_use=no
47782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47792 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47793 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47796 for ac_func in _ceilf _floorf
47798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47799 echo "$as_me:$LINENO: checking for $ac_func" >&5
47800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47801 if eval "test \"\${$as_ac_var+set}\" = set"; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47804 if test x$gcc_no_link = xyes; then
47805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47807 { (exit 1); exit 1; }; }
47809 cat >conftest.$ac_ext <<_ACEOF
47810 /* confdefs.h. */
47811 _ACEOF
47812 cat confdefs.h >>conftest.$ac_ext
47813 cat >>conftest.$ac_ext <<_ACEOF
47814 /* end confdefs.h. */
47815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47817 #define $ac_func innocuous_$ac_func
47819 /* System header to define __stub macros and hopefully few prototypes,
47820 which can conflict with char $ac_func (); below.
47821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47822 <limits.h> exists even on freestanding compilers. */
47824 #ifdef __STDC__
47825 # include <limits.h>
47826 #else
47827 # include <assert.h>
47828 #endif
47830 #undef $ac_func
47832 /* Override any gcc2 internal prototype to avoid an error. */
47833 #ifdef __cplusplus
47834 extern "C"
47836 #endif
47837 /* We use char because int might match the return type of a gcc2
47838 builtin and then its argument prototype would still apply. */
47839 char $ac_func ();
47840 /* The GNU C library defines this for functions which it implements
47841 to always fail with ENOSYS. Some functions are actually named
47842 something starting with __ and the normal name is an alias. */
47843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47844 choke me
47845 #else
47846 char (*f) () = $ac_func;
47847 #endif
47848 #ifdef __cplusplus
47850 #endif
47853 main ()
47855 return f != $ac_func;
47857 return 0;
47859 _ACEOF
47860 rm -f conftest.$ac_objext conftest$ac_exeext
47861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47862 (eval $ac_link) 2>conftest.er1
47863 ac_status=$?
47864 grep -v '^ *+' conftest.er1 >conftest.err
47865 rm -f conftest.er1
47866 cat conftest.err >&5
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); } &&
47869 { ac_try='test -z "$ac_c_werror_flag"
47870 || test ! -s conftest.err'
47871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47872 (eval $ac_try) 2>&5
47873 ac_status=$?
47874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875 (exit $ac_status); }; } &&
47876 { ac_try='test -s conftest$ac_exeext'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; }; then
47882 eval "$as_ac_var=yes"
47883 else
47884 echo "$as_me: failed program was:" >&5
47885 sed 's/^/| /' conftest.$ac_ext >&5
47887 eval "$as_ac_var=no"
47889 rm -f conftest.err conftest.$ac_objext \
47890 conftest$ac_exeext conftest.$ac_ext
47892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47894 if test `eval echo '${'$as_ac_var'}'` = yes; then
47895 cat >>confdefs.h <<_ACEOF
47896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47897 _ACEOF
47900 done
47906 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47907 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47908 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47909 echo $ECHO_N "(cached) $ECHO_C" >&6
47910 else
47914 ac_ext=cc
47915 ac_cpp='$CXXCPP $CPPFLAGS'
47916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47920 cat >conftest.$ac_ext <<_ACEOF
47921 /* confdefs.h. */
47922 _ACEOF
47923 cat confdefs.h >>conftest.$ac_ext
47924 cat >>conftest.$ac_ext <<_ACEOF
47925 /* end confdefs.h. */
47926 #include <math.h>
47928 main ()
47930 `for x in _acosl _asinl _atanl \
47931 _cosl _sinl _tanl \
47932 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47934 return 0;
47936 _ACEOF
47937 rm -f conftest.$ac_objext
47938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47939 (eval $ac_compile) 2>conftest.er1
47940 ac_status=$?
47941 grep -v '^ *+' conftest.er1 >conftest.err
47942 rm -f conftest.er1
47943 cat conftest.err >&5
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); } &&
47946 { ac_try='test -z "$ac_cxx_werror_flag"
47947 || test ! -s conftest.err'
47948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47949 (eval $ac_try) 2>&5
47950 ac_status=$?
47951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47952 (exit $ac_status); }; } &&
47953 { ac_try='test -s conftest.$ac_objext'
47954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47955 (eval $ac_try) 2>&5
47956 ac_status=$?
47957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47958 (exit $ac_status); }; }; then
47959 glibcxx_cv_func__long_double_trig_use=yes
47960 else
47961 echo "$as_me: failed program was:" >&5
47962 sed 's/^/| /' conftest.$ac_ext >&5
47964 glibcxx_cv_func__long_double_trig_use=no
47966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47967 ac_ext=c
47968 ac_cpp='$CPP $CPPFLAGS'
47969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47976 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47977 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47987 for ac_func in _acosl _asinl _atanl \
47988 _cosl _sinl _tanl \
47989 _coshl _sinhl _tanhl
47991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47992 echo "$as_me:$LINENO: checking for $ac_func" >&5
47993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47994 if eval "test \"\${$as_ac_var+set}\" = set"; then
47995 echo $ECHO_N "(cached) $ECHO_C" >&6
47996 else
47997 if test x$gcc_no_link = xyes; then
47998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48000 { (exit 1); exit 1; }; }
48002 cat >conftest.$ac_ext <<_ACEOF
48003 /* confdefs.h. */
48004 _ACEOF
48005 cat confdefs.h >>conftest.$ac_ext
48006 cat >>conftest.$ac_ext <<_ACEOF
48007 /* end confdefs.h. */
48008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48010 #define $ac_func innocuous_$ac_func
48012 /* System header to define __stub macros and hopefully few prototypes,
48013 which can conflict with char $ac_func (); below.
48014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48015 <limits.h> exists even on freestanding compilers. */
48017 #ifdef __STDC__
48018 # include <limits.h>
48019 #else
48020 # include <assert.h>
48021 #endif
48023 #undef $ac_func
48025 /* Override any gcc2 internal prototype to avoid an error. */
48026 #ifdef __cplusplus
48027 extern "C"
48029 #endif
48030 /* We use char because int might match the return type of a gcc2
48031 builtin and then its argument prototype would still apply. */
48032 char $ac_func ();
48033 /* The GNU C library defines this for functions which it implements
48034 to always fail with ENOSYS. Some functions are actually named
48035 something starting with __ and the normal name is an alias. */
48036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48037 choke me
48038 #else
48039 char (*f) () = $ac_func;
48040 #endif
48041 #ifdef __cplusplus
48043 #endif
48046 main ()
48048 return f != $ac_func;
48050 return 0;
48052 _ACEOF
48053 rm -f conftest.$ac_objext conftest$ac_exeext
48054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48055 (eval $ac_link) 2>conftest.er1
48056 ac_status=$?
48057 grep -v '^ *+' conftest.er1 >conftest.err
48058 rm -f conftest.er1
48059 cat conftest.err >&5
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); } &&
48062 { ac_try='test -z "$ac_c_werror_flag"
48063 || test ! -s conftest.err'
48064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48065 (eval $ac_try) 2>&5
48066 ac_status=$?
48067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068 (exit $ac_status); }; } &&
48069 { ac_try='test -s conftest$ac_exeext'
48070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071 (eval $ac_try) 2>&5
48072 ac_status=$?
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); }; }; then
48075 eval "$as_ac_var=yes"
48076 else
48077 echo "$as_me: failed program was:" >&5
48078 sed 's/^/| /' conftest.$ac_ext >&5
48080 eval "$as_ac_var=no"
48082 rm -f conftest.err conftest.$ac_objext \
48083 conftest$ac_exeext conftest.$ac_ext
48085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48087 if test `eval echo '${'$as_ac_var'}'` = yes; then
48088 cat >>confdefs.h <<_ACEOF
48089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48090 _ACEOF
48093 done
48098 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48099 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48100 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48101 echo $ECHO_N "(cached) $ECHO_C" >&6
48102 else
48106 ac_ext=cc
48107 ac_cpp='$CXXCPP $CPPFLAGS'
48108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48112 cat >conftest.$ac_ext <<_ACEOF
48113 /* confdefs.h. */
48114 _ACEOF
48115 cat confdefs.h >>conftest.$ac_ext
48116 cat >>conftest.$ac_ext <<_ACEOF
48117 /* end confdefs.h. */
48118 #include <math.h>
48120 main ()
48122 `for x in _ceill _floorl; do echo "$x (0);"; done`
48124 return 0;
48126 _ACEOF
48127 rm -f conftest.$ac_objext
48128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48129 (eval $ac_compile) 2>conftest.er1
48130 ac_status=$?
48131 grep -v '^ *+' conftest.er1 >conftest.err
48132 rm -f conftest.er1
48133 cat conftest.err >&5
48134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135 (exit $ac_status); } &&
48136 { ac_try='test -z "$ac_cxx_werror_flag"
48137 || test ! -s conftest.err'
48138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139 (eval $ac_try) 2>&5
48140 ac_status=$?
48141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142 (exit $ac_status); }; } &&
48143 { ac_try='test -s conftest.$ac_objext'
48144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48145 (eval $ac_try) 2>&5
48146 ac_status=$?
48147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148 (exit $ac_status); }; }; then
48149 glibcxx_cv_func__long_double_round_use=yes
48150 else
48151 echo "$as_me: failed program was:" >&5
48152 sed 's/^/| /' conftest.$ac_ext >&5
48154 glibcxx_cv_func__long_double_round_use=no
48156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48157 ac_ext=c
48158 ac_cpp='$CPP $CPPFLAGS'
48159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48166 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48167 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48170 for ac_func in _ceill _floorl
48172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48173 echo "$as_me:$LINENO: checking for $ac_func" >&5
48174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48175 if eval "test \"\${$as_ac_var+set}\" = set"; then
48176 echo $ECHO_N "(cached) $ECHO_C" >&6
48177 else
48178 if test x$gcc_no_link = xyes; then
48179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48181 { (exit 1); exit 1; }; }
48183 cat >conftest.$ac_ext <<_ACEOF
48184 /* confdefs.h. */
48185 _ACEOF
48186 cat confdefs.h >>conftest.$ac_ext
48187 cat >>conftest.$ac_ext <<_ACEOF
48188 /* end confdefs.h. */
48189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48191 #define $ac_func innocuous_$ac_func
48193 /* System header to define __stub macros and hopefully few prototypes,
48194 which can conflict with char $ac_func (); below.
48195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48196 <limits.h> exists even on freestanding compilers. */
48198 #ifdef __STDC__
48199 # include <limits.h>
48200 #else
48201 # include <assert.h>
48202 #endif
48204 #undef $ac_func
48206 /* Override any gcc2 internal prototype to avoid an error. */
48207 #ifdef __cplusplus
48208 extern "C"
48210 #endif
48211 /* We use char because int might match the return type of a gcc2
48212 builtin and then its argument prototype would still apply. */
48213 char $ac_func ();
48214 /* The GNU C library defines this for functions which it implements
48215 to always fail with ENOSYS. Some functions are actually named
48216 something starting with __ and the normal name is an alias. */
48217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48218 choke me
48219 #else
48220 char (*f) () = $ac_func;
48221 #endif
48222 #ifdef __cplusplus
48224 #endif
48227 main ()
48229 return f != $ac_func;
48231 return 0;
48233 _ACEOF
48234 rm -f conftest.$ac_objext conftest$ac_exeext
48235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48236 (eval $ac_link) 2>conftest.er1
48237 ac_status=$?
48238 grep -v '^ *+' conftest.er1 >conftest.err
48239 rm -f conftest.er1
48240 cat conftest.err >&5
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); } &&
48243 { ac_try='test -z "$ac_c_werror_flag"
48244 || test ! -s conftest.err'
48245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246 (eval $ac_try) 2>&5
48247 ac_status=$?
48248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249 (exit $ac_status); }; } &&
48250 { ac_try='test -s conftest$ac_exeext'
48251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48252 (eval $ac_try) 2>&5
48253 ac_status=$?
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); }; }; then
48256 eval "$as_ac_var=yes"
48257 else
48258 echo "$as_me: failed program was:" >&5
48259 sed 's/^/| /' conftest.$ac_ext >&5
48261 eval "$as_ac_var=no"
48263 rm -f conftest.err conftest.$ac_objext \
48264 conftest$ac_exeext conftest.$ac_ext
48266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48268 if test `eval echo '${'$as_ac_var'}'` = yes; then
48269 cat >>confdefs.h <<_ACEOF
48270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48271 _ACEOF
48274 done
48279 LIBS="$ac_save_LIBS"
48280 CXXFLAGS="$ac_save_CXXFLAGS"
48284 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48285 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48286 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48287 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48288 echo $ECHO_N "(cached) $ECHO_C" >&6
48289 else
48293 ac_ext=cc
48294 ac_cpp='$CXXCPP $CPPFLAGS'
48295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48299 cat >conftest.$ac_ext <<_ACEOF
48300 /* confdefs.h. */
48301 _ACEOF
48302 cat confdefs.h >>conftest.$ac_ext
48303 cat >>conftest.$ac_ext <<_ACEOF
48304 /* end confdefs.h. */
48305 #include <math.h>
48307 main ()
48309 __builtin_abs(0);
48311 return 0;
48313 _ACEOF
48314 rm -f conftest.$ac_objext
48315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48316 (eval $ac_compile) 2>conftest.er1
48317 ac_status=$?
48318 grep -v '^ *+' conftest.er1 >conftest.err
48319 rm -f conftest.er1
48320 cat conftest.err >&5
48321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322 (exit $ac_status); } &&
48323 { ac_try='test -z "$ac_cxx_werror_flag"
48324 || test ! -s conftest.err'
48325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48326 (eval $ac_try) 2>&5
48327 ac_status=$?
48328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48329 (exit $ac_status); }; } &&
48330 { ac_try='test -s conftest.$ac_objext'
48331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48332 (eval $ac_try) 2>&5
48333 ac_status=$?
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; }; then
48336 glibcxx_cv_func___builtin_abs_use=yes
48337 else
48338 echo "$as_me: failed program was:" >&5
48339 sed 's/^/| /' conftest.$ac_ext >&5
48341 glibcxx_cv_func___builtin_abs_use=no
48343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48355 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48356 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48357 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48358 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48359 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48360 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48361 echo $ECHO_N "(cached) $ECHO_C" >&6
48362 else
48364 if test x$gcc_no_link = xyes; then
48365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48367 { (exit 1); exit 1; }; }
48369 cat >conftest.$ac_ext <<_ACEOF
48370 /* confdefs.h. */
48371 _ACEOF
48372 cat confdefs.h >>conftest.$ac_ext
48373 cat >>conftest.$ac_ext <<_ACEOF
48374 /* end confdefs.h. */
48375 #include <math.h>
48377 main ()
48379 __builtin_abs(0);
48381 return 0;
48383 _ACEOF
48384 rm -f conftest.$ac_objext conftest$ac_exeext
48385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48386 (eval $ac_link) 2>conftest.er1
48387 ac_status=$?
48388 grep -v '^ *+' conftest.er1 >conftest.err
48389 rm -f conftest.er1
48390 cat conftest.err >&5
48391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392 (exit $ac_status); } &&
48393 { ac_try='test -z "$ac_c_werror_flag"
48394 || test ! -s conftest.err'
48395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48396 (eval $ac_try) 2>&5
48397 ac_status=$?
48398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48399 (exit $ac_status); }; } &&
48400 { ac_try='test -s conftest$ac_exeext'
48401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48402 (eval $ac_try) 2>&5
48403 ac_status=$?
48404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405 (exit $ac_status); }; }; then
48406 glibcxx_cv_func___builtin_abs_link=yes
48407 else
48408 echo "$as_me: failed program was:" >&5
48409 sed 's/^/| /' conftest.$ac_ext >&5
48411 glibcxx_cv_func___builtin_abs_link=no
48413 rm -f conftest.err conftest.$ac_objext \
48414 conftest$ac_exeext conftest.$ac_ext
48419 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48420 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48421 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48422 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48424 cat >>confdefs.h <<_ACEOF
48425 #define ${ac_tr_func} 1
48426 _ACEOF
48432 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48433 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48434 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48435 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48436 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 else
48441 ac_ext=cc
48442 ac_cpp='$CXXCPP $CPPFLAGS'
48443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48447 cat >conftest.$ac_ext <<_ACEOF
48448 /* confdefs.h. */
48449 _ACEOF
48450 cat confdefs.h >>conftest.$ac_ext
48451 cat >>conftest.$ac_ext <<_ACEOF
48452 /* end confdefs.h. */
48453 #include <math.h>
48455 main ()
48457 __builtin_fabsf(0);
48459 return 0;
48461 _ACEOF
48462 rm -f conftest.$ac_objext
48463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48464 (eval $ac_compile) 2>conftest.er1
48465 ac_status=$?
48466 grep -v '^ *+' conftest.er1 >conftest.err
48467 rm -f conftest.er1
48468 cat conftest.err >&5
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); } &&
48471 { ac_try='test -z "$ac_cxx_werror_flag"
48472 || test ! -s conftest.err'
48473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48474 (eval $ac_try) 2>&5
48475 ac_status=$?
48476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48477 (exit $ac_status); }; } &&
48478 { ac_try='test -s conftest.$ac_objext'
48479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48480 (eval $ac_try) 2>&5
48481 ac_status=$?
48482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48483 (exit $ac_status); }; }; then
48484 glibcxx_cv_func___builtin_fabsf_use=yes
48485 else
48486 echo "$as_me: failed program was:" >&5
48487 sed 's/^/| /' conftest.$ac_ext >&5
48489 glibcxx_cv_func___builtin_fabsf_use=no
48491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48492 ac_ext=c
48493 ac_cpp='$CPP $CPPFLAGS'
48494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48502 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48503 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48504 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48505 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48506 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48507 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48508 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48509 echo $ECHO_N "(cached) $ECHO_C" >&6
48510 else
48512 if test x$gcc_no_link = xyes; then
48513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48515 { (exit 1); exit 1; }; }
48517 cat >conftest.$ac_ext <<_ACEOF
48518 /* confdefs.h. */
48519 _ACEOF
48520 cat confdefs.h >>conftest.$ac_ext
48521 cat >>conftest.$ac_ext <<_ACEOF
48522 /* end confdefs.h. */
48523 #include <math.h>
48525 main ()
48527 __builtin_fabsf(0);
48529 return 0;
48531 _ACEOF
48532 rm -f conftest.$ac_objext conftest$ac_exeext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48534 (eval $ac_link) 2>conftest.er1
48535 ac_status=$?
48536 grep -v '^ *+' conftest.er1 >conftest.err
48537 rm -f conftest.er1
48538 cat conftest.err >&5
48539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540 (exit $ac_status); } &&
48541 { ac_try='test -z "$ac_c_werror_flag"
48542 || test ! -s conftest.err'
48543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48544 (eval $ac_try) 2>&5
48545 ac_status=$?
48546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547 (exit $ac_status); }; } &&
48548 { ac_try='test -s conftest$ac_exeext'
48549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48550 (eval $ac_try) 2>&5
48551 ac_status=$?
48552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48553 (exit $ac_status); }; }; then
48554 glibcxx_cv_func___builtin_fabsf_link=yes
48555 else
48556 echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48559 glibcxx_cv_func___builtin_fabsf_link=no
48561 rm -f conftest.err conftest.$ac_objext \
48562 conftest$ac_exeext conftest.$ac_ext
48567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48568 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48569 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48570 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48572 cat >>confdefs.h <<_ACEOF
48573 #define ${ac_tr_func} 1
48574 _ACEOF
48580 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48581 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48582 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48583 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48584 echo $ECHO_N "(cached) $ECHO_C" >&6
48585 else
48589 ac_ext=cc
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48595 cat >conftest.$ac_ext <<_ACEOF
48596 /* confdefs.h. */
48597 _ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48601 #include <math.h>
48603 main ()
48605 __builtin_fabs(0);
48607 return 0;
48609 _ACEOF
48610 rm -f conftest.$ac_objext
48611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48612 (eval $ac_compile) 2>conftest.er1
48613 ac_status=$?
48614 grep -v '^ *+' conftest.er1 >conftest.err
48615 rm -f conftest.er1
48616 cat conftest.err >&5
48617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48618 (exit $ac_status); } &&
48619 { ac_try='test -z "$ac_cxx_werror_flag"
48620 || test ! -s conftest.err'
48621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48622 (eval $ac_try) 2>&5
48623 ac_status=$?
48624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48625 (exit $ac_status); }; } &&
48626 { ac_try='test -s conftest.$ac_objext'
48627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48628 (eval $ac_try) 2>&5
48629 ac_status=$?
48630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48631 (exit $ac_status); }; }; then
48632 glibcxx_cv_func___builtin_fabs_use=yes
48633 else
48634 echo "$as_me: failed program was:" >&5
48635 sed 's/^/| /' conftest.$ac_ext >&5
48637 glibcxx_cv_func___builtin_fabs_use=no
48639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48640 ac_ext=c
48641 ac_cpp='$CPP $CPPFLAGS'
48642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48651 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48652 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48653 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48654 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48655 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48656 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48657 echo $ECHO_N "(cached) $ECHO_C" >&6
48658 else
48660 if test x$gcc_no_link = xyes; then
48661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48663 { (exit 1); exit 1; }; }
48665 cat >conftest.$ac_ext <<_ACEOF
48666 /* confdefs.h. */
48667 _ACEOF
48668 cat confdefs.h >>conftest.$ac_ext
48669 cat >>conftest.$ac_ext <<_ACEOF
48670 /* end confdefs.h. */
48671 #include <math.h>
48673 main ()
48675 __builtin_fabs(0);
48677 return 0;
48679 _ACEOF
48680 rm -f conftest.$ac_objext conftest$ac_exeext
48681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48682 (eval $ac_link) 2>conftest.er1
48683 ac_status=$?
48684 grep -v '^ *+' conftest.er1 >conftest.err
48685 rm -f conftest.er1
48686 cat conftest.err >&5
48687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688 (exit $ac_status); } &&
48689 { ac_try='test -z "$ac_c_werror_flag"
48690 || test ! -s conftest.err'
48691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48692 (eval $ac_try) 2>&5
48693 ac_status=$?
48694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695 (exit $ac_status); }; } &&
48696 { ac_try='test -s conftest$ac_exeext'
48697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48698 (eval $ac_try) 2>&5
48699 ac_status=$?
48700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48701 (exit $ac_status); }; }; then
48702 glibcxx_cv_func___builtin_fabs_link=yes
48703 else
48704 echo "$as_me: failed program was:" >&5
48705 sed 's/^/| /' conftest.$ac_ext >&5
48707 glibcxx_cv_func___builtin_fabs_link=no
48709 rm -f conftest.err conftest.$ac_objext \
48710 conftest$ac_exeext conftest.$ac_ext
48715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48716 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48717 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48718 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48720 cat >>confdefs.h <<_ACEOF
48721 #define ${ac_tr_func} 1
48722 _ACEOF
48728 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48729 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48730 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48731 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48732 echo $ECHO_N "(cached) $ECHO_C" >&6
48733 else
48737 ac_ext=cc
48738 ac_cpp='$CXXCPP $CPPFLAGS'
48739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48743 cat >conftest.$ac_ext <<_ACEOF
48744 /* confdefs.h. */
48745 _ACEOF
48746 cat confdefs.h >>conftest.$ac_ext
48747 cat >>conftest.$ac_ext <<_ACEOF
48748 /* end confdefs.h. */
48749 #include <math.h>
48751 main ()
48753 __builtin_fabsl(0);
48755 return 0;
48757 _ACEOF
48758 rm -f conftest.$ac_objext
48759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48760 (eval $ac_compile) 2>conftest.er1
48761 ac_status=$?
48762 grep -v '^ *+' conftest.er1 >conftest.err
48763 rm -f conftest.er1
48764 cat conftest.err >&5
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); } &&
48767 { ac_try='test -z "$ac_cxx_werror_flag"
48768 || test ! -s conftest.err'
48769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48770 (eval $ac_try) 2>&5
48771 ac_status=$?
48772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48773 (exit $ac_status); }; } &&
48774 { ac_try='test -s conftest.$ac_objext'
48775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48776 (eval $ac_try) 2>&5
48777 ac_status=$?
48778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48779 (exit $ac_status); }; }; then
48780 glibcxx_cv_func___builtin_fabsl_use=yes
48781 else
48782 echo "$as_me: failed program was:" >&5
48783 sed 's/^/| /' conftest.$ac_ext >&5
48785 glibcxx_cv_func___builtin_fabsl_use=no
48787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48788 ac_ext=c
48789 ac_cpp='$CPP $CPPFLAGS'
48790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48799 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48800 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48801 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48802 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48803 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48804 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48805 echo $ECHO_N "(cached) $ECHO_C" >&6
48806 else
48808 if test x$gcc_no_link = xyes; then
48809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48811 { (exit 1); exit 1; }; }
48813 cat >conftest.$ac_ext <<_ACEOF
48814 /* confdefs.h. */
48815 _ACEOF
48816 cat confdefs.h >>conftest.$ac_ext
48817 cat >>conftest.$ac_ext <<_ACEOF
48818 /* end confdefs.h. */
48819 #include <math.h>
48821 main ()
48823 __builtin_fabsl(0);
48825 return 0;
48827 _ACEOF
48828 rm -f conftest.$ac_objext conftest$ac_exeext
48829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48830 (eval $ac_link) 2>conftest.er1
48831 ac_status=$?
48832 grep -v '^ *+' conftest.er1 >conftest.err
48833 rm -f conftest.er1
48834 cat conftest.err >&5
48835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836 (exit $ac_status); } &&
48837 { ac_try='test -z "$ac_c_werror_flag"
48838 || test ! -s conftest.err'
48839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48840 (eval $ac_try) 2>&5
48841 ac_status=$?
48842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48843 (exit $ac_status); }; } &&
48844 { ac_try='test -s conftest$ac_exeext'
48845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48846 (eval $ac_try) 2>&5
48847 ac_status=$?
48848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48849 (exit $ac_status); }; }; then
48850 glibcxx_cv_func___builtin_fabsl_link=yes
48851 else
48852 echo "$as_me: failed program was:" >&5
48853 sed 's/^/| /' conftest.$ac_ext >&5
48855 glibcxx_cv_func___builtin_fabsl_link=no
48857 rm -f conftest.err conftest.$ac_objext \
48858 conftest$ac_exeext conftest.$ac_ext
48863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48864 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48865 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48866 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48868 cat >>confdefs.h <<_ACEOF
48869 #define ${ac_tr_func} 1
48870 _ACEOF
48876 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48877 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48878 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48879 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48880 echo $ECHO_N "(cached) $ECHO_C" >&6
48881 else
48885 ac_ext=cc
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48891 cat >conftest.$ac_ext <<_ACEOF
48892 /* confdefs.h. */
48893 _ACEOF
48894 cat confdefs.h >>conftest.$ac_ext
48895 cat >>conftest.$ac_ext <<_ACEOF
48896 /* end confdefs.h. */
48897 #include <math.h>
48899 main ()
48901 __builtin_labs(0);
48903 return 0;
48905 _ACEOF
48906 rm -f conftest.$ac_objext
48907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48908 (eval $ac_compile) 2>conftest.er1
48909 ac_status=$?
48910 grep -v '^ *+' conftest.er1 >conftest.err
48911 rm -f conftest.er1
48912 cat conftest.err >&5
48913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914 (exit $ac_status); } &&
48915 { ac_try='test -z "$ac_cxx_werror_flag"
48916 || test ! -s conftest.err'
48917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48918 (eval $ac_try) 2>&5
48919 ac_status=$?
48920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48921 (exit $ac_status); }; } &&
48922 { ac_try='test -s conftest.$ac_objext'
48923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48924 (eval $ac_try) 2>&5
48925 ac_status=$?
48926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48927 (exit $ac_status); }; }; then
48928 glibcxx_cv_func___builtin_labs_use=yes
48929 else
48930 echo "$as_me: failed program was:" >&5
48931 sed 's/^/| /' conftest.$ac_ext >&5
48933 glibcxx_cv_func___builtin_labs_use=no
48935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48936 ac_ext=c
48937 ac_cpp='$CPP $CPPFLAGS'
48938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48946 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48947 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48948 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48949 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48950 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48951 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48952 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48953 echo $ECHO_N "(cached) $ECHO_C" >&6
48954 else
48956 if test x$gcc_no_link = xyes; then
48957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48959 { (exit 1); exit 1; }; }
48961 cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h. */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48967 #include <math.h>
48969 main ()
48971 __builtin_labs(0);
48973 return 0;
48975 _ACEOF
48976 rm -f conftest.$ac_objext conftest$ac_exeext
48977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48978 (eval $ac_link) 2>conftest.er1
48979 ac_status=$?
48980 grep -v '^ *+' conftest.er1 >conftest.err
48981 rm -f conftest.er1
48982 cat conftest.err >&5
48983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48984 (exit $ac_status); } &&
48985 { ac_try='test -z "$ac_c_werror_flag"
48986 || test ! -s conftest.err'
48987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48988 (eval $ac_try) 2>&5
48989 ac_status=$?
48990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48991 (exit $ac_status); }; } &&
48992 { ac_try='test -s conftest$ac_exeext'
48993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48994 (eval $ac_try) 2>&5
48995 ac_status=$?
48996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48997 (exit $ac_status); }; }; then
48998 glibcxx_cv_func___builtin_labs_link=yes
48999 else
49000 echo "$as_me: failed program was:" >&5
49001 sed 's/^/| /' conftest.$ac_ext >&5
49003 glibcxx_cv_func___builtin_labs_link=no
49005 rm -f conftest.err conftest.$ac_objext \
49006 conftest$ac_exeext conftest.$ac_ext
49011 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49012 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49013 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49014 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49016 cat >>confdefs.h <<_ACEOF
49017 #define ${ac_tr_func} 1
49018 _ACEOF
49025 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49026 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49027 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49028 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49029 echo $ECHO_N "(cached) $ECHO_C" >&6
49030 else
49034 ac_ext=cc
49035 ac_cpp='$CXXCPP $CPPFLAGS'
49036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49040 cat >conftest.$ac_ext <<_ACEOF
49041 /* confdefs.h. */
49042 _ACEOF
49043 cat confdefs.h >>conftest.$ac_ext
49044 cat >>conftest.$ac_ext <<_ACEOF
49045 /* end confdefs.h. */
49046 #include <math.h>
49048 main ()
49050 __builtin_sqrtf(0);
49052 return 0;
49054 _ACEOF
49055 rm -f conftest.$ac_objext
49056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49057 (eval $ac_compile) 2>conftest.er1
49058 ac_status=$?
49059 grep -v '^ *+' conftest.er1 >conftest.err
49060 rm -f conftest.er1
49061 cat conftest.err >&5
49062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49063 (exit $ac_status); } &&
49064 { ac_try='test -z "$ac_cxx_werror_flag"
49065 || test ! -s conftest.err'
49066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49067 (eval $ac_try) 2>&5
49068 ac_status=$?
49069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49070 (exit $ac_status); }; } &&
49071 { ac_try='test -s conftest.$ac_objext'
49072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49073 (eval $ac_try) 2>&5
49074 ac_status=$?
49075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49076 (exit $ac_status); }; }; then
49077 glibcxx_cv_func___builtin_sqrtf_use=yes
49078 else
49079 echo "$as_me: failed program was:" >&5
49080 sed 's/^/| /' conftest.$ac_ext >&5
49082 glibcxx_cv_func___builtin_sqrtf_use=no
49084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49085 ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49095 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49096 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49097 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49098 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49099 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49100 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49101 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49102 echo $ECHO_N "(cached) $ECHO_C" >&6
49103 else
49105 if test x$gcc_no_link = xyes; then
49106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49108 { (exit 1); exit 1; }; }
49110 cat >conftest.$ac_ext <<_ACEOF
49111 /* confdefs.h. */
49112 _ACEOF
49113 cat confdefs.h >>conftest.$ac_ext
49114 cat >>conftest.$ac_ext <<_ACEOF
49115 /* end confdefs.h. */
49116 #include <math.h>
49118 main ()
49120 __builtin_sqrtf(0);
49122 return 0;
49124 _ACEOF
49125 rm -f conftest.$ac_objext conftest$ac_exeext
49126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49127 (eval $ac_link) 2>conftest.er1
49128 ac_status=$?
49129 grep -v '^ *+' conftest.er1 >conftest.err
49130 rm -f conftest.er1
49131 cat conftest.err >&5
49132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133 (exit $ac_status); } &&
49134 { ac_try='test -z "$ac_c_werror_flag"
49135 || test ! -s conftest.err'
49136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49137 (eval $ac_try) 2>&5
49138 ac_status=$?
49139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49140 (exit $ac_status); }; } &&
49141 { ac_try='test -s conftest$ac_exeext'
49142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49143 (eval $ac_try) 2>&5
49144 ac_status=$?
49145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49146 (exit $ac_status); }; }; then
49147 glibcxx_cv_func___builtin_sqrtf_link=yes
49148 else
49149 echo "$as_me: failed program was:" >&5
49150 sed 's/^/| /' conftest.$ac_ext >&5
49152 glibcxx_cv_func___builtin_sqrtf_link=no
49154 rm -f conftest.err conftest.$ac_objext \
49155 conftest$ac_exeext conftest.$ac_ext
49160 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49162 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49163 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49165 cat >>confdefs.h <<_ACEOF
49166 #define ${ac_tr_func} 1
49167 _ACEOF
49173 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49174 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49175 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49176 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49177 echo $ECHO_N "(cached) $ECHO_C" >&6
49178 else
49182 ac_ext=cc
49183 ac_cpp='$CXXCPP $CPPFLAGS'
49184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49188 cat >conftest.$ac_ext <<_ACEOF
49189 /* confdefs.h. */
49190 _ACEOF
49191 cat confdefs.h >>conftest.$ac_ext
49192 cat >>conftest.$ac_ext <<_ACEOF
49193 /* end confdefs.h. */
49194 #include <math.h>
49196 main ()
49198 __builtin_sqrt(0);
49200 return 0;
49202 _ACEOF
49203 rm -f conftest.$ac_objext
49204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49205 (eval $ac_compile) 2>conftest.er1
49206 ac_status=$?
49207 grep -v '^ *+' conftest.er1 >conftest.err
49208 rm -f conftest.er1
49209 cat conftest.err >&5
49210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49211 (exit $ac_status); } &&
49212 { ac_try='test -z "$ac_cxx_werror_flag"
49213 || test ! -s conftest.err'
49214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49215 (eval $ac_try) 2>&5
49216 ac_status=$?
49217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218 (exit $ac_status); }; } &&
49219 { ac_try='test -s conftest.$ac_objext'
49220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49221 (eval $ac_try) 2>&5
49222 ac_status=$?
49223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49224 (exit $ac_status); }; }; then
49225 glibcxx_cv_func___builtin_sqrt_use=yes
49226 else
49227 echo "$as_me: failed program was:" >&5
49228 sed 's/^/| /' conftest.$ac_ext >&5
49230 glibcxx_cv_func___builtin_sqrt_use=no
49232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49233 ac_ext=c
49234 ac_cpp='$CPP $CPPFLAGS'
49235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49245 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49246 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49247 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49248 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49249 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49250 echo $ECHO_N "(cached) $ECHO_C" >&6
49251 else
49253 if test x$gcc_no_link = xyes; then
49254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49256 { (exit 1); exit 1; }; }
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h. */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h. */
49264 #include <math.h>
49266 main ()
49268 __builtin_sqrt(0);
49270 return 0;
49272 _ACEOF
49273 rm -f conftest.$ac_objext conftest$ac_exeext
49274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49275 (eval $ac_link) 2>conftest.er1
49276 ac_status=$?
49277 grep -v '^ *+' conftest.er1 >conftest.err
49278 rm -f conftest.er1
49279 cat conftest.err >&5
49280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281 (exit $ac_status); } &&
49282 { ac_try='test -z "$ac_c_werror_flag"
49283 || test ! -s conftest.err'
49284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49285 (eval $ac_try) 2>&5
49286 ac_status=$?
49287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49288 (exit $ac_status); }; } &&
49289 { ac_try='test -s conftest$ac_exeext'
49290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49291 (eval $ac_try) 2>&5
49292 ac_status=$?
49293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49294 (exit $ac_status); }; }; then
49295 glibcxx_cv_func___builtin_sqrt_link=yes
49296 else
49297 echo "$as_me: failed program was:" >&5
49298 sed 's/^/| /' conftest.$ac_ext >&5
49300 glibcxx_cv_func___builtin_sqrt_link=no
49302 rm -f conftest.err conftest.$ac_objext \
49303 conftest$ac_exeext conftest.$ac_ext
49308 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49309 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49310 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49311 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49313 cat >>confdefs.h <<_ACEOF
49314 #define ${ac_tr_func} 1
49315 _ACEOF
49321 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49322 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49323 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49324 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49325 echo $ECHO_N "(cached) $ECHO_C" >&6
49326 else
49330 ac_ext=cc
49331 ac_cpp='$CXXCPP $CPPFLAGS'
49332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49336 cat >conftest.$ac_ext <<_ACEOF
49337 /* confdefs.h. */
49338 _ACEOF
49339 cat confdefs.h >>conftest.$ac_ext
49340 cat >>conftest.$ac_ext <<_ACEOF
49341 /* end confdefs.h. */
49342 #include <math.h>
49344 main ()
49346 __builtin_sqrtl(0);
49348 return 0;
49350 _ACEOF
49351 rm -f conftest.$ac_objext
49352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49353 (eval $ac_compile) 2>conftest.er1
49354 ac_status=$?
49355 grep -v '^ *+' conftest.er1 >conftest.err
49356 rm -f conftest.er1
49357 cat conftest.err >&5
49358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359 (exit $ac_status); } &&
49360 { ac_try='test -z "$ac_cxx_werror_flag"
49361 || test ! -s conftest.err'
49362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363 (eval $ac_try) 2>&5
49364 ac_status=$?
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); }; } &&
49367 { ac_try='test -s conftest.$ac_objext'
49368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49369 (eval $ac_try) 2>&5
49370 ac_status=$?
49371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49372 (exit $ac_status); }; }; then
49373 glibcxx_cv_func___builtin_sqrtl_use=yes
49374 else
49375 echo "$as_me: failed program was:" >&5
49376 sed 's/^/| /' conftest.$ac_ext >&5
49378 glibcxx_cv_func___builtin_sqrtl_use=no
49380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49381 ac_ext=c
49382 ac_cpp='$CPP $CPPFLAGS'
49383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49393 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49394 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49395 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49396 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49397 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49398 echo $ECHO_N "(cached) $ECHO_C" >&6
49399 else
49401 if test x$gcc_no_link = xyes; then
49402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49404 { (exit 1); exit 1; }; }
49406 cat >conftest.$ac_ext <<_ACEOF
49407 /* confdefs.h. */
49408 _ACEOF
49409 cat confdefs.h >>conftest.$ac_ext
49410 cat >>conftest.$ac_ext <<_ACEOF
49411 /* end confdefs.h. */
49412 #include <math.h>
49414 main ()
49416 __builtin_sqrtl(0);
49418 return 0;
49420 _ACEOF
49421 rm -f conftest.$ac_objext conftest$ac_exeext
49422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49423 (eval $ac_link) 2>conftest.er1
49424 ac_status=$?
49425 grep -v '^ *+' conftest.er1 >conftest.err
49426 rm -f conftest.er1
49427 cat conftest.err >&5
49428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429 (exit $ac_status); } &&
49430 { ac_try='test -z "$ac_c_werror_flag"
49431 || test ! -s conftest.err'
49432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49433 (eval $ac_try) 2>&5
49434 ac_status=$?
49435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436 (exit $ac_status); }; } &&
49437 { ac_try='test -s conftest$ac_exeext'
49438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49439 (eval $ac_try) 2>&5
49440 ac_status=$?
49441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49442 (exit $ac_status); }; }; then
49443 glibcxx_cv_func___builtin_sqrtl_link=yes
49444 else
49445 echo "$as_me: failed program was:" >&5
49446 sed 's/^/| /' conftest.$ac_ext >&5
49448 glibcxx_cv_func___builtin_sqrtl_link=no
49450 rm -f conftest.err conftest.$ac_objext \
49451 conftest$ac_exeext conftest.$ac_ext
49456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49458 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49459 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49461 cat >>confdefs.h <<_ACEOF
49462 #define ${ac_tr_func} 1
49463 _ACEOF
49470 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49471 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49472 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49473 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49474 echo $ECHO_N "(cached) $ECHO_C" >&6
49475 else
49479 ac_ext=cc
49480 ac_cpp='$CXXCPP $CPPFLAGS'
49481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49485 cat >conftest.$ac_ext <<_ACEOF
49486 /* confdefs.h. */
49487 _ACEOF
49488 cat confdefs.h >>conftest.$ac_ext
49489 cat >>conftest.$ac_ext <<_ACEOF
49490 /* end confdefs.h. */
49491 #include <math.h>
49493 main ()
49495 __builtin_sinf(0);
49497 return 0;
49499 _ACEOF
49500 rm -f conftest.$ac_objext
49501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49502 (eval $ac_compile) 2>conftest.er1
49503 ac_status=$?
49504 grep -v '^ *+' conftest.er1 >conftest.err
49505 rm -f conftest.er1
49506 cat conftest.err >&5
49507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508 (exit $ac_status); } &&
49509 { ac_try='test -z "$ac_cxx_werror_flag"
49510 || test ! -s conftest.err'
49511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49512 (eval $ac_try) 2>&5
49513 ac_status=$?
49514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49515 (exit $ac_status); }; } &&
49516 { ac_try='test -s conftest.$ac_objext'
49517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49518 (eval $ac_try) 2>&5
49519 ac_status=$?
49520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49521 (exit $ac_status); }; }; then
49522 glibcxx_cv_func___builtin_sinf_use=yes
49523 else
49524 echo "$as_me: failed program was:" >&5
49525 sed 's/^/| /' conftest.$ac_ext >&5
49527 glibcxx_cv_func___builtin_sinf_use=no
49529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49530 ac_ext=c
49531 ac_cpp='$CPP $CPPFLAGS'
49532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49540 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49541 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49542 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49543 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49544 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49545 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49546 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49547 echo $ECHO_N "(cached) $ECHO_C" >&6
49548 else
49550 if test x$gcc_no_link = xyes; then
49551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49553 { (exit 1); exit 1; }; }
49555 cat >conftest.$ac_ext <<_ACEOF
49556 /* confdefs.h. */
49557 _ACEOF
49558 cat confdefs.h >>conftest.$ac_ext
49559 cat >>conftest.$ac_ext <<_ACEOF
49560 /* end confdefs.h. */
49561 #include <math.h>
49563 main ()
49565 __builtin_sinf(0);
49567 return 0;
49569 _ACEOF
49570 rm -f conftest.$ac_objext conftest$ac_exeext
49571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49572 (eval $ac_link) 2>conftest.er1
49573 ac_status=$?
49574 grep -v '^ *+' conftest.er1 >conftest.err
49575 rm -f conftest.er1
49576 cat conftest.err >&5
49577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49578 (exit $ac_status); } &&
49579 { ac_try='test -z "$ac_c_werror_flag"
49580 || test ! -s conftest.err'
49581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49582 (eval $ac_try) 2>&5
49583 ac_status=$?
49584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585 (exit $ac_status); }; } &&
49586 { ac_try='test -s conftest$ac_exeext'
49587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49588 (eval $ac_try) 2>&5
49589 ac_status=$?
49590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49591 (exit $ac_status); }; }; then
49592 glibcxx_cv_func___builtin_sinf_link=yes
49593 else
49594 echo "$as_me: failed program was:" >&5
49595 sed 's/^/| /' conftest.$ac_ext >&5
49597 glibcxx_cv_func___builtin_sinf_link=no
49599 rm -f conftest.err conftest.$ac_objext \
49600 conftest$ac_exeext conftest.$ac_ext
49605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49607 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49608 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49610 cat >>confdefs.h <<_ACEOF
49611 #define ${ac_tr_func} 1
49612 _ACEOF
49618 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49619 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49620 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49621 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49622 echo $ECHO_N "(cached) $ECHO_C" >&6
49623 else
49627 ac_ext=cc
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49633 cat >conftest.$ac_ext <<_ACEOF
49634 /* confdefs.h. */
49635 _ACEOF
49636 cat confdefs.h >>conftest.$ac_ext
49637 cat >>conftest.$ac_ext <<_ACEOF
49638 /* end confdefs.h. */
49639 #include <math.h>
49641 main ()
49643 __builtin_sin(0);
49645 return 0;
49647 _ACEOF
49648 rm -f conftest.$ac_objext
49649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49650 (eval $ac_compile) 2>conftest.er1
49651 ac_status=$?
49652 grep -v '^ *+' conftest.er1 >conftest.err
49653 rm -f conftest.er1
49654 cat conftest.err >&5
49655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49656 (exit $ac_status); } &&
49657 { ac_try='test -z "$ac_cxx_werror_flag"
49658 || test ! -s conftest.err'
49659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660 (eval $ac_try) 2>&5
49661 ac_status=$?
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); }; } &&
49664 { ac_try='test -s conftest.$ac_objext'
49665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49666 (eval $ac_try) 2>&5
49667 ac_status=$?
49668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49669 (exit $ac_status); }; }; then
49670 glibcxx_cv_func___builtin_sin_use=yes
49671 else
49672 echo "$as_me: failed program was:" >&5
49673 sed 's/^/| /' conftest.$ac_ext >&5
49675 glibcxx_cv_func___builtin_sin_use=no
49677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49678 ac_ext=c
49679 ac_cpp='$CPP $CPPFLAGS'
49680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49690 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49691 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49692 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49693 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49694 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49695 echo $ECHO_N "(cached) $ECHO_C" >&6
49696 else
49698 if test x$gcc_no_link = xyes; then
49699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49701 { (exit 1); exit 1; }; }
49703 cat >conftest.$ac_ext <<_ACEOF
49704 /* confdefs.h. */
49705 _ACEOF
49706 cat confdefs.h >>conftest.$ac_ext
49707 cat >>conftest.$ac_ext <<_ACEOF
49708 /* end confdefs.h. */
49709 #include <math.h>
49711 main ()
49713 __builtin_sin(0);
49715 return 0;
49717 _ACEOF
49718 rm -f conftest.$ac_objext conftest$ac_exeext
49719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49720 (eval $ac_link) 2>conftest.er1
49721 ac_status=$?
49722 grep -v '^ *+' conftest.er1 >conftest.err
49723 rm -f conftest.er1
49724 cat conftest.err >&5
49725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726 (exit $ac_status); } &&
49727 { ac_try='test -z "$ac_c_werror_flag"
49728 || test ! -s conftest.err'
49729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49730 (eval $ac_try) 2>&5
49731 ac_status=$?
49732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49733 (exit $ac_status); }; } &&
49734 { ac_try='test -s conftest$ac_exeext'
49735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49736 (eval $ac_try) 2>&5
49737 ac_status=$?
49738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49739 (exit $ac_status); }; }; then
49740 glibcxx_cv_func___builtin_sin_link=yes
49741 else
49742 echo "$as_me: failed program was:" >&5
49743 sed 's/^/| /' conftest.$ac_ext >&5
49745 glibcxx_cv_func___builtin_sin_link=no
49747 rm -f conftest.err conftest.$ac_objext \
49748 conftest$ac_exeext conftest.$ac_ext
49753 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49754 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49755 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49756 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49758 cat >>confdefs.h <<_ACEOF
49759 #define ${ac_tr_func} 1
49760 _ACEOF
49766 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49767 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49768 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49769 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49770 echo $ECHO_N "(cached) $ECHO_C" >&6
49771 else
49775 ac_ext=cc
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49781 cat >conftest.$ac_ext <<_ACEOF
49782 /* confdefs.h. */
49783 _ACEOF
49784 cat confdefs.h >>conftest.$ac_ext
49785 cat >>conftest.$ac_ext <<_ACEOF
49786 /* end confdefs.h. */
49787 #include <math.h>
49789 main ()
49791 __builtin_sinl(0);
49793 return 0;
49795 _ACEOF
49796 rm -f conftest.$ac_objext
49797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49798 (eval $ac_compile) 2>conftest.er1
49799 ac_status=$?
49800 grep -v '^ *+' conftest.er1 >conftest.err
49801 rm -f conftest.er1
49802 cat conftest.err >&5
49803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804 (exit $ac_status); } &&
49805 { ac_try='test -z "$ac_cxx_werror_flag"
49806 || test ! -s conftest.err'
49807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49808 (eval $ac_try) 2>&5
49809 ac_status=$?
49810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49811 (exit $ac_status); }; } &&
49812 { ac_try='test -s conftest.$ac_objext'
49813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49814 (eval $ac_try) 2>&5
49815 ac_status=$?
49816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49817 (exit $ac_status); }; }; then
49818 glibcxx_cv_func___builtin_sinl_use=yes
49819 else
49820 echo "$as_me: failed program was:" >&5
49821 sed 's/^/| /' conftest.$ac_ext >&5
49823 glibcxx_cv_func___builtin_sinl_use=no
49825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49826 ac_ext=c
49827 ac_cpp='$CPP $CPPFLAGS'
49828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49836 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49837 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49838 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49839 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49840 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49841 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49842 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49843 echo $ECHO_N "(cached) $ECHO_C" >&6
49844 else
49846 if test x$gcc_no_link = xyes; then
49847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49849 { (exit 1); exit 1; }; }
49851 cat >conftest.$ac_ext <<_ACEOF
49852 /* confdefs.h. */
49853 _ACEOF
49854 cat confdefs.h >>conftest.$ac_ext
49855 cat >>conftest.$ac_ext <<_ACEOF
49856 /* end confdefs.h. */
49857 #include <math.h>
49859 main ()
49861 __builtin_sinl(0);
49863 return 0;
49865 _ACEOF
49866 rm -f conftest.$ac_objext conftest$ac_exeext
49867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49868 (eval $ac_link) 2>conftest.er1
49869 ac_status=$?
49870 grep -v '^ *+' conftest.er1 >conftest.err
49871 rm -f conftest.er1
49872 cat conftest.err >&5
49873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49874 (exit $ac_status); } &&
49875 { ac_try='test -z "$ac_c_werror_flag"
49876 || test ! -s conftest.err'
49877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49878 (eval $ac_try) 2>&5
49879 ac_status=$?
49880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49881 (exit $ac_status); }; } &&
49882 { ac_try='test -s conftest$ac_exeext'
49883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49884 (eval $ac_try) 2>&5
49885 ac_status=$?
49886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49887 (exit $ac_status); }; }; then
49888 glibcxx_cv_func___builtin_sinl_link=yes
49889 else
49890 echo "$as_me: failed program was:" >&5
49891 sed 's/^/| /' conftest.$ac_ext >&5
49893 glibcxx_cv_func___builtin_sinl_link=no
49895 rm -f conftest.err conftest.$ac_objext \
49896 conftest$ac_exeext conftest.$ac_ext
49901 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49902 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49903 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49904 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49906 cat >>confdefs.h <<_ACEOF
49907 #define ${ac_tr_func} 1
49908 _ACEOF
49915 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49916 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49917 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49918 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49919 echo $ECHO_N "(cached) $ECHO_C" >&6
49920 else
49924 ac_ext=cc
49925 ac_cpp='$CXXCPP $CPPFLAGS'
49926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49930 cat >conftest.$ac_ext <<_ACEOF
49931 /* confdefs.h. */
49932 _ACEOF
49933 cat confdefs.h >>conftest.$ac_ext
49934 cat >>conftest.$ac_ext <<_ACEOF
49935 /* end confdefs.h. */
49936 #include <math.h>
49938 main ()
49940 __builtin_cosf(0);
49942 return 0;
49944 _ACEOF
49945 rm -f conftest.$ac_objext
49946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49947 (eval $ac_compile) 2>conftest.er1
49948 ac_status=$?
49949 grep -v '^ *+' conftest.er1 >conftest.err
49950 rm -f conftest.er1
49951 cat conftest.err >&5
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); } &&
49954 { ac_try='test -z "$ac_cxx_werror_flag"
49955 || test ! -s conftest.err'
49956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49957 (eval $ac_try) 2>&5
49958 ac_status=$?
49959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49960 (exit $ac_status); }; } &&
49961 { ac_try='test -s conftest.$ac_objext'
49962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49963 (eval $ac_try) 2>&5
49964 ac_status=$?
49965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966 (exit $ac_status); }; }; then
49967 glibcxx_cv_func___builtin_cosf_use=yes
49968 else
49969 echo "$as_me: failed program was:" >&5
49970 sed 's/^/| /' conftest.$ac_ext >&5
49972 glibcxx_cv_func___builtin_cosf_use=no
49974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49986 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49987 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49988 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49989 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49990 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49991 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49992 echo $ECHO_N "(cached) $ECHO_C" >&6
49993 else
49995 if test x$gcc_no_link = xyes; then
49996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49998 { (exit 1); exit 1; }; }
50000 cat >conftest.$ac_ext <<_ACEOF
50001 /* confdefs.h. */
50002 _ACEOF
50003 cat confdefs.h >>conftest.$ac_ext
50004 cat >>conftest.$ac_ext <<_ACEOF
50005 /* end confdefs.h. */
50006 #include <math.h>
50008 main ()
50010 __builtin_cosf(0);
50012 return 0;
50014 _ACEOF
50015 rm -f conftest.$ac_objext conftest$ac_exeext
50016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50017 (eval $ac_link) 2>conftest.er1
50018 ac_status=$?
50019 grep -v '^ *+' conftest.er1 >conftest.err
50020 rm -f conftest.er1
50021 cat conftest.err >&5
50022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023 (exit $ac_status); } &&
50024 { ac_try='test -z "$ac_c_werror_flag"
50025 || test ! -s conftest.err'
50026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50027 (eval $ac_try) 2>&5
50028 ac_status=$?
50029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50030 (exit $ac_status); }; } &&
50031 { ac_try='test -s conftest$ac_exeext'
50032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50033 (eval $ac_try) 2>&5
50034 ac_status=$?
50035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50036 (exit $ac_status); }; }; then
50037 glibcxx_cv_func___builtin_cosf_link=yes
50038 else
50039 echo "$as_me: failed program was:" >&5
50040 sed 's/^/| /' conftest.$ac_ext >&5
50042 glibcxx_cv_func___builtin_cosf_link=no
50044 rm -f conftest.err conftest.$ac_objext \
50045 conftest$ac_exeext conftest.$ac_ext
50050 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50051 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50052 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50053 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50055 cat >>confdefs.h <<_ACEOF
50056 #define ${ac_tr_func} 1
50057 _ACEOF
50063 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50064 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50065 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50066 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50067 echo $ECHO_N "(cached) $ECHO_C" >&6
50068 else
50072 ac_ext=cc
50073 ac_cpp='$CXXCPP $CPPFLAGS'
50074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50078 cat >conftest.$ac_ext <<_ACEOF
50079 /* confdefs.h. */
50080 _ACEOF
50081 cat confdefs.h >>conftest.$ac_ext
50082 cat >>conftest.$ac_ext <<_ACEOF
50083 /* end confdefs.h. */
50084 #include <math.h>
50086 main ()
50088 __builtin_cos(0);
50090 return 0;
50092 _ACEOF
50093 rm -f conftest.$ac_objext
50094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50095 (eval $ac_compile) 2>conftest.er1
50096 ac_status=$?
50097 grep -v '^ *+' conftest.er1 >conftest.err
50098 rm -f conftest.er1
50099 cat conftest.err >&5
50100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101 (exit $ac_status); } &&
50102 { ac_try='test -z "$ac_cxx_werror_flag"
50103 || test ! -s conftest.err'
50104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50105 (eval $ac_try) 2>&5
50106 ac_status=$?
50107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108 (exit $ac_status); }; } &&
50109 { ac_try='test -s conftest.$ac_objext'
50110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50111 (eval $ac_try) 2>&5
50112 ac_status=$?
50113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50114 (exit $ac_status); }; }; then
50115 glibcxx_cv_func___builtin_cos_use=yes
50116 else
50117 echo "$as_me: failed program was:" >&5
50118 sed 's/^/| /' conftest.$ac_ext >&5
50120 glibcxx_cv_func___builtin_cos_use=no
50122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50123 ac_ext=c
50124 ac_cpp='$CPP $CPPFLAGS'
50125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50134 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50135 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50136 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50137 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50138 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50139 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50140 echo $ECHO_N "(cached) $ECHO_C" >&6
50141 else
50143 if test x$gcc_no_link = xyes; then
50144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50146 { (exit 1); exit 1; }; }
50148 cat >conftest.$ac_ext <<_ACEOF
50149 /* confdefs.h. */
50150 _ACEOF
50151 cat confdefs.h >>conftest.$ac_ext
50152 cat >>conftest.$ac_ext <<_ACEOF
50153 /* end confdefs.h. */
50154 #include <math.h>
50156 main ()
50158 __builtin_cos(0);
50160 return 0;
50162 _ACEOF
50163 rm -f conftest.$ac_objext conftest$ac_exeext
50164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50165 (eval $ac_link) 2>conftest.er1
50166 ac_status=$?
50167 grep -v '^ *+' conftest.er1 >conftest.err
50168 rm -f conftest.er1
50169 cat conftest.err >&5
50170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171 (exit $ac_status); } &&
50172 { ac_try='test -z "$ac_c_werror_flag"
50173 || test ! -s conftest.err'
50174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50175 (eval $ac_try) 2>&5
50176 ac_status=$?
50177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50178 (exit $ac_status); }; } &&
50179 { ac_try='test -s conftest$ac_exeext'
50180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50181 (eval $ac_try) 2>&5
50182 ac_status=$?
50183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50184 (exit $ac_status); }; }; then
50185 glibcxx_cv_func___builtin_cos_link=yes
50186 else
50187 echo "$as_me: failed program was:" >&5
50188 sed 's/^/| /' conftest.$ac_ext >&5
50190 glibcxx_cv_func___builtin_cos_link=no
50192 rm -f conftest.err conftest.$ac_objext \
50193 conftest$ac_exeext conftest.$ac_ext
50198 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50199 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50200 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50201 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50203 cat >>confdefs.h <<_ACEOF
50204 #define ${ac_tr_func} 1
50205 _ACEOF
50211 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50212 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50213 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50214 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50215 echo $ECHO_N "(cached) $ECHO_C" >&6
50216 else
50220 ac_ext=cc
50221 ac_cpp='$CXXCPP $CPPFLAGS'
50222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50226 cat >conftest.$ac_ext <<_ACEOF
50227 /* confdefs.h. */
50228 _ACEOF
50229 cat confdefs.h >>conftest.$ac_ext
50230 cat >>conftest.$ac_ext <<_ACEOF
50231 /* end confdefs.h. */
50232 #include <math.h>
50234 main ()
50236 __builtin_cosl(0);
50238 return 0;
50240 _ACEOF
50241 rm -f conftest.$ac_objext
50242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50243 (eval $ac_compile) 2>conftest.er1
50244 ac_status=$?
50245 grep -v '^ *+' conftest.er1 >conftest.err
50246 rm -f conftest.er1
50247 cat conftest.err >&5
50248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249 (exit $ac_status); } &&
50250 { ac_try='test -z "$ac_cxx_werror_flag"
50251 || test ! -s conftest.err'
50252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50253 (eval $ac_try) 2>&5
50254 ac_status=$?
50255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50256 (exit $ac_status); }; } &&
50257 { ac_try='test -s conftest.$ac_objext'
50258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50259 (eval $ac_try) 2>&5
50260 ac_status=$?
50261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262 (exit $ac_status); }; }; then
50263 glibcxx_cv_func___builtin_cosl_use=yes
50264 else
50265 echo "$as_me: failed program was:" >&5
50266 sed 's/^/| /' conftest.$ac_ext >&5
50268 glibcxx_cv_func___builtin_cosl_use=no
50270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50271 ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50282 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50283 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50284 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50285 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50286 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50287 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 else
50291 if test x$gcc_no_link = xyes; then
50292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50294 { (exit 1); exit 1; }; }
50296 cat >conftest.$ac_ext <<_ACEOF
50297 /* confdefs.h. */
50298 _ACEOF
50299 cat confdefs.h >>conftest.$ac_ext
50300 cat >>conftest.$ac_ext <<_ACEOF
50301 /* end confdefs.h. */
50302 #include <math.h>
50304 main ()
50306 __builtin_cosl(0);
50308 return 0;
50310 _ACEOF
50311 rm -f conftest.$ac_objext conftest$ac_exeext
50312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50313 (eval $ac_link) 2>conftest.er1
50314 ac_status=$?
50315 grep -v '^ *+' conftest.er1 >conftest.err
50316 rm -f conftest.er1
50317 cat conftest.err >&5
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); } &&
50320 { ac_try='test -z "$ac_c_werror_flag"
50321 || test ! -s conftest.err'
50322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50323 (eval $ac_try) 2>&5
50324 ac_status=$?
50325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50326 (exit $ac_status); }; } &&
50327 { ac_try='test -s conftest$ac_exeext'
50328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50329 (eval $ac_try) 2>&5
50330 ac_status=$?
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); }; }; then
50333 glibcxx_cv_func___builtin_cosl_link=yes
50334 else
50335 echo "$as_me: failed program was:" >&5
50336 sed 's/^/| /' conftest.$ac_ext >&5
50338 glibcxx_cv_func___builtin_cosl_link=no
50340 rm -f conftest.err conftest.$ac_objext \
50341 conftest$ac_exeext conftest.$ac_ext
50346 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50347 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50348 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50349 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50351 cat >>confdefs.h <<_ACEOF
50352 #define ${ac_tr_func} 1
50353 _ACEOF
50361 echo "$as_me:$LINENO: checking for main in -lm" >&5
50362 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50363 if test "${ac_cv_lib_m_main+set}" = set; then
50364 echo $ECHO_N "(cached) $ECHO_C" >&6
50365 else
50366 ac_check_lib_save_LIBS=$LIBS
50367 LIBS="-lm $LIBS"
50368 if test x$gcc_no_link = xyes; then
50369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50371 { (exit 1); exit 1; }; }
50373 cat >conftest.$ac_ext <<_ACEOF
50374 /* confdefs.h. */
50375 _ACEOF
50376 cat confdefs.h >>conftest.$ac_ext
50377 cat >>conftest.$ac_ext <<_ACEOF
50378 /* end confdefs.h. */
50382 main ()
50384 main ();
50386 return 0;
50388 _ACEOF
50389 rm -f conftest.$ac_objext conftest$ac_exeext
50390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50391 (eval $ac_link) 2>conftest.er1
50392 ac_status=$?
50393 grep -v '^ *+' conftest.er1 >conftest.err
50394 rm -f conftest.er1
50395 cat conftest.err >&5
50396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50397 (exit $ac_status); } &&
50398 { ac_try='test -z "$ac_c_werror_flag"
50399 || test ! -s conftest.err'
50400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50401 (eval $ac_try) 2>&5
50402 ac_status=$?
50403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50404 (exit $ac_status); }; } &&
50405 { ac_try='test -s conftest$ac_exeext'
50406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50407 (eval $ac_try) 2>&5
50408 ac_status=$?
50409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50410 (exit $ac_status); }; }; then
50411 ac_cv_lib_m_main=yes
50412 else
50413 echo "$as_me: failed program was:" >&5
50414 sed 's/^/| /' conftest.$ac_ext >&5
50416 ac_cv_lib_m_main=no
50418 rm -f conftest.err conftest.$ac_objext \
50419 conftest$ac_exeext conftest.$ac_ext
50420 LIBS=$ac_check_lib_save_LIBS
50422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50423 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50424 if test $ac_cv_lib_m_main = yes; then
50425 cat >>confdefs.h <<_ACEOF
50426 #define HAVE_LIBM 1
50427 _ACEOF
50429 LIBS="-lm $LIBS"
50434 for ac_func in copysignf
50436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50437 echo "$as_me:$LINENO: checking for $ac_func" >&5
50438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50439 if eval "test \"\${$as_ac_var+set}\" = set"; then
50440 echo $ECHO_N "(cached) $ECHO_C" >&6
50441 else
50442 if test x$gcc_no_link = xyes; then
50443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50445 { (exit 1); exit 1; }; }
50447 cat >conftest.$ac_ext <<_ACEOF
50448 /* confdefs.h. */
50449 _ACEOF
50450 cat confdefs.h >>conftest.$ac_ext
50451 cat >>conftest.$ac_ext <<_ACEOF
50452 /* end confdefs.h. */
50453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50455 #define $ac_func innocuous_$ac_func
50457 /* System header to define __stub macros and hopefully few prototypes,
50458 which can conflict with char $ac_func (); below.
50459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50460 <limits.h> exists even on freestanding compilers. */
50462 #ifdef __STDC__
50463 # include <limits.h>
50464 #else
50465 # include <assert.h>
50466 #endif
50468 #undef $ac_func
50470 /* Override any gcc2 internal prototype to avoid an error. */
50471 #ifdef __cplusplus
50472 extern "C"
50474 #endif
50475 /* We use char because int might match the return type of a gcc2
50476 builtin and then its argument prototype would still apply. */
50477 char $ac_func ();
50478 /* The GNU C library defines this for functions which it implements
50479 to always fail with ENOSYS. Some functions are actually named
50480 something starting with __ and the normal name is an alias. */
50481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50482 choke me
50483 #else
50484 char (*f) () = $ac_func;
50485 #endif
50486 #ifdef __cplusplus
50488 #endif
50491 main ()
50493 return f != $ac_func;
50495 return 0;
50497 _ACEOF
50498 rm -f conftest.$ac_objext conftest$ac_exeext
50499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50500 (eval $ac_link) 2>conftest.er1
50501 ac_status=$?
50502 grep -v '^ *+' conftest.er1 >conftest.err
50503 rm -f conftest.er1
50504 cat conftest.err >&5
50505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506 (exit $ac_status); } &&
50507 { ac_try='test -z "$ac_c_werror_flag"
50508 || test ! -s conftest.err'
50509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50510 (eval $ac_try) 2>&5
50511 ac_status=$?
50512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50513 (exit $ac_status); }; } &&
50514 { ac_try='test -s conftest$ac_exeext'
50515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50516 (eval $ac_try) 2>&5
50517 ac_status=$?
50518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50519 (exit $ac_status); }; }; then
50520 eval "$as_ac_var=yes"
50521 else
50522 echo "$as_me: failed program was:" >&5
50523 sed 's/^/| /' conftest.$ac_ext >&5
50525 eval "$as_ac_var=no"
50527 rm -f conftest.err conftest.$ac_objext \
50528 conftest$ac_exeext conftest.$ac_ext
50530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50532 if test `eval echo '${'$as_ac_var'}'` = yes; then
50533 cat >>confdefs.h <<_ACEOF
50534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50535 _ACEOF
50537 else
50538 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50540 done
50544 for ac_func in __signbit
50546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50547 echo "$as_me:$LINENO: checking for $ac_func" >&5
50548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50549 if eval "test \"\${$as_ac_var+set}\" = set"; then
50550 echo $ECHO_N "(cached) $ECHO_C" >&6
50551 else
50552 if test x$gcc_no_link = xyes; then
50553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50555 { (exit 1); exit 1; }; }
50557 cat >conftest.$ac_ext <<_ACEOF
50558 /* confdefs.h. */
50559 _ACEOF
50560 cat confdefs.h >>conftest.$ac_ext
50561 cat >>conftest.$ac_ext <<_ACEOF
50562 /* end confdefs.h. */
50563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50565 #define $ac_func innocuous_$ac_func
50567 /* System header to define __stub macros and hopefully few prototypes,
50568 which can conflict with char $ac_func (); below.
50569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50570 <limits.h> exists even on freestanding compilers. */
50572 #ifdef __STDC__
50573 # include <limits.h>
50574 #else
50575 # include <assert.h>
50576 #endif
50578 #undef $ac_func
50580 /* Override any gcc2 internal prototype to avoid an error. */
50581 #ifdef __cplusplus
50582 extern "C"
50584 #endif
50585 /* We use char because int might match the return type of a gcc2
50586 builtin and then its argument prototype would still apply. */
50587 char $ac_func ();
50588 /* The GNU C library defines this for functions which it implements
50589 to always fail with ENOSYS. Some functions are actually named
50590 something starting with __ and the normal name is an alias. */
50591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50592 choke me
50593 #else
50594 char (*f) () = $ac_func;
50595 #endif
50596 #ifdef __cplusplus
50598 #endif
50601 main ()
50603 return f != $ac_func;
50605 return 0;
50607 _ACEOF
50608 rm -f conftest.$ac_objext conftest$ac_exeext
50609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50610 (eval $ac_link) 2>conftest.er1
50611 ac_status=$?
50612 grep -v '^ *+' conftest.er1 >conftest.err
50613 rm -f conftest.er1
50614 cat conftest.err >&5
50615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616 (exit $ac_status); } &&
50617 { ac_try='test -z "$ac_c_werror_flag"
50618 || test ! -s conftest.err'
50619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50620 (eval $ac_try) 2>&5
50621 ac_status=$?
50622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50623 (exit $ac_status); }; } &&
50624 { ac_try='test -s conftest$ac_exeext'
50625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50626 (eval $ac_try) 2>&5
50627 ac_status=$?
50628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629 (exit $ac_status); }; }; then
50630 eval "$as_ac_var=yes"
50631 else
50632 echo "$as_me: failed program was:" >&5
50633 sed 's/^/| /' conftest.$ac_ext >&5
50635 eval "$as_ac_var=no"
50637 rm -f conftest.err conftest.$ac_objext \
50638 conftest$ac_exeext conftest.$ac_ext
50640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50642 if test `eval echo '${'$as_ac_var'}'` = yes; then
50643 cat >>confdefs.h <<_ACEOF
50644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50645 _ACEOF
50647 else
50648 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50650 done
50654 for ac_func in __signbitf
50656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50657 echo "$as_me:$LINENO: checking for $ac_func" >&5
50658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50659 if eval "test \"\${$as_ac_var+set}\" = set"; then
50660 echo $ECHO_N "(cached) $ECHO_C" >&6
50661 else
50662 if test x$gcc_no_link = xyes; then
50663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50665 { (exit 1); exit 1; }; }
50667 cat >conftest.$ac_ext <<_ACEOF
50668 /* confdefs.h. */
50669 _ACEOF
50670 cat confdefs.h >>conftest.$ac_ext
50671 cat >>conftest.$ac_ext <<_ACEOF
50672 /* end confdefs.h. */
50673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50675 #define $ac_func innocuous_$ac_func
50677 /* System header to define __stub macros and hopefully few prototypes,
50678 which can conflict with char $ac_func (); below.
50679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50680 <limits.h> exists even on freestanding compilers. */
50682 #ifdef __STDC__
50683 # include <limits.h>
50684 #else
50685 # include <assert.h>
50686 #endif
50688 #undef $ac_func
50690 /* Override any gcc2 internal prototype to avoid an error. */
50691 #ifdef __cplusplus
50692 extern "C"
50694 #endif
50695 /* We use char because int might match the return type of a gcc2
50696 builtin and then its argument prototype would still apply. */
50697 char $ac_func ();
50698 /* The GNU C library defines this for functions which it implements
50699 to always fail with ENOSYS. Some functions are actually named
50700 something starting with __ and the normal name is an alias. */
50701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50702 choke me
50703 #else
50704 char (*f) () = $ac_func;
50705 #endif
50706 #ifdef __cplusplus
50708 #endif
50711 main ()
50713 return f != $ac_func;
50715 return 0;
50717 _ACEOF
50718 rm -f conftest.$ac_objext conftest$ac_exeext
50719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50720 (eval $ac_link) 2>conftest.er1
50721 ac_status=$?
50722 grep -v '^ *+' conftest.er1 >conftest.err
50723 rm -f conftest.er1
50724 cat conftest.err >&5
50725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726 (exit $ac_status); } &&
50727 { ac_try='test -z "$ac_c_werror_flag"
50728 || test ! -s conftest.err'
50729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50730 (eval $ac_try) 2>&5
50731 ac_status=$?
50732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733 (exit $ac_status); }; } &&
50734 { ac_try='test -s conftest$ac_exeext'
50735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50736 (eval $ac_try) 2>&5
50737 ac_status=$?
50738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50739 (exit $ac_status); }; }; then
50740 eval "$as_ac_var=yes"
50741 else
50742 echo "$as_me: failed program was:" >&5
50743 sed 's/^/| /' conftest.$ac_ext >&5
50745 eval "$as_ac_var=no"
50747 rm -f conftest.err conftest.$ac_objext \
50748 conftest$ac_exeext conftest.$ac_ext
50750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50752 if test `eval echo '${'$as_ac_var'}'` = yes; then
50753 cat >>confdefs.h <<_ACEOF
50754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50755 _ACEOF
50757 else
50758 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50760 done
50763 if test x$ac_cv_func_copysignl = x"yes"; then
50765 for ac_func in __signbitl
50767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50768 echo "$as_me:$LINENO: checking for $ac_func" >&5
50769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50770 if eval "test \"\${$as_ac_var+set}\" = set"; then
50771 echo $ECHO_N "(cached) $ECHO_C" >&6
50772 else
50773 if test x$gcc_no_link = xyes; then
50774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50776 { (exit 1); exit 1; }; }
50778 cat >conftest.$ac_ext <<_ACEOF
50779 /* confdefs.h. */
50780 _ACEOF
50781 cat confdefs.h >>conftest.$ac_ext
50782 cat >>conftest.$ac_ext <<_ACEOF
50783 /* end confdefs.h. */
50784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50786 #define $ac_func innocuous_$ac_func
50788 /* System header to define __stub macros and hopefully few prototypes,
50789 which can conflict with char $ac_func (); below.
50790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50791 <limits.h> exists even on freestanding compilers. */
50793 #ifdef __STDC__
50794 # include <limits.h>
50795 #else
50796 # include <assert.h>
50797 #endif
50799 #undef $ac_func
50801 /* Override any gcc2 internal prototype to avoid an error. */
50802 #ifdef __cplusplus
50803 extern "C"
50805 #endif
50806 /* We use char because int might match the return type of a gcc2
50807 builtin and then its argument prototype would still apply. */
50808 char $ac_func ();
50809 /* The GNU C library defines this for functions which it implements
50810 to always fail with ENOSYS. Some functions are actually named
50811 something starting with __ and the normal name is an alias. */
50812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50813 choke me
50814 #else
50815 char (*f) () = $ac_func;
50816 #endif
50817 #ifdef __cplusplus
50819 #endif
50822 main ()
50824 return f != $ac_func;
50826 return 0;
50828 _ACEOF
50829 rm -f conftest.$ac_objext conftest$ac_exeext
50830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50831 (eval $ac_link) 2>conftest.er1
50832 ac_status=$?
50833 grep -v '^ *+' conftest.er1 >conftest.err
50834 rm -f conftest.er1
50835 cat conftest.err >&5
50836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837 (exit $ac_status); } &&
50838 { ac_try='test -z "$ac_c_werror_flag"
50839 || test ! -s conftest.err'
50840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50841 (eval $ac_try) 2>&5
50842 ac_status=$?
50843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50844 (exit $ac_status); }; } &&
50845 { ac_try='test -s conftest$ac_exeext'
50846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50847 (eval $ac_try) 2>&5
50848 ac_status=$?
50849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50850 (exit $ac_status); }; }; then
50851 eval "$as_ac_var=yes"
50852 else
50853 echo "$as_me: failed program was:" >&5
50854 sed 's/^/| /' conftest.$ac_ext >&5
50856 eval "$as_ac_var=no"
50858 rm -f conftest.err conftest.$ac_objext \
50859 conftest$ac_exeext conftest.$ac_ext
50861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50863 if test `eval echo '${'$as_ac_var'}'` = yes; then
50864 cat >>confdefs.h <<_ACEOF
50865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50866 _ACEOF
50868 else
50869 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50871 done
50875 # Used in libmath/Makefile.am.
50876 if test -n "$LIBMATHOBJS"; then
50877 need_libmath=yes
50882 # Test wchar.h for mbstate_t, which is needed for char_traits and
50883 # others even if wchar_t support is not on.
50884 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50885 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50886 cat >conftest.$ac_ext <<_ACEOF
50887 /* confdefs.h. */
50888 _ACEOF
50889 cat confdefs.h >>conftest.$ac_ext
50890 cat >>conftest.$ac_ext <<_ACEOF
50891 /* end confdefs.h. */
50892 #include <wchar.h>
50894 main ()
50896 mbstate_t teststate;
50898 return 0;
50900 _ACEOF
50901 rm -f conftest.$ac_objext
50902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50903 (eval $ac_compile) 2>conftest.er1
50904 ac_status=$?
50905 grep -v '^ *+' conftest.er1 >conftest.err
50906 rm -f conftest.er1
50907 cat conftest.err >&5
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); } &&
50910 { ac_try='test -z "$ac_c_werror_flag"
50911 || test ! -s conftest.err'
50912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50913 (eval $ac_try) 2>&5
50914 ac_status=$?
50915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50916 (exit $ac_status); }; } &&
50917 { ac_try='test -s conftest.$ac_objext'
50918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50919 (eval $ac_try) 2>&5
50920 ac_status=$?
50921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922 (exit $ac_status); }; }; then
50923 have_mbstate_t=yes
50924 else
50925 echo "$as_me: failed program was:" >&5
50926 sed 's/^/| /' conftest.$ac_ext >&5
50928 have_mbstate_t=no
50930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50931 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50932 echo "${ECHO_T}$have_mbstate_t" >&6
50933 if test x"$have_mbstate_t" = xyes; then
50934 cat >>confdefs.h <<\_ACEOF
50935 #define HAVE_MBSTATE_T 1
50936 _ACEOF
50940 # Sanity check for existence of ISO C99 headers for extended encoding.
50942 for ac_header in wchar.h
50944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50946 echo "$as_me:$LINENO: checking for $ac_header" >&5
50947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50949 echo $ECHO_N "(cached) $ECHO_C" >&6
50951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50953 else
50954 # Is the header compilable?
50955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50957 cat >conftest.$ac_ext <<_ACEOF
50958 /* confdefs.h. */
50959 _ACEOF
50960 cat confdefs.h >>conftest.$ac_ext
50961 cat >>conftest.$ac_ext <<_ACEOF
50962 /* end confdefs.h. */
50963 $ac_includes_default
50964 #include <$ac_header>
50965 _ACEOF
50966 rm -f conftest.$ac_objext
50967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50968 (eval $ac_compile) 2>conftest.er1
50969 ac_status=$?
50970 grep -v '^ *+' conftest.er1 >conftest.err
50971 rm -f conftest.er1
50972 cat conftest.err >&5
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); } &&
50975 { ac_try='test -z "$ac_c_werror_flag"
50976 || test ! -s conftest.err'
50977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50978 (eval $ac_try) 2>&5
50979 ac_status=$?
50980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981 (exit $ac_status); }; } &&
50982 { ac_try='test -s conftest.$ac_objext'
50983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50984 (eval $ac_try) 2>&5
50985 ac_status=$?
50986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50987 (exit $ac_status); }; }; then
50988 ac_header_compiler=yes
50989 else
50990 echo "$as_me: failed program was:" >&5
50991 sed 's/^/| /' conftest.$ac_ext >&5
50993 ac_header_compiler=no
50995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50997 echo "${ECHO_T}$ac_header_compiler" >&6
50999 # Is the header present?
51000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51002 cat >conftest.$ac_ext <<_ACEOF
51003 /* confdefs.h. */
51004 _ACEOF
51005 cat confdefs.h >>conftest.$ac_ext
51006 cat >>conftest.$ac_ext <<_ACEOF
51007 /* end confdefs.h. */
51008 #include <$ac_header>
51009 _ACEOF
51010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51012 ac_status=$?
51013 grep -v '^ *+' conftest.er1 >conftest.err
51014 rm -f conftest.er1
51015 cat conftest.err >&5
51016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51017 (exit $ac_status); } >/dev/null; then
51018 if test -s conftest.err; then
51019 ac_cpp_err=$ac_c_preproc_warn_flag
51020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51021 else
51022 ac_cpp_err=
51024 else
51025 ac_cpp_err=yes
51027 if test -z "$ac_cpp_err"; then
51028 ac_header_preproc=yes
51029 else
51030 echo "$as_me: failed program was:" >&5
51031 sed 's/^/| /' conftest.$ac_ext >&5
51033 ac_header_preproc=no
51035 rm -f conftest.err conftest.$ac_ext
51036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51037 echo "${ECHO_T}$ac_header_preproc" >&6
51039 # So? What about this header?
51040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51041 yes:no: )
51042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51046 ac_header_preproc=yes
51048 no:yes:* )
51049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51062 cat <<\_ASBOX
51063 ## ----------------------------------------- ##
51064 ## Report this to the package-unused lists. ##
51065 ## ----------------------------------------- ##
51066 _ASBOX
51068 sed "s/^/$as_me: WARNING: /" >&2
51070 esac
51071 echo "$as_me:$LINENO: checking for $ac_header" >&5
51072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51074 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 else
51076 eval "$as_ac_Header=\$ac_header_preproc"
51078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51083 cat >>confdefs.h <<_ACEOF
51084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51085 _ACEOF
51086 ac_has_wchar_h=yes
51087 else
51088 ac_has_wchar_h=no
51091 done
51094 for ac_header in wctype.h
51096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51098 echo "$as_me:$LINENO: checking for $ac_header" >&5
51099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51101 echo $ECHO_N "(cached) $ECHO_C" >&6
51103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51105 else
51106 # Is the header compilable?
51107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51109 cat >conftest.$ac_ext <<_ACEOF
51110 /* confdefs.h. */
51111 _ACEOF
51112 cat confdefs.h >>conftest.$ac_ext
51113 cat >>conftest.$ac_ext <<_ACEOF
51114 /* end confdefs.h. */
51115 $ac_includes_default
51116 #include <$ac_header>
51117 _ACEOF
51118 rm -f conftest.$ac_objext
51119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51120 (eval $ac_compile) 2>conftest.er1
51121 ac_status=$?
51122 grep -v '^ *+' conftest.er1 >conftest.err
51123 rm -f conftest.er1
51124 cat conftest.err >&5
51125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51126 (exit $ac_status); } &&
51127 { ac_try='test -z "$ac_c_werror_flag"
51128 || test ! -s conftest.err'
51129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51130 (eval $ac_try) 2>&5
51131 ac_status=$?
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); }; } &&
51134 { ac_try='test -s conftest.$ac_objext'
51135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51136 (eval $ac_try) 2>&5
51137 ac_status=$?
51138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139 (exit $ac_status); }; }; then
51140 ac_header_compiler=yes
51141 else
51142 echo "$as_me: failed program was:" >&5
51143 sed 's/^/| /' conftest.$ac_ext >&5
51145 ac_header_compiler=no
51147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51149 echo "${ECHO_T}$ac_header_compiler" >&6
51151 # Is the header present?
51152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51154 cat >conftest.$ac_ext <<_ACEOF
51155 /* confdefs.h. */
51156 _ACEOF
51157 cat confdefs.h >>conftest.$ac_ext
51158 cat >>conftest.$ac_ext <<_ACEOF
51159 /* end confdefs.h. */
51160 #include <$ac_header>
51161 _ACEOF
51162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51164 ac_status=$?
51165 grep -v '^ *+' conftest.er1 >conftest.err
51166 rm -f conftest.er1
51167 cat conftest.err >&5
51168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169 (exit $ac_status); } >/dev/null; then
51170 if test -s conftest.err; then
51171 ac_cpp_err=$ac_c_preproc_warn_flag
51172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51173 else
51174 ac_cpp_err=
51176 else
51177 ac_cpp_err=yes
51179 if test -z "$ac_cpp_err"; then
51180 ac_header_preproc=yes
51181 else
51182 echo "$as_me: failed program was:" >&5
51183 sed 's/^/| /' conftest.$ac_ext >&5
51185 ac_header_preproc=no
51187 rm -f conftest.err conftest.$ac_ext
51188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51189 echo "${ECHO_T}$ac_header_preproc" >&6
51191 # So? What about this header?
51192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51193 yes:no: )
51194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51198 ac_header_preproc=yes
51200 no:yes:* )
51201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51214 cat <<\_ASBOX
51215 ## ----------------------------------------- ##
51216 ## Report this to the package-unused lists. ##
51217 ## ----------------------------------------- ##
51218 _ASBOX
51220 sed "s/^/$as_me: WARNING: /" >&2
51222 esac
51223 echo "$as_me:$LINENO: checking for $ac_header" >&5
51224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51226 echo $ECHO_N "(cached) $ECHO_C" >&6
51227 else
51228 eval "$as_ac_Header=\$ac_header_preproc"
51230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51235 cat >>confdefs.h <<_ACEOF
51236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51237 _ACEOF
51238 ac_has_wctype_h=yes
51239 else
51240 ac_has_wctype_h=no
51243 done
51246 # Only continue checking if the ISO C99 headers exist and support is on.
51247 if test x"$ac_has_wchar_h" = xyes &&
51248 test x"$ac_has_wctype_h" = xyes &&
51249 test x"$enable_c_mbchar" != xno; then
51251 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51252 # numeric_limits can instantiate type_traits<wchar_t>
51253 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51254 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51255 cat >conftest.$ac_ext <<_ACEOF
51256 /* confdefs.h. */
51257 _ACEOF
51258 cat confdefs.h >>conftest.$ac_ext
51259 cat >>conftest.$ac_ext <<_ACEOF
51260 /* end confdefs.h. */
51261 #include <wchar.h>
51263 main ()
51265 int i = WCHAR_MIN; int j = WCHAR_MAX;
51267 return 0;
51269 _ACEOF
51270 rm -f conftest.$ac_objext
51271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51272 (eval $ac_compile) 2>conftest.er1
51273 ac_status=$?
51274 grep -v '^ *+' conftest.er1 >conftest.err
51275 rm -f conftest.er1
51276 cat conftest.err >&5
51277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278 (exit $ac_status); } &&
51279 { ac_try='test -z "$ac_c_werror_flag"
51280 || test ! -s conftest.err'
51281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51282 (eval $ac_try) 2>&5
51283 ac_status=$?
51284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285 (exit $ac_status); }; } &&
51286 { ac_try='test -s conftest.$ac_objext'
51287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288 (eval $ac_try) 2>&5
51289 ac_status=$?
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); }; }; then
51292 has_wchar_minmax=yes
51293 else
51294 echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51297 has_wchar_minmax=no
51299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51300 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51301 echo "${ECHO_T}$has_wchar_minmax" >&6
51303 # Test wchar.h for WEOF, which is what we use to determine whether
51304 # to specialize for char_traits<wchar_t> or not.
51305 echo "$as_me:$LINENO: checking for WEOF" >&5
51306 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51307 cat >conftest.$ac_ext <<_ACEOF
51308 /* confdefs.h. */
51309 _ACEOF
51310 cat confdefs.h >>conftest.$ac_ext
51311 cat >>conftest.$ac_ext <<_ACEOF
51312 /* end confdefs.h. */
51314 #include <wchar.h>
51315 #include <stddef.h>
51317 main ()
51319 wint_t i = WEOF;
51321 return 0;
51323 _ACEOF
51324 rm -f conftest.$ac_objext
51325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51326 (eval $ac_compile) 2>conftest.er1
51327 ac_status=$?
51328 grep -v '^ *+' conftest.er1 >conftest.err
51329 rm -f conftest.er1
51330 cat conftest.err >&5
51331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51332 (exit $ac_status); } &&
51333 { ac_try='test -z "$ac_c_werror_flag"
51334 || test ! -s conftest.err'
51335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51336 (eval $ac_try) 2>&5
51337 ac_status=$?
51338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51339 (exit $ac_status); }; } &&
51340 { ac_try='test -s conftest.$ac_objext'
51341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51342 (eval $ac_try) 2>&5
51343 ac_status=$?
51344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51345 (exit $ac_status); }; }; then
51346 has_weof=yes
51347 else
51348 echo "$as_me: failed program was:" >&5
51349 sed 's/^/| /' conftest.$ac_ext >&5
51351 has_weof=no
51353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51354 echo "$as_me:$LINENO: result: $has_weof" >&5
51355 echo "${ECHO_T}$has_weof" >&6
51357 # Tests for wide character functions used in char_traits<wchar_t>.
51358 ac_wfuncs=yes
51365 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51368 echo "$as_me:$LINENO: checking for $ac_func" >&5
51369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51370 if eval "test \"\${$as_ac_var+set}\" = set"; then
51371 echo $ECHO_N "(cached) $ECHO_C" >&6
51372 else
51373 if test x$gcc_no_link = xyes; then
51374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51376 { (exit 1); exit 1; }; }
51378 cat >conftest.$ac_ext <<_ACEOF
51379 /* confdefs.h. */
51380 _ACEOF
51381 cat confdefs.h >>conftest.$ac_ext
51382 cat >>conftest.$ac_ext <<_ACEOF
51383 /* end confdefs.h. */
51384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51386 #define $ac_func innocuous_$ac_func
51388 /* System header to define __stub macros and hopefully few prototypes,
51389 which can conflict with char $ac_func (); below.
51390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51391 <limits.h> exists even on freestanding compilers. */
51393 #ifdef __STDC__
51394 # include <limits.h>
51395 #else
51396 # include <assert.h>
51397 #endif
51399 #undef $ac_func
51401 /* Override any gcc2 internal prototype to avoid an error. */
51402 #ifdef __cplusplus
51403 extern "C"
51405 #endif
51406 /* We use char because int might match the return type of a gcc2
51407 builtin and then its argument prototype would still apply. */
51408 char $ac_func ();
51409 /* The GNU C library defines this for functions which it implements
51410 to always fail with ENOSYS. Some functions are actually named
51411 something starting with __ and the normal name is an alias. */
51412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51413 choke me
51414 #else
51415 char (*f) () = $ac_func;
51416 #endif
51417 #ifdef __cplusplus
51419 #endif
51422 main ()
51424 return f != $ac_func;
51426 return 0;
51428 _ACEOF
51429 rm -f conftest.$ac_objext conftest$ac_exeext
51430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51431 (eval $ac_link) 2>conftest.er1
51432 ac_status=$?
51433 grep -v '^ *+' conftest.er1 >conftest.err
51434 rm -f conftest.er1
51435 cat conftest.err >&5
51436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51437 (exit $ac_status); } &&
51438 { ac_try='test -z "$ac_c_werror_flag"
51439 || test ! -s conftest.err'
51440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51441 (eval $ac_try) 2>&5
51442 ac_status=$?
51443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444 (exit $ac_status); }; } &&
51445 { ac_try='test -s conftest$ac_exeext'
51446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51447 (eval $ac_try) 2>&5
51448 ac_status=$?
51449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51450 (exit $ac_status); }; }; then
51451 eval "$as_ac_var=yes"
51452 else
51453 echo "$as_me: failed program was:" >&5
51454 sed 's/^/| /' conftest.$ac_ext >&5
51456 eval "$as_ac_var=no"
51458 rm -f conftest.err conftest.$ac_objext \
51459 conftest$ac_exeext conftest.$ac_ext
51461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51463 if test `eval echo '${'$as_ac_var'}'` = yes; then
51464 cat >>confdefs.h <<_ACEOF
51465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51466 _ACEOF
51468 else
51469 ac_wfuncs=no
51471 done
51474 # Checks for names injected into std:: by the c_std headers.
51521 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51522 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51523 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51524 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51525 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51526 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51529 echo "$as_me:$LINENO: checking for $ac_func" >&5
51530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51531 if eval "test \"\${$as_ac_var+set}\" = set"; then
51532 echo $ECHO_N "(cached) $ECHO_C" >&6
51533 else
51534 if test x$gcc_no_link = xyes; then
51535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51537 { (exit 1); exit 1; }; }
51539 cat >conftest.$ac_ext <<_ACEOF
51540 /* confdefs.h. */
51541 _ACEOF
51542 cat confdefs.h >>conftest.$ac_ext
51543 cat >>conftest.$ac_ext <<_ACEOF
51544 /* end confdefs.h. */
51545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51547 #define $ac_func innocuous_$ac_func
51549 /* System header to define __stub macros and hopefully few prototypes,
51550 which can conflict with char $ac_func (); below.
51551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51552 <limits.h> exists even on freestanding compilers. */
51554 #ifdef __STDC__
51555 # include <limits.h>
51556 #else
51557 # include <assert.h>
51558 #endif
51560 #undef $ac_func
51562 /* Override any gcc2 internal prototype to avoid an error. */
51563 #ifdef __cplusplus
51564 extern "C"
51566 #endif
51567 /* We use char because int might match the return type of a gcc2
51568 builtin and then its argument prototype would still apply. */
51569 char $ac_func ();
51570 /* The GNU C library defines this for functions which it implements
51571 to always fail with ENOSYS. Some functions are actually named
51572 something starting with __ and the normal name is an alias. */
51573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51574 choke me
51575 #else
51576 char (*f) () = $ac_func;
51577 #endif
51578 #ifdef __cplusplus
51580 #endif
51583 main ()
51585 return f != $ac_func;
51587 return 0;
51589 _ACEOF
51590 rm -f conftest.$ac_objext conftest$ac_exeext
51591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51592 (eval $ac_link) 2>conftest.er1
51593 ac_status=$?
51594 grep -v '^ *+' conftest.er1 >conftest.err
51595 rm -f conftest.er1
51596 cat conftest.err >&5
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); } &&
51599 { ac_try='test -z "$ac_c_werror_flag"
51600 || test ! -s conftest.err'
51601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51602 (eval $ac_try) 2>&5
51603 ac_status=$?
51604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51605 (exit $ac_status); }; } &&
51606 { ac_try='test -s conftest$ac_exeext'
51607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51608 (eval $ac_try) 2>&5
51609 ac_status=$?
51610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611 (exit $ac_status); }; }; then
51612 eval "$as_ac_var=yes"
51613 else
51614 echo "$as_me: failed program was:" >&5
51615 sed 's/^/| /' conftest.$ac_ext >&5
51617 eval "$as_ac_var=no"
51619 rm -f conftest.err conftest.$ac_objext \
51620 conftest$ac_exeext conftest.$ac_ext
51622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51624 if test `eval echo '${'$as_ac_var'}'` = yes; then
51625 cat >>confdefs.h <<_ACEOF
51626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51627 _ACEOF
51629 else
51630 ac_wfuncs=no
51632 done
51635 # Checks for wide character functions that are not required
51636 # for basic wchar_t support. Don't disable support if they are missing.
51637 # Injection of these is wrapped with guard macros.
51643 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51646 echo "$as_me:$LINENO: checking for $ac_func" >&5
51647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51648 if eval "test \"\${$as_ac_var+set}\" = set"; then
51649 echo $ECHO_N "(cached) $ECHO_C" >&6
51650 else
51651 if test x$gcc_no_link = xyes; then
51652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51654 { (exit 1); exit 1; }; }
51656 cat >conftest.$ac_ext <<_ACEOF
51657 /* confdefs.h. */
51658 _ACEOF
51659 cat confdefs.h >>conftest.$ac_ext
51660 cat >>conftest.$ac_ext <<_ACEOF
51661 /* end confdefs.h. */
51662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51664 #define $ac_func innocuous_$ac_func
51666 /* System header to define __stub macros and hopefully few prototypes,
51667 which can conflict with char $ac_func (); below.
51668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51669 <limits.h> exists even on freestanding compilers. */
51671 #ifdef __STDC__
51672 # include <limits.h>
51673 #else
51674 # include <assert.h>
51675 #endif
51677 #undef $ac_func
51679 /* Override any gcc2 internal prototype to avoid an error. */
51680 #ifdef __cplusplus
51681 extern "C"
51683 #endif
51684 /* We use char because int might match the return type of a gcc2
51685 builtin and then its argument prototype would still apply. */
51686 char $ac_func ();
51687 /* The GNU C library defines this for functions which it implements
51688 to always fail with ENOSYS. Some functions are actually named
51689 something starting with __ and the normal name is an alias. */
51690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51691 choke me
51692 #else
51693 char (*f) () = $ac_func;
51694 #endif
51695 #ifdef __cplusplus
51697 #endif
51700 main ()
51702 return f != $ac_func;
51704 return 0;
51706 _ACEOF
51707 rm -f conftest.$ac_objext conftest$ac_exeext
51708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51709 (eval $ac_link) 2>conftest.er1
51710 ac_status=$?
51711 grep -v '^ *+' conftest.er1 >conftest.err
51712 rm -f conftest.er1
51713 cat conftest.err >&5
51714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715 (exit $ac_status); } &&
51716 { ac_try='test -z "$ac_c_werror_flag"
51717 || test ! -s conftest.err'
51718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719 (eval $ac_try) 2>&5
51720 ac_status=$?
51721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722 (exit $ac_status); }; } &&
51723 { ac_try='test -s conftest$ac_exeext'
51724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51725 (eval $ac_try) 2>&5
51726 ac_status=$?
51727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51728 (exit $ac_status); }; }; then
51729 eval "$as_ac_var=yes"
51730 else
51731 echo "$as_me: failed program was:" >&5
51732 sed 's/^/| /' conftest.$ac_ext >&5
51734 eval "$as_ac_var=no"
51736 rm -f conftest.err conftest.$ac_objext \
51737 conftest$ac_exeext conftest.$ac_ext
51739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51741 if test `eval echo '${'$as_ac_var'}'` = yes; then
51742 cat >>confdefs.h <<_ACEOF
51743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51744 _ACEOF
51747 done
51750 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51751 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51752 if test x"$has_weof" = xyes &&
51753 test x"$has_wchar_minmax" = xyes &&
51754 test x"$ac_wfuncs" = xyes;
51755 then
51756 ac_isoC99_wchar_t=yes
51757 else
51758 ac_isoC99_wchar_t=no
51760 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51761 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51763 # Use iconv for wchar_t to char conversions. As such, check for
51764 # X/Open Portability Guide, version 2 features (XPG2).
51765 if test "${ac_cv_header_iconv_h+set}" = set; then
51766 echo "$as_me:$LINENO: checking for iconv.h" >&5
51767 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51768 if test "${ac_cv_header_iconv_h+set}" = set; then
51769 echo $ECHO_N "(cached) $ECHO_C" >&6
51771 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51772 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51773 else
51774 # Is the header compilable?
51775 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51776 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51777 cat >conftest.$ac_ext <<_ACEOF
51778 /* confdefs.h. */
51779 _ACEOF
51780 cat confdefs.h >>conftest.$ac_ext
51781 cat >>conftest.$ac_ext <<_ACEOF
51782 /* end confdefs.h. */
51783 $ac_includes_default
51784 #include <iconv.h>
51785 _ACEOF
51786 rm -f conftest.$ac_objext
51787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51788 (eval $ac_compile) 2>conftest.er1
51789 ac_status=$?
51790 grep -v '^ *+' conftest.er1 >conftest.err
51791 rm -f conftest.er1
51792 cat conftest.err >&5
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 (exit $ac_status); } &&
51795 { ac_try='test -z "$ac_c_werror_flag"
51796 || test ! -s conftest.err'
51797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798 (eval $ac_try) 2>&5
51799 ac_status=$?
51800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801 (exit $ac_status); }; } &&
51802 { ac_try='test -s conftest.$ac_objext'
51803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804 (eval $ac_try) 2>&5
51805 ac_status=$?
51806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807 (exit $ac_status); }; }; then
51808 ac_header_compiler=yes
51809 else
51810 echo "$as_me: failed program was:" >&5
51811 sed 's/^/| /' conftest.$ac_ext >&5
51813 ac_header_compiler=no
51815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51817 echo "${ECHO_T}$ac_header_compiler" >&6
51819 # Is the header present?
51820 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51821 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51822 cat >conftest.$ac_ext <<_ACEOF
51823 /* confdefs.h. */
51824 _ACEOF
51825 cat confdefs.h >>conftest.$ac_ext
51826 cat >>conftest.$ac_ext <<_ACEOF
51827 /* end confdefs.h. */
51828 #include <iconv.h>
51829 _ACEOF
51830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51832 ac_status=$?
51833 grep -v '^ *+' conftest.er1 >conftest.err
51834 rm -f conftest.er1
51835 cat conftest.err >&5
51836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51837 (exit $ac_status); } >/dev/null; then
51838 if test -s conftest.err; then
51839 ac_cpp_err=$ac_c_preproc_warn_flag
51840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51841 else
51842 ac_cpp_err=
51844 else
51845 ac_cpp_err=yes
51847 if test -z "$ac_cpp_err"; then
51848 ac_header_preproc=yes
51849 else
51850 echo "$as_me: failed program was:" >&5
51851 sed 's/^/| /' conftest.$ac_ext >&5
51853 ac_header_preproc=no
51855 rm -f conftest.err conftest.$ac_ext
51856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51857 echo "${ECHO_T}$ac_header_preproc" >&6
51859 # So? What about this header?
51860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51861 yes:no: )
51862 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51863 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51864 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51865 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51866 ac_header_preproc=yes
51868 no:yes:* )
51869 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51870 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51871 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51872 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51873 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51874 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51875 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51876 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51877 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51878 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51879 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51880 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51882 cat <<\_ASBOX
51883 ## ----------------------------------------- ##
51884 ## Report this to the package-unused lists. ##
51885 ## ----------------------------------------- ##
51886 _ASBOX
51888 sed "s/^/$as_me: WARNING: /" >&2
51890 esac
51891 echo "$as_me:$LINENO: checking for iconv.h" >&5
51892 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51893 if test "${ac_cv_header_iconv_h+set}" = set; then
51894 echo $ECHO_N "(cached) $ECHO_C" >&6
51895 else
51896 ac_cv_header_iconv_h=$ac_header_preproc
51898 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51899 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51902 if test $ac_cv_header_iconv_h = yes; then
51903 ac_has_iconv_h=yes
51904 else
51905 ac_has_iconv_h=no
51909 if test "${ac_cv_header_langinfo_h+set}" = set; then
51910 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51911 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51912 if test "${ac_cv_header_langinfo_h+set}" = set; then
51913 echo $ECHO_N "(cached) $ECHO_C" >&6
51915 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51916 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51917 else
51918 # Is the header compilable?
51919 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51920 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51921 cat >conftest.$ac_ext <<_ACEOF
51922 /* confdefs.h. */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h. */
51927 $ac_includes_default
51928 #include <langinfo.h>
51929 _ACEOF
51930 rm -f conftest.$ac_objext
51931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51932 (eval $ac_compile) 2>conftest.er1
51933 ac_status=$?
51934 grep -v '^ *+' conftest.er1 >conftest.err
51935 rm -f conftest.er1
51936 cat conftest.err >&5
51937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51938 (exit $ac_status); } &&
51939 { ac_try='test -z "$ac_c_werror_flag"
51940 || test ! -s conftest.err'
51941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51942 (eval $ac_try) 2>&5
51943 ac_status=$?
51944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51945 (exit $ac_status); }; } &&
51946 { ac_try='test -s conftest.$ac_objext'
51947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51948 (eval $ac_try) 2>&5
51949 ac_status=$?
51950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51951 (exit $ac_status); }; }; then
51952 ac_header_compiler=yes
51953 else
51954 echo "$as_me: failed program was:" >&5
51955 sed 's/^/| /' conftest.$ac_ext >&5
51957 ac_header_compiler=no
51959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51961 echo "${ECHO_T}$ac_header_compiler" >&6
51963 # Is the header present?
51964 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51965 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51966 cat >conftest.$ac_ext <<_ACEOF
51967 /* confdefs.h. */
51968 _ACEOF
51969 cat confdefs.h >>conftest.$ac_ext
51970 cat >>conftest.$ac_ext <<_ACEOF
51971 /* end confdefs.h. */
51972 #include <langinfo.h>
51973 _ACEOF
51974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51976 ac_status=$?
51977 grep -v '^ *+' conftest.er1 >conftest.err
51978 rm -f conftest.er1
51979 cat conftest.err >&5
51980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981 (exit $ac_status); } >/dev/null; then
51982 if test -s conftest.err; then
51983 ac_cpp_err=$ac_c_preproc_warn_flag
51984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51985 else
51986 ac_cpp_err=
51988 else
51989 ac_cpp_err=yes
51991 if test -z "$ac_cpp_err"; then
51992 ac_header_preproc=yes
51993 else
51994 echo "$as_me: failed program was:" >&5
51995 sed 's/^/| /' conftest.$ac_ext >&5
51997 ac_header_preproc=no
51999 rm -f conftest.err conftest.$ac_ext
52000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52001 echo "${ECHO_T}$ac_header_preproc" >&6
52003 # So? What about this header?
52004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52005 yes:no: )
52006 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52007 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52008 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52009 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52010 ac_header_preproc=yes
52012 no:yes:* )
52013 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52014 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52015 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52016 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52017 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52018 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52019 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52020 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52021 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52022 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52023 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52024 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52026 cat <<\_ASBOX
52027 ## ----------------------------------------- ##
52028 ## Report this to the package-unused lists. ##
52029 ## ----------------------------------------- ##
52030 _ASBOX
52032 sed "s/^/$as_me: WARNING: /" >&2
52034 esac
52035 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52036 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52037 if test "${ac_cv_header_langinfo_h+set}" = set; then
52038 echo $ECHO_N "(cached) $ECHO_C" >&6
52039 else
52040 ac_cv_header_langinfo_h=$ac_header_preproc
52042 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52043 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52046 if test $ac_cv_header_langinfo_h = yes; then
52047 ac_has_langinfo_h=yes
52048 else
52049 ac_has_langinfo_h=no
52054 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52055 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52056 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52057 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52058 echo $ECHO_N "(cached) $ECHO_C" >&6
52059 else
52060 ac_check_lib_save_LIBS=$LIBS
52061 LIBS="-liconv $LIBS"
52062 if test x$gcc_no_link = xyes; then
52063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52065 { (exit 1); exit 1; }; }
52067 cat >conftest.$ac_ext <<_ACEOF
52068 /* confdefs.h. */
52069 _ACEOF
52070 cat confdefs.h >>conftest.$ac_ext
52071 cat >>conftest.$ac_ext <<_ACEOF
52072 /* end confdefs.h. */
52074 /* Override any gcc2 internal prototype to avoid an error. */
52075 #ifdef __cplusplus
52076 extern "C"
52077 #endif
52078 /* We use char because int might match the return type of a gcc2
52079 builtin and then its argument prototype would still apply. */
52080 char iconv ();
52082 main ()
52084 iconv ();
52086 return 0;
52088 _ACEOF
52089 rm -f conftest.$ac_objext conftest$ac_exeext
52090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52091 (eval $ac_link) 2>conftest.er1
52092 ac_status=$?
52093 grep -v '^ *+' conftest.er1 >conftest.err
52094 rm -f conftest.er1
52095 cat conftest.err >&5
52096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097 (exit $ac_status); } &&
52098 { ac_try='test -z "$ac_c_werror_flag"
52099 || test ! -s conftest.err'
52100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52101 (eval $ac_try) 2>&5
52102 ac_status=$?
52103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52104 (exit $ac_status); }; } &&
52105 { ac_try='test -s conftest$ac_exeext'
52106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52107 (eval $ac_try) 2>&5
52108 ac_status=$?
52109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52110 (exit $ac_status); }; }; then
52111 ac_cv_lib_iconv_iconv=yes
52112 else
52113 echo "$as_me: failed program was:" >&5
52114 sed 's/^/| /' conftest.$ac_ext >&5
52116 ac_cv_lib_iconv_iconv=no
52118 rm -f conftest.err conftest.$ac_objext \
52119 conftest$ac_exeext conftest.$ac_ext
52120 LIBS=$ac_check_lib_save_LIBS
52122 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52123 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52124 if test $ac_cv_lib_iconv_iconv = yes; then
52125 LIBICONV="-liconv"
52128 ac_save_LIBS="$LIBS"
52129 LIBS="$LIBS $LIBICONV"
52136 for ac_func in iconv_open iconv_close iconv nl_langinfo
52138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52139 echo "$as_me:$LINENO: checking for $ac_func" >&5
52140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52141 if eval "test \"\${$as_ac_var+set}\" = set"; then
52142 echo $ECHO_N "(cached) $ECHO_C" >&6
52143 else
52144 if test x$gcc_no_link = xyes; then
52145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52147 { (exit 1); exit 1; }; }
52149 cat >conftest.$ac_ext <<_ACEOF
52150 /* confdefs.h. */
52151 _ACEOF
52152 cat confdefs.h >>conftest.$ac_ext
52153 cat >>conftest.$ac_ext <<_ACEOF
52154 /* end confdefs.h. */
52155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52157 #define $ac_func innocuous_$ac_func
52159 /* System header to define __stub macros and hopefully few prototypes,
52160 which can conflict with char $ac_func (); below.
52161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52162 <limits.h> exists even on freestanding compilers. */
52164 #ifdef __STDC__
52165 # include <limits.h>
52166 #else
52167 # include <assert.h>
52168 #endif
52170 #undef $ac_func
52172 /* Override any gcc2 internal prototype to avoid an error. */
52173 #ifdef __cplusplus
52174 extern "C"
52176 #endif
52177 /* We use char because int might match the return type of a gcc2
52178 builtin and then its argument prototype would still apply. */
52179 char $ac_func ();
52180 /* The GNU C library defines this for functions which it implements
52181 to always fail with ENOSYS. Some functions are actually named
52182 something starting with __ and the normal name is an alias. */
52183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52184 choke me
52185 #else
52186 char (*f) () = $ac_func;
52187 #endif
52188 #ifdef __cplusplus
52190 #endif
52193 main ()
52195 return f != $ac_func;
52197 return 0;
52199 _ACEOF
52200 rm -f conftest.$ac_objext conftest$ac_exeext
52201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52202 (eval $ac_link) 2>conftest.er1
52203 ac_status=$?
52204 grep -v '^ *+' conftest.er1 >conftest.err
52205 rm -f conftest.er1
52206 cat conftest.err >&5
52207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208 (exit $ac_status); } &&
52209 { ac_try='test -z "$ac_c_werror_flag"
52210 || test ! -s conftest.err'
52211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52212 (eval $ac_try) 2>&5
52213 ac_status=$?
52214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52215 (exit $ac_status); }; } &&
52216 { ac_try='test -s conftest$ac_exeext'
52217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52218 (eval $ac_try) 2>&5
52219 ac_status=$?
52220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52221 (exit $ac_status); }; }; then
52222 eval "$as_ac_var=yes"
52223 else
52224 echo "$as_me: failed program was:" >&5
52225 sed 's/^/| /' conftest.$ac_ext >&5
52227 eval "$as_ac_var=no"
52229 rm -f conftest.err conftest.$ac_objext \
52230 conftest$ac_exeext conftest.$ac_ext
52232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52234 if test `eval echo '${'$as_ac_var'}'` = yes; then
52235 cat >>confdefs.h <<_ACEOF
52236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52237 _ACEOF
52238 ac_XPG2funcs=yes
52239 else
52240 ac_XPG2funcs=no
52242 done
52245 LIBS="$ac_save_LIBS"
52247 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52248 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52249 if test x"$ac_has_iconv_h" = xyes &&
52250 test x"$ac_has_langinfo_h" = xyes &&
52251 test x"$ac_XPG2funcs" = xyes;
52252 then
52253 ac_XPG2_wchar_t=yes
52254 else
52255 ac_XPG2_wchar_t=no
52257 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52258 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52260 # At the moment, only enable wchar_t specializations if all the
52261 # above support is present.
52262 if test x"$ac_isoC99_wchar_t" = xyes &&
52263 test x"$ac_XPG2_wchar_t" = xyes;
52264 then
52265 cat >>confdefs.h <<\_ACEOF
52266 #define _GLIBCXX_USE_WCHAR_T 1
52267 _ACEOF
52269 enable_wchar_t=yes
52272 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52273 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52274 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52275 echo "${ECHO_T}$enable_wchar_t" >&6
52278 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52279 ac_save_CXXFLAGS="$CXXFLAGS"
52280 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52283 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52284 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52285 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52286 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52287 echo $ECHO_N "(cached) $ECHO_C" >&6
52288 else
52292 ac_ext=cc
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52298 cat >conftest.$ac_ext <<_ACEOF
52299 /* confdefs.h. */
52300 _ACEOF
52301 cat confdefs.h >>conftest.$ac_ext
52302 cat >>conftest.$ac_ext <<_ACEOF
52303 /* end confdefs.h. */
52304 #include <stdlib.h>
52306 main ()
52308 strtold(0, 0);
52310 return 0;
52312 _ACEOF
52313 rm -f conftest.$ac_objext
52314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52315 (eval $ac_compile) 2>conftest.er1
52316 ac_status=$?
52317 grep -v '^ *+' conftest.er1 >conftest.err
52318 rm -f conftest.er1
52319 cat conftest.err >&5
52320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52321 (exit $ac_status); } &&
52322 { ac_try='test -z "$ac_cxx_werror_flag"
52323 || test ! -s conftest.err'
52324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52325 (eval $ac_try) 2>&5
52326 ac_status=$?
52327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52328 (exit $ac_status); }; } &&
52329 { ac_try='test -s conftest.$ac_objext'
52330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52331 (eval $ac_try) 2>&5
52332 ac_status=$?
52333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52334 (exit $ac_status); }; }; then
52335 glibcxx_cv_func_strtold_use=yes
52336 else
52337 echo "$as_me: failed program was:" >&5
52338 sed 's/^/| /' conftest.$ac_ext >&5
52340 glibcxx_cv_func_strtold_use=no
52342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52343 ac_ext=c
52344 ac_cpp='$CPP $CPPFLAGS'
52345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52354 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52355 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52357 for ac_func in strtold
52359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52360 echo "$as_me:$LINENO: checking for $ac_func" >&5
52361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52362 if eval "test \"\${$as_ac_var+set}\" = set"; then
52363 echo $ECHO_N "(cached) $ECHO_C" >&6
52364 else
52365 if test x$gcc_no_link = xyes; then
52366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52368 { (exit 1); exit 1; }; }
52370 cat >conftest.$ac_ext <<_ACEOF
52371 /* confdefs.h. */
52372 _ACEOF
52373 cat confdefs.h >>conftest.$ac_ext
52374 cat >>conftest.$ac_ext <<_ACEOF
52375 /* end confdefs.h. */
52376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52378 #define $ac_func innocuous_$ac_func
52380 /* System header to define __stub macros and hopefully few prototypes,
52381 which can conflict with char $ac_func (); below.
52382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52383 <limits.h> exists even on freestanding compilers. */
52385 #ifdef __STDC__
52386 # include <limits.h>
52387 #else
52388 # include <assert.h>
52389 #endif
52391 #undef $ac_func
52393 /* Override any gcc2 internal prototype to avoid an error. */
52394 #ifdef __cplusplus
52395 extern "C"
52397 #endif
52398 /* We use char because int might match the return type of a gcc2
52399 builtin and then its argument prototype would still apply. */
52400 char $ac_func ();
52401 /* The GNU C library defines this for functions which it implements
52402 to always fail with ENOSYS. Some functions are actually named
52403 something starting with __ and the normal name is an alias. */
52404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52405 choke me
52406 #else
52407 char (*f) () = $ac_func;
52408 #endif
52409 #ifdef __cplusplus
52411 #endif
52414 main ()
52416 return f != $ac_func;
52418 return 0;
52420 _ACEOF
52421 rm -f conftest.$ac_objext conftest$ac_exeext
52422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52423 (eval $ac_link) 2>conftest.er1
52424 ac_status=$?
52425 grep -v '^ *+' conftest.er1 >conftest.err
52426 rm -f conftest.er1
52427 cat conftest.err >&5
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); } &&
52430 { ac_try='test -z "$ac_c_werror_flag"
52431 || test ! -s conftest.err'
52432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52433 (eval $ac_try) 2>&5
52434 ac_status=$?
52435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52436 (exit $ac_status); }; } &&
52437 { ac_try='test -s conftest$ac_exeext'
52438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52439 (eval $ac_try) 2>&5
52440 ac_status=$?
52441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52442 (exit $ac_status); }; }; then
52443 eval "$as_ac_var=yes"
52444 else
52445 echo "$as_me: failed program was:" >&5
52446 sed 's/^/| /' conftest.$ac_ext >&5
52448 eval "$as_ac_var=no"
52450 rm -f conftest.err conftest.$ac_objext \
52451 conftest$ac_exeext conftest.$ac_ext
52453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52455 if test `eval echo '${'$as_ac_var'}'` = yes; then
52456 cat >>confdefs.h <<_ACEOF
52457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52458 _ACEOF
52461 done
52466 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52467 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52468 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52469 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52470 echo $ECHO_N "(cached) $ECHO_C" >&6
52471 else
52475 ac_ext=cc
52476 ac_cpp='$CXXCPP $CPPFLAGS'
52477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52481 cat >conftest.$ac_ext <<_ACEOF
52482 /* confdefs.h. */
52483 _ACEOF
52484 cat confdefs.h >>conftest.$ac_ext
52485 cat >>conftest.$ac_ext <<_ACEOF
52486 /* end confdefs.h. */
52487 #include <stdlib.h>
52489 main ()
52491 strtof(0, 0);
52493 return 0;
52495 _ACEOF
52496 rm -f conftest.$ac_objext
52497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52498 (eval $ac_compile) 2>conftest.er1
52499 ac_status=$?
52500 grep -v '^ *+' conftest.er1 >conftest.err
52501 rm -f conftest.er1
52502 cat conftest.err >&5
52503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52504 (exit $ac_status); } &&
52505 { ac_try='test -z "$ac_cxx_werror_flag"
52506 || test ! -s conftest.err'
52507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52508 (eval $ac_try) 2>&5
52509 ac_status=$?
52510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52511 (exit $ac_status); }; } &&
52512 { ac_try='test -s conftest.$ac_objext'
52513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52514 (eval $ac_try) 2>&5
52515 ac_status=$?
52516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52517 (exit $ac_status); }; }; then
52518 glibcxx_cv_func_strtof_use=yes
52519 else
52520 echo "$as_me: failed program was:" >&5
52521 sed 's/^/| /' conftest.$ac_ext >&5
52523 glibcxx_cv_func_strtof_use=no
52525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52526 ac_ext=c
52527 ac_cpp='$CPP $CPPFLAGS'
52528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52537 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52538 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52540 for ac_func in strtof
52542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52543 echo "$as_me:$LINENO: checking for $ac_func" >&5
52544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52545 if eval "test \"\${$as_ac_var+set}\" = set"; then
52546 echo $ECHO_N "(cached) $ECHO_C" >&6
52547 else
52548 if test x$gcc_no_link = xyes; then
52549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52551 { (exit 1); exit 1; }; }
52553 cat >conftest.$ac_ext <<_ACEOF
52554 /* confdefs.h. */
52555 _ACEOF
52556 cat confdefs.h >>conftest.$ac_ext
52557 cat >>conftest.$ac_ext <<_ACEOF
52558 /* end confdefs.h. */
52559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52561 #define $ac_func innocuous_$ac_func
52563 /* System header to define __stub macros and hopefully few prototypes,
52564 which can conflict with char $ac_func (); below.
52565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52566 <limits.h> exists even on freestanding compilers. */
52568 #ifdef __STDC__
52569 # include <limits.h>
52570 #else
52571 # include <assert.h>
52572 #endif
52574 #undef $ac_func
52576 /* Override any gcc2 internal prototype to avoid an error. */
52577 #ifdef __cplusplus
52578 extern "C"
52580 #endif
52581 /* We use char because int might match the return type of a gcc2
52582 builtin and then its argument prototype would still apply. */
52583 char $ac_func ();
52584 /* The GNU C library defines this for functions which it implements
52585 to always fail with ENOSYS. Some functions are actually named
52586 something starting with __ and the normal name is an alias. */
52587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52588 choke me
52589 #else
52590 char (*f) () = $ac_func;
52591 #endif
52592 #ifdef __cplusplus
52594 #endif
52597 main ()
52599 return f != $ac_func;
52601 return 0;
52603 _ACEOF
52604 rm -f conftest.$ac_objext conftest$ac_exeext
52605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52606 (eval $ac_link) 2>conftest.er1
52607 ac_status=$?
52608 grep -v '^ *+' conftest.er1 >conftest.err
52609 rm -f conftest.er1
52610 cat conftest.err >&5
52611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52612 (exit $ac_status); } &&
52613 { ac_try='test -z "$ac_c_werror_flag"
52614 || test ! -s conftest.err'
52615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52616 (eval $ac_try) 2>&5
52617 ac_status=$?
52618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52619 (exit $ac_status); }; } &&
52620 { ac_try='test -s conftest$ac_exeext'
52621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52622 (eval $ac_try) 2>&5
52623 ac_status=$?
52624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52625 (exit $ac_status); }; }; then
52626 eval "$as_ac_var=yes"
52627 else
52628 echo "$as_me: failed program was:" >&5
52629 sed 's/^/| /' conftest.$ac_ext >&5
52631 eval "$as_ac_var=no"
52633 rm -f conftest.err conftest.$ac_objext \
52634 conftest$ac_exeext conftest.$ac_ext
52636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52638 if test `eval echo '${'$as_ac_var'}'` = yes; then
52639 cat >>confdefs.h <<_ACEOF
52640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52641 _ACEOF
52644 done
52649 CXXFLAGS="$ac_save_CXXFLAGS"
52652 # For showmanyc_helper().
52655 for ac_header in sys/ioctl.h sys/filio.h
52657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52659 echo "$as_me:$LINENO: checking for $ac_header" >&5
52660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52662 echo $ECHO_N "(cached) $ECHO_C" >&6
52664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52666 else
52667 # Is the header compilable?
52668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52670 cat >conftest.$ac_ext <<_ACEOF
52671 /* confdefs.h. */
52672 _ACEOF
52673 cat confdefs.h >>conftest.$ac_ext
52674 cat >>conftest.$ac_ext <<_ACEOF
52675 /* end confdefs.h. */
52676 $ac_includes_default
52677 #include <$ac_header>
52678 _ACEOF
52679 rm -f conftest.$ac_objext
52680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52681 (eval $ac_compile) 2>conftest.er1
52682 ac_status=$?
52683 grep -v '^ *+' conftest.er1 >conftest.err
52684 rm -f conftest.er1
52685 cat conftest.err >&5
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); } &&
52688 { ac_try='test -z "$ac_c_werror_flag"
52689 || test ! -s conftest.err'
52690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52691 (eval $ac_try) 2>&5
52692 ac_status=$?
52693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52694 (exit $ac_status); }; } &&
52695 { ac_try='test -s conftest.$ac_objext'
52696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52697 (eval $ac_try) 2>&5
52698 ac_status=$?
52699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52700 (exit $ac_status); }; }; then
52701 ac_header_compiler=yes
52702 else
52703 echo "$as_me: failed program was:" >&5
52704 sed 's/^/| /' conftest.$ac_ext >&5
52706 ac_header_compiler=no
52708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52710 echo "${ECHO_T}$ac_header_compiler" >&6
52712 # Is the header present?
52713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52715 cat >conftest.$ac_ext <<_ACEOF
52716 /* confdefs.h. */
52717 _ACEOF
52718 cat confdefs.h >>conftest.$ac_ext
52719 cat >>conftest.$ac_ext <<_ACEOF
52720 /* end confdefs.h. */
52721 #include <$ac_header>
52722 _ACEOF
52723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52725 ac_status=$?
52726 grep -v '^ *+' conftest.er1 >conftest.err
52727 rm -f conftest.er1
52728 cat conftest.err >&5
52729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730 (exit $ac_status); } >/dev/null; then
52731 if test -s conftest.err; then
52732 ac_cpp_err=$ac_c_preproc_warn_flag
52733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52734 else
52735 ac_cpp_err=
52737 else
52738 ac_cpp_err=yes
52740 if test -z "$ac_cpp_err"; then
52741 ac_header_preproc=yes
52742 else
52743 echo "$as_me: failed program was:" >&5
52744 sed 's/^/| /' conftest.$ac_ext >&5
52746 ac_header_preproc=no
52748 rm -f conftest.err conftest.$ac_ext
52749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52750 echo "${ECHO_T}$ac_header_preproc" >&6
52752 # So? What about this header?
52753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52754 yes:no: )
52755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52759 ac_header_preproc=yes
52761 no:yes:* )
52762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52775 cat <<\_ASBOX
52776 ## ----------------------------------------- ##
52777 ## Report this to the package-unused lists. ##
52778 ## ----------------------------------------- ##
52779 _ASBOX
52781 sed "s/^/$as_me: WARNING: /" >&2
52783 esac
52784 echo "$as_me:$LINENO: checking for $ac_header" >&5
52785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52787 echo $ECHO_N "(cached) $ECHO_C" >&6
52788 else
52789 eval "$as_ac_Header=\$ac_header_preproc"
52791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52796 cat >>confdefs.h <<_ACEOF
52797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52798 _ACEOF
52802 done
52805 if test "${glibcxx_cv_POLL+set}" = set; then
52806 echo $ECHO_N "(cached) $ECHO_C" >&6
52807 else
52809 if test x$gcc_no_link = xyes; then
52810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52812 { (exit 1); exit 1; }; }
52814 cat >conftest.$ac_ext <<_ACEOF
52815 /* confdefs.h. */
52816 _ACEOF
52817 cat confdefs.h >>conftest.$ac_ext
52818 cat >>conftest.$ac_ext <<_ACEOF
52819 /* end confdefs.h. */
52820 #include <poll.h>
52822 main ()
52824 struct pollfd pfd[1];
52825 pfd[0].events = POLLIN;
52826 poll(pfd, 1, 0);
52828 return 0;
52830 _ACEOF
52831 rm -f conftest.$ac_objext conftest$ac_exeext
52832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52833 (eval $ac_link) 2>conftest.er1
52834 ac_status=$?
52835 grep -v '^ *+' conftest.er1 >conftest.err
52836 rm -f conftest.er1
52837 cat conftest.err >&5
52838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839 (exit $ac_status); } &&
52840 { ac_try='test -z "$ac_c_werror_flag"
52841 || test ! -s conftest.err'
52842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52843 (eval $ac_try) 2>&5
52844 ac_status=$?
52845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846 (exit $ac_status); }; } &&
52847 { ac_try='test -s conftest$ac_exeext'
52848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52849 (eval $ac_try) 2>&5
52850 ac_status=$?
52851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52852 (exit $ac_status); }; }; then
52853 glibcxx_cv_POLL=yes
52854 else
52855 echo "$as_me: failed program was:" >&5
52856 sed 's/^/| /' conftest.$ac_ext >&5
52858 glibcxx_cv_POLL=no
52860 rm -f conftest.err conftest.$ac_objext \
52861 conftest$ac_exeext conftest.$ac_ext
52865 if test $glibcxx_cv_POLL = yes; then
52866 cat >>confdefs.h <<\_ACEOF
52867 #define HAVE_POLL 1
52868 _ACEOF
52873 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52874 echo $ECHO_N "(cached) $ECHO_C" >&6
52875 else
52877 if test x$gcc_no_link = xyes; then
52878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52880 { (exit 1); exit 1; }; }
52882 cat >conftest.$ac_ext <<_ACEOF
52883 /* confdefs.h. */
52884 _ACEOF
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h. */
52888 #include <sys/stat.h>
52890 main ()
52892 struct stat buffer;
52893 fstat(0, &buffer);
52894 S_ISREG(buffer.st_mode);
52896 return 0;
52898 _ACEOF
52899 rm -f conftest.$ac_objext conftest$ac_exeext
52900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52901 (eval $ac_link) 2>conftest.er1
52902 ac_status=$?
52903 grep -v '^ *+' conftest.er1 >conftest.err
52904 rm -f conftest.er1
52905 cat conftest.err >&5
52906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907 (exit $ac_status); } &&
52908 { ac_try='test -z "$ac_c_werror_flag"
52909 || test ! -s conftest.err'
52910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52911 (eval $ac_try) 2>&5
52912 ac_status=$?
52913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52914 (exit $ac_status); }; } &&
52915 { ac_try='test -s conftest$ac_exeext'
52916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52917 (eval $ac_try) 2>&5
52918 ac_status=$?
52919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52920 (exit $ac_status); }; }; then
52921 glibcxx_cv_S_ISREG=yes
52922 else
52923 echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52926 glibcxx_cv_S_ISREG=no
52928 rm -f conftest.err conftest.$ac_objext \
52929 conftest$ac_exeext conftest.$ac_ext
52933 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52934 echo $ECHO_N "(cached) $ECHO_C" >&6
52935 else
52937 if test x$gcc_no_link = xyes; then
52938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52940 { (exit 1); exit 1; }; }
52942 cat >conftest.$ac_ext <<_ACEOF
52943 /* confdefs.h. */
52944 _ACEOF
52945 cat confdefs.h >>conftest.$ac_ext
52946 cat >>conftest.$ac_ext <<_ACEOF
52947 /* end confdefs.h. */
52948 #include <sys/stat.h>
52950 main ()
52952 struct stat buffer;
52953 fstat(0, &buffer);
52954 S_IFREG & buffer.st_mode;
52956 return 0;
52958 _ACEOF
52959 rm -f conftest.$ac_objext conftest$ac_exeext
52960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52961 (eval $ac_link) 2>conftest.er1
52962 ac_status=$?
52963 grep -v '^ *+' conftest.er1 >conftest.err
52964 rm -f conftest.er1
52965 cat conftest.err >&5
52966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967 (exit $ac_status); } &&
52968 { ac_try='test -z "$ac_c_werror_flag"
52969 || test ! -s conftest.err'
52970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52971 (eval $ac_try) 2>&5
52972 ac_status=$?
52973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52974 (exit $ac_status); }; } &&
52975 { ac_try='test -s conftest$ac_exeext'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; }; then
52981 glibcxx_cv_S_IFREG=yes
52982 else
52983 echo "$as_me: failed program was:" >&5
52984 sed 's/^/| /' conftest.$ac_ext >&5
52986 glibcxx_cv_S_IFREG=no
52988 rm -f conftest.err conftest.$ac_objext \
52989 conftest$ac_exeext conftest.$ac_ext
52993 if test $glibcxx_cv_S_ISREG = yes; then
52994 cat >>confdefs.h <<\_ACEOF
52995 #define HAVE_S_ISREG 1
52996 _ACEOF
52998 elif test $glibcxx_cv_S_IFREG = yes; then
52999 cat >>confdefs.h <<\_ACEOF
53000 #define HAVE_S_IFREG 1
53001 _ACEOF
53006 # For xsputn_2().
53008 for ac_header in sys/uio.h
53010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53012 echo "$as_me:$LINENO: checking for $ac_header" >&5
53013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53015 echo $ECHO_N "(cached) $ECHO_C" >&6
53017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53019 else
53020 # Is the header compilable?
53021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53023 cat >conftest.$ac_ext <<_ACEOF
53024 /* confdefs.h. */
53025 _ACEOF
53026 cat confdefs.h >>conftest.$ac_ext
53027 cat >>conftest.$ac_ext <<_ACEOF
53028 /* end confdefs.h. */
53029 $ac_includes_default
53030 #include <$ac_header>
53031 _ACEOF
53032 rm -f conftest.$ac_objext
53033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53034 (eval $ac_compile) 2>conftest.er1
53035 ac_status=$?
53036 grep -v '^ *+' conftest.er1 >conftest.err
53037 rm -f conftest.er1
53038 cat conftest.err >&5
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); } &&
53041 { ac_try='test -z "$ac_c_werror_flag"
53042 || test ! -s conftest.err'
53043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044 (eval $ac_try) 2>&5
53045 ac_status=$?
53046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047 (exit $ac_status); }; } &&
53048 { ac_try='test -s conftest.$ac_objext'
53049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53050 (eval $ac_try) 2>&5
53051 ac_status=$?
53052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053 (exit $ac_status); }; }; then
53054 ac_header_compiler=yes
53055 else
53056 echo "$as_me: failed program was:" >&5
53057 sed 's/^/| /' conftest.$ac_ext >&5
53059 ac_header_compiler=no
53061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53063 echo "${ECHO_T}$ac_header_compiler" >&6
53065 # Is the header present?
53066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53068 cat >conftest.$ac_ext <<_ACEOF
53069 /* confdefs.h. */
53070 _ACEOF
53071 cat confdefs.h >>conftest.$ac_ext
53072 cat >>conftest.$ac_ext <<_ACEOF
53073 /* end confdefs.h. */
53074 #include <$ac_header>
53075 _ACEOF
53076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53078 ac_status=$?
53079 grep -v '^ *+' conftest.er1 >conftest.err
53080 rm -f conftest.er1
53081 cat conftest.err >&5
53082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53083 (exit $ac_status); } >/dev/null; then
53084 if test -s conftest.err; then
53085 ac_cpp_err=$ac_c_preproc_warn_flag
53086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53087 else
53088 ac_cpp_err=
53090 else
53091 ac_cpp_err=yes
53093 if test -z "$ac_cpp_err"; then
53094 ac_header_preproc=yes
53095 else
53096 echo "$as_me: failed program was:" >&5
53097 sed 's/^/| /' conftest.$ac_ext >&5
53099 ac_header_preproc=no
53101 rm -f conftest.err conftest.$ac_ext
53102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53103 echo "${ECHO_T}$ac_header_preproc" >&6
53105 # So? What about this header?
53106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53107 yes:no: )
53108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53112 ac_header_preproc=yes
53114 no:yes:* )
53115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53128 cat <<\_ASBOX
53129 ## ----------------------------------------- ##
53130 ## Report this to the package-unused lists. ##
53131 ## ----------------------------------------- ##
53132 _ASBOX
53134 sed "s/^/$as_me: WARNING: /" >&2
53136 esac
53137 echo "$as_me:$LINENO: checking for $ac_header" >&5
53138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53140 echo $ECHO_N "(cached) $ECHO_C" >&6
53141 else
53142 eval "$as_ac_Header=\$ac_header_preproc"
53144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53149 cat >>confdefs.h <<_ACEOF
53150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53151 _ACEOF
53155 done
53158 if test "${glibcxx_cv_WRITEV+set}" = set; then
53159 echo $ECHO_N "(cached) $ECHO_C" >&6
53160 else
53162 if test x$gcc_no_link = xyes; then
53163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53165 { (exit 1); exit 1; }; }
53167 cat >conftest.$ac_ext <<_ACEOF
53168 /* confdefs.h. */
53169 _ACEOF
53170 cat confdefs.h >>conftest.$ac_ext
53171 cat >>conftest.$ac_ext <<_ACEOF
53172 /* end confdefs.h. */
53173 #include <sys/uio.h>
53175 main ()
53177 struct iovec iov[2];
53178 writev(0, iov, 0);
53180 return 0;
53182 _ACEOF
53183 rm -f conftest.$ac_objext conftest$ac_exeext
53184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53185 (eval $ac_link) 2>conftest.er1
53186 ac_status=$?
53187 grep -v '^ *+' conftest.er1 >conftest.err
53188 rm -f conftest.er1
53189 cat conftest.err >&5
53190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191 (exit $ac_status); } &&
53192 { ac_try='test -z "$ac_c_werror_flag"
53193 || test ! -s conftest.err'
53194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53195 (eval $ac_try) 2>&5
53196 ac_status=$?
53197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53198 (exit $ac_status); }; } &&
53199 { ac_try='test -s conftest$ac_exeext'
53200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53201 (eval $ac_try) 2>&5
53202 ac_status=$?
53203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204 (exit $ac_status); }; }; then
53205 glibcxx_cv_WRITEV=yes
53206 else
53207 echo "$as_me: failed program was:" >&5
53208 sed 's/^/| /' conftest.$ac_ext >&5
53210 glibcxx_cv_WRITEV=no
53212 rm -f conftest.err conftest.$ac_objext \
53213 conftest$ac_exeext conftest.$ac_ext
53217 if test $glibcxx_cv_WRITEV = yes; then
53218 cat >>confdefs.h <<\_ACEOF
53219 #define HAVE_WRITEV 1
53220 _ACEOF
53225 cat >>confdefs.h <<\_ACEOF
53226 #define HAVE_LC_MESSAGES 1
53227 _ACEOF
53230 cat >conftest.$ac_ext <<_ACEOF
53231 /* confdefs.h. */
53232 _ACEOF
53233 cat confdefs.h >>conftest.$ac_ext
53234 cat >>conftest.$ac_ext <<_ACEOF
53235 /* end confdefs.h. */
53236 #include <setjmp.h>
53238 main ()
53240 sigjmp_buf env;
53241 while (! sigsetjmp (env, 1))
53242 siglongjmp (env, 1);
53245 return 0;
53247 _ACEOF
53248 rm -f conftest.$ac_objext
53249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53250 (eval $ac_compile) 2>conftest.er1
53251 ac_status=$?
53252 grep -v '^ *+' conftest.er1 >conftest.err
53253 rm -f conftest.er1
53254 cat conftest.err >&5
53255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256 (exit $ac_status); } &&
53257 { ac_try='test -z "$ac_c_werror_flag"
53258 || test ! -s conftest.err'
53259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53260 (eval $ac_try) 2>&5
53261 ac_status=$?
53262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53263 (exit $ac_status); }; } &&
53264 { ac_try='test -s conftest.$ac_objext'
53265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53266 (eval $ac_try) 2>&5
53267 ac_status=$?
53268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269 (exit $ac_status); }; }; then
53271 cat >>confdefs.h <<\_ACEOF
53272 #define HAVE_SIGSETJMP 1
53273 _ACEOF
53275 else
53276 echo "$as_me: failed program was:" >&5
53277 sed 's/^/| /' conftest.$ac_ext >&5
53280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53282 cat >>confdefs.h <<\_ACEOF
53283 #define HAVE_MMAP 1
53284 _ACEOF
53288 *djgpp)
53309 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53310 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53311 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53312 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53316 echo "$as_me:$LINENO: checking for $ac_header" >&5
53317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53319 echo $ECHO_N "(cached) $ECHO_C" >&6
53321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53323 else
53324 # Is the header compilable?
53325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53327 cat >conftest.$ac_ext <<_ACEOF
53328 /* confdefs.h. */
53329 _ACEOF
53330 cat confdefs.h >>conftest.$ac_ext
53331 cat >>conftest.$ac_ext <<_ACEOF
53332 /* end confdefs.h. */
53333 $ac_includes_default
53334 #include <$ac_header>
53335 _ACEOF
53336 rm -f conftest.$ac_objext
53337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53338 (eval $ac_compile) 2>conftest.er1
53339 ac_status=$?
53340 grep -v '^ *+' conftest.er1 >conftest.err
53341 rm -f conftest.er1
53342 cat conftest.err >&5
53343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53344 (exit $ac_status); } &&
53345 { ac_try='test -z "$ac_c_werror_flag"
53346 || test ! -s conftest.err'
53347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53348 (eval $ac_try) 2>&5
53349 ac_status=$?
53350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53351 (exit $ac_status); }; } &&
53352 { ac_try='test -s conftest.$ac_objext'
53353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53354 (eval $ac_try) 2>&5
53355 ac_status=$?
53356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53357 (exit $ac_status); }; }; then
53358 ac_header_compiler=yes
53359 else
53360 echo "$as_me: failed program was:" >&5
53361 sed 's/^/| /' conftest.$ac_ext >&5
53363 ac_header_compiler=no
53365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53367 echo "${ECHO_T}$ac_header_compiler" >&6
53369 # Is the header present?
53370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53372 cat >conftest.$ac_ext <<_ACEOF
53373 /* confdefs.h. */
53374 _ACEOF
53375 cat confdefs.h >>conftest.$ac_ext
53376 cat >>conftest.$ac_ext <<_ACEOF
53377 /* end confdefs.h. */
53378 #include <$ac_header>
53379 _ACEOF
53380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53382 ac_status=$?
53383 grep -v '^ *+' conftest.er1 >conftest.err
53384 rm -f conftest.er1
53385 cat conftest.err >&5
53386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53387 (exit $ac_status); } >/dev/null; then
53388 if test -s conftest.err; then
53389 ac_cpp_err=$ac_c_preproc_warn_flag
53390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53391 else
53392 ac_cpp_err=
53394 else
53395 ac_cpp_err=yes
53397 if test -z "$ac_cpp_err"; then
53398 ac_header_preproc=yes
53399 else
53400 echo "$as_me: failed program was:" >&5
53401 sed 's/^/| /' conftest.$ac_ext >&5
53403 ac_header_preproc=no
53405 rm -f conftest.err conftest.$ac_ext
53406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53407 echo "${ECHO_T}$ac_header_preproc" >&6
53409 # So? What about this header?
53410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53411 yes:no: )
53412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53416 ac_header_preproc=yes
53418 no:yes:* )
53419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53432 cat <<\_ASBOX
53433 ## ----------------------------------------- ##
53434 ## Report this to the package-unused lists. ##
53435 ## ----------------------------------------- ##
53436 _ASBOX
53438 sed "s/^/$as_me: WARNING: /" >&2
53440 esac
53441 echo "$as_me:$LINENO: checking for $ac_header" >&5
53442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53444 echo $ECHO_N "(cached) $ECHO_C" >&6
53445 else
53446 eval "$as_ac_Header=\$ac_header_preproc"
53448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53453 cat >>confdefs.h <<_ACEOF
53454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53455 _ACEOF
53459 done
53462 # All these tests are for C++; save the language and the compiler flags.
53463 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53464 # found in GLIBCXX_CONFIGURE.
53467 ac_ext=cc
53468 ac_cpp='$CXXCPP $CPPFLAGS'
53469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53474 ac_save_CXXFLAGS="$CXXFLAGS"
53476 # Check for maintainer-mode bits.
53477 if test x"$USE_MAINTAINER_MODE" = xno; then
53478 WERROR=''
53479 else
53480 WERROR='-Werror'
53483 # Check for -ffunction-sections -fdata-sections
53484 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53485 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53486 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53487 cat >conftest.$ac_ext <<_ACEOF
53488 /* confdefs.h. */
53489 _ACEOF
53490 cat confdefs.h >>conftest.$ac_ext
53491 cat >>conftest.$ac_ext <<_ACEOF
53492 /* end confdefs.h. */
53495 main ()
53497 int foo;
53499 return 0;
53501 _ACEOF
53502 rm -f conftest.$ac_objext
53503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53504 (eval $ac_compile) 2>conftest.er1
53505 ac_status=$?
53506 grep -v '^ *+' conftest.er1 >conftest.err
53507 rm -f conftest.er1
53508 cat conftest.err >&5
53509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510 (exit $ac_status); } &&
53511 { ac_try='test -z "$ac_cxx_werror_flag"
53512 || test ! -s conftest.err'
53513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53514 (eval $ac_try) 2>&5
53515 ac_status=$?
53516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53517 (exit $ac_status); }; } &&
53518 { ac_try='test -s conftest.$ac_objext'
53519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53520 (eval $ac_try) 2>&5
53521 ac_status=$?
53522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53523 (exit $ac_status); }; }; then
53524 ac_fdsections=yes
53525 else
53526 echo "$as_me: failed program was:" >&5
53527 sed 's/^/| /' conftest.$ac_ext >&5
53529 ac_fdsections=no
53531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53532 if test "$ac_test_CXXFLAGS" = set; then
53533 CXXFLAGS="$ac_save_CXXFLAGS"
53534 else
53535 # this is the suspicious part
53536 CXXFLAGS=''
53538 if test x"$ac_fdsections" = x"yes"; then
53539 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53541 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53542 echo "${ECHO_T}$ac_fdsections" >&6
53544 ac_ext=c
53545 ac_cpp='$CPP $CPPFLAGS'
53546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53554 # If we're not using GNU ld, then there's no point in even trying these
53555 # tests. Check for that first. We should have already tested for gld
53556 # by now (in libtool), but require it now just to be safe...
53557 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53558 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53562 # The name set by libtool depends on the version of libtool. Shame on us
53563 # for depending on an impl detail, but c'est la vie. Older versions used
53564 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53565 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53566 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53567 # set (hence we're using an older libtool), then set it.
53568 if test x${with_gnu_ld+set} != xset; then
53569 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53570 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53571 with_gnu_ld=no
53572 else
53573 with_gnu_ld=$ac_cv_prog_gnu_ld
53577 # Start by getting the version number. I think the libtool test already
53578 # does some of this, but throws away the result.
53580 ldver=`$LD --version 2>/dev/null | head -1 | \
53581 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53583 glibcxx_gnu_ld_version=`echo $ldver | \
53584 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53586 # Set --gc-sections.
53587 if test "$with_gnu_ld" = "notbroken"; then
53588 # GNU ld it is! Joy and bunny rabbits!
53590 # All these tests are for C++; save the language and the compiler flags.
53591 # Need to do this so that g++ won't try to link in libstdc++
53592 ac_test_CFLAGS="${CFLAGS+set}"
53593 ac_save_CFLAGS="$CFLAGS"
53594 CFLAGS='-x c++ -Wl,--gc-sections'
53596 # Check for -Wl,--gc-sections
53597 # XXX This test is broken at the moment, as symbols required for linking
53598 # are now in libsupc++ (not built yet). In addition, this test has
53599 # cored on solaris in the past. In addition, --gc-sections doesn't
53600 # really work at the moment (keeps on discarding used sections, first
53601 # .eh_frame and now some of the glibc sections for iconv).
53602 # Bzzzzt. Thanks for playing, maybe next time.
53603 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53604 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53605 if test "$cross_compiling" = yes; then
53606 ac_sectionLDflags=yes
53607 else
53608 cat >conftest.$ac_ext <<_ACEOF
53609 /* confdefs.h. */
53610 _ACEOF
53611 cat confdefs.h >>conftest.$ac_ext
53612 cat >>conftest.$ac_ext <<_ACEOF
53613 /* end confdefs.h. */
53615 int main(void)
53617 try { throw 1; }
53618 catch (...) { };
53619 return 0;
53622 _ACEOF
53623 rm -f conftest$ac_exeext
53624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53625 (eval $ac_link) 2>&5
53626 ac_status=$?
53627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53630 (eval $ac_try) 2>&5
53631 ac_status=$?
53632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633 (exit $ac_status); }; }; then
53634 ac_sectionLDflags=yes
53635 else
53636 echo "$as_me: program exited with status $ac_status" >&5
53637 echo "$as_me: failed program was:" >&5
53638 sed 's/^/| /' conftest.$ac_ext >&5
53640 ( exit $ac_status )
53641 ac_sectionLDflags=no
53643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53645 if test "$ac_test_CFLAGS" = set; then
53646 CFLAGS="$ac_save_CFLAGS"
53647 else
53648 # this is the suspicious part
53649 CFLAGS=''
53651 if test "$ac_sectionLDflags" = "yes"; then
53652 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53654 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53655 echo "${ECHO_T}$ac_sectionLDflags" >&6
53658 # Set linker optimization flags.
53659 if test x"$with_gnu_ld" = x"yes"; then
53660 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53667 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53668 ac_save_CXXFLAGS="$CXXFLAGS"
53669 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53671 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53672 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53673 if test "${ac_cv_lib_m_sin+set}" = set; then
53674 echo $ECHO_N "(cached) $ECHO_C" >&6
53675 else
53676 ac_check_lib_save_LIBS=$LIBS
53677 LIBS="-lm $LIBS"
53678 if test x$gcc_no_link = xyes; then
53679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53681 { (exit 1); exit 1; }; }
53683 cat >conftest.$ac_ext <<_ACEOF
53684 /* confdefs.h. */
53685 _ACEOF
53686 cat confdefs.h >>conftest.$ac_ext
53687 cat >>conftest.$ac_ext <<_ACEOF
53688 /* end confdefs.h. */
53690 /* Override any gcc2 internal prototype to avoid an error. */
53691 #ifdef __cplusplus
53692 extern "C"
53693 #endif
53694 /* We use char because int might match the return type of a gcc2
53695 builtin and then its argument prototype would still apply. */
53696 char sin ();
53698 main ()
53700 sin ();
53702 return 0;
53704 _ACEOF
53705 rm -f conftest.$ac_objext conftest$ac_exeext
53706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53707 (eval $ac_link) 2>conftest.er1
53708 ac_status=$?
53709 grep -v '^ *+' conftest.er1 >conftest.err
53710 rm -f conftest.er1
53711 cat conftest.err >&5
53712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53713 (exit $ac_status); } &&
53714 { ac_try='test -z "$ac_c_werror_flag"
53715 || test ! -s conftest.err'
53716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53717 (eval $ac_try) 2>&5
53718 ac_status=$?
53719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53720 (exit $ac_status); }; } &&
53721 { ac_try='test -s conftest$ac_exeext'
53722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53723 (eval $ac_try) 2>&5
53724 ac_status=$?
53725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53726 (exit $ac_status); }; }; then
53727 ac_cv_lib_m_sin=yes
53728 else
53729 echo "$as_me: failed program was:" >&5
53730 sed 's/^/| /' conftest.$ac_ext >&5
53732 ac_cv_lib_m_sin=no
53734 rm -f conftest.err conftest.$ac_objext \
53735 conftest$ac_exeext conftest.$ac_ext
53736 LIBS=$ac_check_lib_save_LIBS
53738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53739 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53740 if test $ac_cv_lib_m_sin = yes; then
53741 libm="-lm"
53744 ac_save_LIBS="$LIBS"
53745 LIBS="$LIBS $libm"
53749 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53750 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53751 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53752 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53753 echo $ECHO_N "(cached) $ECHO_C" >&6
53754 else
53758 ac_ext=cc
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat >conftest.$ac_ext <<_ACEOF
53765 /* confdefs.h. */
53766 _ACEOF
53767 cat confdefs.h >>conftest.$ac_ext
53768 cat >>conftest.$ac_ext <<_ACEOF
53769 /* end confdefs.h. */
53770 #include <math.h>
53771 #ifdef HAVE_IEEEFP_H
53772 #include <ieeefp.h>
53773 #endif
53776 main ()
53778 isinf(0);
53780 return 0;
53782 _ACEOF
53783 rm -f conftest.$ac_objext
53784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53785 (eval $ac_compile) 2>conftest.er1
53786 ac_status=$?
53787 grep -v '^ *+' conftest.er1 >conftest.err
53788 rm -f conftest.er1
53789 cat conftest.err >&5
53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791 (exit $ac_status); } &&
53792 { ac_try='test -z "$ac_cxx_werror_flag"
53793 || test ! -s conftest.err'
53794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53795 (eval $ac_try) 2>&5
53796 ac_status=$?
53797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53798 (exit $ac_status); }; } &&
53799 { ac_try='test -s conftest.$ac_objext'
53800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53801 (eval $ac_try) 2>&5
53802 ac_status=$?
53803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53804 (exit $ac_status); }; }; then
53805 glibcxx_cv_func_isinf_use=yes
53806 else
53807 echo "$as_me: failed program was:" >&5
53808 sed 's/^/| /' conftest.$ac_ext >&5
53810 glibcxx_cv_func_isinf_use=no
53812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53813 ac_ext=c
53814 ac_cpp='$CPP $CPPFLAGS'
53815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53824 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53826 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53828 for ac_func in isinf
53830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53831 echo "$as_me:$LINENO: checking for $ac_func" >&5
53832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53833 if eval "test \"\${$as_ac_var+set}\" = set"; then
53834 echo $ECHO_N "(cached) $ECHO_C" >&6
53835 else
53836 if test x$gcc_no_link = xyes; then
53837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53839 { (exit 1); exit 1; }; }
53841 cat >conftest.$ac_ext <<_ACEOF
53842 /* confdefs.h. */
53843 _ACEOF
53844 cat confdefs.h >>conftest.$ac_ext
53845 cat >>conftest.$ac_ext <<_ACEOF
53846 /* end confdefs.h. */
53847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53849 #define $ac_func innocuous_$ac_func
53851 /* System header to define __stub macros and hopefully few prototypes,
53852 which can conflict with char $ac_func (); below.
53853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53854 <limits.h> exists even on freestanding compilers. */
53856 #ifdef __STDC__
53857 # include <limits.h>
53858 #else
53859 # include <assert.h>
53860 #endif
53862 #undef $ac_func
53864 /* Override any gcc2 internal prototype to avoid an error. */
53865 #ifdef __cplusplus
53866 extern "C"
53868 #endif
53869 /* We use char because int might match the return type of a gcc2
53870 builtin and then its argument prototype would still apply. */
53871 char $ac_func ();
53872 /* The GNU C library defines this for functions which it implements
53873 to always fail with ENOSYS. Some functions are actually named
53874 something starting with __ and the normal name is an alias. */
53875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53876 choke me
53877 #else
53878 char (*f) () = $ac_func;
53879 #endif
53880 #ifdef __cplusplus
53882 #endif
53885 main ()
53887 return f != $ac_func;
53889 return 0;
53891 _ACEOF
53892 rm -f conftest.$ac_objext conftest$ac_exeext
53893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53894 (eval $ac_link) 2>conftest.er1
53895 ac_status=$?
53896 grep -v '^ *+' conftest.er1 >conftest.err
53897 rm -f conftest.er1
53898 cat conftest.err >&5
53899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900 (exit $ac_status); } &&
53901 { ac_try='test -z "$ac_c_werror_flag"
53902 || test ! -s conftest.err'
53903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53904 (eval $ac_try) 2>&5
53905 ac_status=$?
53906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53907 (exit $ac_status); }; } &&
53908 { ac_try='test -s conftest$ac_exeext'
53909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910 (eval $ac_try) 2>&5
53911 ac_status=$?
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); }; }; then
53914 eval "$as_ac_var=yes"
53915 else
53916 echo "$as_me: failed program was:" >&5
53917 sed 's/^/| /' conftest.$ac_ext >&5
53919 eval "$as_ac_var=no"
53921 rm -f conftest.err conftest.$ac_objext \
53922 conftest$ac_exeext conftest.$ac_ext
53924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53926 if test `eval echo '${'$as_ac_var'}'` = yes; then
53927 cat >>confdefs.h <<_ACEOF
53928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53929 _ACEOF
53932 done
53934 else
53936 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53937 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53938 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53939 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53940 echo $ECHO_N "(cached) $ECHO_C" >&6
53941 else
53945 ac_ext=cc
53946 ac_cpp='$CXXCPP $CPPFLAGS'
53947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53951 cat >conftest.$ac_ext <<_ACEOF
53952 /* confdefs.h. */
53953 _ACEOF
53954 cat confdefs.h >>conftest.$ac_ext
53955 cat >>conftest.$ac_ext <<_ACEOF
53956 /* end confdefs.h. */
53957 #include <math.h>
53958 #ifdef HAVE_IEEEFP_H
53959 #include <ieeefp.h>
53960 #endif
53963 main ()
53965 _isinf(0);
53967 return 0;
53969 _ACEOF
53970 rm -f conftest.$ac_objext
53971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53972 (eval $ac_compile) 2>conftest.er1
53973 ac_status=$?
53974 grep -v '^ *+' conftest.er1 >conftest.err
53975 rm -f conftest.er1
53976 cat conftest.err >&5
53977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53978 (exit $ac_status); } &&
53979 { ac_try='test -z "$ac_cxx_werror_flag"
53980 || test ! -s conftest.err'
53981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53982 (eval $ac_try) 2>&5
53983 ac_status=$?
53984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53985 (exit $ac_status); }; } &&
53986 { ac_try='test -s conftest.$ac_objext'
53987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53988 (eval $ac_try) 2>&5
53989 ac_status=$?
53990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53991 (exit $ac_status); }; }; then
53992 glibcxx_cv_func__isinf_use=yes
53993 else
53994 echo "$as_me: failed program was:" >&5
53995 sed 's/^/| /' conftest.$ac_ext >&5
53997 glibcxx_cv_func__isinf_use=no
53999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54000 ac_ext=c
54001 ac_cpp='$CPP $CPPFLAGS'
54002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54011 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54015 for ac_func in _isinf
54017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54018 echo "$as_me:$LINENO: checking for $ac_func" >&5
54019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54020 if eval "test \"\${$as_ac_var+set}\" = set"; then
54021 echo $ECHO_N "(cached) $ECHO_C" >&6
54022 else
54023 if test x$gcc_no_link = xyes; then
54024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54026 { (exit 1); exit 1; }; }
54028 cat >conftest.$ac_ext <<_ACEOF
54029 /* confdefs.h. */
54030 _ACEOF
54031 cat confdefs.h >>conftest.$ac_ext
54032 cat >>conftest.$ac_ext <<_ACEOF
54033 /* end confdefs.h. */
54034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54036 #define $ac_func innocuous_$ac_func
54038 /* System header to define __stub macros and hopefully few prototypes,
54039 which can conflict with char $ac_func (); below.
54040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54041 <limits.h> exists even on freestanding compilers. */
54043 #ifdef __STDC__
54044 # include <limits.h>
54045 #else
54046 # include <assert.h>
54047 #endif
54049 #undef $ac_func
54051 /* Override any gcc2 internal prototype to avoid an error. */
54052 #ifdef __cplusplus
54053 extern "C"
54055 #endif
54056 /* We use char because int might match the return type of a gcc2
54057 builtin and then its argument prototype would still apply. */
54058 char $ac_func ();
54059 /* The GNU C library defines this for functions which it implements
54060 to always fail with ENOSYS. Some functions are actually named
54061 something starting with __ and the normal name is an alias. */
54062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54063 choke me
54064 #else
54065 char (*f) () = $ac_func;
54066 #endif
54067 #ifdef __cplusplus
54069 #endif
54072 main ()
54074 return f != $ac_func;
54076 return 0;
54078 _ACEOF
54079 rm -f conftest.$ac_objext conftest$ac_exeext
54080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54081 (eval $ac_link) 2>conftest.er1
54082 ac_status=$?
54083 grep -v '^ *+' conftest.er1 >conftest.err
54084 rm -f conftest.er1
54085 cat conftest.err >&5
54086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54087 (exit $ac_status); } &&
54088 { ac_try='test -z "$ac_c_werror_flag"
54089 || test ! -s conftest.err'
54090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54091 (eval $ac_try) 2>&5
54092 ac_status=$?
54093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54094 (exit $ac_status); }; } &&
54095 { ac_try='test -s conftest$ac_exeext'
54096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54097 (eval $ac_try) 2>&5
54098 ac_status=$?
54099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54100 (exit $ac_status); }; }; then
54101 eval "$as_ac_var=yes"
54102 else
54103 echo "$as_me: failed program was:" >&5
54104 sed 's/^/| /' conftest.$ac_ext >&5
54106 eval "$as_ac_var=no"
54108 rm -f conftest.err conftest.$ac_objext \
54109 conftest$ac_exeext conftest.$ac_ext
54111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54113 if test `eval echo '${'$as_ac_var'}'` = yes; then
54114 cat >>confdefs.h <<_ACEOF
54115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54116 _ACEOF
54119 done
54126 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54127 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54128 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54129 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54130 echo $ECHO_N "(cached) $ECHO_C" >&6
54131 else
54135 ac_ext=cc
54136 ac_cpp='$CXXCPP $CPPFLAGS'
54137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54141 cat >conftest.$ac_ext <<_ACEOF
54142 /* confdefs.h. */
54143 _ACEOF
54144 cat confdefs.h >>conftest.$ac_ext
54145 cat >>conftest.$ac_ext <<_ACEOF
54146 /* end confdefs.h. */
54147 #include <math.h>
54148 #ifdef HAVE_IEEEFP_H
54149 #include <ieeefp.h>
54150 #endif
54153 main ()
54155 isnan(0);
54157 return 0;
54159 _ACEOF
54160 rm -f conftest.$ac_objext
54161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54162 (eval $ac_compile) 2>conftest.er1
54163 ac_status=$?
54164 grep -v '^ *+' conftest.er1 >conftest.err
54165 rm -f conftest.er1
54166 cat conftest.err >&5
54167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54168 (exit $ac_status); } &&
54169 { ac_try='test -z "$ac_cxx_werror_flag"
54170 || test ! -s conftest.err'
54171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54172 (eval $ac_try) 2>&5
54173 ac_status=$?
54174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54175 (exit $ac_status); }; } &&
54176 { ac_try='test -s conftest.$ac_objext'
54177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54178 (eval $ac_try) 2>&5
54179 ac_status=$?
54180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54181 (exit $ac_status); }; }; then
54182 glibcxx_cv_func_isnan_use=yes
54183 else
54184 echo "$as_me: failed program was:" >&5
54185 sed 's/^/| /' conftest.$ac_ext >&5
54187 glibcxx_cv_func_isnan_use=no
54189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54190 ac_ext=c
54191 ac_cpp='$CPP $CPPFLAGS'
54192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54201 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54203 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54205 for ac_func in isnan
54207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54208 echo "$as_me:$LINENO: checking for $ac_func" >&5
54209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54210 if eval "test \"\${$as_ac_var+set}\" = set"; then
54211 echo $ECHO_N "(cached) $ECHO_C" >&6
54212 else
54213 if test x$gcc_no_link = xyes; then
54214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54216 { (exit 1); exit 1; }; }
54218 cat >conftest.$ac_ext <<_ACEOF
54219 /* confdefs.h. */
54220 _ACEOF
54221 cat confdefs.h >>conftest.$ac_ext
54222 cat >>conftest.$ac_ext <<_ACEOF
54223 /* end confdefs.h. */
54224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54226 #define $ac_func innocuous_$ac_func
54228 /* System header to define __stub macros and hopefully few prototypes,
54229 which can conflict with char $ac_func (); below.
54230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54231 <limits.h> exists even on freestanding compilers. */
54233 #ifdef __STDC__
54234 # include <limits.h>
54235 #else
54236 # include <assert.h>
54237 #endif
54239 #undef $ac_func
54241 /* Override any gcc2 internal prototype to avoid an error. */
54242 #ifdef __cplusplus
54243 extern "C"
54245 #endif
54246 /* We use char because int might match the return type of a gcc2
54247 builtin and then its argument prototype would still apply. */
54248 char $ac_func ();
54249 /* The GNU C library defines this for functions which it implements
54250 to always fail with ENOSYS. Some functions are actually named
54251 something starting with __ and the normal name is an alias. */
54252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54253 choke me
54254 #else
54255 char (*f) () = $ac_func;
54256 #endif
54257 #ifdef __cplusplus
54259 #endif
54262 main ()
54264 return f != $ac_func;
54266 return 0;
54268 _ACEOF
54269 rm -f conftest.$ac_objext conftest$ac_exeext
54270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54271 (eval $ac_link) 2>conftest.er1
54272 ac_status=$?
54273 grep -v '^ *+' conftest.er1 >conftest.err
54274 rm -f conftest.er1
54275 cat conftest.err >&5
54276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277 (exit $ac_status); } &&
54278 { ac_try='test -z "$ac_c_werror_flag"
54279 || test ! -s conftest.err'
54280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54281 (eval $ac_try) 2>&5
54282 ac_status=$?
54283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54284 (exit $ac_status); }; } &&
54285 { ac_try='test -s conftest$ac_exeext'
54286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54287 (eval $ac_try) 2>&5
54288 ac_status=$?
54289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54290 (exit $ac_status); }; }; then
54291 eval "$as_ac_var=yes"
54292 else
54293 echo "$as_me: failed program was:" >&5
54294 sed 's/^/| /' conftest.$ac_ext >&5
54296 eval "$as_ac_var=no"
54298 rm -f conftest.err conftest.$ac_objext \
54299 conftest$ac_exeext conftest.$ac_ext
54301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54303 if test `eval echo '${'$as_ac_var'}'` = yes; then
54304 cat >>confdefs.h <<_ACEOF
54305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54306 _ACEOF
54309 done
54311 else
54313 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54314 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54315 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54316 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54317 echo $ECHO_N "(cached) $ECHO_C" >&6
54318 else
54322 ac_ext=cc
54323 ac_cpp='$CXXCPP $CPPFLAGS'
54324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54328 cat >conftest.$ac_ext <<_ACEOF
54329 /* confdefs.h. */
54330 _ACEOF
54331 cat confdefs.h >>conftest.$ac_ext
54332 cat >>conftest.$ac_ext <<_ACEOF
54333 /* end confdefs.h. */
54334 #include <math.h>
54335 #ifdef HAVE_IEEEFP_H
54336 #include <ieeefp.h>
54337 #endif
54340 main ()
54342 _isnan(0);
54344 return 0;
54346 _ACEOF
54347 rm -f conftest.$ac_objext
54348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54349 (eval $ac_compile) 2>conftest.er1
54350 ac_status=$?
54351 grep -v '^ *+' conftest.er1 >conftest.err
54352 rm -f conftest.er1
54353 cat conftest.err >&5
54354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54355 (exit $ac_status); } &&
54356 { ac_try='test -z "$ac_cxx_werror_flag"
54357 || test ! -s conftest.err'
54358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54359 (eval $ac_try) 2>&5
54360 ac_status=$?
54361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362 (exit $ac_status); }; } &&
54363 { ac_try='test -s conftest.$ac_objext'
54364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54365 (eval $ac_try) 2>&5
54366 ac_status=$?
54367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54368 (exit $ac_status); }; }; then
54369 glibcxx_cv_func__isnan_use=yes
54370 else
54371 echo "$as_me: failed program was:" >&5
54372 sed 's/^/| /' conftest.$ac_ext >&5
54374 glibcxx_cv_func__isnan_use=no
54376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54377 ac_ext=c
54378 ac_cpp='$CPP $CPPFLAGS'
54379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54388 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54390 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54392 for ac_func in _isnan
54394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54395 echo "$as_me:$LINENO: checking for $ac_func" >&5
54396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54397 if eval "test \"\${$as_ac_var+set}\" = set"; then
54398 echo $ECHO_N "(cached) $ECHO_C" >&6
54399 else
54400 if test x$gcc_no_link = xyes; then
54401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54403 { (exit 1); exit 1; }; }
54405 cat >conftest.$ac_ext <<_ACEOF
54406 /* confdefs.h. */
54407 _ACEOF
54408 cat confdefs.h >>conftest.$ac_ext
54409 cat >>conftest.$ac_ext <<_ACEOF
54410 /* end confdefs.h. */
54411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54413 #define $ac_func innocuous_$ac_func
54415 /* System header to define __stub macros and hopefully few prototypes,
54416 which can conflict with char $ac_func (); below.
54417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54418 <limits.h> exists even on freestanding compilers. */
54420 #ifdef __STDC__
54421 # include <limits.h>
54422 #else
54423 # include <assert.h>
54424 #endif
54426 #undef $ac_func
54428 /* Override any gcc2 internal prototype to avoid an error. */
54429 #ifdef __cplusplus
54430 extern "C"
54432 #endif
54433 /* We use char because int might match the return type of a gcc2
54434 builtin and then its argument prototype would still apply. */
54435 char $ac_func ();
54436 /* The GNU C library defines this for functions which it implements
54437 to always fail with ENOSYS. Some functions are actually named
54438 something starting with __ and the normal name is an alias. */
54439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54440 choke me
54441 #else
54442 char (*f) () = $ac_func;
54443 #endif
54444 #ifdef __cplusplus
54446 #endif
54449 main ()
54451 return f != $ac_func;
54453 return 0;
54455 _ACEOF
54456 rm -f conftest.$ac_objext conftest$ac_exeext
54457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54458 (eval $ac_link) 2>conftest.er1
54459 ac_status=$?
54460 grep -v '^ *+' conftest.er1 >conftest.err
54461 rm -f conftest.er1
54462 cat conftest.err >&5
54463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54464 (exit $ac_status); } &&
54465 { ac_try='test -z "$ac_c_werror_flag"
54466 || test ! -s conftest.err'
54467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54468 (eval $ac_try) 2>&5
54469 ac_status=$?
54470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54471 (exit $ac_status); }; } &&
54472 { ac_try='test -s conftest$ac_exeext'
54473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54474 (eval $ac_try) 2>&5
54475 ac_status=$?
54476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54477 (exit $ac_status); }; }; then
54478 eval "$as_ac_var=yes"
54479 else
54480 echo "$as_me: failed program was:" >&5
54481 sed 's/^/| /' conftest.$ac_ext >&5
54483 eval "$as_ac_var=no"
54485 rm -f conftest.err conftest.$ac_objext \
54486 conftest$ac_exeext conftest.$ac_ext
54488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54490 if test `eval echo '${'$as_ac_var'}'` = yes; then
54491 cat >>confdefs.h <<_ACEOF
54492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54493 _ACEOF
54496 done
54503 echo "$as_me:$LINENO: checking for finite declaration" >&5
54504 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54505 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54506 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54507 echo $ECHO_N "(cached) $ECHO_C" >&6
54508 else
54512 ac_ext=cc
54513 ac_cpp='$CXXCPP $CPPFLAGS'
54514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54518 cat >conftest.$ac_ext <<_ACEOF
54519 /* confdefs.h. */
54520 _ACEOF
54521 cat confdefs.h >>conftest.$ac_ext
54522 cat >>conftest.$ac_ext <<_ACEOF
54523 /* end confdefs.h. */
54524 #include <math.h>
54525 #ifdef HAVE_IEEEFP_H
54526 #include <ieeefp.h>
54527 #endif
54530 main ()
54532 finite(0);
54534 return 0;
54536 _ACEOF
54537 rm -f conftest.$ac_objext
54538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54539 (eval $ac_compile) 2>conftest.er1
54540 ac_status=$?
54541 grep -v '^ *+' conftest.er1 >conftest.err
54542 rm -f conftest.er1
54543 cat conftest.err >&5
54544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545 (exit $ac_status); } &&
54546 { ac_try='test -z "$ac_cxx_werror_flag"
54547 || test ! -s conftest.err'
54548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54549 (eval $ac_try) 2>&5
54550 ac_status=$?
54551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54552 (exit $ac_status); }; } &&
54553 { ac_try='test -s conftest.$ac_objext'
54554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54555 (eval $ac_try) 2>&5
54556 ac_status=$?
54557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54558 (exit $ac_status); }; }; then
54559 glibcxx_cv_func_finite_use=yes
54560 else
54561 echo "$as_me: failed program was:" >&5
54562 sed 's/^/| /' conftest.$ac_ext >&5
54564 glibcxx_cv_func_finite_use=no
54566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54578 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54580 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54582 for ac_func in finite
54584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54585 echo "$as_me:$LINENO: checking for $ac_func" >&5
54586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54587 if eval "test \"\${$as_ac_var+set}\" = set"; then
54588 echo $ECHO_N "(cached) $ECHO_C" >&6
54589 else
54590 if test x$gcc_no_link = xyes; then
54591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54593 { (exit 1); exit 1; }; }
54595 cat >conftest.$ac_ext <<_ACEOF
54596 /* confdefs.h. */
54597 _ACEOF
54598 cat confdefs.h >>conftest.$ac_ext
54599 cat >>conftest.$ac_ext <<_ACEOF
54600 /* end confdefs.h. */
54601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54603 #define $ac_func innocuous_$ac_func
54605 /* System header to define __stub macros and hopefully few prototypes,
54606 which can conflict with char $ac_func (); below.
54607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54608 <limits.h> exists even on freestanding compilers. */
54610 #ifdef __STDC__
54611 # include <limits.h>
54612 #else
54613 # include <assert.h>
54614 #endif
54616 #undef $ac_func
54618 /* Override any gcc2 internal prototype to avoid an error. */
54619 #ifdef __cplusplus
54620 extern "C"
54622 #endif
54623 /* We use char because int might match the return type of a gcc2
54624 builtin and then its argument prototype would still apply. */
54625 char $ac_func ();
54626 /* The GNU C library defines this for functions which it implements
54627 to always fail with ENOSYS. Some functions are actually named
54628 something starting with __ and the normal name is an alias. */
54629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54630 choke me
54631 #else
54632 char (*f) () = $ac_func;
54633 #endif
54634 #ifdef __cplusplus
54636 #endif
54639 main ()
54641 return f != $ac_func;
54643 return 0;
54645 _ACEOF
54646 rm -f conftest.$ac_objext conftest$ac_exeext
54647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54648 (eval $ac_link) 2>conftest.er1
54649 ac_status=$?
54650 grep -v '^ *+' conftest.er1 >conftest.err
54651 rm -f conftest.er1
54652 cat conftest.err >&5
54653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654 (exit $ac_status); } &&
54655 { ac_try='test -z "$ac_c_werror_flag"
54656 || test ! -s conftest.err'
54657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54658 (eval $ac_try) 2>&5
54659 ac_status=$?
54660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54661 (exit $ac_status); }; } &&
54662 { ac_try='test -s conftest$ac_exeext'
54663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54664 (eval $ac_try) 2>&5
54665 ac_status=$?
54666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54667 (exit $ac_status); }; }; then
54668 eval "$as_ac_var=yes"
54669 else
54670 echo "$as_me: failed program was:" >&5
54671 sed 's/^/| /' conftest.$ac_ext >&5
54673 eval "$as_ac_var=no"
54675 rm -f conftest.err conftest.$ac_objext \
54676 conftest$ac_exeext conftest.$ac_ext
54678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54680 if test `eval echo '${'$as_ac_var'}'` = yes; then
54681 cat >>confdefs.h <<_ACEOF
54682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54683 _ACEOF
54686 done
54688 else
54690 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54691 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54692 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54693 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54694 echo $ECHO_N "(cached) $ECHO_C" >&6
54695 else
54699 ac_ext=cc
54700 ac_cpp='$CXXCPP $CPPFLAGS'
54701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54705 cat >conftest.$ac_ext <<_ACEOF
54706 /* confdefs.h. */
54707 _ACEOF
54708 cat confdefs.h >>conftest.$ac_ext
54709 cat >>conftest.$ac_ext <<_ACEOF
54710 /* end confdefs.h. */
54711 #include <math.h>
54712 #ifdef HAVE_IEEEFP_H
54713 #include <ieeefp.h>
54714 #endif
54717 main ()
54719 _finite(0);
54721 return 0;
54723 _ACEOF
54724 rm -f conftest.$ac_objext
54725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54726 (eval $ac_compile) 2>conftest.er1
54727 ac_status=$?
54728 grep -v '^ *+' conftest.er1 >conftest.err
54729 rm -f conftest.er1
54730 cat conftest.err >&5
54731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732 (exit $ac_status); } &&
54733 { ac_try='test -z "$ac_cxx_werror_flag"
54734 || test ! -s conftest.err'
54735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54736 (eval $ac_try) 2>&5
54737 ac_status=$?
54738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54739 (exit $ac_status); }; } &&
54740 { ac_try='test -s conftest.$ac_objext'
54741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54742 (eval $ac_try) 2>&5
54743 ac_status=$?
54744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54745 (exit $ac_status); }; }; then
54746 glibcxx_cv_func__finite_use=yes
54747 else
54748 echo "$as_me: failed program was:" >&5
54749 sed 's/^/| /' conftest.$ac_ext >&5
54751 glibcxx_cv_func__finite_use=no
54753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54765 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54767 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54769 for ac_func in _finite
54771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54772 echo "$as_me:$LINENO: checking for $ac_func" >&5
54773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54774 if eval "test \"\${$as_ac_var+set}\" = set"; then
54775 echo $ECHO_N "(cached) $ECHO_C" >&6
54776 else
54777 if test x$gcc_no_link = xyes; then
54778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54780 { (exit 1); exit 1; }; }
54782 cat >conftest.$ac_ext <<_ACEOF
54783 /* confdefs.h. */
54784 _ACEOF
54785 cat confdefs.h >>conftest.$ac_ext
54786 cat >>conftest.$ac_ext <<_ACEOF
54787 /* end confdefs.h. */
54788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54790 #define $ac_func innocuous_$ac_func
54792 /* System header to define __stub macros and hopefully few prototypes,
54793 which can conflict with char $ac_func (); below.
54794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54795 <limits.h> exists even on freestanding compilers. */
54797 #ifdef __STDC__
54798 # include <limits.h>
54799 #else
54800 # include <assert.h>
54801 #endif
54803 #undef $ac_func
54805 /* Override any gcc2 internal prototype to avoid an error. */
54806 #ifdef __cplusplus
54807 extern "C"
54809 #endif
54810 /* We use char because int might match the return type of a gcc2
54811 builtin and then its argument prototype would still apply. */
54812 char $ac_func ();
54813 /* The GNU C library defines this for functions which it implements
54814 to always fail with ENOSYS. Some functions are actually named
54815 something starting with __ and the normal name is an alias. */
54816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54817 choke me
54818 #else
54819 char (*f) () = $ac_func;
54820 #endif
54821 #ifdef __cplusplus
54823 #endif
54826 main ()
54828 return f != $ac_func;
54830 return 0;
54832 _ACEOF
54833 rm -f conftest.$ac_objext conftest$ac_exeext
54834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54835 (eval $ac_link) 2>conftest.er1
54836 ac_status=$?
54837 grep -v '^ *+' conftest.er1 >conftest.err
54838 rm -f conftest.er1
54839 cat conftest.err >&5
54840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54841 (exit $ac_status); } &&
54842 { ac_try='test -z "$ac_c_werror_flag"
54843 || test ! -s conftest.err'
54844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54845 (eval $ac_try) 2>&5
54846 ac_status=$?
54847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54848 (exit $ac_status); }; } &&
54849 { ac_try='test -s conftest$ac_exeext'
54850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54851 (eval $ac_try) 2>&5
54852 ac_status=$?
54853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54854 (exit $ac_status); }; }; then
54855 eval "$as_ac_var=yes"
54856 else
54857 echo "$as_me: failed program was:" >&5
54858 sed 's/^/| /' conftest.$ac_ext >&5
54860 eval "$as_ac_var=no"
54862 rm -f conftest.err conftest.$ac_objext \
54863 conftest$ac_exeext conftest.$ac_ext
54865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54867 if test `eval echo '${'$as_ac_var'}'` = yes; then
54868 cat >>confdefs.h <<_ACEOF
54869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54870 _ACEOF
54873 done
54880 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54881 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54882 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54883 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54884 echo $ECHO_N "(cached) $ECHO_C" >&6
54885 else
54889 ac_ext=cc
54890 ac_cpp='$CXXCPP $CPPFLAGS'
54891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54895 cat >conftest.$ac_ext <<_ACEOF
54896 /* confdefs.h. */
54897 _ACEOF
54898 cat confdefs.h >>conftest.$ac_ext
54899 cat >>conftest.$ac_ext <<_ACEOF
54900 /* end confdefs.h. */
54901 #include <math.h>
54903 main ()
54905 copysign(0, 0);
54907 return 0;
54909 _ACEOF
54910 rm -f conftest.$ac_objext
54911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54912 (eval $ac_compile) 2>conftest.er1
54913 ac_status=$?
54914 grep -v '^ *+' conftest.er1 >conftest.err
54915 rm -f conftest.er1
54916 cat conftest.err >&5
54917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54918 (exit $ac_status); } &&
54919 { ac_try='test -z "$ac_cxx_werror_flag"
54920 || test ! -s conftest.err'
54921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54922 (eval $ac_try) 2>&5
54923 ac_status=$?
54924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54925 (exit $ac_status); }; } &&
54926 { ac_try='test -s conftest.$ac_objext'
54927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54928 (eval $ac_try) 2>&5
54929 ac_status=$?
54930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931 (exit $ac_status); }; }; then
54932 glibcxx_cv_func_copysign_use=yes
54933 else
54934 echo "$as_me: failed program was:" >&5
54935 sed 's/^/| /' conftest.$ac_ext >&5
54937 glibcxx_cv_func_copysign_use=no
54939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54940 ac_ext=c
54941 ac_cpp='$CPP $CPPFLAGS'
54942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54951 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54953 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54955 for ac_func in copysign
54957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54958 echo "$as_me:$LINENO: checking for $ac_func" >&5
54959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54960 if eval "test \"\${$as_ac_var+set}\" = set"; then
54961 echo $ECHO_N "(cached) $ECHO_C" >&6
54962 else
54963 if test x$gcc_no_link = xyes; then
54964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54966 { (exit 1); exit 1; }; }
54968 cat >conftest.$ac_ext <<_ACEOF
54969 /* confdefs.h. */
54970 _ACEOF
54971 cat confdefs.h >>conftest.$ac_ext
54972 cat >>conftest.$ac_ext <<_ACEOF
54973 /* end confdefs.h. */
54974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54976 #define $ac_func innocuous_$ac_func
54978 /* System header to define __stub macros and hopefully few prototypes,
54979 which can conflict with char $ac_func (); below.
54980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54981 <limits.h> exists even on freestanding compilers. */
54983 #ifdef __STDC__
54984 # include <limits.h>
54985 #else
54986 # include <assert.h>
54987 #endif
54989 #undef $ac_func
54991 /* Override any gcc2 internal prototype to avoid an error. */
54992 #ifdef __cplusplus
54993 extern "C"
54995 #endif
54996 /* We use char because int might match the return type of a gcc2
54997 builtin and then its argument prototype would still apply. */
54998 char $ac_func ();
54999 /* The GNU C library defines this for functions which it implements
55000 to always fail with ENOSYS. Some functions are actually named
55001 something starting with __ and the normal name is an alias. */
55002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55003 choke me
55004 #else
55005 char (*f) () = $ac_func;
55006 #endif
55007 #ifdef __cplusplus
55009 #endif
55012 main ()
55014 return f != $ac_func;
55016 return 0;
55018 _ACEOF
55019 rm -f conftest.$ac_objext conftest$ac_exeext
55020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55021 (eval $ac_link) 2>conftest.er1
55022 ac_status=$?
55023 grep -v '^ *+' conftest.er1 >conftest.err
55024 rm -f conftest.er1
55025 cat conftest.err >&5
55026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55027 (exit $ac_status); } &&
55028 { ac_try='test -z "$ac_c_werror_flag"
55029 || test ! -s conftest.err'
55030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55031 (eval $ac_try) 2>&5
55032 ac_status=$?
55033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034 (exit $ac_status); }; } &&
55035 { ac_try='test -s conftest$ac_exeext'
55036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55037 (eval $ac_try) 2>&5
55038 ac_status=$?
55039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55040 (exit $ac_status); }; }; then
55041 eval "$as_ac_var=yes"
55042 else
55043 echo "$as_me: failed program was:" >&5
55044 sed 's/^/| /' conftest.$ac_ext >&5
55046 eval "$as_ac_var=no"
55048 rm -f conftest.err conftest.$ac_objext \
55049 conftest$ac_exeext conftest.$ac_ext
55051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55053 if test `eval echo '${'$as_ac_var'}'` = yes; then
55054 cat >>confdefs.h <<_ACEOF
55055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55056 _ACEOF
55059 done
55061 else
55063 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55064 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55065 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55066 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55067 echo $ECHO_N "(cached) $ECHO_C" >&6
55068 else
55072 ac_ext=cc
55073 ac_cpp='$CXXCPP $CPPFLAGS'
55074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55078 cat >conftest.$ac_ext <<_ACEOF
55079 /* confdefs.h. */
55080 _ACEOF
55081 cat confdefs.h >>conftest.$ac_ext
55082 cat >>conftest.$ac_ext <<_ACEOF
55083 /* end confdefs.h. */
55084 #include <math.h>
55086 main ()
55088 _copysign(0, 0);
55090 return 0;
55092 _ACEOF
55093 rm -f conftest.$ac_objext
55094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55095 (eval $ac_compile) 2>conftest.er1
55096 ac_status=$?
55097 grep -v '^ *+' conftest.er1 >conftest.err
55098 rm -f conftest.er1
55099 cat conftest.err >&5
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); } &&
55102 { ac_try='test -z "$ac_cxx_werror_flag"
55103 || test ! -s conftest.err'
55104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55105 (eval $ac_try) 2>&5
55106 ac_status=$?
55107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55108 (exit $ac_status); }; } &&
55109 { ac_try='test -s conftest.$ac_objext'
55110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55111 (eval $ac_try) 2>&5
55112 ac_status=$?
55113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55114 (exit $ac_status); }; }; then
55115 glibcxx_cv_func__copysign_use=yes
55116 else
55117 echo "$as_me: failed program was:" >&5
55118 sed 's/^/| /' conftest.$ac_ext >&5
55120 glibcxx_cv_func__copysign_use=no
55122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55123 ac_ext=c
55124 ac_cpp='$CPP $CPPFLAGS'
55125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55134 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55136 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55138 for ac_func in _copysign
55140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55141 echo "$as_me:$LINENO: checking for $ac_func" >&5
55142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55143 if eval "test \"\${$as_ac_var+set}\" = set"; then
55144 echo $ECHO_N "(cached) $ECHO_C" >&6
55145 else
55146 if test x$gcc_no_link = xyes; then
55147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55149 { (exit 1); exit 1; }; }
55151 cat >conftest.$ac_ext <<_ACEOF
55152 /* confdefs.h. */
55153 _ACEOF
55154 cat confdefs.h >>conftest.$ac_ext
55155 cat >>conftest.$ac_ext <<_ACEOF
55156 /* end confdefs.h. */
55157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55159 #define $ac_func innocuous_$ac_func
55161 /* System header to define __stub macros and hopefully few prototypes,
55162 which can conflict with char $ac_func (); below.
55163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55164 <limits.h> exists even on freestanding compilers. */
55166 #ifdef __STDC__
55167 # include <limits.h>
55168 #else
55169 # include <assert.h>
55170 #endif
55172 #undef $ac_func
55174 /* Override any gcc2 internal prototype to avoid an error. */
55175 #ifdef __cplusplus
55176 extern "C"
55178 #endif
55179 /* We use char because int might match the return type of a gcc2
55180 builtin and then its argument prototype would still apply. */
55181 char $ac_func ();
55182 /* The GNU C library defines this for functions which it implements
55183 to always fail with ENOSYS. Some functions are actually named
55184 something starting with __ and the normal name is an alias. */
55185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55186 choke me
55187 #else
55188 char (*f) () = $ac_func;
55189 #endif
55190 #ifdef __cplusplus
55192 #endif
55195 main ()
55197 return f != $ac_func;
55199 return 0;
55201 _ACEOF
55202 rm -f conftest.$ac_objext conftest$ac_exeext
55203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55204 (eval $ac_link) 2>conftest.er1
55205 ac_status=$?
55206 grep -v '^ *+' conftest.er1 >conftest.err
55207 rm -f conftest.er1
55208 cat conftest.err >&5
55209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55210 (exit $ac_status); } &&
55211 { ac_try='test -z "$ac_c_werror_flag"
55212 || test ! -s conftest.err'
55213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55214 (eval $ac_try) 2>&5
55215 ac_status=$?
55216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55217 (exit $ac_status); }; } &&
55218 { ac_try='test -s conftest$ac_exeext'
55219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55220 (eval $ac_try) 2>&5
55221 ac_status=$?
55222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55223 (exit $ac_status); }; }; then
55224 eval "$as_ac_var=yes"
55225 else
55226 echo "$as_me: failed program was:" >&5
55227 sed 's/^/| /' conftest.$ac_ext >&5
55229 eval "$as_ac_var=no"
55231 rm -f conftest.err conftest.$ac_objext \
55232 conftest$ac_exeext conftest.$ac_ext
55234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55236 if test `eval echo '${'$as_ac_var'}'` = yes; then
55237 cat >>confdefs.h <<_ACEOF
55238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55239 _ACEOF
55242 done
55249 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55250 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55253 echo $ECHO_N "(cached) $ECHO_C" >&6
55254 else
55258 ac_ext=cc
55259 ac_cpp='$CXXCPP $CPPFLAGS'
55260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55264 cat >conftest.$ac_ext <<_ACEOF
55265 /* confdefs.h. */
55266 _ACEOF
55267 cat confdefs.h >>conftest.$ac_ext
55268 cat >>conftest.$ac_ext <<_ACEOF
55269 /* end confdefs.h. */
55270 #include <math.h>
55272 main ()
55274 sincos(0, 0, 0);
55276 return 0;
55278 _ACEOF
55279 rm -f conftest.$ac_objext
55280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55281 (eval $ac_compile) 2>conftest.er1
55282 ac_status=$?
55283 grep -v '^ *+' conftest.er1 >conftest.err
55284 rm -f conftest.er1
55285 cat conftest.err >&5
55286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287 (exit $ac_status); } &&
55288 { ac_try='test -z "$ac_cxx_werror_flag"
55289 || test ! -s conftest.err'
55290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55291 (eval $ac_try) 2>&5
55292 ac_status=$?
55293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55294 (exit $ac_status); }; } &&
55295 { ac_try='test -s conftest.$ac_objext'
55296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55297 (eval $ac_try) 2>&5
55298 ac_status=$?
55299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55300 (exit $ac_status); }; }; then
55301 glibcxx_cv_func_sincos_use=yes
55302 else
55303 echo "$as_me: failed program was:" >&5
55304 sed 's/^/| /' conftest.$ac_ext >&5
55306 glibcxx_cv_func_sincos_use=no
55308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55320 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55322 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55324 for ac_func in sincos
55326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55327 echo "$as_me:$LINENO: checking for $ac_func" >&5
55328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55329 if eval "test \"\${$as_ac_var+set}\" = set"; then
55330 echo $ECHO_N "(cached) $ECHO_C" >&6
55331 else
55332 if test x$gcc_no_link = xyes; then
55333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55335 { (exit 1); exit 1; }; }
55337 cat >conftest.$ac_ext <<_ACEOF
55338 /* confdefs.h. */
55339 _ACEOF
55340 cat confdefs.h >>conftest.$ac_ext
55341 cat >>conftest.$ac_ext <<_ACEOF
55342 /* end confdefs.h. */
55343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55345 #define $ac_func innocuous_$ac_func
55347 /* System header to define __stub macros and hopefully few prototypes,
55348 which can conflict with char $ac_func (); below.
55349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55350 <limits.h> exists even on freestanding compilers. */
55352 #ifdef __STDC__
55353 # include <limits.h>
55354 #else
55355 # include <assert.h>
55356 #endif
55358 #undef $ac_func
55360 /* Override any gcc2 internal prototype to avoid an error. */
55361 #ifdef __cplusplus
55362 extern "C"
55364 #endif
55365 /* We use char because int might match the return type of a gcc2
55366 builtin and then its argument prototype would still apply. */
55367 char $ac_func ();
55368 /* The GNU C library defines this for functions which it implements
55369 to always fail with ENOSYS. Some functions are actually named
55370 something starting with __ and the normal name is an alias. */
55371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55372 choke me
55373 #else
55374 char (*f) () = $ac_func;
55375 #endif
55376 #ifdef __cplusplus
55378 #endif
55381 main ()
55383 return f != $ac_func;
55385 return 0;
55387 _ACEOF
55388 rm -f conftest.$ac_objext conftest$ac_exeext
55389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55390 (eval $ac_link) 2>conftest.er1
55391 ac_status=$?
55392 grep -v '^ *+' conftest.er1 >conftest.err
55393 rm -f conftest.er1
55394 cat conftest.err >&5
55395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396 (exit $ac_status); } &&
55397 { ac_try='test -z "$ac_c_werror_flag"
55398 || test ! -s conftest.err'
55399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55400 (eval $ac_try) 2>&5
55401 ac_status=$?
55402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55403 (exit $ac_status); }; } &&
55404 { ac_try='test -s conftest$ac_exeext'
55405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55406 (eval $ac_try) 2>&5
55407 ac_status=$?
55408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55409 (exit $ac_status); }; }; then
55410 eval "$as_ac_var=yes"
55411 else
55412 echo "$as_me: failed program was:" >&5
55413 sed 's/^/| /' conftest.$ac_ext >&5
55415 eval "$as_ac_var=no"
55417 rm -f conftest.err conftest.$ac_objext \
55418 conftest$ac_exeext conftest.$ac_ext
55420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55422 if test `eval echo '${'$as_ac_var'}'` = yes; then
55423 cat >>confdefs.h <<_ACEOF
55424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55425 _ACEOF
55428 done
55430 else
55432 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55433 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55435 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55436 echo $ECHO_N "(cached) $ECHO_C" >&6
55437 else
55441 ac_ext=cc
55442 ac_cpp='$CXXCPP $CPPFLAGS'
55443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55447 cat >conftest.$ac_ext <<_ACEOF
55448 /* confdefs.h. */
55449 _ACEOF
55450 cat confdefs.h >>conftest.$ac_ext
55451 cat >>conftest.$ac_ext <<_ACEOF
55452 /* end confdefs.h. */
55453 #include <math.h>
55455 main ()
55457 _sincos(0, 0, 0);
55459 return 0;
55461 _ACEOF
55462 rm -f conftest.$ac_objext
55463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55464 (eval $ac_compile) 2>conftest.er1
55465 ac_status=$?
55466 grep -v '^ *+' conftest.er1 >conftest.err
55467 rm -f conftest.er1
55468 cat conftest.err >&5
55469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470 (exit $ac_status); } &&
55471 { ac_try='test -z "$ac_cxx_werror_flag"
55472 || test ! -s conftest.err'
55473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55474 (eval $ac_try) 2>&5
55475 ac_status=$?
55476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55477 (exit $ac_status); }; } &&
55478 { ac_try='test -s conftest.$ac_objext'
55479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55480 (eval $ac_try) 2>&5
55481 ac_status=$?
55482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55483 (exit $ac_status); }; }; then
55484 glibcxx_cv_func__sincos_use=yes
55485 else
55486 echo "$as_me: failed program was:" >&5
55487 sed 's/^/| /' conftest.$ac_ext >&5
55489 glibcxx_cv_func__sincos_use=no
55491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55503 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55505 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55507 for ac_func in _sincos
55509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55510 echo "$as_me:$LINENO: checking for $ac_func" >&5
55511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55512 if eval "test \"\${$as_ac_var+set}\" = set"; then
55513 echo $ECHO_N "(cached) $ECHO_C" >&6
55514 else
55515 if test x$gcc_no_link = xyes; then
55516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55518 { (exit 1); exit 1; }; }
55520 cat >conftest.$ac_ext <<_ACEOF
55521 /* confdefs.h. */
55522 _ACEOF
55523 cat confdefs.h >>conftest.$ac_ext
55524 cat >>conftest.$ac_ext <<_ACEOF
55525 /* end confdefs.h. */
55526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55528 #define $ac_func innocuous_$ac_func
55530 /* System header to define __stub macros and hopefully few prototypes,
55531 which can conflict with char $ac_func (); below.
55532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55533 <limits.h> exists even on freestanding compilers. */
55535 #ifdef __STDC__
55536 # include <limits.h>
55537 #else
55538 # include <assert.h>
55539 #endif
55541 #undef $ac_func
55543 /* Override any gcc2 internal prototype to avoid an error. */
55544 #ifdef __cplusplus
55545 extern "C"
55547 #endif
55548 /* We use char because int might match the return type of a gcc2
55549 builtin and then its argument prototype would still apply. */
55550 char $ac_func ();
55551 /* The GNU C library defines this for functions which it implements
55552 to always fail with ENOSYS. Some functions are actually named
55553 something starting with __ and the normal name is an alias. */
55554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55555 choke me
55556 #else
55557 char (*f) () = $ac_func;
55558 #endif
55559 #ifdef __cplusplus
55561 #endif
55564 main ()
55566 return f != $ac_func;
55568 return 0;
55570 _ACEOF
55571 rm -f conftest.$ac_objext conftest$ac_exeext
55572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55573 (eval $ac_link) 2>conftest.er1
55574 ac_status=$?
55575 grep -v '^ *+' conftest.er1 >conftest.err
55576 rm -f conftest.er1
55577 cat conftest.err >&5
55578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55579 (exit $ac_status); } &&
55580 { ac_try='test -z "$ac_c_werror_flag"
55581 || test ! -s conftest.err'
55582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55583 (eval $ac_try) 2>&5
55584 ac_status=$?
55585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55586 (exit $ac_status); }; } &&
55587 { ac_try='test -s conftest$ac_exeext'
55588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55589 (eval $ac_try) 2>&5
55590 ac_status=$?
55591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55592 (exit $ac_status); }; }; then
55593 eval "$as_ac_var=yes"
55594 else
55595 echo "$as_me: failed program was:" >&5
55596 sed 's/^/| /' conftest.$ac_ext >&5
55598 eval "$as_ac_var=no"
55600 rm -f conftest.err conftest.$ac_objext \
55601 conftest$ac_exeext conftest.$ac_ext
55603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55605 if test `eval echo '${'$as_ac_var'}'` = yes; then
55606 cat >>confdefs.h <<_ACEOF
55607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55608 _ACEOF
55611 done
55618 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55619 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55620 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55621 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55622 echo $ECHO_N "(cached) $ECHO_C" >&6
55623 else
55627 ac_ext=cc
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55633 cat >conftest.$ac_ext <<_ACEOF
55634 /* confdefs.h. */
55635 _ACEOF
55636 cat confdefs.h >>conftest.$ac_ext
55637 cat >>conftest.$ac_ext <<_ACEOF
55638 /* end confdefs.h. */
55639 #include <math.h>
55640 #ifdef HAVE_IEEEFP_H
55641 #include <ieeefp.h>
55642 #endif
55645 main ()
55647 fpclass(0);
55649 return 0;
55651 _ACEOF
55652 rm -f conftest.$ac_objext
55653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55654 (eval $ac_compile) 2>conftest.er1
55655 ac_status=$?
55656 grep -v '^ *+' conftest.er1 >conftest.err
55657 rm -f conftest.er1
55658 cat conftest.err >&5
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); } &&
55661 { ac_try='test -z "$ac_cxx_werror_flag"
55662 || test ! -s conftest.err'
55663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55664 (eval $ac_try) 2>&5
55665 ac_status=$?
55666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55667 (exit $ac_status); }; } &&
55668 { ac_try='test -s conftest.$ac_objext'
55669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55670 (eval $ac_try) 2>&5
55671 ac_status=$?
55672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55673 (exit $ac_status); }; }; then
55674 glibcxx_cv_func_fpclass_use=yes
55675 else
55676 echo "$as_me: failed program was:" >&5
55677 sed 's/^/| /' conftest.$ac_ext >&5
55679 glibcxx_cv_func_fpclass_use=no
55681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55682 ac_ext=c
55683 ac_cpp='$CPP $CPPFLAGS'
55684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55693 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55695 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55697 for ac_func in fpclass
55699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55700 echo "$as_me:$LINENO: checking for $ac_func" >&5
55701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55702 if eval "test \"\${$as_ac_var+set}\" = set"; then
55703 echo $ECHO_N "(cached) $ECHO_C" >&6
55704 else
55705 if test x$gcc_no_link = xyes; then
55706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55708 { (exit 1); exit 1; }; }
55710 cat >conftest.$ac_ext <<_ACEOF
55711 /* confdefs.h. */
55712 _ACEOF
55713 cat confdefs.h >>conftest.$ac_ext
55714 cat >>conftest.$ac_ext <<_ACEOF
55715 /* end confdefs.h. */
55716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55718 #define $ac_func innocuous_$ac_func
55720 /* System header to define __stub macros and hopefully few prototypes,
55721 which can conflict with char $ac_func (); below.
55722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55723 <limits.h> exists even on freestanding compilers. */
55725 #ifdef __STDC__
55726 # include <limits.h>
55727 #else
55728 # include <assert.h>
55729 #endif
55731 #undef $ac_func
55733 /* Override any gcc2 internal prototype to avoid an error. */
55734 #ifdef __cplusplus
55735 extern "C"
55737 #endif
55738 /* We use char because int might match the return type of a gcc2
55739 builtin and then its argument prototype would still apply. */
55740 char $ac_func ();
55741 /* The GNU C library defines this for functions which it implements
55742 to always fail with ENOSYS. Some functions are actually named
55743 something starting with __ and the normal name is an alias. */
55744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55745 choke me
55746 #else
55747 char (*f) () = $ac_func;
55748 #endif
55749 #ifdef __cplusplus
55751 #endif
55754 main ()
55756 return f != $ac_func;
55758 return 0;
55760 _ACEOF
55761 rm -f conftest.$ac_objext conftest$ac_exeext
55762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55763 (eval $ac_link) 2>conftest.er1
55764 ac_status=$?
55765 grep -v '^ *+' conftest.er1 >conftest.err
55766 rm -f conftest.er1
55767 cat conftest.err >&5
55768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769 (exit $ac_status); } &&
55770 { ac_try='test -z "$ac_c_werror_flag"
55771 || test ! -s conftest.err'
55772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55773 (eval $ac_try) 2>&5
55774 ac_status=$?
55775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55776 (exit $ac_status); }; } &&
55777 { ac_try='test -s conftest$ac_exeext'
55778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55779 (eval $ac_try) 2>&5
55780 ac_status=$?
55781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55782 (exit $ac_status); }; }; then
55783 eval "$as_ac_var=yes"
55784 else
55785 echo "$as_me: failed program was:" >&5
55786 sed 's/^/| /' conftest.$ac_ext >&5
55788 eval "$as_ac_var=no"
55790 rm -f conftest.err conftest.$ac_objext \
55791 conftest$ac_exeext conftest.$ac_ext
55793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55795 if test `eval echo '${'$as_ac_var'}'` = yes; then
55796 cat >>confdefs.h <<_ACEOF
55797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55798 _ACEOF
55801 done
55803 else
55805 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55806 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55807 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55808 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55809 echo $ECHO_N "(cached) $ECHO_C" >&6
55810 else
55814 ac_ext=cc
55815 ac_cpp='$CXXCPP $CPPFLAGS'
55816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55820 cat >conftest.$ac_ext <<_ACEOF
55821 /* confdefs.h. */
55822 _ACEOF
55823 cat confdefs.h >>conftest.$ac_ext
55824 cat >>conftest.$ac_ext <<_ACEOF
55825 /* end confdefs.h. */
55826 #include <math.h>
55827 #ifdef HAVE_IEEEFP_H
55828 #include <ieeefp.h>
55829 #endif
55832 main ()
55834 _fpclass(0);
55836 return 0;
55838 _ACEOF
55839 rm -f conftest.$ac_objext
55840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55841 (eval $ac_compile) 2>conftest.er1
55842 ac_status=$?
55843 grep -v '^ *+' conftest.er1 >conftest.err
55844 rm -f conftest.er1
55845 cat conftest.err >&5
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); } &&
55848 { ac_try='test -z "$ac_cxx_werror_flag"
55849 || test ! -s conftest.err'
55850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851 (eval $ac_try) 2>&5
55852 ac_status=$?
55853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854 (exit $ac_status); }; } &&
55855 { ac_try='test -s conftest.$ac_objext'
55856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55857 (eval $ac_try) 2>&5
55858 ac_status=$?
55859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860 (exit $ac_status); }; }; then
55861 glibcxx_cv_func__fpclass_use=yes
55862 else
55863 echo "$as_me: failed program was:" >&5
55864 sed 's/^/| /' conftest.$ac_ext >&5
55866 glibcxx_cv_func__fpclass_use=no
55868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55869 ac_ext=c
55870 ac_cpp='$CPP $CPPFLAGS'
55871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55880 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55882 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55884 for ac_func in _fpclass
55886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55887 echo "$as_me:$LINENO: checking for $ac_func" >&5
55888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55889 if eval "test \"\${$as_ac_var+set}\" = set"; then
55890 echo $ECHO_N "(cached) $ECHO_C" >&6
55891 else
55892 if test x$gcc_no_link = xyes; then
55893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55895 { (exit 1); exit 1; }; }
55897 cat >conftest.$ac_ext <<_ACEOF
55898 /* confdefs.h. */
55899 _ACEOF
55900 cat confdefs.h >>conftest.$ac_ext
55901 cat >>conftest.$ac_ext <<_ACEOF
55902 /* end confdefs.h. */
55903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55905 #define $ac_func innocuous_$ac_func
55907 /* System header to define __stub macros and hopefully few prototypes,
55908 which can conflict with char $ac_func (); below.
55909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55910 <limits.h> exists even on freestanding compilers. */
55912 #ifdef __STDC__
55913 # include <limits.h>
55914 #else
55915 # include <assert.h>
55916 #endif
55918 #undef $ac_func
55920 /* Override any gcc2 internal prototype to avoid an error. */
55921 #ifdef __cplusplus
55922 extern "C"
55924 #endif
55925 /* We use char because int might match the return type of a gcc2
55926 builtin and then its argument prototype would still apply. */
55927 char $ac_func ();
55928 /* The GNU C library defines this for functions which it implements
55929 to always fail with ENOSYS. Some functions are actually named
55930 something starting with __ and the normal name is an alias. */
55931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55932 choke me
55933 #else
55934 char (*f) () = $ac_func;
55935 #endif
55936 #ifdef __cplusplus
55938 #endif
55941 main ()
55943 return f != $ac_func;
55945 return 0;
55947 _ACEOF
55948 rm -f conftest.$ac_objext conftest$ac_exeext
55949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55950 (eval $ac_link) 2>conftest.er1
55951 ac_status=$?
55952 grep -v '^ *+' conftest.er1 >conftest.err
55953 rm -f conftest.er1
55954 cat conftest.err >&5
55955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956 (exit $ac_status); } &&
55957 { ac_try='test -z "$ac_c_werror_flag"
55958 || test ! -s conftest.err'
55959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55960 (eval $ac_try) 2>&5
55961 ac_status=$?
55962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55963 (exit $ac_status); }; } &&
55964 { ac_try='test -s conftest$ac_exeext'
55965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55966 (eval $ac_try) 2>&5
55967 ac_status=$?
55968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55969 (exit $ac_status); }; }; then
55970 eval "$as_ac_var=yes"
55971 else
55972 echo "$as_me: failed program was:" >&5
55973 sed 's/^/| /' conftest.$ac_ext >&5
55975 eval "$as_ac_var=no"
55977 rm -f conftest.err conftest.$ac_objext \
55978 conftest$ac_exeext conftest.$ac_ext
55980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55982 if test `eval echo '${'$as_ac_var'}'` = yes; then
55983 cat >>confdefs.h <<_ACEOF
55984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55985 _ACEOF
55988 done
55995 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55996 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55997 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55998 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55999 echo $ECHO_N "(cached) $ECHO_C" >&6
56000 else
56004 ac_ext=cc
56005 ac_cpp='$CXXCPP $CPPFLAGS'
56006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56010 cat >conftest.$ac_ext <<_ACEOF
56011 /* confdefs.h. */
56012 _ACEOF
56013 cat confdefs.h >>conftest.$ac_ext
56014 cat >>conftest.$ac_ext <<_ACEOF
56015 /* end confdefs.h. */
56016 #include <math.h>
56017 #ifdef HAVE_IEEEFP_H
56018 #include <ieeefp.h>
56019 #endif
56022 main ()
56024 qfpclass(0);
56026 return 0;
56028 _ACEOF
56029 rm -f conftest.$ac_objext
56030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56031 (eval $ac_compile) 2>conftest.er1
56032 ac_status=$?
56033 grep -v '^ *+' conftest.er1 >conftest.err
56034 rm -f conftest.er1
56035 cat conftest.err >&5
56036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037 (exit $ac_status); } &&
56038 { ac_try='test -z "$ac_cxx_werror_flag"
56039 || test ! -s conftest.err'
56040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56041 (eval $ac_try) 2>&5
56042 ac_status=$?
56043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56044 (exit $ac_status); }; } &&
56045 { ac_try='test -s conftest.$ac_objext'
56046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56047 (eval $ac_try) 2>&5
56048 ac_status=$?
56049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56050 (exit $ac_status); }; }; then
56051 glibcxx_cv_func_qfpclass_use=yes
56052 else
56053 echo "$as_me: failed program was:" >&5
56054 sed 's/^/| /' conftest.$ac_ext >&5
56056 glibcxx_cv_func_qfpclass_use=no
56058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56059 ac_ext=c
56060 ac_cpp='$CPP $CPPFLAGS'
56061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56070 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56072 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56074 for ac_func in qfpclass
56076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56077 echo "$as_me:$LINENO: checking for $ac_func" >&5
56078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56079 if eval "test \"\${$as_ac_var+set}\" = set"; then
56080 echo $ECHO_N "(cached) $ECHO_C" >&6
56081 else
56082 if test x$gcc_no_link = xyes; then
56083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56085 { (exit 1); exit 1; }; }
56087 cat >conftest.$ac_ext <<_ACEOF
56088 /* confdefs.h. */
56089 _ACEOF
56090 cat confdefs.h >>conftest.$ac_ext
56091 cat >>conftest.$ac_ext <<_ACEOF
56092 /* end confdefs.h. */
56093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56095 #define $ac_func innocuous_$ac_func
56097 /* System header to define __stub macros and hopefully few prototypes,
56098 which can conflict with char $ac_func (); below.
56099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56100 <limits.h> exists even on freestanding compilers. */
56102 #ifdef __STDC__
56103 # include <limits.h>
56104 #else
56105 # include <assert.h>
56106 #endif
56108 #undef $ac_func
56110 /* Override any gcc2 internal prototype to avoid an error. */
56111 #ifdef __cplusplus
56112 extern "C"
56114 #endif
56115 /* We use char because int might match the return type of a gcc2
56116 builtin and then its argument prototype would still apply. */
56117 char $ac_func ();
56118 /* The GNU C library defines this for functions which it implements
56119 to always fail with ENOSYS. Some functions are actually named
56120 something starting with __ and the normal name is an alias. */
56121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56122 choke me
56123 #else
56124 char (*f) () = $ac_func;
56125 #endif
56126 #ifdef __cplusplus
56128 #endif
56131 main ()
56133 return f != $ac_func;
56135 return 0;
56137 _ACEOF
56138 rm -f conftest.$ac_objext conftest$ac_exeext
56139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56140 (eval $ac_link) 2>conftest.er1
56141 ac_status=$?
56142 grep -v '^ *+' conftest.er1 >conftest.err
56143 rm -f conftest.er1
56144 cat conftest.err >&5
56145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146 (exit $ac_status); } &&
56147 { ac_try='test -z "$ac_c_werror_flag"
56148 || test ! -s conftest.err'
56149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56150 (eval $ac_try) 2>&5
56151 ac_status=$?
56152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153 (exit $ac_status); }; } &&
56154 { ac_try='test -s conftest$ac_exeext'
56155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56156 (eval $ac_try) 2>&5
56157 ac_status=$?
56158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56159 (exit $ac_status); }; }; then
56160 eval "$as_ac_var=yes"
56161 else
56162 echo "$as_me: failed program was:" >&5
56163 sed 's/^/| /' conftest.$ac_ext >&5
56165 eval "$as_ac_var=no"
56167 rm -f conftest.err conftest.$ac_objext \
56168 conftest$ac_exeext conftest.$ac_ext
56170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56172 if test `eval echo '${'$as_ac_var'}'` = yes; then
56173 cat >>confdefs.h <<_ACEOF
56174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56175 _ACEOF
56178 done
56180 else
56182 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56183 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56184 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56185 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56186 echo $ECHO_N "(cached) $ECHO_C" >&6
56187 else
56191 ac_ext=cc
56192 ac_cpp='$CXXCPP $CPPFLAGS'
56193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56197 cat >conftest.$ac_ext <<_ACEOF
56198 /* confdefs.h. */
56199 _ACEOF
56200 cat confdefs.h >>conftest.$ac_ext
56201 cat >>conftest.$ac_ext <<_ACEOF
56202 /* end confdefs.h. */
56203 #include <math.h>
56204 #ifdef HAVE_IEEEFP_H
56205 #include <ieeefp.h>
56206 #endif
56209 main ()
56211 _qfpclass(0);
56213 return 0;
56215 _ACEOF
56216 rm -f conftest.$ac_objext
56217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56218 (eval $ac_compile) 2>conftest.er1
56219 ac_status=$?
56220 grep -v '^ *+' conftest.er1 >conftest.err
56221 rm -f conftest.er1
56222 cat conftest.err >&5
56223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56224 (exit $ac_status); } &&
56225 { ac_try='test -z "$ac_cxx_werror_flag"
56226 || test ! -s conftest.err'
56227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56228 (eval $ac_try) 2>&5
56229 ac_status=$?
56230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56231 (exit $ac_status); }; } &&
56232 { ac_try='test -s conftest.$ac_objext'
56233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56234 (eval $ac_try) 2>&5
56235 ac_status=$?
56236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56237 (exit $ac_status); }; }; then
56238 glibcxx_cv_func__qfpclass_use=yes
56239 else
56240 echo "$as_me: failed program was:" >&5
56241 sed 's/^/| /' conftest.$ac_ext >&5
56243 glibcxx_cv_func__qfpclass_use=no
56245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56257 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56259 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56261 for ac_func in _qfpclass
56263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56264 echo "$as_me:$LINENO: checking for $ac_func" >&5
56265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56266 if eval "test \"\${$as_ac_var+set}\" = set"; then
56267 echo $ECHO_N "(cached) $ECHO_C" >&6
56268 else
56269 if test x$gcc_no_link = xyes; then
56270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56272 { (exit 1); exit 1; }; }
56274 cat >conftest.$ac_ext <<_ACEOF
56275 /* confdefs.h. */
56276 _ACEOF
56277 cat confdefs.h >>conftest.$ac_ext
56278 cat >>conftest.$ac_ext <<_ACEOF
56279 /* end confdefs.h. */
56280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56282 #define $ac_func innocuous_$ac_func
56284 /* System header to define __stub macros and hopefully few prototypes,
56285 which can conflict with char $ac_func (); below.
56286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56287 <limits.h> exists even on freestanding compilers. */
56289 #ifdef __STDC__
56290 # include <limits.h>
56291 #else
56292 # include <assert.h>
56293 #endif
56295 #undef $ac_func
56297 /* Override any gcc2 internal prototype to avoid an error. */
56298 #ifdef __cplusplus
56299 extern "C"
56301 #endif
56302 /* We use char because int might match the return type of a gcc2
56303 builtin and then its argument prototype would still apply. */
56304 char $ac_func ();
56305 /* The GNU C library defines this for functions which it implements
56306 to always fail with ENOSYS. Some functions are actually named
56307 something starting with __ and the normal name is an alias. */
56308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56309 choke me
56310 #else
56311 char (*f) () = $ac_func;
56312 #endif
56313 #ifdef __cplusplus
56315 #endif
56318 main ()
56320 return f != $ac_func;
56322 return 0;
56324 _ACEOF
56325 rm -f conftest.$ac_objext conftest$ac_exeext
56326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56327 (eval $ac_link) 2>conftest.er1
56328 ac_status=$?
56329 grep -v '^ *+' conftest.er1 >conftest.err
56330 rm -f conftest.er1
56331 cat conftest.err >&5
56332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56333 (exit $ac_status); } &&
56334 { ac_try='test -z "$ac_c_werror_flag"
56335 || test ! -s conftest.err'
56336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56337 (eval $ac_try) 2>&5
56338 ac_status=$?
56339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340 (exit $ac_status); }; } &&
56341 { ac_try='test -s conftest$ac_exeext'
56342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56343 (eval $ac_try) 2>&5
56344 ac_status=$?
56345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346 (exit $ac_status); }; }; then
56347 eval "$as_ac_var=yes"
56348 else
56349 echo "$as_me: failed program was:" >&5
56350 sed 's/^/| /' conftest.$ac_ext >&5
56352 eval "$as_ac_var=no"
56354 rm -f conftest.err conftest.$ac_objext \
56355 conftest$ac_exeext conftest.$ac_ext
56357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56359 if test `eval echo '${'$as_ac_var'}'` = yes; then
56360 cat >>confdefs.h <<_ACEOF
56361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56362 _ACEOF
56365 done
56372 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56373 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56374 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56375 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56376 echo $ECHO_N "(cached) $ECHO_C" >&6
56377 else
56381 ac_ext=cc
56382 ac_cpp='$CXXCPP $CPPFLAGS'
56383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56387 cat >conftest.$ac_ext <<_ACEOF
56388 /* confdefs.h. */
56389 _ACEOF
56390 cat confdefs.h >>conftest.$ac_ext
56391 cat >>conftest.$ac_ext <<_ACEOF
56392 /* end confdefs.h. */
56393 #include <math.h>
56395 main ()
56397 hypot(0, 0);
56399 return 0;
56401 _ACEOF
56402 rm -f conftest.$ac_objext
56403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56404 (eval $ac_compile) 2>conftest.er1
56405 ac_status=$?
56406 grep -v '^ *+' conftest.er1 >conftest.err
56407 rm -f conftest.er1
56408 cat conftest.err >&5
56409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56410 (exit $ac_status); } &&
56411 { ac_try='test -z "$ac_cxx_werror_flag"
56412 || test ! -s conftest.err'
56413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56414 (eval $ac_try) 2>&5
56415 ac_status=$?
56416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56417 (exit $ac_status); }; } &&
56418 { ac_try='test -s conftest.$ac_objext'
56419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56420 (eval $ac_try) 2>&5
56421 ac_status=$?
56422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56423 (exit $ac_status); }; }; then
56424 glibcxx_cv_func_hypot_use=yes
56425 else
56426 echo "$as_me: failed program was:" >&5
56427 sed 's/^/| /' conftest.$ac_ext >&5
56429 glibcxx_cv_func_hypot_use=no
56431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56432 ac_ext=c
56433 ac_cpp='$CPP $CPPFLAGS'
56434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56443 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56445 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56447 for ac_func in hypot
56449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56450 echo "$as_me:$LINENO: checking for $ac_func" >&5
56451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56452 if eval "test \"\${$as_ac_var+set}\" = set"; then
56453 echo $ECHO_N "(cached) $ECHO_C" >&6
56454 else
56455 if test x$gcc_no_link = xyes; then
56456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56458 { (exit 1); exit 1; }; }
56460 cat >conftest.$ac_ext <<_ACEOF
56461 /* confdefs.h. */
56462 _ACEOF
56463 cat confdefs.h >>conftest.$ac_ext
56464 cat >>conftest.$ac_ext <<_ACEOF
56465 /* end confdefs.h. */
56466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56468 #define $ac_func innocuous_$ac_func
56470 /* System header to define __stub macros and hopefully few prototypes,
56471 which can conflict with char $ac_func (); below.
56472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56473 <limits.h> exists even on freestanding compilers. */
56475 #ifdef __STDC__
56476 # include <limits.h>
56477 #else
56478 # include <assert.h>
56479 #endif
56481 #undef $ac_func
56483 /* Override any gcc2 internal prototype to avoid an error. */
56484 #ifdef __cplusplus
56485 extern "C"
56487 #endif
56488 /* We use char because int might match the return type of a gcc2
56489 builtin and then its argument prototype would still apply. */
56490 char $ac_func ();
56491 /* The GNU C library defines this for functions which it implements
56492 to always fail with ENOSYS. Some functions are actually named
56493 something starting with __ and the normal name is an alias. */
56494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56495 choke me
56496 #else
56497 char (*f) () = $ac_func;
56498 #endif
56499 #ifdef __cplusplus
56501 #endif
56504 main ()
56506 return f != $ac_func;
56508 return 0;
56510 _ACEOF
56511 rm -f conftest.$ac_objext conftest$ac_exeext
56512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56513 (eval $ac_link) 2>conftest.er1
56514 ac_status=$?
56515 grep -v '^ *+' conftest.er1 >conftest.err
56516 rm -f conftest.er1
56517 cat conftest.err >&5
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); } &&
56520 { ac_try='test -z "$ac_c_werror_flag"
56521 || test ! -s conftest.err'
56522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56523 (eval $ac_try) 2>&5
56524 ac_status=$?
56525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56526 (exit $ac_status); }; } &&
56527 { ac_try='test -s conftest$ac_exeext'
56528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56529 (eval $ac_try) 2>&5
56530 ac_status=$?
56531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56532 (exit $ac_status); }; }; then
56533 eval "$as_ac_var=yes"
56534 else
56535 echo "$as_me: failed program was:" >&5
56536 sed 's/^/| /' conftest.$ac_ext >&5
56538 eval "$as_ac_var=no"
56540 rm -f conftest.err conftest.$ac_objext \
56541 conftest$ac_exeext conftest.$ac_ext
56543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56545 if test `eval echo '${'$as_ac_var'}'` = yes; then
56546 cat >>confdefs.h <<_ACEOF
56547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56548 _ACEOF
56551 done
56553 else
56555 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56556 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56557 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56558 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56559 echo $ECHO_N "(cached) $ECHO_C" >&6
56560 else
56564 ac_ext=cc
56565 ac_cpp='$CXXCPP $CPPFLAGS'
56566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56570 cat >conftest.$ac_ext <<_ACEOF
56571 /* confdefs.h. */
56572 _ACEOF
56573 cat confdefs.h >>conftest.$ac_ext
56574 cat >>conftest.$ac_ext <<_ACEOF
56575 /* end confdefs.h. */
56576 #include <math.h>
56578 main ()
56580 _hypot(0, 0);
56582 return 0;
56584 _ACEOF
56585 rm -f conftest.$ac_objext
56586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56587 (eval $ac_compile) 2>conftest.er1
56588 ac_status=$?
56589 grep -v '^ *+' conftest.er1 >conftest.err
56590 rm -f conftest.er1
56591 cat conftest.err >&5
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); } &&
56594 { ac_try='test -z "$ac_cxx_werror_flag"
56595 || test ! -s conftest.err'
56596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56597 (eval $ac_try) 2>&5
56598 ac_status=$?
56599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56600 (exit $ac_status); }; } &&
56601 { ac_try='test -s conftest.$ac_objext'
56602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56603 (eval $ac_try) 2>&5
56604 ac_status=$?
56605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56606 (exit $ac_status); }; }; then
56607 glibcxx_cv_func__hypot_use=yes
56608 else
56609 echo "$as_me: failed program was:" >&5
56610 sed 's/^/| /' conftest.$ac_ext >&5
56612 glibcxx_cv_func__hypot_use=no
56614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56626 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56628 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56630 for ac_func in _hypot
56632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56633 echo "$as_me:$LINENO: checking for $ac_func" >&5
56634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56635 if eval "test \"\${$as_ac_var+set}\" = set"; then
56636 echo $ECHO_N "(cached) $ECHO_C" >&6
56637 else
56638 if test x$gcc_no_link = xyes; then
56639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56641 { (exit 1); exit 1; }; }
56643 cat >conftest.$ac_ext <<_ACEOF
56644 /* confdefs.h. */
56645 _ACEOF
56646 cat confdefs.h >>conftest.$ac_ext
56647 cat >>conftest.$ac_ext <<_ACEOF
56648 /* end confdefs.h. */
56649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56651 #define $ac_func innocuous_$ac_func
56653 /* System header to define __stub macros and hopefully few prototypes,
56654 which can conflict with char $ac_func (); below.
56655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56656 <limits.h> exists even on freestanding compilers. */
56658 #ifdef __STDC__
56659 # include <limits.h>
56660 #else
56661 # include <assert.h>
56662 #endif
56664 #undef $ac_func
56666 /* Override any gcc2 internal prototype to avoid an error. */
56667 #ifdef __cplusplus
56668 extern "C"
56670 #endif
56671 /* We use char because int might match the return type of a gcc2
56672 builtin and then its argument prototype would still apply. */
56673 char $ac_func ();
56674 /* The GNU C library defines this for functions which it implements
56675 to always fail with ENOSYS. Some functions are actually named
56676 something starting with __ and the normal name is an alias. */
56677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56678 choke me
56679 #else
56680 char (*f) () = $ac_func;
56681 #endif
56682 #ifdef __cplusplus
56684 #endif
56687 main ()
56689 return f != $ac_func;
56691 return 0;
56693 _ACEOF
56694 rm -f conftest.$ac_objext conftest$ac_exeext
56695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56696 (eval $ac_link) 2>conftest.er1
56697 ac_status=$?
56698 grep -v '^ *+' conftest.er1 >conftest.err
56699 rm -f conftest.er1
56700 cat conftest.err >&5
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); } &&
56703 { ac_try='test -z "$ac_c_werror_flag"
56704 || test ! -s conftest.err'
56705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56706 (eval $ac_try) 2>&5
56707 ac_status=$?
56708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56709 (exit $ac_status); }; } &&
56710 { ac_try='test -s conftest$ac_exeext'
56711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56712 (eval $ac_try) 2>&5
56713 ac_status=$?
56714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56715 (exit $ac_status); }; }; then
56716 eval "$as_ac_var=yes"
56717 else
56718 echo "$as_me: failed program was:" >&5
56719 sed 's/^/| /' conftest.$ac_ext >&5
56721 eval "$as_ac_var=no"
56723 rm -f conftest.err conftest.$ac_objext \
56724 conftest$ac_exeext conftest.$ac_ext
56726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56728 if test `eval echo '${'$as_ac_var'}'` = yes; then
56729 cat >>confdefs.h <<_ACEOF
56730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56731 _ACEOF
56734 done
56741 echo "$as_me:$LINENO: checking for float trig functions" >&5
56742 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56743 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56744 echo $ECHO_N "(cached) $ECHO_C" >&6
56745 else
56749 ac_ext=cc
56750 ac_cpp='$CXXCPP $CPPFLAGS'
56751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56755 cat >conftest.$ac_ext <<_ACEOF
56756 /* confdefs.h. */
56757 _ACEOF
56758 cat confdefs.h >>conftest.$ac_ext
56759 cat >>conftest.$ac_ext <<_ACEOF
56760 /* end confdefs.h. */
56761 #include <math.h>
56763 main ()
56765 `for x in acosf asinf atanf \
56766 cosf sinf tanf \
56767 coshf sinhf tanhf; do echo "$x (0);"; done`
56769 return 0;
56771 _ACEOF
56772 rm -f conftest.$ac_objext
56773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56774 (eval $ac_compile) 2>conftest.er1
56775 ac_status=$?
56776 grep -v '^ *+' conftest.er1 >conftest.err
56777 rm -f conftest.er1
56778 cat conftest.err >&5
56779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780 (exit $ac_status); } &&
56781 { ac_try='test -z "$ac_cxx_werror_flag"
56782 || test ! -s conftest.err'
56783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56784 (eval $ac_try) 2>&5
56785 ac_status=$?
56786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787 (exit $ac_status); }; } &&
56788 { ac_try='test -s conftest.$ac_objext'
56789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56790 (eval $ac_try) 2>&5
56791 ac_status=$?
56792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793 (exit $ac_status); }; }; then
56794 glibcxx_cv_func_float_trig_use=yes
56795 else
56796 echo "$as_me: failed program was:" >&5
56797 sed 's/^/| /' conftest.$ac_ext >&5
56799 glibcxx_cv_func_float_trig_use=no
56801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56802 ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56811 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56812 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56822 for ac_func in acosf asinf atanf \
56823 cosf sinf tanf \
56824 coshf sinhf tanhf
56826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56827 echo "$as_me:$LINENO: checking for $ac_func" >&5
56828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56829 if eval "test \"\${$as_ac_var+set}\" = set"; then
56830 echo $ECHO_N "(cached) $ECHO_C" >&6
56831 else
56832 if test x$gcc_no_link = xyes; then
56833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56835 { (exit 1); exit 1; }; }
56837 cat >conftest.$ac_ext <<_ACEOF
56838 /* confdefs.h. */
56839 _ACEOF
56840 cat confdefs.h >>conftest.$ac_ext
56841 cat >>conftest.$ac_ext <<_ACEOF
56842 /* end confdefs.h. */
56843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56845 #define $ac_func innocuous_$ac_func
56847 /* System header to define __stub macros and hopefully few prototypes,
56848 which can conflict with char $ac_func (); below.
56849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56850 <limits.h> exists even on freestanding compilers. */
56852 #ifdef __STDC__
56853 # include <limits.h>
56854 #else
56855 # include <assert.h>
56856 #endif
56858 #undef $ac_func
56860 /* Override any gcc2 internal prototype to avoid an error. */
56861 #ifdef __cplusplus
56862 extern "C"
56864 #endif
56865 /* We use char because int might match the return type of a gcc2
56866 builtin and then its argument prototype would still apply. */
56867 char $ac_func ();
56868 /* The GNU C library defines this for functions which it implements
56869 to always fail with ENOSYS. Some functions are actually named
56870 something starting with __ and the normal name is an alias. */
56871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56872 choke me
56873 #else
56874 char (*f) () = $ac_func;
56875 #endif
56876 #ifdef __cplusplus
56878 #endif
56881 main ()
56883 return f != $ac_func;
56885 return 0;
56887 _ACEOF
56888 rm -f conftest.$ac_objext conftest$ac_exeext
56889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56890 (eval $ac_link) 2>conftest.er1
56891 ac_status=$?
56892 grep -v '^ *+' conftest.er1 >conftest.err
56893 rm -f conftest.er1
56894 cat conftest.err >&5
56895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896 (exit $ac_status); } &&
56897 { ac_try='test -z "$ac_c_werror_flag"
56898 || test ! -s conftest.err'
56899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56900 (eval $ac_try) 2>&5
56901 ac_status=$?
56902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903 (exit $ac_status); }; } &&
56904 { ac_try='test -s conftest$ac_exeext'
56905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56906 (eval $ac_try) 2>&5
56907 ac_status=$?
56908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56909 (exit $ac_status); }; }; then
56910 eval "$as_ac_var=yes"
56911 else
56912 echo "$as_me: failed program was:" >&5
56913 sed 's/^/| /' conftest.$ac_ext >&5
56915 eval "$as_ac_var=no"
56917 rm -f conftest.err conftest.$ac_objext \
56918 conftest$ac_exeext conftest.$ac_ext
56920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56922 if test `eval echo '${'$as_ac_var'}'` = yes; then
56923 cat >>confdefs.h <<_ACEOF
56924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56925 _ACEOF
56928 done
56933 echo "$as_me:$LINENO: checking for float round functions" >&5
56934 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56935 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56936 echo $ECHO_N "(cached) $ECHO_C" >&6
56937 else
56941 ac_ext=cc
56942 ac_cpp='$CXXCPP $CPPFLAGS'
56943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56947 cat >conftest.$ac_ext <<_ACEOF
56948 /* confdefs.h. */
56949 _ACEOF
56950 cat confdefs.h >>conftest.$ac_ext
56951 cat >>conftest.$ac_ext <<_ACEOF
56952 /* end confdefs.h. */
56953 #include <math.h>
56955 main ()
56957 `for x in ceilf floorf; do echo "$x (0);"; done`
56959 return 0;
56961 _ACEOF
56962 rm -f conftest.$ac_objext
56963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56964 (eval $ac_compile) 2>conftest.er1
56965 ac_status=$?
56966 grep -v '^ *+' conftest.er1 >conftest.err
56967 rm -f conftest.er1
56968 cat conftest.err >&5
56969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970 (exit $ac_status); } &&
56971 { ac_try='test -z "$ac_cxx_werror_flag"
56972 || test ! -s conftest.err'
56973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974 (eval $ac_try) 2>&5
56975 ac_status=$?
56976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977 (exit $ac_status); }; } &&
56978 { ac_try='test -s conftest.$ac_objext'
56979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56980 (eval $ac_try) 2>&5
56981 ac_status=$?
56982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56983 (exit $ac_status); }; }; then
56984 glibcxx_cv_func_float_round_use=yes
56985 else
56986 echo "$as_me: failed program was:" >&5
56987 sed 's/^/| /' conftest.$ac_ext >&5
56989 glibcxx_cv_func_float_round_use=no
56991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56992 ac_ext=c
56993 ac_cpp='$CPP $CPPFLAGS'
56994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57001 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57002 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57005 for ac_func in ceilf floorf
57007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57008 echo "$as_me:$LINENO: checking for $ac_func" >&5
57009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57010 if eval "test \"\${$as_ac_var+set}\" = set"; then
57011 echo $ECHO_N "(cached) $ECHO_C" >&6
57012 else
57013 if test x$gcc_no_link = xyes; then
57014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57016 { (exit 1); exit 1; }; }
57018 cat >conftest.$ac_ext <<_ACEOF
57019 /* confdefs.h. */
57020 _ACEOF
57021 cat confdefs.h >>conftest.$ac_ext
57022 cat >>conftest.$ac_ext <<_ACEOF
57023 /* end confdefs.h. */
57024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57026 #define $ac_func innocuous_$ac_func
57028 /* System header to define __stub macros and hopefully few prototypes,
57029 which can conflict with char $ac_func (); below.
57030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57031 <limits.h> exists even on freestanding compilers. */
57033 #ifdef __STDC__
57034 # include <limits.h>
57035 #else
57036 # include <assert.h>
57037 #endif
57039 #undef $ac_func
57041 /* Override any gcc2 internal prototype to avoid an error. */
57042 #ifdef __cplusplus
57043 extern "C"
57045 #endif
57046 /* We use char because int might match the return type of a gcc2
57047 builtin and then its argument prototype would still apply. */
57048 char $ac_func ();
57049 /* The GNU C library defines this for functions which it implements
57050 to always fail with ENOSYS. Some functions are actually named
57051 something starting with __ and the normal name is an alias. */
57052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57053 choke me
57054 #else
57055 char (*f) () = $ac_func;
57056 #endif
57057 #ifdef __cplusplus
57059 #endif
57062 main ()
57064 return f != $ac_func;
57066 return 0;
57068 _ACEOF
57069 rm -f conftest.$ac_objext conftest$ac_exeext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57071 (eval $ac_link) 2>conftest.er1
57072 ac_status=$?
57073 grep -v '^ *+' conftest.er1 >conftest.err
57074 rm -f conftest.er1
57075 cat conftest.err >&5
57076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077 (exit $ac_status); } &&
57078 { ac_try='test -z "$ac_c_werror_flag"
57079 || test ! -s conftest.err'
57080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081 (eval $ac_try) 2>&5
57082 ac_status=$?
57083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084 (exit $ac_status); }; } &&
57085 { ac_try='test -s conftest$ac_exeext'
57086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57087 (eval $ac_try) 2>&5
57088 ac_status=$?
57089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090 (exit $ac_status); }; }; then
57091 eval "$as_ac_var=yes"
57092 else
57093 echo "$as_me: failed program was:" >&5
57094 sed 's/^/| /' conftest.$ac_ext >&5
57096 eval "$as_ac_var=no"
57098 rm -f conftest.err conftest.$ac_objext \
57099 conftest$ac_exeext conftest.$ac_ext
57101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57103 if test `eval echo '${'$as_ac_var'}'` = yes; then
57104 cat >>confdefs.h <<_ACEOF
57105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57106 _ACEOF
57109 done
57115 echo "$as_me:$LINENO: checking for expf declaration" >&5
57116 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57117 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57118 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57119 echo $ECHO_N "(cached) $ECHO_C" >&6
57120 else
57124 ac_ext=cc
57125 ac_cpp='$CXXCPP $CPPFLAGS'
57126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57130 cat >conftest.$ac_ext <<_ACEOF
57131 /* confdefs.h. */
57132 _ACEOF
57133 cat confdefs.h >>conftest.$ac_ext
57134 cat >>conftest.$ac_ext <<_ACEOF
57135 /* end confdefs.h. */
57136 #include <math.h>
57137 #ifdef HAVE_IEEEFP_H
57138 #include <ieeefp.h>
57139 #endif
57142 main ()
57144 expf(0);
57146 return 0;
57148 _ACEOF
57149 rm -f conftest.$ac_objext
57150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57151 (eval $ac_compile) 2>conftest.er1
57152 ac_status=$?
57153 grep -v '^ *+' conftest.er1 >conftest.err
57154 rm -f conftest.er1
57155 cat conftest.err >&5
57156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57157 (exit $ac_status); } &&
57158 { ac_try='test -z "$ac_cxx_werror_flag"
57159 || test ! -s conftest.err'
57160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161 (eval $ac_try) 2>&5
57162 ac_status=$?
57163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164 (exit $ac_status); }; } &&
57165 { ac_try='test -s conftest.$ac_objext'
57166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57167 (eval $ac_try) 2>&5
57168 ac_status=$?
57169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170 (exit $ac_status); }; }; then
57171 glibcxx_cv_func_expf_use=yes
57172 else
57173 echo "$as_me: failed program was:" >&5
57174 sed 's/^/| /' conftest.$ac_ext >&5
57176 glibcxx_cv_func_expf_use=no
57178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57179 ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57190 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57192 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57194 for ac_func in expf
57196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57197 echo "$as_me:$LINENO: checking for $ac_func" >&5
57198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57199 if eval "test \"\${$as_ac_var+set}\" = set"; then
57200 echo $ECHO_N "(cached) $ECHO_C" >&6
57201 else
57202 if test x$gcc_no_link = xyes; then
57203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57205 { (exit 1); exit 1; }; }
57207 cat >conftest.$ac_ext <<_ACEOF
57208 /* confdefs.h. */
57209 _ACEOF
57210 cat confdefs.h >>conftest.$ac_ext
57211 cat >>conftest.$ac_ext <<_ACEOF
57212 /* end confdefs.h. */
57213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57215 #define $ac_func innocuous_$ac_func
57217 /* System header to define __stub macros and hopefully few prototypes,
57218 which can conflict with char $ac_func (); below.
57219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57220 <limits.h> exists even on freestanding compilers. */
57222 #ifdef __STDC__
57223 # include <limits.h>
57224 #else
57225 # include <assert.h>
57226 #endif
57228 #undef $ac_func
57230 /* Override any gcc2 internal prototype to avoid an error. */
57231 #ifdef __cplusplus
57232 extern "C"
57234 #endif
57235 /* We use char because int might match the return type of a gcc2
57236 builtin and then its argument prototype would still apply. */
57237 char $ac_func ();
57238 /* The GNU C library defines this for functions which it implements
57239 to always fail with ENOSYS. Some functions are actually named
57240 something starting with __ and the normal name is an alias. */
57241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57242 choke me
57243 #else
57244 char (*f) () = $ac_func;
57245 #endif
57246 #ifdef __cplusplus
57248 #endif
57251 main ()
57253 return f != $ac_func;
57255 return 0;
57257 _ACEOF
57258 rm -f conftest.$ac_objext conftest$ac_exeext
57259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57260 (eval $ac_link) 2>conftest.er1
57261 ac_status=$?
57262 grep -v '^ *+' conftest.er1 >conftest.err
57263 rm -f conftest.er1
57264 cat conftest.err >&5
57265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57266 (exit $ac_status); } &&
57267 { ac_try='test -z "$ac_c_werror_flag"
57268 || test ! -s conftest.err'
57269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57270 (eval $ac_try) 2>&5
57271 ac_status=$?
57272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57273 (exit $ac_status); }; } &&
57274 { ac_try='test -s conftest$ac_exeext'
57275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57276 (eval $ac_try) 2>&5
57277 ac_status=$?
57278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57279 (exit $ac_status); }; }; then
57280 eval "$as_ac_var=yes"
57281 else
57282 echo "$as_me: failed program was:" >&5
57283 sed 's/^/| /' conftest.$ac_ext >&5
57285 eval "$as_ac_var=no"
57287 rm -f conftest.err conftest.$ac_objext \
57288 conftest$ac_exeext conftest.$ac_ext
57290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57292 if test `eval echo '${'$as_ac_var'}'` = yes; then
57293 cat >>confdefs.h <<_ACEOF
57294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57295 _ACEOF
57298 done
57300 else
57302 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57303 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57304 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57305 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57306 echo $ECHO_N "(cached) $ECHO_C" >&6
57307 else
57311 ac_ext=cc
57312 ac_cpp='$CXXCPP $CPPFLAGS'
57313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57317 cat >conftest.$ac_ext <<_ACEOF
57318 /* confdefs.h. */
57319 _ACEOF
57320 cat confdefs.h >>conftest.$ac_ext
57321 cat >>conftest.$ac_ext <<_ACEOF
57322 /* end confdefs.h. */
57323 #include <math.h>
57324 #ifdef HAVE_IEEEFP_H
57325 #include <ieeefp.h>
57326 #endif
57329 main ()
57331 _expf(0);
57333 return 0;
57335 _ACEOF
57336 rm -f conftest.$ac_objext
57337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57338 (eval $ac_compile) 2>conftest.er1
57339 ac_status=$?
57340 grep -v '^ *+' conftest.er1 >conftest.err
57341 rm -f conftest.er1
57342 cat conftest.err >&5
57343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57344 (exit $ac_status); } &&
57345 { ac_try='test -z "$ac_cxx_werror_flag"
57346 || test ! -s conftest.err'
57347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57348 (eval $ac_try) 2>&5
57349 ac_status=$?
57350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57351 (exit $ac_status); }; } &&
57352 { ac_try='test -s conftest.$ac_objext'
57353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57354 (eval $ac_try) 2>&5
57355 ac_status=$?
57356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57357 (exit $ac_status); }; }; then
57358 glibcxx_cv_func__expf_use=yes
57359 else
57360 echo "$as_me: failed program was:" >&5
57361 sed 's/^/| /' conftest.$ac_ext >&5
57363 glibcxx_cv_func__expf_use=no
57365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57366 ac_ext=c
57367 ac_cpp='$CPP $CPPFLAGS'
57368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57377 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57379 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57381 for ac_func in _expf
57383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57384 echo "$as_me:$LINENO: checking for $ac_func" >&5
57385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57386 if eval "test \"\${$as_ac_var+set}\" = set"; then
57387 echo $ECHO_N "(cached) $ECHO_C" >&6
57388 else
57389 if test x$gcc_no_link = xyes; then
57390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57392 { (exit 1); exit 1; }; }
57394 cat >conftest.$ac_ext <<_ACEOF
57395 /* confdefs.h. */
57396 _ACEOF
57397 cat confdefs.h >>conftest.$ac_ext
57398 cat >>conftest.$ac_ext <<_ACEOF
57399 /* end confdefs.h. */
57400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57402 #define $ac_func innocuous_$ac_func
57404 /* System header to define __stub macros and hopefully few prototypes,
57405 which can conflict with char $ac_func (); below.
57406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57407 <limits.h> exists even on freestanding compilers. */
57409 #ifdef __STDC__
57410 # include <limits.h>
57411 #else
57412 # include <assert.h>
57413 #endif
57415 #undef $ac_func
57417 /* Override any gcc2 internal prototype to avoid an error. */
57418 #ifdef __cplusplus
57419 extern "C"
57421 #endif
57422 /* We use char because int might match the return type of a gcc2
57423 builtin and then its argument prototype would still apply. */
57424 char $ac_func ();
57425 /* The GNU C library defines this for functions which it implements
57426 to always fail with ENOSYS. Some functions are actually named
57427 something starting with __ and the normal name is an alias. */
57428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57429 choke me
57430 #else
57431 char (*f) () = $ac_func;
57432 #endif
57433 #ifdef __cplusplus
57435 #endif
57438 main ()
57440 return f != $ac_func;
57442 return 0;
57444 _ACEOF
57445 rm -f conftest.$ac_objext conftest$ac_exeext
57446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57447 (eval $ac_link) 2>conftest.er1
57448 ac_status=$?
57449 grep -v '^ *+' conftest.er1 >conftest.err
57450 rm -f conftest.er1
57451 cat conftest.err >&5
57452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57453 (exit $ac_status); } &&
57454 { ac_try='test -z "$ac_c_werror_flag"
57455 || test ! -s conftest.err'
57456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57457 (eval $ac_try) 2>&5
57458 ac_status=$?
57459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57460 (exit $ac_status); }; } &&
57461 { ac_try='test -s conftest$ac_exeext'
57462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57463 (eval $ac_try) 2>&5
57464 ac_status=$?
57465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466 (exit $ac_status); }; }; then
57467 eval "$as_ac_var=yes"
57468 else
57469 echo "$as_me: failed program was:" >&5
57470 sed 's/^/| /' conftest.$ac_ext >&5
57472 eval "$as_ac_var=no"
57474 rm -f conftest.err conftest.$ac_objext \
57475 conftest$ac_exeext conftest.$ac_ext
57477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57479 if test `eval echo '${'$as_ac_var'}'` = yes; then
57480 cat >>confdefs.h <<_ACEOF
57481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57482 _ACEOF
57485 done
57492 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57493 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57494 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57495 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57496 echo $ECHO_N "(cached) $ECHO_C" >&6
57497 else
57501 ac_ext=cc
57502 ac_cpp='$CXXCPP $CPPFLAGS'
57503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57507 cat >conftest.$ac_ext <<_ACEOF
57508 /* confdefs.h. */
57509 _ACEOF
57510 cat confdefs.h >>conftest.$ac_ext
57511 cat >>conftest.$ac_ext <<_ACEOF
57512 /* end confdefs.h. */
57513 #include <math.h>
57514 #ifdef HAVE_IEEEFP_H
57515 #include <ieeefp.h>
57516 #endif
57519 main ()
57521 isnanf(0);
57523 return 0;
57525 _ACEOF
57526 rm -f conftest.$ac_objext
57527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57528 (eval $ac_compile) 2>conftest.er1
57529 ac_status=$?
57530 grep -v '^ *+' conftest.er1 >conftest.err
57531 rm -f conftest.er1
57532 cat conftest.err >&5
57533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57534 (exit $ac_status); } &&
57535 { ac_try='test -z "$ac_cxx_werror_flag"
57536 || test ! -s conftest.err'
57537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538 (eval $ac_try) 2>&5
57539 ac_status=$?
57540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541 (exit $ac_status); }; } &&
57542 { ac_try='test -s conftest.$ac_objext'
57543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57544 (eval $ac_try) 2>&5
57545 ac_status=$?
57546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57547 (exit $ac_status); }; }; then
57548 glibcxx_cv_func_isnanf_use=yes
57549 else
57550 echo "$as_me: failed program was:" >&5
57551 sed 's/^/| /' conftest.$ac_ext >&5
57553 glibcxx_cv_func_isnanf_use=no
57555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57556 ac_ext=c
57557 ac_cpp='$CPP $CPPFLAGS'
57558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57566 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57567 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57569 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57571 for ac_func in isnanf
57573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57574 echo "$as_me:$LINENO: checking for $ac_func" >&5
57575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57576 if eval "test \"\${$as_ac_var+set}\" = set"; then
57577 echo $ECHO_N "(cached) $ECHO_C" >&6
57578 else
57579 if test x$gcc_no_link = xyes; then
57580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57582 { (exit 1); exit 1; }; }
57584 cat >conftest.$ac_ext <<_ACEOF
57585 /* confdefs.h. */
57586 _ACEOF
57587 cat confdefs.h >>conftest.$ac_ext
57588 cat >>conftest.$ac_ext <<_ACEOF
57589 /* end confdefs.h. */
57590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57592 #define $ac_func innocuous_$ac_func
57594 /* System header to define __stub macros and hopefully few prototypes,
57595 which can conflict with char $ac_func (); below.
57596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57597 <limits.h> exists even on freestanding compilers. */
57599 #ifdef __STDC__
57600 # include <limits.h>
57601 #else
57602 # include <assert.h>
57603 #endif
57605 #undef $ac_func
57607 /* Override any gcc2 internal prototype to avoid an error. */
57608 #ifdef __cplusplus
57609 extern "C"
57611 #endif
57612 /* We use char because int might match the return type of a gcc2
57613 builtin and then its argument prototype would still apply. */
57614 char $ac_func ();
57615 /* The GNU C library defines this for functions which it implements
57616 to always fail with ENOSYS. Some functions are actually named
57617 something starting with __ and the normal name is an alias. */
57618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57619 choke me
57620 #else
57621 char (*f) () = $ac_func;
57622 #endif
57623 #ifdef __cplusplus
57625 #endif
57628 main ()
57630 return f != $ac_func;
57632 return 0;
57634 _ACEOF
57635 rm -f conftest.$ac_objext conftest$ac_exeext
57636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57637 (eval $ac_link) 2>conftest.er1
57638 ac_status=$?
57639 grep -v '^ *+' conftest.er1 >conftest.err
57640 rm -f conftest.er1
57641 cat conftest.err >&5
57642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643 (exit $ac_status); } &&
57644 { ac_try='test -z "$ac_c_werror_flag"
57645 || test ! -s conftest.err'
57646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647 (eval $ac_try) 2>&5
57648 ac_status=$?
57649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650 (exit $ac_status); }; } &&
57651 { ac_try='test -s conftest$ac_exeext'
57652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57653 (eval $ac_try) 2>&5
57654 ac_status=$?
57655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57656 (exit $ac_status); }; }; then
57657 eval "$as_ac_var=yes"
57658 else
57659 echo "$as_me: failed program was:" >&5
57660 sed 's/^/| /' conftest.$ac_ext >&5
57662 eval "$as_ac_var=no"
57664 rm -f conftest.err conftest.$ac_objext \
57665 conftest$ac_exeext conftest.$ac_ext
57667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57669 if test `eval echo '${'$as_ac_var'}'` = yes; then
57670 cat >>confdefs.h <<_ACEOF
57671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57672 _ACEOF
57675 done
57677 else
57679 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57680 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57681 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57682 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57683 echo $ECHO_N "(cached) $ECHO_C" >&6
57684 else
57688 ac_ext=cc
57689 ac_cpp='$CXXCPP $CPPFLAGS'
57690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57694 cat >conftest.$ac_ext <<_ACEOF
57695 /* confdefs.h. */
57696 _ACEOF
57697 cat confdefs.h >>conftest.$ac_ext
57698 cat >>conftest.$ac_ext <<_ACEOF
57699 /* end confdefs.h. */
57700 #include <math.h>
57701 #ifdef HAVE_IEEEFP_H
57702 #include <ieeefp.h>
57703 #endif
57706 main ()
57708 _isnanf(0);
57710 return 0;
57712 _ACEOF
57713 rm -f conftest.$ac_objext
57714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57715 (eval $ac_compile) 2>conftest.er1
57716 ac_status=$?
57717 grep -v '^ *+' conftest.er1 >conftest.err
57718 rm -f conftest.er1
57719 cat conftest.err >&5
57720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57721 (exit $ac_status); } &&
57722 { ac_try='test -z "$ac_cxx_werror_flag"
57723 || test ! -s conftest.err'
57724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57725 (eval $ac_try) 2>&5
57726 ac_status=$?
57727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57728 (exit $ac_status); }; } &&
57729 { ac_try='test -s conftest.$ac_objext'
57730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57731 (eval $ac_try) 2>&5
57732 ac_status=$?
57733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57734 (exit $ac_status); }; }; then
57735 glibcxx_cv_func__isnanf_use=yes
57736 else
57737 echo "$as_me: failed program was:" >&5
57738 sed 's/^/| /' conftest.$ac_ext >&5
57740 glibcxx_cv_func__isnanf_use=no
57742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57743 ac_ext=c
57744 ac_cpp='$CPP $CPPFLAGS'
57745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57754 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57756 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57758 for ac_func in _isnanf
57760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57761 echo "$as_me:$LINENO: checking for $ac_func" >&5
57762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57763 if eval "test \"\${$as_ac_var+set}\" = set"; then
57764 echo $ECHO_N "(cached) $ECHO_C" >&6
57765 else
57766 if test x$gcc_no_link = xyes; then
57767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57769 { (exit 1); exit 1; }; }
57771 cat >conftest.$ac_ext <<_ACEOF
57772 /* confdefs.h. */
57773 _ACEOF
57774 cat confdefs.h >>conftest.$ac_ext
57775 cat >>conftest.$ac_ext <<_ACEOF
57776 /* end confdefs.h. */
57777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57779 #define $ac_func innocuous_$ac_func
57781 /* System header to define __stub macros and hopefully few prototypes,
57782 which can conflict with char $ac_func (); below.
57783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57784 <limits.h> exists even on freestanding compilers. */
57786 #ifdef __STDC__
57787 # include <limits.h>
57788 #else
57789 # include <assert.h>
57790 #endif
57792 #undef $ac_func
57794 /* Override any gcc2 internal prototype to avoid an error. */
57795 #ifdef __cplusplus
57796 extern "C"
57798 #endif
57799 /* We use char because int might match the return type of a gcc2
57800 builtin and then its argument prototype would still apply. */
57801 char $ac_func ();
57802 /* The GNU C library defines this for functions which it implements
57803 to always fail with ENOSYS. Some functions are actually named
57804 something starting with __ and the normal name is an alias. */
57805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57806 choke me
57807 #else
57808 char (*f) () = $ac_func;
57809 #endif
57810 #ifdef __cplusplus
57812 #endif
57815 main ()
57817 return f != $ac_func;
57819 return 0;
57821 _ACEOF
57822 rm -f conftest.$ac_objext conftest$ac_exeext
57823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57824 (eval $ac_link) 2>conftest.er1
57825 ac_status=$?
57826 grep -v '^ *+' conftest.er1 >conftest.err
57827 rm -f conftest.er1
57828 cat conftest.err >&5
57829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830 (exit $ac_status); } &&
57831 { ac_try='test -z "$ac_c_werror_flag"
57832 || test ! -s conftest.err'
57833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57834 (eval $ac_try) 2>&5
57835 ac_status=$?
57836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57837 (exit $ac_status); }; } &&
57838 { ac_try='test -s conftest$ac_exeext'
57839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840 (eval $ac_try) 2>&5
57841 ac_status=$?
57842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843 (exit $ac_status); }; }; then
57844 eval "$as_ac_var=yes"
57845 else
57846 echo "$as_me: failed program was:" >&5
57847 sed 's/^/| /' conftest.$ac_ext >&5
57849 eval "$as_ac_var=no"
57851 rm -f conftest.err conftest.$ac_objext \
57852 conftest$ac_exeext conftest.$ac_ext
57854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57856 if test `eval echo '${'$as_ac_var'}'` = yes; then
57857 cat >>confdefs.h <<_ACEOF
57858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57859 _ACEOF
57862 done
57869 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57870 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57871 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57872 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57873 echo $ECHO_N "(cached) $ECHO_C" >&6
57874 else
57878 ac_ext=cc
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat >conftest.$ac_ext <<_ACEOF
57885 /* confdefs.h. */
57886 _ACEOF
57887 cat confdefs.h >>conftest.$ac_ext
57888 cat >>conftest.$ac_ext <<_ACEOF
57889 /* end confdefs.h. */
57890 #include <math.h>
57891 #ifdef HAVE_IEEEFP_H
57892 #include <ieeefp.h>
57893 #endif
57896 main ()
57898 isinff(0);
57900 return 0;
57902 _ACEOF
57903 rm -f conftest.$ac_objext
57904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57905 (eval $ac_compile) 2>conftest.er1
57906 ac_status=$?
57907 grep -v '^ *+' conftest.er1 >conftest.err
57908 rm -f conftest.er1
57909 cat conftest.err >&5
57910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57911 (exit $ac_status); } &&
57912 { ac_try='test -z "$ac_cxx_werror_flag"
57913 || test ! -s conftest.err'
57914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57915 (eval $ac_try) 2>&5
57916 ac_status=$?
57917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57918 (exit $ac_status); }; } &&
57919 { ac_try='test -s conftest.$ac_objext'
57920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57921 (eval $ac_try) 2>&5
57922 ac_status=$?
57923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57924 (exit $ac_status); }; }; then
57925 glibcxx_cv_func_isinff_use=yes
57926 else
57927 echo "$as_me: failed program was:" >&5
57928 sed 's/^/| /' conftest.$ac_ext >&5
57930 glibcxx_cv_func_isinff_use=no
57932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57933 ac_ext=c
57934 ac_cpp='$CPP $CPPFLAGS'
57935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57944 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57946 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57948 for ac_func in isinff
57950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57951 echo "$as_me:$LINENO: checking for $ac_func" >&5
57952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57953 if eval "test \"\${$as_ac_var+set}\" = set"; then
57954 echo $ECHO_N "(cached) $ECHO_C" >&6
57955 else
57956 if test x$gcc_no_link = xyes; then
57957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57959 { (exit 1); exit 1; }; }
57961 cat >conftest.$ac_ext <<_ACEOF
57962 /* confdefs.h. */
57963 _ACEOF
57964 cat confdefs.h >>conftest.$ac_ext
57965 cat >>conftest.$ac_ext <<_ACEOF
57966 /* end confdefs.h. */
57967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57969 #define $ac_func innocuous_$ac_func
57971 /* System header to define __stub macros and hopefully few prototypes,
57972 which can conflict with char $ac_func (); below.
57973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57974 <limits.h> exists even on freestanding compilers. */
57976 #ifdef __STDC__
57977 # include <limits.h>
57978 #else
57979 # include <assert.h>
57980 #endif
57982 #undef $ac_func
57984 /* Override any gcc2 internal prototype to avoid an error. */
57985 #ifdef __cplusplus
57986 extern "C"
57988 #endif
57989 /* We use char because int might match the return type of a gcc2
57990 builtin and then its argument prototype would still apply. */
57991 char $ac_func ();
57992 /* The GNU C library defines this for functions which it implements
57993 to always fail with ENOSYS. Some functions are actually named
57994 something starting with __ and the normal name is an alias. */
57995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57996 choke me
57997 #else
57998 char (*f) () = $ac_func;
57999 #endif
58000 #ifdef __cplusplus
58002 #endif
58005 main ()
58007 return f != $ac_func;
58009 return 0;
58011 _ACEOF
58012 rm -f conftest.$ac_objext conftest$ac_exeext
58013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58014 (eval $ac_link) 2>conftest.er1
58015 ac_status=$?
58016 grep -v '^ *+' conftest.er1 >conftest.err
58017 rm -f conftest.er1
58018 cat conftest.err >&5
58019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020 (exit $ac_status); } &&
58021 { ac_try='test -z "$ac_c_werror_flag"
58022 || test ! -s conftest.err'
58023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024 (eval $ac_try) 2>&5
58025 ac_status=$?
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); }; } &&
58028 { ac_try='test -s conftest$ac_exeext'
58029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58030 (eval $ac_try) 2>&5
58031 ac_status=$?
58032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58033 (exit $ac_status); }; }; then
58034 eval "$as_ac_var=yes"
58035 else
58036 echo "$as_me: failed program was:" >&5
58037 sed 's/^/| /' conftest.$ac_ext >&5
58039 eval "$as_ac_var=no"
58041 rm -f conftest.err conftest.$ac_objext \
58042 conftest$ac_exeext conftest.$ac_ext
58044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58046 if test `eval echo '${'$as_ac_var'}'` = yes; then
58047 cat >>confdefs.h <<_ACEOF
58048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58049 _ACEOF
58052 done
58054 else
58056 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58057 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58058 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58059 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58060 echo $ECHO_N "(cached) $ECHO_C" >&6
58061 else
58065 ac_ext=cc
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58071 cat >conftest.$ac_ext <<_ACEOF
58072 /* confdefs.h. */
58073 _ACEOF
58074 cat confdefs.h >>conftest.$ac_ext
58075 cat >>conftest.$ac_ext <<_ACEOF
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 #ifdef HAVE_IEEEFP_H
58079 #include <ieeefp.h>
58080 #endif
58083 main ()
58085 _isinff(0);
58087 return 0;
58089 _ACEOF
58090 rm -f conftest.$ac_objext
58091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58092 (eval $ac_compile) 2>conftest.er1
58093 ac_status=$?
58094 grep -v '^ *+' conftest.er1 >conftest.err
58095 rm -f conftest.er1
58096 cat conftest.err >&5
58097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58098 (exit $ac_status); } &&
58099 { ac_try='test -z "$ac_cxx_werror_flag"
58100 || test ! -s conftest.err'
58101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58102 (eval $ac_try) 2>&5
58103 ac_status=$?
58104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58105 (exit $ac_status); }; } &&
58106 { ac_try='test -s conftest.$ac_objext'
58107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58108 (eval $ac_try) 2>&5
58109 ac_status=$?
58110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111 (exit $ac_status); }; }; then
58112 glibcxx_cv_func__isinff_use=yes
58113 else
58114 echo "$as_me: failed program was:" >&5
58115 sed 's/^/| /' conftest.$ac_ext >&5
58117 glibcxx_cv_func__isinff_use=no
58119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58120 ac_ext=c
58121 ac_cpp='$CPP $CPPFLAGS'
58122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58131 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58133 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58135 for ac_func in _isinff
58137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58138 echo "$as_me:$LINENO: checking for $ac_func" >&5
58139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58140 if eval "test \"\${$as_ac_var+set}\" = set"; then
58141 echo $ECHO_N "(cached) $ECHO_C" >&6
58142 else
58143 if test x$gcc_no_link = xyes; then
58144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58146 { (exit 1); exit 1; }; }
58148 cat >conftest.$ac_ext <<_ACEOF
58149 /* confdefs.h. */
58150 _ACEOF
58151 cat confdefs.h >>conftest.$ac_ext
58152 cat >>conftest.$ac_ext <<_ACEOF
58153 /* end confdefs.h. */
58154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58156 #define $ac_func innocuous_$ac_func
58158 /* System header to define __stub macros and hopefully few prototypes,
58159 which can conflict with char $ac_func (); below.
58160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58161 <limits.h> exists even on freestanding compilers. */
58163 #ifdef __STDC__
58164 # include <limits.h>
58165 #else
58166 # include <assert.h>
58167 #endif
58169 #undef $ac_func
58171 /* Override any gcc2 internal prototype to avoid an error. */
58172 #ifdef __cplusplus
58173 extern "C"
58175 #endif
58176 /* We use char because int might match the return type of a gcc2
58177 builtin and then its argument prototype would still apply. */
58178 char $ac_func ();
58179 /* The GNU C library defines this for functions which it implements
58180 to always fail with ENOSYS. Some functions are actually named
58181 something starting with __ and the normal name is an alias. */
58182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58183 choke me
58184 #else
58185 char (*f) () = $ac_func;
58186 #endif
58187 #ifdef __cplusplus
58189 #endif
58192 main ()
58194 return f != $ac_func;
58196 return 0;
58198 _ACEOF
58199 rm -f conftest.$ac_objext conftest$ac_exeext
58200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58201 (eval $ac_link) 2>conftest.er1
58202 ac_status=$?
58203 grep -v '^ *+' conftest.er1 >conftest.err
58204 rm -f conftest.er1
58205 cat conftest.err >&5
58206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58207 (exit $ac_status); } &&
58208 { ac_try='test -z "$ac_c_werror_flag"
58209 || test ! -s conftest.err'
58210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58211 (eval $ac_try) 2>&5
58212 ac_status=$?
58213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58214 (exit $ac_status); }; } &&
58215 { ac_try='test -s conftest$ac_exeext'
58216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58217 (eval $ac_try) 2>&5
58218 ac_status=$?
58219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58220 (exit $ac_status); }; }; then
58221 eval "$as_ac_var=yes"
58222 else
58223 echo "$as_me: failed program was:" >&5
58224 sed 's/^/| /' conftest.$ac_ext >&5
58226 eval "$as_ac_var=no"
58228 rm -f conftest.err conftest.$ac_objext \
58229 conftest$ac_exeext conftest.$ac_ext
58231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58233 if test `eval echo '${'$as_ac_var'}'` = yes; then
58234 cat >>confdefs.h <<_ACEOF
58235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58236 _ACEOF
58239 done
58246 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58247 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58248 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58249 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58250 echo $ECHO_N "(cached) $ECHO_C" >&6
58251 else
58255 ac_ext=cc
58256 ac_cpp='$CXXCPP $CPPFLAGS'
58257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58261 cat >conftest.$ac_ext <<_ACEOF
58262 /* confdefs.h. */
58263 _ACEOF
58264 cat confdefs.h >>conftest.$ac_ext
58265 cat >>conftest.$ac_ext <<_ACEOF
58266 /* end confdefs.h. */
58267 #include <math.h>
58269 main ()
58271 atan2f(0, 0);
58273 return 0;
58275 _ACEOF
58276 rm -f conftest.$ac_objext
58277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58278 (eval $ac_compile) 2>conftest.er1
58279 ac_status=$?
58280 grep -v '^ *+' conftest.er1 >conftest.err
58281 rm -f conftest.er1
58282 cat conftest.err >&5
58283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58284 (exit $ac_status); } &&
58285 { ac_try='test -z "$ac_cxx_werror_flag"
58286 || test ! -s conftest.err'
58287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58288 (eval $ac_try) 2>&5
58289 ac_status=$?
58290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58291 (exit $ac_status); }; } &&
58292 { ac_try='test -s conftest.$ac_objext'
58293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58294 (eval $ac_try) 2>&5
58295 ac_status=$?
58296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297 (exit $ac_status); }; }; then
58298 glibcxx_cv_func_atan2f_use=yes
58299 else
58300 echo "$as_me: failed program was:" >&5
58301 sed 's/^/| /' conftest.$ac_ext >&5
58303 glibcxx_cv_func_atan2f_use=no
58305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58306 ac_ext=c
58307 ac_cpp='$CPP $CPPFLAGS'
58308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58317 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58319 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58321 for ac_func in atan2f
58323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58324 echo "$as_me:$LINENO: checking for $ac_func" >&5
58325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58326 if eval "test \"\${$as_ac_var+set}\" = set"; then
58327 echo $ECHO_N "(cached) $ECHO_C" >&6
58328 else
58329 if test x$gcc_no_link = xyes; then
58330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58332 { (exit 1); exit 1; }; }
58334 cat >conftest.$ac_ext <<_ACEOF
58335 /* confdefs.h. */
58336 _ACEOF
58337 cat confdefs.h >>conftest.$ac_ext
58338 cat >>conftest.$ac_ext <<_ACEOF
58339 /* end confdefs.h. */
58340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58342 #define $ac_func innocuous_$ac_func
58344 /* System header to define __stub macros and hopefully few prototypes,
58345 which can conflict with char $ac_func (); below.
58346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58347 <limits.h> exists even on freestanding compilers. */
58349 #ifdef __STDC__
58350 # include <limits.h>
58351 #else
58352 # include <assert.h>
58353 #endif
58355 #undef $ac_func
58357 /* Override any gcc2 internal prototype to avoid an error. */
58358 #ifdef __cplusplus
58359 extern "C"
58361 #endif
58362 /* We use char because int might match the return type of a gcc2
58363 builtin and then its argument prototype would still apply. */
58364 char $ac_func ();
58365 /* The GNU C library defines this for functions which it implements
58366 to always fail with ENOSYS. Some functions are actually named
58367 something starting with __ and the normal name is an alias. */
58368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58369 choke me
58370 #else
58371 char (*f) () = $ac_func;
58372 #endif
58373 #ifdef __cplusplus
58375 #endif
58378 main ()
58380 return f != $ac_func;
58382 return 0;
58384 _ACEOF
58385 rm -f conftest.$ac_objext conftest$ac_exeext
58386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58387 (eval $ac_link) 2>conftest.er1
58388 ac_status=$?
58389 grep -v '^ *+' conftest.er1 >conftest.err
58390 rm -f conftest.er1
58391 cat conftest.err >&5
58392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58393 (exit $ac_status); } &&
58394 { ac_try='test -z "$ac_c_werror_flag"
58395 || test ! -s conftest.err'
58396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58397 (eval $ac_try) 2>&5
58398 ac_status=$?
58399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58400 (exit $ac_status); }; } &&
58401 { ac_try='test -s conftest$ac_exeext'
58402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58403 (eval $ac_try) 2>&5
58404 ac_status=$?
58405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58406 (exit $ac_status); }; }; then
58407 eval "$as_ac_var=yes"
58408 else
58409 echo "$as_me: failed program was:" >&5
58410 sed 's/^/| /' conftest.$ac_ext >&5
58412 eval "$as_ac_var=no"
58414 rm -f conftest.err conftest.$ac_objext \
58415 conftest$ac_exeext conftest.$ac_ext
58417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58419 if test `eval echo '${'$as_ac_var'}'` = yes; then
58420 cat >>confdefs.h <<_ACEOF
58421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58422 _ACEOF
58425 done
58427 else
58429 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58430 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58431 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58432 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58433 echo $ECHO_N "(cached) $ECHO_C" >&6
58434 else
58438 ac_ext=cc
58439 ac_cpp='$CXXCPP $CPPFLAGS'
58440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58444 cat >conftest.$ac_ext <<_ACEOF
58445 /* confdefs.h. */
58446 _ACEOF
58447 cat confdefs.h >>conftest.$ac_ext
58448 cat >>conftest.$ac_ext <<_ACEOF
58449 /* end confdefs.h. */
58450 #include <math.h>
58452 main ()
58454 _atan2f(0, 0);
58456 return 0;
58458 _ACEOF
58459 rm -f conftest.$ac_objext
58460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58461 (eval $ac_compile) 2>conftest.er1
58462 ac_status=$?
58463 grep -v '^ *+' conftest.er1 >conftest.err
58464 rm -f conftest.er1
58465 cat conftest.err >&5
58466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467 (exit $ac_status); } &&
58468 { ac_try='test -z "$ac_cxx_werror_flag"
58469 || test ! -s conftest.err'
58470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58471 (eval $ac_try) 2>&5
58472 ac_status=$?
58473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58474 (exit $ac_status); }; } &&
58475 { ac_try='test -s conftest.$ac_objext'
58476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477 (eval $ac_try) 2>&5
58478 ac_status=$?
58479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480 (exit $ac_status); }; }; then
58481 glibcxx_cv_func__atan2f_use=yes
58482 else
58483 echo "$as_me: failed program was:" >&5
58484 sed 's/^/| /' conftest.$ac_ext >&5
58486 glibcxx_cv_func__atan2f_use=no
58488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58489 ac_ext=c
58490 ac_cpp='$CPP $CPPFLAGS'
58491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58500 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58502 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58504 for ac_func in _atan2f
58506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58507 echo "$as_me:$LINENO: checking for $ac_func" >&5
58508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58509 if eval "test \"\${$as_ac_var+set}\" = set"; then
58510 echo $ECHO_N "(cached) $ECHO_C" >&6
58511 else
58512 if test x$gcc_no_link = xyes; then
58513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58515 { (exit 1); exit 1; }; }
58517 cat >conftest.$ac_ext <<_ACEOF
58518 /* confdefs.h. */
58519 _ACEOF
58520 cat confdefs.h >>conftest.$ac_ext
58521 cat >>conftest.$ac_ext <<_ACEOF
58522 /* end confdefs.h. */
58523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58525 #define $ac_func innocuous_$ac_func
58527 /* System header to define __stub macros and hopefully few prototypes,
58528 which can conflict with char $ac_func (); below.
58529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58530 <limits.h> exists even on freestanding compilers. */
58532 #ifdef __STDC__
58533 # include <limits.h>
58534 #else
58535 # include <assert.h>
58536 #endif
58538 #undef $ac_func
58540 /* Override any gcc2 internal prototype to avoid an error. */
58541 #ifdef __cplusplus
58542 extern "C"
58544 #endif
58545 /* We use char because int might match the return type of a gcc2
58546 builtin and then its argument prototype would still apply. */
58547 char $ac_func ();
58548 /* The GNU C library defines this for functions which it implements
58549 to always fail with ENOSYS. Some functions are actually named
58550 something starting with __ and the normal name is an alias. */
58551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58552 choke me
58553 #else
58554 char (*f) () = $ac_func;
58555 #endif
58556 #ifdef __cplusplus
58558 #endif
58561 main ()
58563 return f != $ac_func;
58565 return 0;
58567 _ACEOF
58568 rm -f conftest.$ac_objext conftest$ac_exeext
58569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58570 (eval $ac_link) 2>conftest.er1
58571 ac_status=$?
58572 grep -v '^ *+' conftest.er1 >conftest.err
58573 rm -f conftest.er1
58574 cat conftest.err >&5
58575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58576 (exit $ac_status); } &&
58577 { ac_try='test -z "$ac_c_werror_flag"
58578 || test ! -s conftest.err'
58579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58580 (eval $ac_try) 2>&5
58581 ac_status=$?
58582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58583 (exit $ac_status); }; } &&
58584 { ac_try='test -s conftest$ac_exeext'
58585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58586 (eval $ac_try) 2>&5
58587 ac_status=$?
58588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58589 (exit $ac_status); }; }; then
58590 eval "$as_ac_var=yes"
58591 else
58592 echo "$as_me: failed program was:" >&5
58593 sed 's/^/| /' conftest.$ac_ext >&5
58595 eval "$as_ac_var=no"
58597 rm -f conftest.err conftest.$ac_objext \
58598 conftest$ac_exeext conftest.$ac_ext
58600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58602 if test `eval echo '${'$as_ac_var'}'` = yes; then
58603 cat >>confdefs.h <<_ACEOF
58604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58605 _ACEOF
58608 done
58615 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58616 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58617 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58618 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58619 echo $ECHO_N "(cached) $ECHO_C" >&6
58620 else
58624 ac_ext=cc
58625 ac_cpp='$CXXCPP $CPPFLAGS'
58626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58630 cat >conftest.$ac_ext <<_ACEOF
58631 /* confdefs.h. */
58632 _ACEOF
58633 cat confdefs.h >>conftest.$ac_ext
58634 cat >>conftest.$ac_ext <<_ACEOF
58635 /* end confdefs.h. */
58636 #include <math.h>
58637 #ifdef HAVE_IEEEFP_H
58638 #include <ieeefp.h>
58639 #endif
58642 main ()
58644 fabsf(0);
58646 return 0;
58648 _ACEOF
58649 rm -f conftest.$ac_objext
58650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58651 (eval $ac_compile) 2>conftest.er1
58652 ac_status=$?
58653 grep -v '^ *+' conftest.er1 >conftest.err
58654 rm -f conftest.er1
58655 cat conftest.err >&5
58656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657 (exit $ac_status); } &&
58658 { ac_try='test -z "$ac_cxx_werror_flag"
58659 || test ! -s conftest.err'
58660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58661 (eval $ac_try) 2>&5
58662 ac_status=$?
58663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58664 (exit $ac_status); }; } &&
58665 { ac_try='test -s conftest.$ac_objext'
58666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58667 (eval $ac_try) 2>&5
58668 ac_status=$?
58669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58670 (exit $ac_status); }; }; then
58671 glibcxx_cv_func_fabsf_use=yes
58672 else
58673 echo "$as_me: failed program was:" >&5
58674 sed 's/^/| /' conftest.$ac_ext >&5
58676 glibcxx_cv_func_fabsf_use=no
58678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58679 ac_ext=c
58680 ac_cpp='$CPP $CPPFLAGS'
58681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58690 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58692 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58694 for ac_func in fabsf
58696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58697 echo "$as_me:$LINENO: checking for $ac_func" >&5
58698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58699 if eval "test \"\${$as_ac_var+set}\" = set"; then
58700 echo $ECHO_N "(cached) $ECHO_C" >&6
58701 else
58702 if test x$gcc_no_link = xyes; then
58703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58705 { (exit 1); exit 1; }; }
58707 cat >conftest.$ac_ext <<_ACEOF
58708 /* confdefs.h. */
58709 _ACEOF
58710 cat confdefs.h >>conftest.$ac_ext
58711 cat >>conftest.$ac_ext <<_ACEOF
58712 /* end confdefs.h. */
58713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58715 #define $ac_func innocuous_$ac_func
58717 /* System header to define __stub macros and hopefully few prototypes,
58718 which can conflict with char $ac_func (); below.
58719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58720 <limits.h> exists even on freestanding compilers. */
58722 #ifdef __STDC__
58723 # include <limits.h>
58724 #else
58725 # include <assert.h>
58726 #endif
58728 #undef $ac_func
58730 /* Override any gcc2 internal prototype to avoid an error. */
58731 #ifdef __cplusplus
58732 extern "C"
58734 #endif
58735 /* We use char because int might match the return type of a gcc2
58736 builtin and then its argument prototype would still apply. */
58737 char $ac_func ();
58738 /* The GNU C library defines this for functions which it implements
58739 to always fail with ENOSYS. Some functions are actually named
58740 something starting with __ and the normal name is an alias. */
58741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58742 choke me
58743 #else
58744 char (*f) () = $ac_func;
58745 #endif
58746 #ifdef __cplusplus
58748 #endif
58751 main ()
58753 return f != $ac_func;
58755 return 0;
58757 _ACEOF
58758 rm -f conftest.$ac_objext conftest$ac_exeext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58760 (eval $ac_link) 2>conftest.er1
58761 ac_status=$?
58762 grep -v '^ *+' conftest.er1 >conftest.err
58763 rm -f conftest.er1
58764 cat conftest.err >&5
58765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766 (exit $ac_status); } &&
58767 { ac_try='test -z "$ac_c_werror_flag"
58768 || test ! -s conftest.err'
58769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58770 (eval $ac_try) 2>&5
58771 ac_status=$?
58772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58773 (exit $ac_status); }; } &&
58774 { ac_try='test -s conftest$ac_exeext'
58775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58776 (eval $ac_try) 2>&5
58777 ac_status=$?
58778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58779 (exit $ac_status); }; }; then
58780 eval "$as_ac_var=yes"
58781 else
58782 echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58785 eval "$as_ac_var=no"
58787 rm -f conftest.err conftest.$ac_objext \
58788 conftest$ac_exeext conftest.$ac_ext
58790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58792 if test `eval echo '${'$as_ac_var'}'` = yes; then
58793 cat >>confdefs.h <<_ACEOF
58794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58795 _ACEOF
58798 done
58800 else
58802 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58803 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58805 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58806 echo $ECHO_N "(cached) $ECHO_C" >&6
58807 else
58811 ac_ext=cc
58812 ac_cpp='$CXXCPP $CPPFLAGS'
58813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58817 cat >conftest.$ac_ext <<_ACEOF
58818 /* confdefs.h. */
58819 _ACEOF
58820 cat confdefs.h >>conftest.$ac_ext
58821 cat >>conftest.$ac_ext <<_ACEOF
58822 /* end confdefs.h. */
58823 #include <math.h>
58824 #ifdef HAVE_IEEEFP_H
58825 #include <ieeefp.h>
58826 #endif
58829 main ()
58831 _fabsf(0);
58833 return 0;
58835 _ACEOF
58836 rm -f conftest.$ac_objext
58837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58838 (eval $ac_compile) 2>conftest.er1
58839 ac_status=$?
58840 grep -v '^ *+' conftest.er1 >conftest.err
58841 rm -f conftest.er1
58842 cat conftest.err >&5
58843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58844 (exit $ac_status); } &&
58845 { ac_try='test -z "$ac_cxx_werror_flag"
58846 || test ! -s conftest.err'
58847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58848 (eval $ac_try) 2>&5
58849 ac_status=$?
58850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851 (exit $ac_status); }; } &&
58852 { ac_try='test -s conftest.$ac_objext'
58853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58854 (eval $ac_try) 2>&5
58855 ac_status=$?
58856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58857 (exit $ac_status); }; }; then
58858 glibcxx_cv_func__fabsf_use=yes
58859 else
58860 echo "$as_me: failed program was:" >&5
58861 sed 's/^/| /' conftest.$ac_ext >&5
58863 glibcxx_cv_func__fabsf_use=no
58865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58866 ac_ext=c
58867 ac_cpp='$CPP $CPPFLAGS'
58868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58877 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58879 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58881 for ac_func in _fabsf
58883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58884 echo "$as_me:$LINENO: checking for $ac_func" >&5
58885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58886 if eval "test \"\${$as_ac_var+set}\" = set"; then
58887 echo $ECHO_N "(cached) $ECHO_C" >&6
58888 else
58889 if test x$gcc_no_link = xyes; then
58890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58892 { (exit 1); exit 1; }; }
58894 cat >conftest.$ac_ext <<_ACEOF
58895 /* confdefs.h. */
58896 _ACEOF
58897 cat confdefs.h >>conftest.$ac_ext
58898 cat >>conftest.$ac_ext <<_ACEOF
58899 /* end confdefs.h. */
58900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58902 #define $ac_func innocuous_$ac_func
58904 /* System header to define __stub macros and hopefully few prototypes,
58905 which can conflict with char $ac_func (); below.
58906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58907 <limits.h> exists even on freestanding compilers. */
58909 #ifdef __STDC__
58910 # include <limits.h>
58911 #else
58912 # include <assert.h>
58913 #endif
58915 #undef $ac_func
58917 /* Override any gcc2 internal prototype to avoid an error. */
58918 #ifdef __cplusplus
58919 extern "C"
58921 #endif
58922 /* We use char because int might match the return type of a gcc2
58923 builtin and then its argument prototype would still apply. */
58924 char $ac_func ();
58925 /* The GNU C library defines this for functions which it implements
58926 to always fail with ENOSYS. Some functions are actually named
58927 something starting with __ and the normal name is an alias. */
58928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58929 choke me
58930 #else
58931 char (*f) () = $ac_func;
58932 #endif
58933 #ifdef __cplusplus
58935 #endif
58938 main ()
58940 return f != $ac_func;
58942 return 0;
58944 _ACEOF
58945 rm -f conftest.$ac_objext conftest$ac_exeext
58946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58947 (eval $ac_link) 2>conftest.er1
58948 ac_status=$?
58949 grep -v '^ *+' conftest.er1 >conftest.err
58950 rm -f conftest.er1
58951 cat conftest.err >&5
58952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58953 (exit $ac_status); } &&
58954 { ac_try='test -z "$ac_c_werror_flag"
58955 || test ! -s conftest.err'
58956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58957 (eval $ac_try) 2>&5
58958 ac_status=$?
58959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58960 (exit $ac_status); }; } &&
58961 { ac_try='test -s conftest$ac_exeext'
58962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58963 (eval $ac_try) 2>&5
58964 ac_status=$?
58965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58966 (exit $ac_status); }; }; then
58967 eval "$as_ac_var=yes"
58968 else
58969 echo "$as_me: failed program was:" >&5
58970 sed 's/^/| /' conftest.$ac_ext >&5
58972 eval "$as_ac_var=no"
58974 rm -f conftest.err conftest.$ac_objext \
58975 conftest$ac_exeext conftest.$ac_ext
58977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58979 if test `eval echo '${'$as_ac_var'}'` = yes; then
58980 cat >>confdefs.h <<_ACEOF
58981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58982 _ACEOF
58985 done
58992 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58993 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58994 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58995 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58996 echo $ECHO_N "(cached) $ECHO_C" >&6
58997 else
59001 ac_ext=cc
59002 ac_cpp='$CXXCPP $CPPFLAGS'
59003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59007 cat >conftest.$ac_ext <<_ACEOF
59008 /* confdefs.h. */
59009 _ACEOF
59010 cat confdefs.h >>conftest.$ac_ext
59011 cat >>conftest.$ac_ext <<_ACEOF
59012 /* end confdefs.h. */
59013 #include <math.h>
59015 main ()
59017 fmodf(0, 0);
59019 return 0;
59021 _ACEOF
59022 rm -f conftest.$ac_objext
59023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59024 (eval $ac_compile) 2>conftest.er1
59025 ac_status=$?
59026 grep -v '^ *+' conftest.er1 >conftest.err
59027 rm -f conftest.er1
59028 cat conftest.err >&5
59029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59030 (exit $ac_status); } &&
59031 { ac_try='test -z "$ac_cxx_werror_flag"
59032 || test ! -s conftest.err'
59033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59034 (eval $ac_try) 2>&5
59035 ac_status=$?
59036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59037 (exit $ac_status); }; } &&
59038 { ac_try='test -s conftest.$ac_objext'
59039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59040 (eval $ac_try) 2>&5
59041 ac_status=$?
59042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59043 (exit $ac_status); }; }; then
59044 glibcxx_cv_func_fmodf_use=yes
59045 else
59046 echo "$as_me: failed program was:" >&5
59047 sed 's/^/| /' conftest.$ac_ext >&5
59049 glibcxx_cv_func_fmodf_use=no
59051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59052 ac_ext=c
59053 ac_cpp='$CPP $CPPFLAGS'
59054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59063 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59065 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59067 for ac_func in fmodf
59069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59070 echo "$as_me:$LINENO: checking for $ac_func" >&5
59071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59072 if eval "test \"\${$as_ac_var+set}\" = set"; then
59073 echo $ECHO_N "(cached) $ECHO_C" >&6
59074 else
59075 if test x$gcc_no_link = xyes; then
59076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59078 { (exit 1); exit 1; }; }
59080 cat >conftest.$ac_ext <<_ACEOF
59081 /* confdefs.h. */
59082 _ACEOF
59083 cat confdefs.h >>conftest.$ac_ext
59084 cat >>conftest.$ac_ext <<_ACEOF
59085 /* end confdefs.h. */
59086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59088 #define $ac_func innocuous_$ac_func
59090 /* System header to define __stub macros and hopefully few prototypes,
59091 which can conflict with char $ac_func (); below.
59092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59093 <limits.h> exists even on freestanding compilers. */
59095 #ifdef __STDC__
59096 # include <limits.h>
59097 #else
59098 # include <assert.h>
59099 #endif
59101 #undef $ac_func
59103 /* Override any gcc2 internal prototype to avoid an error. */
59104 #ifdef __cplusplus
59105 extern "C"
59107 #endif
59108 /* We use char because int might match the return type of a gcc2
59109 builtin and then its argument prototype would still apply. */
59110 char $ac_func ();
59111 /* The GNU C library defines this for functions which it implements
59112 to always fail with ENOSYS. Some functions are actually named
59113 something starting with __ and the normal name is an alias. */
59114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59115 choke me
59116 #else
59117 char (*f) () = $ac_func;
59118 #endif
59119 #ifdef __cplusplus
59121 #endif
59124 main ()
59126 return f != $ac_func;
59128 return 0;
59130 _ACEOF
59131 rm -f conftest.$ac_objext conftest$ac_exeext
59132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59133 (eval $ac_link) 2>conftest.er1
59134 ac_status=$?
59135 grep -v '^ *+' conftest.er1 >conftest.err
59136 rm -f conftest.er1
59137 cat conftest.err >&5
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); } &&
59140 { ac_try='test -z "$ac_c_werror_flag"
59141 || test ! -s conftest.err'
59142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59143 (eval $ac_try) 2>&5
59144 ac_status=$?
59145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146 (exit $ac_status); }; } &&
59147 { ac_try='test -s conftest$ac_exeext'
59148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59149 (eval $ac_try) 2>&5
59150 ac_status=$?
59151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59152 (exit $ac_status); }; }; then
59153 eval "$as_ac_var=yes"
59154 else
59155 echo "$as_me: failed program was:" >&5
59156 sed 's/^/| /' conftest.$ac_ext >&5
59158 eval "$as_ac_var=no"
59160 rm -f conftest.err conftest.$ac_objext \
59161 conftest$ac_exeext conftest.$ac_ext
59163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59165 if test `eval echo '${'$as_ac_var'}'` = yes; then
59166 cat >>confdefs.h <<_ACEOF
59167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59168 _ACEOF
59171 done
59173 else
59175 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59176 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59177 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59178 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59179 echo $ECHO_N "(cached) $ECHO_C" >&6
59180 else
59184 ac_ext=cc
59185 ac_cpp='$CXXCPP $CPPFLAGS'
59186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59190 cat >conftest.$ac_ext <<_ACEOF
59191 /* confdefs.h. */
59192 _ACEOF
59193 cat confdefs.h >>conftest.$ac_ext
59194 cat >>conftest.$ac_ext <<_ACEOF
59195 /* end confdefs.h. */
59196 #include <math.h>
59198 main ()
59200 _fmodf(0, 0);
59202 return 0;
59204 _ACEOF
59205 rm -f conftest.$ac_objext
59206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59207 (eval $ac_compile) 2>conftest.er1
59208 ac_status=$?
59209 grep -v '^ *+' conftest.er1 >conftest.err
59210 rm -f conftest.er1
59211 cat conftest.err >&5
59212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213 (exit $ac_status); } &&
59214 { ac_try='test -z "$ac_cxx_werror_flag"
59215 || test ! -s conftest.err'
59216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59217 (eval $ac_try) 2>&5
59218 ac_status=$?
59219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59220 (exit $ac_status); }; } &&
59221 { ac_try='test -s conftest.$ac_objext'
59222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59223 (eval $ac_try) 2>&5
59224 ac_status=$?
59225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59226 (exit $ac_status); }; }; then
59227 glibcxx_cv_func__fmodf_use=yes
59228 else
59229 echo "$as_me: failed program was:" >&5
59230 sed 's/^/| /' conftest.$ac_ext >&5
59232 glibcxx_cv_func__fmodf_use=no
59234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59246 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59248 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59250 for ac_func in _fmodf
59252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59253 echo "$as_me:$LINENO: checking for $ac_func" >&5
59254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59255 if eval "test \"\${$as_ac_var+set}\" = set"; then
59256 echo $ECHO_N "(cached) $ECHO_C" >&6
59257 else
59258 if test x$gcc_no_link = xyes; then
59259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59261 { (exit 1); exit 1; }; }
59263 cat >conftest.$ac_ext <<_ACEOF
59264 /* confdefs.h. */
59265 _ACEOF
59266 cat confdefs.h >>conftest.$ac_ext
59267 cat >>conftest.$ac_ext <<_ACEOF
59268 /* end confdefs.h. */
59269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59271 #define $ac_func innocuous_$ac_func
59273 /* System header to define __stub macros and hopefully few prototypes,
59274 which can conflict with char $ac_func (); below.
59275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59276 <limits.h> exists even on freestanding compilers. */
59278 #ifdef __STDC__
59279 # include <limits.h>
59280 #else
59281 # include <assert.h>
59282 #endif
59284 #undef $ac_func
59286 /* Override any gcc2 internal prototype to avoid an error. */
59287 #ifdef __cplusplus
59288 extern "C"
59290 #endif
59291 /* We use char because int might match the return type of a gcc2
59292 builtin and then its argument prototype would still apply. */
59293 char $ac_func ();
59294 /* The GNU C library defines this for functions which it implements
59295 to always fail with ENOSYS. Some functions are actually named
59296 something starting with __ and the normal name is an alias. */
59297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59298 choke me
59299 #else
59300 char (*f) () = $ac_func;
59301 #endif
59302 #ifdef __cplusplus
59304 #endif
59307 main ()
59309 return f != $ac_func;
59311 return 0;
59313 _ACEOF
59314 rm -f conftest.$ac_objext conftest$ac_exeext
59315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59316 (eval $ac_link) 2>conftest.er1
59317 ac_status=$?
59318 grep -v '^ *+' conftest.er1 >conftest.err
59319 rm -f conftest.er1
59320 cat conftest.err >&5
59321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322 (exit $ac_status); } &&
59323 { ac_try='test -z "$ac_c_werror_flag"
59324 || test ! -s conftest.err'
59325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59326 (eval $ac_try) 2>&5
59327 ac_status=$?
59328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59329 (exit $ac_status); }; } &&
59330 { ac_try='test -s conftest$ac_exeext'
59331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59332 (eval $ac_try) 2>&5
59333 ac_status=$?
59334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59335 (exit $ac_status); }; }; then
59336 eval "$as_ac_var=yes"
59337 else
59338 echo "$as_me: failed program was:" >&5
59339 sed 's/^/| /' conftest.$ac_ext >&5
59341 eval "$as_ac_var=no"
59343 rm -f conftest.err conftest.$ac_objext \
59344 conftest$ac_exeext conftest.$ac_ext
59346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59348 if test `eval echo '${'$as_ac_var'}'` = yes; then
59349 cat >>confdefs.h <<_ACEOF
59350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59351 _ACEOF
59354 done
59361 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59362 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59363 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59364 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59365 echo $ECHO_N "(cached) $ECHO_C" >&6
59366 else
59370 ac_ext=cc
59371 ac_cpp='$CXXCPP $CPPFLAGS'
59372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59376 cat >conftest.$ac_ext <<_ACEOF
59377 /* confdefs.h. */
59378 _ACEOF
59379 cat confdefs.h >>conftest.$ac_ext
59380 cat >>conftest.$ac_ext <<_ACEOF
59381 /* end confdefs.h. */
59382 #include <math.h>
59384 main ()
59386 frexpf(0, 0);
59388 return 0;
59390 _ACEOF
59391 rm -f conftest.$ac_objext
59392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59393 (eval $ac_compile) 2>conftest.er1
59394 ac_status=$?
59395 grep -v '^ *+' conftest.er1 >conftest.err
59396 rm -f conftest.er1
59397 cat conftest.err >&5
59398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59399 (exit $ac_status); } &&
59400 { ac_try='test -z "$ac_cxx_werror_flag"
59401 || test ! -s conftest.err'
59402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403 (eval $ac_try) 2>&5
59404 ac_status=$?
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); }; } &&
59407 { ac_try='test -s conftest.$ac_objext'
59408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409 (eval $ac_try) 2>&5
59410 ac_status=$?
59411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412 (exit $ac_status); }; }; then
59413 glibcxx_cv_func_frexpf_use=yes
59414 else
59415 echo "$as_me: failed program was:" >&5
59416 sed 's/^/| /' conftest.$ac_ext >&5
59418 glibcxx_cv_func_frexpf_use=no
59420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59421 ac_ext=c
59422 ac_cpp='$CPP $CPPFLAGS'
59423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59432 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59434 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59436 for ac_func in frexpf
59438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59439 echo "$as_me:$LINENO: checking for $ac_func" >&5
59440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59441 if eval "test \"\${$as_ac_var+set}\" = set"; then
59442 echo $ECHO_N "(cached) $ECHO_C" >&6
59443 else
59444 if test x$gcc_no_link = xyes; then
59445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59447 { (exit 1); exit 1; }; }
59449 cat >conftest.$ac_ext <<_ACEOF
59450 /* confdefs.h. */
59451 _ACEOF
59452 cat confdefs.h >>conftest.$ac_ext
59453 cat >>conftest.$ac_ext <<_ACEOF
59454 /* end confdefs.h. */
59455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59457 #define $ac_func innocuous_$ac_func
59459 /* System header to define __stub macros and hopefully few prototypes,
59460 which can conflict with char $ac_func (); below.
59461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59462 <limits.h> exists even on freestanding compilers. */
59464 #ifdef __STDC__
59465 # include <limits.h>
59466 #else
59467 # include <assert.h>
59468 #endif
59470 #undef $ac_func
59472 /* Override any gcc2 internal prototype to avoid an error. */
59473 #ifdef __cplusplus
59474 extern "C"
59476 #endif
59477 /* We use char because int might match the return type of a gcc2
59478 builtin and then its argument prototype would still apply. */
59479 char $ac_func ();
59480 /* The GNU C library defines this for functions which it implements
59481 to always fail with ENOSYS. Some functions are actually named
59482 something starting with __ and the normal name is an alias. */
59483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59484 choke me
59485 #else
59486 char (*f) () = $ac_func;
59487 #endif
59488 #ifdef __cplusplus
59490 #endif
59493 main ()
59495 return f != $ac_func;
59497 return 0;
59499 _ACEOF
59500 rm -f conftest.$ac_objext conftest$ac_exeext
59501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59502 (eval $ac_link) 2>conftest.er1
59503 ac_status=$?
59504 grep -v '^ *+' conftest.er1 >conftest.err
59505 rm -f conftest.er1
59506 cat conftest.err >&5
59507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508 (exit $ac_status); } &&
59509 { ac_try='test -z "$ac_c_werror_flag"
59510 || test ! -s conftest.err'
59511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512 (eval $ac_try) 2>&5
59513 ac_status=$?
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); }; } &&
59516 { ac_try='test -s conftest$ac_exeext'
59517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59518 (eval $ac_try) 2>&5
59519 ac_status=$?
59520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59521 (exit $ac_status); }; }; then
59522 eval "$as_ac_var=yes"
59523 else
59524 echo "$as_me: failed program was:" >&5
59525 sed 's/^/| /' conftest.$ac_ext >&5
59527 eval "$as_ac_var=no"
59529 rm -f conftest.err conftest.$ac_objext \
59530 conftest$ac_exeext conftest.$ac_ext
59532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59534 if test `eval echo '${'$as_ac_var'}'` = yes; then
59535 cat >>confdefs.h <<_ACEOF
59536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59537 _ACEOF
59540 done
59542 else
59544 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59545 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59546 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59547 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59548 echo $ECHO_N "(cached) $ECHO_C" >&6
59549 else
59553 ac_ext=cc
59554 ac_cpp='$CXXCPP $CPPFLAGS'
59555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59559 cat >conftest.$ac_ext <<_ACEOF
59560 /* confdefs.h. */
59561 _ACEOF
59562 cat confdefs.h >>conftest.$ac_ext
59563 cat >>conftest.$ac_ext <<_ACEOF
59564 /* end confdefs.h. */
59565 #include <math.h>
59567 main ()
59569 _frexpf(0, 0);
59571 return 0;
59573 _ACEOF
59574 rm -f conftest.$ac_objext
59575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59576 (eval $ac_compile) 2>conftest.er1
59577 ac_status=$?
59578 grep -v '^ *+' conftest.er1 >conftest.err
59579 rm -f conftest.er1
59580 cat conftest.err >&5
59581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59582 (exit $ac_status); } &&
59583 { ac_try='test -z "$ac_cxx_werror_flag"
59584 || test ! -s conftest.err'
59585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59586 (eval $ac_try) 2>&5
59587 ac_status=$?
59588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59589 (exit $ac_status); }; } &&
59590 { ac_try='test -s conftest.$ac_objext'
59591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59592 (eval $ac_try) 2>&5
59593 ac_status=$?
59594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59595 (exit $ac_status); }; }; then
59596 glibcxx_cv_func__frexpf_use=yes
59597 else
59598 echo "$as_me: failed program was:" >&5
59599 sed 's/^/| /' conftest.$ac_ext >&5
59601 glibcxx_cv_func__frexpf_use=no
59603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59604 ac_ext=c
59605 ac_cpp='$CPP $CPPFLAGS'
59606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59615 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59617 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59619 for ac_func in _frexpf
59621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59622 echo "$as_me:$LINENO: checking for $ac_func" >&5
59623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59624 if eval "test \"\${$as_ac_var+set}\" = set"; then
59625 echo $ECHO_N "(cached) $ECHO_C" >&6
59626 else
59627 if test x$gcc_no_link = xyes; then
59628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59630 { (exit 1); exit 1; }; }
59632 cat >conftest.$ac_ext <<_ACEOF
59633 /* confdefs.h. */
59634 _ACEOF
59635 cat confdefs.h >>conftest.$ac_ext
59636 cat >>conftest.$ac_ext <<_ACEOF
59637 /* end confdefs.h. */
59638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59640 #define $ac_func innocuous_$ac_func
59642 /* System header to define __stub macros and hopefully few prototypes,
59643 which can conflict with char $ac_func (); below.
59644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59645 <limits.h> exists even on freestanding compilers. */
59647 #ifdef __STDC__
59648 # include <limits.h>
59649 #else
59650 # include <assert.h>
59651 #endif
59653 #undef $ac_func
59655 /* Override any gcc2 internal prototype to avoid an error. */
59656 #ifdef __cplusplus
59657 extern "C"
59659 #endif
59660 /* We use char because int might match the return type of a gcc2
59661 builtin and then its argument prototype would still apply. */
59662 char $ac_func ();
59663 /* The GNU C library defines this for functions which it implements
59664 to always fail with ENOSYS. Some functions are actually named
59665 something starting with __ and the normal name is an alias. */
59666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59667 choke me
59668 #else
59669 char (*f) () = $ac_func;
59670 #endif
59671 #ifdef __cplusplus
59673 #endif
59676 main ()
59678 return f != $ac_func;
59680 return 0;
59682 _ACEOF
59683 rm -f conftest.$ac_objext conftest$ac_exeext
59684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59685 (eval $ac_link) 2>conftest.er1
59686 ac_status=$?
59687 grep -v '^ *+' conftest.er1 >conftest.err
59688 rm -f conftest.er1
59689 cat conftest.err >&5
59690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59691 (exit $ac_status); } &&
59692 { ac_try='test -z "$ac_c_werror_flag"
59693 || test ! -s conftest.err'
59694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59695 (eval $ac_try) 2>&5
59696 ac_status=$?
59697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59698 (exit $ac_status); }; } &&
59699 { ac_try='test -s conftest$ac_exeext'
59700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59701 (eval $ac_try) 2>&5
59702 ac_status=$?
59703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59704 (exit $ac_status); }; }; then
59705 eval "$as_ac_var=yes"
59706 else
59707 echo "$as_me: failed program was:" >&5
59708 sed 's/^/| /' conftest.$ac_ext >&5
59710 eval "$as_ac_var=no"
59712 rm -f conftest.err conftest.$ac_objext \
59713 conftest$ac_exeext conftest.$ac_ext
59715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59717 if test `eval echo '${'$as_ac_var'}'` = yes; then
59718 cat >>confdefs.h <<_ACEOF
59719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59720 _ACEOF
59723 done
59730 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59731 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59732 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59733 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59734 echo $ECHO_N "(cached) $ECHO_C" >&6
59735 else
59739 ac_ext=cc
59740 ac_cpp='$CXXCPP $CPPFLAGS'
59741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745 cat >conftest.$ac_ext <<_ACEOF
59746 /* confdefs.h. */
59747 _ACEOF
59748 cat confdefs.h >>conftest.$ac_ext
59749 cat >>conftest.$ac_ext <<_ACEOF
59750 /* end confdefs.h. */
59751 #include <math.h>
59753 main ()
59755 hypotf(0, 0);
59757 return 0;
59759 _ACEOF
59760 rm -f conftest.$ac_objext
59761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59762 (eval $ac_compile) 2>conftest.er1
59763 ac_status=$?
59764 grep -v '^ *+' conftest.er1 >conftest.err
59765 rm -f conftest.er1
59766 cat conftest.err >&5
59767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59768 (exit $ac_status); } &&
59769 { ac_try='test -z "$ac_cxx_werror_flag"
59770 || test ! -s conftest.err'
59771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59772 (eval $ac_try) 2>&5
59773 ac_status=$?
59774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59775 (exit $ac_status); }; } &&
59776 { ac_try='test -s conftest.$ac_objext'
59777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59778 (eval $ac_try) 2>&5
59779 ac_status=$?
59780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59781 (exit $ac_status); }; }; then
59782 glibcxx_cv_func_hypotf_use=yes
59783 else
59784 echo "$as_me: failed program was:" >&5
59785 sed 's/^/| /' conftest.$ac_ext >&5
59787 glibcxx_cv_func_hypotf_use=no
59789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59790 ac_ext=c
59791 ac_cpp='$CPP $CPPFLAGS'
59792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59801 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59803 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59805 for ac_func in hypotf
59807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59808 echo "$as_me:$LINENO: checking for $ac_func" >&5
59809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59810 if eval "test \"\${$as_ac_var+set}\" = set"; then
59811 echo $ECHO_N "(cached) $ECHO_C" >&6
59812 else
59813 if test x$gcc_no_link = xyes; then
59814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59816 { (exit 1); exit 1; }; }
59818 cat >conftest.$ac_ext <<_ACEOF
59819 /* confdefs.h. */
59820 _ACEOF
59821 cat confdefs.h >>conftest.$ac_ext
59822 cat >>conftest.$ac_ext <<_ACEOF
59823 /* end confdefs.h. */
59824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59826 #define $ac_func innocuous_$ac_func
59828 /* System header to define __stub macros and hopefully few prototypes,
59829 which can conflict with char $ac_func (); below.
59830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59831 <limits.h> exists even on freestanding compilers. */
59833 #ifdef __STDC__
59834 # include <limits.h>
59835 #else
59836 # include <assert.h>
59837 #endif
59839 #undef $ac_func
59841 /* Override any gcc2 internal prototype to avoid an error. */
59842 #ifdef __cplusplus
59843 extern "C"
59845 #endif
59846 /* We use char because int might match the return type of a gcc2
59847 builtin and then its argument prototype would still apply. */
59848 char $ac_func ();
59849 /* The GNU C library defines this for functions which it implements
59850 to always fail with ENOSYS. Some functions are actually named
59851 something starting with __ and the normal name is an alias. */
59852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59853 choke me
59854 #else
59855 char (*f) () = $ac_func;
59856 #endif
59857 #ifdef __cplusplus
59859 #endif
59862 main ()
59864 return f != $ac_func;
59866 return 0;
59868 _ACEOF
59869 rm -f conftest.$ac_objext conftest$ac_exeext
59870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59871 (eval $ac_link) 2>conftest.er1
59872 ac_status=$?
59873 grep -v '^ *+' conftest.er1 >conftest.err
59874 rm -f conftest.er1
59875 cat conftest.err >&5
59876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59877 (exit $ac_status); } &&
59878 { ac_try='test -z "$ac_c_werror_flag"
59879 || test ! -s conftest.err'
59880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59881 (eval $ac_try) 2>&5
59882 ac_status=$?
59883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59884 (exit $ac_status); }; } &&
59885 { ac_try='test -s conftest$ac_exeext'
59886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59887 (eval $ac_try) 2>&5
59888 ac_status=$?
59889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59890 (exit $ac_status); }; }; then
59891 eval "$as_ac_var=yes"
59892 else
59893 echo "$as_me: failed program was:" >&5
59894 sed 's/^/| /' conftest.$ac_ext >&5
59896 eval "$as_ac_var=no"
59898 rm -f conftest.err conftest.$ac_objext \
59899 conftest$ac_exeext conftest.$ac_ext
59901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59903 if test `eval echo '${'$as_ac_var'}'` = yes; then
59904 cat >>confdefs.h <<_ACEOF
59905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59906 _ACEOF
59909 done
59911 else
59913 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59914 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59915 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59916 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59917 echo $ECHO_N "(cached) $ECHO_C" >&6
59918 else
59922 ac_ext=cc
59923 ac_cpp='$CXXCPP $CPPFLAGS'
59924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928 cat >conftest.$ac_ext <<_ACEOF
59929 /* confdefs.h. */
59930 _ACEOF
59931 cat confdefs.h >>conftest.$ac_ext
59932 cat >>conftest.$ac_ext <<_ACEOF
59933 /* end confdefs.h. */
59934 #include <math.h>
59936 main ()
59938 _hypotf(0, 0);
59940 return 0;
59942 _ACEOF
59943 rm -f conftest.$ac_objext
59944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59945 (eval $ac_compile) 2>conftest.er1
59946 ac_status=$?
59947 grep -v '^ *+' conftest.er1 >conftest.err
59948 rm -f conftest.er1
59949 cat conftest.err >&5
59950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59951 (exit $ac_status); } &&
59952 { ac_try='test -z "$ac_cxx_werror_flag"
59953 || test ! -s conftest.err'
59954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59955 (eval $ac_try) 2>&5
59956 ac_status=$?
59957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59958 (exit $ac_status); }; } &&
59959 { ac_try='test -s conftest.$ac_objext'
59960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59961 (eval $ac_try) 2>&5
59962 ac_status=$?
59963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59964 (exit $ac_status); }; }; then
59965 glibcxx_cv_func__hypotf_use=yes
59966 else
59967 echo "$as_me: failed program was:" >&5
59968 sed 's/^/| /' conftest.$ac_ext >&5
59970 glibcxx_cv_func__hypotf_use=no
59972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59973 ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59984 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59986 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59988 for ac_func in _hypotf
59990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59991 echo "$as_me:$LINENO: checking for $ac_func" >&5
59992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59993 if eval "test \"\${$as_ac_var+set}\" = set"; then
59994 echo $ECHO_N "(cached) $ECHO_C" >&6
59995 else
59996 if test x$gcc_no_link = xyes; then
59997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59999 { (exit 1); exit 1; }; }
60001 cat >conftest.$ac_ext <<_ACEOF
60002 /* confdefs.h. */
60003 _ACEOF
60004 cat confdefs.h >>conftest.$ac_ext
60005 cat >>conftest.$ac_ext <<_ACEOF
60006 /* end confdefs.h. */
60007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60009 #define $ac_func innocuous_$ac_func
60011 /* System header to define __stub macros and hopefully few prototypes,
60012 which can conflict with char $ac_func (); below.
60013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60014 <limits.h> exists even on freestanding compilers. */
60016 #ifdef __STDC__
60017 # include <limits.h>
60018 #else
60019 # include <assert.h>
60020 #endif
60022 #undef $ac_func
60024 /* Override any gcc2 internal prototype to avoid an error. */
60025 #ifdef __cplusplus
60026 extern "C"
60028 #endif
60029 /* We use char because int might match the return type of a gcc2
60030 builtin and then its argument prototype would still apply. */
60031 char $ac_func ();
60032 /* The GNU C library defines this for functions which it implements
60033 to always fail with ENOSYS. Some functions are actually named
60034 something starting with __ and the normal name is an alias. */
60035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60036 choke me
60037 #else
60038 char (*f) () = $ac_func;
60039 #endif
60040 #ifdef __cplusplus
60042 #endif
60045 main ()
60047 return f != $ac_func;
60049 return 0;
60051 _ACEOF
60052 rm -f conftest.$ac_objext conftest$ac_exeext
60053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60054 (eval $ac_link) 2>conftest.er1
60055 ac_status=$?
60056 grep -v '^ *+' conftest.er1 >conftest.err
60057 rm -f conftest.er1
60058 cat conftest.err >&5
60059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60060 (exit $ac_status); } &&
60061 { ac_try='test -z "$ac_c_werror_flag"
60062 || test ! -s conftest.err'
60063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60064 (eval $ac_try) 2>&5
60065 ac_status=$?
60066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60067 (exit $ac_status); }; } &&
60068 { ac_try='test -s conftest$ac_exeext'
60069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60070 (eval $ac_try) 2>&5
60071 ac_status=$?
60072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60073 (exit $ac_status); }; }; then
60074 eval "$as_ac_var=yes"
60075 else
60076 echo "$as_me: failed program was:" >&5
60077 sed 's/^/| /' conftest.$ac_ext >&5
60079 eval "$as_ac_var=no"
60081 rm -f conftest.err conftest.$ac_objext \
60082 conftest$ac_exeext conftest.$ac_ext
60084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60086 if test `eval echo '${'$as_ac_var'}'` = yes; then
60087 cat >>confdefs.h <<_ACEOF
60088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60089 _ACEOF
60092 done
60099 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60100 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60101 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60102 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60103 echo $ECHO_N "(cached) $ECHO_C" >&6
60104 else
60108 ac_ext=cc
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60114 cat >conftest.$ac_ext <<_ACEOF
60115 /* confdefs.h. */
60116 _ACEOF
60117 cat confdefs.h >>conftest.$ac_ext
60118 cat >>conftest.$ac_ext <<_ACEOF
60119 /* end confdefs.h. */
60120 #include <math.h>
60122 main ()
60124 ldexpf(0, 0);
60126 return 0;
60128 _ACEOF
60129 rm -f conftest.$ac_objext
60130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60131 (eval $ac_compile) 2>conftest.er1
60132 ac_status=$?
60133 grep -v '^ *+' conftest.er1 >conftest.err
60134 rm -f conftest.er1
60135 cat conftest.err >&5
60136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137 (exit $ac_status); } &&
60138 { ac_try='test -z "$ac_cxx_werror_flag"
60139 || test ! -s conftest.err'
60140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60141 (eval $ac_try) 2>&5
60142 ac_status=$?
60143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60144 (exit $ac_status); }; } &&
60145 { ac_try='test -s conftest.$ac_objext'
60146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60147 (eval $ac_try) 2>&5
60148 ac_status=$?
60149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60150 (exit $ac_status); }; }; then
60151 glibcxx_cv_func_ldexpf_use=yes
60152 else
60153 echo "$as_me: failed program was:" >&5
60154 sed 's/^/| /' conftest.$ac_ext >&5
60156 glibcxx_cv_func_ldexpf_use=no
60158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60159 ac_ext=c
60160 ac_cpp='$CPP $CPPFLAGS'
60161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60170 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60172 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60174 for ac_func in ldexpf
60176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60177 echo "$as_me:$LINENO: checking for $ac_func" >&5
60178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60179 if eval "test \"\${$as_ac_var+set}\" = set"; then
60180 echo $ECHO_N "(cached) $ECHO_C" >&6
60181 else
60182 if test x$gcc_no_link = xyes; then
60183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60185 { (exit 1); exit 1; }; }
60187 cat >conftest.$ac_ext <<_ACEOF
60188 /* confdefs.h. */
60189 _ACEOF
60190 cat confdefs.h >>conftest.$ac_ext
60191 cat >>conftest.$ac_ext <<_ACEOF
60192 /* end confdefs.h. */
60193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60195 #define $ac_func innocuous_$ac_func
60197 /* System header to define __stub macros and hopefully few prototypes,
60198 which can conflict with char $ac_func (); below.
60199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60200 <limits.h> exists even on freestanding compilers. */
60202 #ifdef __STDC__
60203 # include <limits.h>
60204 #else
60205 # include <assert.h>
60206 #endif
60208 #undef $ac_func
60210 /* Override any gcc2 internal prototype to avoid an error. */
60211 #ifdef __cplusplus
60212 extern "C"
60214 #endif
60215 /* We use char because int might match the return type of a gcc2
60216 builtin and then its argument prototype would still apply. */
60217 char $ac_func ();
60218 /* The GNU C library defines this for functions which it implements
60219 to always fail with ENOSYS. Some functions are actually named
60220 something starting with __ and the normal name is an alias. */
60221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60222 choke me
60223 #else
60224 char (*f) () = $ac_func;
60225 #endif
60226 #ifdef __cplusplus
60228 #endif
60231 main ()
60233 return f != $ac_func;
60235 return 0;
60237 _ACEOF
60238 rm -f conftest.$ac_objext conftest$ac_exeext
60239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60240 (eval $ac_link) 2>conftest.er1
60241 ac_status=$?
60242 grep -v '^ *+' conftest.er1 >conftest.err
60243 rm -f conftest.er1
60244 cat conftest.err >&5
60245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246 (exit $ac_status); } &&
60247 { ac_try='test -z "$ac_c_werror_flag"
60248 || test ! -s conftest.err'
60249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60250 (eval $ac_try) 2>&5
60251 ac_status=$?
60252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60253 (exit $ac_status); }; } &&
60254 { ac_try='test -s conftest$ac_exeext'
60255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60256 (eval $ac_try) 2>&5
60257 ac_status=$?
60258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60259 (exit $ac_status); }; }; then
60260 eval "$as_ac_var=yes"
60261 else
60262 echo "$as_me: failed program was:" >&5
60263 sed 's/^/| /' conftest.$ac_ext >&5
60265 eval "$as_ac_var=no"
60267 rm -f conftest.err conftest.$ac_objext \
60268 conftest$ac_exeext conftest.$ac_ext
60270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60272 if test `eval echo '${'$as_ac_var'}'` = yes; then
60273 cat >>confdefs.h <<_ACEOF
60274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60275 _ACEOF
60278 done
60280 else
60282 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60283 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60284 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60285 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60286 echo $ECHO_N "(cached) $ECHO_C" >&6
60287 else
60291 ac_ext=cc
60292 ac_cpp='$CXXCPP $CPPFLAGS'
60293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60297 cat >conftest.$ac_ext <<_ACEOF
60298 /* confdefs.h. */
60299 _ACEOF
60300 cat confdefs.h >>conftest.$ac_ext
60301 cat >>conftest.$ac_ext <<_ACEOF
60302 /* end confdefs.h. */
60303 #include <math.h>
60305 main ()
60307 _ldexpf(0, 0);
60309 return 0;
60311 _ACEOF
60312 rm -f conftest.$ac_objext
60313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60314 (eval $ac_compile) 2>conftest.er1
60315 ac_status=$?
60316 grep -v '^ *+' conftest.er1 >conftest.err
60317 rm -f conftest.er1
60318 cat conftest.err >&5
60319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60320 (exit $ac_status); } &&
60321 { ac_try='test -z "$ac_cxx_werror_flag"
60322 || test ! -s conftest.err'
60323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60324 (eval $ac_try) 2>&5
60325 ac_status=$?
60326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60327 (exit $ac_status); }; } &&
60328 { ac_try='test -s conftest.$ac_objext'
60329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60330 (eval $ac_try) 2>&5
60331 ac_status=$?
60332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60333 (exit $ac_status); }; }; then
60334 glibcxx_cv_func__ldexpf_use=yes
60335 else
60336 echo "$as_me: failed program was:" >&5
60337 sed 's/^/| /' conftest.$ac_ext >&5
60339 glibcxx_cv_func__ldexpf_use=no
60341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60342 ac_ext=c
60343 ac_cpp='$CPP $CPPFLAGS'
60344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60353 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60355 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60357 for ac_func in _ldexpf
60359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60360 echo "$as_me:$LINENO: checking for $ac_func" >&5
60361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60362 if eval "test \"\${$as_ac_var+set}\" = set"; then
60363 echo $ECHO_N "(cached) $ECHO_C" >&6
60364 else
60365 if test x$gcc_no_link = xyes; then
60366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60368 { (exit 1); exit 1; }; }
60370 cat >conftest.$ac_ext <<_ACEOF
60371 /* confdefs.h. */
60372 _ACEOF
60373 cat confdefs.h >>conftest.$ac_ext
60374 cat >>conftest.$ac_ext <<_ACEOF
60375 /* end confdefs.h. */
60376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60378 #define $ac_func innocuous_$ac_func
60380 /* System header to define __stub macros and hopefully few prototypes,
60381 which can conflict with char $ac_func (); below.
60382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60383 <limits.h> exists even on freestanding compilers. */
60385 #ifdef __STDC__
60386 # include <limits.h>
60387 #else
60388 # include <assert.h>
60389 #endif
60391 #undef $ac_func
60393 /* Override any gcc2 internal prototype to avoid an error. */
60394 #ifdef __cplusplus
60395 extern "C"
60397 #endif
60398 /* We use char because int might match the return type of a gcc2
60399 builtin and then its argument prototype would still apply. */
60400 char $ac_func ();
60401 /* The GNU C library defines this for functions which it implements
60402 to always fail with ENOSYS. Some functions are actually named
60403 something starting with __ and the normal name is an alias. */
60404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60405 choke me
60406 #else
60407 char (*f) () = $ac_func;
60408 #endif
60409 #ifdef __cplusplus
60411 #endif
60414 main ()
60416 return f != $ac_func;
60418 return 0;
60420 _ACEOF
60421 rm -f conftest.$ac_objext conftest$ac_exeext
60422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60423 (eval $ac_link) 2>conftest.er1
60424 ac_status=$?
60425 grep -v '^ *+' conftest.er1 >conftest.err
60426 rm -f conftest.er1
60427 cat conftest.err >&5
60428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429 (exit $ac_status); } &&
60430 { ac_try='test -z "$ac_c_werror_flag"
60431 || test ! -s conftest.err'
60432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60433 (eval $ac_try) 2>&5
60434 ac_status=$?
60435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60436 (exit $ac_status); }; } &&
60437 { ac_try='test -s conftest$ac_exeext'
60438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439 (eval $ac_try) 2>&5
60440 ac_status=$?
60441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442 (exit $ac_status); }; }; then
60443 eval "$as_ac_var=yes"
60444 else
60445 echo "$as_me: failed program was:" >&5
60446 sed 's/^/| /' conftest.$ac_ext >&5
60448 eval "$as_ac_var=no"
60450 rm -f conftest.err conftest.$ac_objext \
60451 conftest$ac_exeext conftest.$ac_ext
60453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60455 if test `eval echo '${'$as_ac_var'}'` = yes; then
60456 cat >>confdefs.h <<_ACEOF
60457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60458 _ACEOF
60461 done
60468 echo "$as_me:$LINENO: checking for logf declaration" >&5
60469 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60470 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60471 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60472 echo $ECHO_N "(cached) $ECHO_C" >&6
60473 else
60477 ac_ext=cc
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60483 cat >conftest.$ac_ext <<_ACEOF
60484 /* confdefs.h. */
60485 _ACEOF
60486 cat confdefs.h >>conftest.$ac_ext
60487 cat >>conftest.$ac_ext <<_ACEOF
60488 /* end confdefs.h. */
60489 #include <math.h>
60490 #ifdef HAVE_IEEEFP_H
60491 #include <ieeefp.h>
60492 #endif
60495 main ()
60497 logf(0);
60499 return 0;
60501 _ACEOF
60502 rm -f conftest.$ac_objext
60503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60504 (eval $ac_compile) 2>conftest.er1
60505 ac_status=$?
60506 grep -v '^ *+' conftest.er1 >conftest.err
60507 rm -f conftest.er1
60508 cat conftest.err >&5
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); } &&
60511 { ac_try='test -z "$ac_cxx_werror_flag"
60512 || test ! -s conftest.err'
60513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60514 (eval $ac_try) 2>&5
60515 ac_status=$?
60516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60517 (exit $ac_status); }; } &&
60518 { ac_try='test -s conftest.$ac_objext'
60519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60520 (eval $ac_try) 2>&5
60521 ac_status=$?
60522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 (exit $ac_status); }; }; then
60524 glibcxx_cv_func_logf_use=yes
60525 else
60526 echo "$as_me: failed program was:" >&5
60527 sed 's/^/| /' conftest.$ac_ext >&5
60529 glibcxx_cv_func_logf_use=no
60531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60532 ac_ext=c
60533 ac_cpp='$CPP $CPPFLAGS'
60534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60543 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60545 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60547 for ac_func in logf
60549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60550 echo "$as_me:$LINENO: checking for $ac_func" >&5
60551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60552 if eval "test \"\${$as_ac_var+set}\" = set"; then
60553 echo $ECHO_N "(cached) $ECHO_C" >&6
60554 else
60555 if test x$gcc_no_link = xyes; then
60556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60558 { (exit 1); exit 1; }; }
60560 cat >conftest.$ac_ext <<_ACEOF
60561 /* confdefs.h. */
60562 _ACEOF
60563 cat confdefs.h >>conftest.$ac_ext
60564 cat >>conftest.$ac_ext <<_ACEOF
60565 /* end confdefs.h. */
60566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60568 #define $ac_func innocuous_$ac_func
60570 /* System header to define __stub macros and hopefully few prototypes,
60571 which can conflict with char $ac_func (); below.
60572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60573 <limits.h> exists even on freestanding compilers. */
60575 #ifdef __STDC__
60576 # include <limits.h>
60577 #else
60578 # include <assert.h>
60579 #endif
60581 #undef $ac_func
60583 /* Override any gcc2 internal prototype to avoid an error. */
60584 #ifdef __cplusplus
60585 extern "C"
60587 #endif
60588 /* We use char because int might match the return type of a gcc2
60589 builtin and then its argument prototype would still apply. */
60590 char $ac_func ();
60591 /* The GNU C library defines this for functions which it implements
60592 to always fail with ENOSYS. Some functions are actually named
60593 something starting with __ and the normal name is an alias. */
60594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60595 choke me
60596 #else
60597 char (*f) () = $ac_func;
60598 #endif
60599 #ifdef __cplusplus
60601 #endif
60604 main ()
60606 return f != $ac_func;
60608 return 0;
60610 _ACEOF
60611 rm -f conftest.$ac_objext conftest$ac_exeext
60612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60613 (eval $ac_link) 2>conftest.er1
60614 ac_status=$?
60615 grep -v '^ *+' conftest.er1 >conftest.err
60616 rm -f conftest.er1
60617 cat conftest.err >&5
60618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619 (exit $ac_status); } &&
60620 { ac_try='test -z "$ac_c_werror_flag"
60621 || test ! -s conftest.err'
60622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60623 (eval $ac_try) 2>&5
60624 ac_status=$?
60625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60626 (exit $ac_status); }; } &&
60627 { ac_try='test -s conftest$ac_exeext'
60628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60629 (eval $ac_try) 2>&5
60630 ac_status=$?
60631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60632 (exit $ac_status); }; }; then
60633 eval "$as_ac_var=yes"
60634 else
60635 echo "$as_me: failed program was:" >&5
60636 sed 's/^/| /' conftest.$ac_ext >&5
60638 eval "$as_ac_var=no"
60640 rm -f conftest.err conftest.$ac_objext \
60641 conftest$ac_exeext conftest.$ac_ext
60643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60645 if test `eval echo '${'$as_ac_var'}'` = yes; then
60646 cat >>confdefs.h <<_ACEOF
60647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60648 _ACEOF
60651 done
60653 else
60655 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60656 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60657 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60658 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60659 echo $ECHO_N "(cached) $ECHO_C" >&6
60660 else
60664 ac_ext=cc
60665 ac_cpp='$CXXCPP $CPPFLAGS'
60666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670 cat >conftest.$ac_ext <<_ACEOF
60671 /* confdefs.h. */
60672 _ACEOF
60673 cat confdefs.h >>conftest.$ac_ext
60674 cat >>conftest.$ac_ext <<_ACEOF
60675 /* end confdefs.h. */
60676 #include <math.h>
60677 #ifdef HAVE_IEEEFP_H
60678 #include <ieeefp.h>
60679 #endif
60682 main ()
60684 _logf(0);
60686 return 0;
60688 _ACEOF
60689 rm -f conftest.$ac_objext
60690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60691 (eval $ac_compile) 2>conftest.er1
60692 ac_status=$?
60693 grep -v '^ *+' conftest.er1 >conftest.err
60694 rm -f conftest.er1
60695 cat conftest.err >&5
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); } &&
60698 { ac_try='test -z "$ac_cxx_werror_flag"
60699 || test ! -s conftest.err'
60700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60701 (eval $ac_try) 2>&5
60702 ac_status=$?
60703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60704 (exit $ac_status); }; } &&
60705 { ac_try='test -s conftest.$ac_objext'
60706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60707 (eval $ac_try) 2>&5
60708 ac_status=$?
60709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60710 (exit $ac_status); }; }; then
60711 glibcxx_cv_func__logf_use=yes
60712 else
60713 echo "$as_me: failed program was:" >&5
60714 sed 's/^/| /' conftest.$ac_ext >&5
60716 glibcxx_cv_func__logf_use=no
60718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60719 ac_ext=c
60720 ac_cpp='$CPP $CPPFLAGS'
60721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60730 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60732 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60734 for ac_func in _logf
60736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60737 echo "$as_me:$LINENO: checking for $ac_func" >&5
60738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60739 if eval "test \"\${$as_ac_var+set}\" = set"; then
60740 echo $ECHO_N "(cached) $ECHO_C" >&6
60741 else
60742 if test x$gcc_no_link = xyes; then
60743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60745 { (exit 1); exit 1; }; }
60747 cat >conftest.$ac_ext <<_ACEOF
60748 /* confdefs.h. */
60749 _ACEOF
60750 cat confdefs.h >>conftest.$ac_ext
60751 cat >>conftest.$ac_ext <<_ACEOF
60752 /* end confdefs.h. */
60753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60755 #define $ac_func innocuous_$ac_func
60757 /* System header to define __stub macros and hopefully few prototypes,
60758 which can conflict with char $ac_func (); below.
60759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60760 <limits.h> exists even on freestanding compilers. */
60762 #ifdef __STDC__
60763 # include <limits.h>
60764 #else
60765 # include <assert.h>
60766 #endif
60768 #undef $ac_func
60770 /* Override any gcc2 internal prototype to avoid an error. */
60771 #ifdef __cplusplus
60772 extern "C"
60774 #endif
60775 /* We use char because int might match the return type of a gcc2
60776 builtin and then its argument prototype would still apply. */
60777 char $ac_func ();
60778 /* The GNU C library defines this for functions which it implements
60779 to always fail with ENOSYS. Some functions are actually named
60780 something starting with __ and the normal name is an alias. */
60781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60782 choke me
60783 #else
60784 char (*f) () = $ac_func;
60785 #endif
60786 #ifdef __cplusplus
60788 #endif
60791 main ()
60793 return f != $ac_func;
60795 return 0;
60797 _ACEOF
60798 rm -f conftest.$ac_objext conftest$ac_exeext
60799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60800 (eval $ac_link) 2>conftest.er1
60801 ac_status=$?
60802 grep -v '^ *+' conftest.er1 >conftest.err
60803 rm -f conftest.er1
60804 cat conftest.err >&5
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); } &&
60807 { ac_try='test -z "$ac_c_werror_flag"
60808 || test ! -s conftest.err'
60809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60810 (eval $ac_try) 2>&5
60811 ac_status=$?
60812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60813 (exit $ac_status); }; } &&
60814 { ac_try='test -s conftest$ac_exeext'
60815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60816 (eval $ac_try) 2>&5
60817 ac_status=$?
60818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60819 (exit $ac_status); }; }; then
60820 eval "$as_ac_var=yes"
60821 else
60822 echo "$as_me: failed program was:" >&5
60823 sed 's/^/| /' conftest.$ac_ext >&5
60825 eval "$as_ac_var=no"
60827 rm -f conftest.err conftest.$ac_objext \
60828 conftest$ac_exeext conftest.$ac_ext
60830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60832 if test `eval echo '${'$as_ac_var'}'` = yes; then
60833 cat >>confdefs.h <<_ACEOF
60834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60835 _ACEOF
60838 done
60845 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60846 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60847 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60848 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60849 echo $ECHO_N "(cached) $ECHO_C" >&6
60850 else
60854 ac_ext=cc
60855 ac_cpp='$CXXCPP $CPPFLAGS'
60856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60860 cat >conftest.$ac_ext <<_ACEOF
60861 /* confdefs.h. */
60862 _ACEOF
60863 cat confdefs.h >>conftest.$ac_ext
60864 cat >>conftest.$ac_ext <<_ACEOF
60865 /* end confdefs.h. */
60866 #include <math.h>
60867 #ifdef HAVE_IEEEFP_H
60868 #include <ieeefp.h>
60869 #endif
60872 main ()
60874 log10f(0);
60876 return 0;
60878 _ACEOF
60879 rm -f conftest.$ac_objext
60880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60881 (eval $ac_compile) 2>conftest.er1
60882 ac_status=$?
60883 grep -v '^ *+' conftest.er1 >conftest.err
60884 rm -f conftest.er1
60885 cat conftest.err >&5
60886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60887 (exit $ac_status); } &&
60888 { ac_try='test -z "$ac_cxx_werror_flag"
60889 || test ! -s conftest.err'
60890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60891 (eval $ac_try) 2>&5
60892 ac_status=$?
60893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60894 (exit $ac_status); }; } &&
60895 { ac_try='test -s conftest.$ac_objext'
60896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60897 (eval $ac_try) 2>&5
60898 ac_status=$?
60899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60900 (exit $ac_status); }; }; then
60901 glibcxx_cv_func_log10f_use=yes
60902 else
60903 echo "$as_me: failed program was:" >&5
60904 sed 's/^/| /' conftest.$ac_ext >&5
60906 glibcxx_cv_func_log10f_use=no
60908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60909 ac_ext=c
60910 ac_cpp='$CPP $CPPFLAGS'
60911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60920 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60922 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60924 for ac_func in log10f
60926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60927 echo "$as_me:$LINENO: checking for $ac_func" >&5
60928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60929 if eval "test \"\${$as_ac_var+set}\" = set"; then
60930 echo $ECHO_N "(cached) $ECHO_C" >&6
60931 else
60932 if test x$gcc_no_link = xyes; then
60933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60935 { (exit 1); exit 1; }; }
60937 cat >conftest.$ac_ext <<_ACEOF
60938 /* confdefs.h. */
60939 _ACEOF
60940 cat confdefs.h >>conftest.$ac_ext
60941 cat >>conftest.$ac_ext <<_ACEOF
60942 /* end confdefs.h. */
60943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60945 #define $ac_func innocuous_$ac_func
60947 /* System header to define __stub macros and hopefully few prototypes,
60948 which can conflict with char $ac_func (); below.
60949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60950 <limits.h> exists even on freestanding compilers. */
60952 #ifdef __STDC__
60953 # include <limits.h>
60954 #else
60955 # include <assert.h>
60956 #endif
60958 #undef $ac_func
60960 /* Override any gcc2 internal prototype to avoid an error. */
60961 #ifdef __cplusplus
60962 extern "C"
60964 #endif
60965 /* We use char because int might match the return type of a gcc2
60966 builtin and then its argument prototype would still apply. */
60967 char $ac_func ();
60968 /* The GNU C library defines this for functions which it implements
60969 to always fail with ENOSYS. Some functions are actually named
60970 something starting with __ and the normal name is an alias. */
60971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60972 choke me
60973 #else
60974 char (*f) () = $ac_func;
60975 #endif
60976 #ifdef __cplusplus
60978 #endif
60981 main ()
60983 return f != $ac_func;
60985 return 0;
60987 _ACEOF
60988 rm -f conftest.$ac_objext conftest$ac_exeext
60989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60990 (eval $ac_link) 2>conftest.er1
60991 ac_status=$?
60992 grep -v '^ *+' conftest.er1 >conftest.err
60993 rm -f conftest.er1
60994 cat conftest.err >&5
60995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60996 (exit $ac_status); } &&
60997 { ac_try='test -z "$ac_c_werror_flag"
60998 || test ! -s conftest.err'
60999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61000 (eval $ac_try) 2>&5
61001 ac_status=$?
61002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61003 (exit $ac_status); }; } &&
61004 { ac_try='test -s conftest$ac_exeext'
61005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61006 (eval $ac_try) 2>&5
61007 ac_status=$?
61008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61009 (exit $ac_status); }; }; then
61010 eval "$as_ac_var=yes"
61011 else
61012 echo "$as_me: failed program was:" >&5
61013 sed 's/^/| /' conftest.$ac_ext >&5
61015 eval "$as_ac_var=no"
61017 rm -f conftest.err conftest.$ac_objext \
61018 conftest$ac_exeext conftest.$ac_ext
61020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61022 if test `eval echo '${'$as_ac_var'}'` = yes; then
61023 cat >>confdefs.h <<_ACEOF
61024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61025 _ACEOF
61028 done
61030 else
61032 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61033 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61034 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61035 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61036 echo $ECHO_N "(cached) $ECHO_C" >&6
61037 else
61041 ac_ext=cc
61042 ac_cpp='$CXXCPP $CPPFLAGS'
61043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61047 cat >conftest.$ac_ext <<_ACEOF
61048 /* confdefs.h. */
61049 _ACEOF
61050 cat confdefs.h >>conftest.$ac_ext
61051 cat >>conftest.$ac_ext <<_ACEOF
61052 /* end confdefs.h. */
61053 #include <math.h>
61054 #ifdef HAVE_IEEEFP_H
61055 #include <ieeefp.h>
61056 #endif
61059 main ()
61061 _log10f(0);
61063 return 0;
61065 _ACEOF
61066 rm -f conftest.$ac_objext
61067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61068 (eval $ac_compile) 2>conftest.er1
61069 ac_status=$?
61070 grep -v '^ *+' conftest.er1 >conftest.err
61071 rm -f conftest.er1
61072 cat conftest.err >&5
61073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61074 (exit $ac_status); } &&
61075 { ac_try='test -z "$ac_cxx_werror_flag"
61076 || test ! -s conftest.err'
61077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61078 (eval $ac_try) 2>&5
61079 ac_status=$?
61080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61081 (exit $ac_status); }; } &&
61082 { ac_try='test -s conftest.$ac_objext'
61083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61084 (eval $ac_try) 2>&5
61085 ac_status=$?
61086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61087 (exit $ac_status); }; }; then
61088 glibcxx_cv_func__log10f_use=yes
61089 else
61090 echo "$as_me: failed program was:" >&5
61091 sed 's/^/| /' conftest.$ac_ext >&5
61093 glibcxx_cv_func__log10f_use=no
61095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61096 ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61107 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61109 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61111 for ac_func in _log10f
61113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61114 echo "$as_me:$LINENO: checking for $ac_func" >&5
61115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61116 if eval "test \"\${$as_ac_var+set}\" = set"; then
61117 echo $ECHO_N "(cached) $ECHO_C" >&6
61118 else
61119 if test x$gcc_no_link = xyes; then
61120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61122 { (exit 1); exit 1; }; }
61124 cat >conftest.$ac_ext <<_ACEOF
61125 /* confdefs.h. */
61126 _ACEOF
61127 cat confdefs.h >>conftest.$ac_ext
61128 cat >>conftest.$ac_ext <<_ACEOF
61129 /* end confdefs.h. */
61130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61132 #define $ac_func innocuous_$ac_func
61134 /* System header to define __stub macros and hopefully few prototypes,
61135 which can conflict with char $ac_func (); below.
61136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61137 <limits.h> exists even on freestanding compilers. */
61139 #ifdef __STDC__
61140 # include <limits.h>
61141 #else
61142 # include <assert.h>
61143 #endif
61145 #undef $ac_func
61147 /* Override any gcc2 internal prototype to avoid an error. */
61148 #ifdef __cplusplus
61149 extern "C"
61151 #endif
61152 /* We use char because int might match the return type of a gcc2
61153 builtin and then its argument prototype would still apply. */
61154 char $ac_func ();
61155 /* The GNU C library defines this for functions which it implements
61156 to always fail with ENOSYS. Some functions are actually named
61157 something starting with __ and the normal name is an alias. */
61158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61159 choke me
61160 #else
61161 char (*f) () = $ac_func;
61162 #endif
61163 #ifdef __cplusplus
61165 #endif
61168 main ()
61170 return f != $ac_func;
61172 return 0;
61174 _ACEOF
61175 rm -f conftest.$ac_objext conftest$ac_exeext
61176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61177 (eval $ac_link) 2>conftest.er1
61178 ac_status=$?
61179 grep -v '^ *+' conftest.er1 >conftest.err
61180 rm -f conftest.er1
61181 cat conftest.err >&5
61182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183 (exit $ac_status); } &&
61184 { ac_try='test -z "$ac_c_werror_flag"
61185 || test ! -s conftest.err'
61186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61187 (eval $ac_try) 2>&5
61188 ac_status=$?
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 (exit $ac_status); }; } &&
61191 { ac_try='test -s conftest$ac_exeext'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61194 ac_status=$?
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; }; then
61197 eval "$as_ac_var=yes"
61198 else
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61202 eval "$as_ac_var=no"
61204 rm -f conftest.err conftest.$ac_objext \
61205 conftest$ac_exeext conftest.$ac_ext
61207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61209 if test `eval echo '${'$as_ac_var'}'` = yes; then
61210 cat >>confdefs.h <<_ACEOF
61211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61212 _ACEOF
61215 done
61222 echo "$as_me:$LINENO: checking for modff declaration" >&5
61223 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61224 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61225 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61226 echo $ECHO_N "(cached) $ECHO_C" >&6
61227 else
61231 ac_ext=cc
61232 ac_cpp='$CXXCPP $CPPFLAGS'
61233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61237 cat >conftest.$ac_ext <<_ACEOF
61238 /* confdefs.h. */
61239 _ACEOF
61240 cat confdefs.h >>conftest.$ac_ext
61241 cat >>conftest.$ac_ext <<_ACEOF
61242 /* end confdefs.h. */
61243 #include <math.h>
61245 main ()
61247 modff(0, 0);
61249 return 0;
61251 _ACEOF
61252 rm -f conftest.$ac_objext
61253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61254 (eval $ac_compile) 2>conftest.er1
61255 ac_status=$?
61256 grep -v '^ *+' conftest.er1 >conftest.err
61257 rm -f conftest.er1
61258 cat conftest.err >&5
61259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61260 (exit $ac_status); } &&
61261 { ac_try='test -z "$ac_cxx_werror_flag"
61262 || test ! -s conftest.err'
61263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61264 (eval $ac_try) 2>&5
61265 ac_status=$?
61266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267 (exit $ac_status); }; } &&
61268 { ac_try='test -s conftest.$ac_objext'
61269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61270 (eval $ac_try) 2>&5
61271 ac_status=$?
61272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61273 (exit $ac_status); }; }; then
61274 glibcxx_cv_func_modff_use=yes
61275 else
61276 echo "$as_me: failed program was:" >&5
61277 sed 's/^/| /' conftest.$ac_ext >&5
61279 glibcxx_cv_func_modff_use=no
61281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61282 ac_ext=c
61283 ac_cpp='$CPP $CPPFLAGS'
61284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61293 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61295 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61297 for ac_func in modff
61299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61300 echo "$as_me:$LINENO: checking for $ac_func" >&5
61301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61302 if eval "test \"\${$as_ac_var+set}\" = set"; then
61303 echo $ECHO_N "(cached) $ECHO_C" >&6
61304 else
61305 if test x$gcc_no_link = xyes; then
61306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61308 { (exit 1); exit 1; }; }
61310 cat >conftest.$ac_ext <<_ACEOF
61311 /* confdefs.h. */
61312 _ACEOF
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h. */
61316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61318 #define $ac_func innocuous_$ac_func
61320 /* System header to define __stub macros and hopefully few prototypes,
61321 which can conflict with char $ac_func (); below.
61322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61323 <limits.h> exists even on freestanding compilers. */
61325 #ifdef __STDC__
61326 # include <limits.h>
61327 #else
61328 # include <assert.h>
61329 #endif
61331 #undef $ac_func
61333 /* Override any gcc2 internal prototype to avoid an error. */
61334 #ifdef __cplusplus
61335 extern "C"
61337 #endif
61338 /* We use char because int might match the return type of a gcc2
61339 builtin and then its argument prototype would still apply. */
61340 char $ac_func ();
61341 /* The GNU C library defines this for functions which it implements
61342 to always fail with ENOSYS. Some functions are actually named
61343 something starting with __ and the normal name is an alias. */
61344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61345 choke me
61346 #else
61347 char (*f) () = $ac_func;
61348 #endif
61349 #ifdef __cplusplus
61351 #endif
61354 main ()
61356 return f != $ac_func;
61358 return 0;
61360 _ACEOF
61361 rm -f conftest.$ac_objext conftest$ac_exeext
61362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61363 (eval $ac_link) 2>conftest.er1
61364 ac_status=$?
61365 grep -v '^ *+' conftest.er1 >conftest.err
61366 rm -f conftest.er1
61367 cat conftest.err >&5
61368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369 (exit $ac_status); } &&
61370 { ac_try='test -z "$ac_c_werror_flag"
61371 || test ! -s conftest.err'
61372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61373 (eval $ac_try) 2>&5
61374 ac_status=$?
61375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376 (exit $ac_status); }; } &&
61377 { ac_try='test -s conftest$ac_exeext'
61378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379 (eval $ac_try) 2>&5
61380 ac_status=$?
61381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382 (exit $ac_status); }; }; then
61383 eval "$as_ac_var=yes"
61384 else
61385 echo "$as_me: failed program was:" >&5
61386 sed 's/^/| /' conftest.$ac_ext >&5
61388 eval "$as_ac_var=no"
61390 rm -f conftest.err conftest.$ac_objext \
61391 conftest$ac_exeext conftest.$ac_ext
61393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61395 if test `eval echo '${'$as_ac_var'}'` = yes; then
61396 cat >>confdefs.h <<_ACEOF
61397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61398 _ACEOF
61401 done
61403 else
61405 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61406 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61407 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61408 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61409 echo $ECHO_N "(cached) $ECHO_C" >&6
61410 else
61414 ac_ext=cc
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61420 cat >conftest.$ac_ext <<_ACEOF
61421 /* confdefs.h. */
61422 _ACEOF
61423 cat confdefs.h >>conftest.$ac_ext
61424 cat >>conftest.$ac_ext <<_ACEOF
61425 /* end confdefs.h. */
61426 #include <math.h>
61428 main ()
61430 _modff(0, 0);
61432 return 0;
61434 _ACEOF
61435 rm -f conftest.$ac_objext
61436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61437 (eval $ac_compile) 2>conftest.er1
61438 ac_status=$?
61439 grep -v '^ *+' conftest.er1 >conftest.err
61440 rm -f conftest.er1
61441 cat conftest.err >&5
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); } &&
61444 { ac_try='test -z "$ac_cxx_werror_flag"
61445 || test ! -s conftest.err'
61446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447 (eval $ac_try) 2>&5
61448 ac_status=$?
61449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450 (exit $ac_status); }; } &&
61451 { ac_try='test -s conftest.$ac_objext'
61452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61453 (eval $ac_try) 2>&5
61454 ac_status=$?
61455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456 (exit $ac_status); }; }; then
61457 glibcxx_cv_func__modff_use=yes
61458 else
61459 echo "$as_me: failed program was:" >&5
61460 sed 's/^/| /' conftest.$ac_ext >&5
61462 glibcxx_cv_func__modff_use=no
61464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61465 ac_ext=c
61466 ac_cpp='$CPP $CPPFLAGS'
61467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61476 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61478 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61480 for ac_func in _modff
61482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61483 echo "$as_me:$LINENO: checking for $ac_func" >&5
61484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61485 if eval "test \"\${$as_ac_var+set}\" = set"; then
61486 echo $ECHO_N "(cached) $ECHO_C" >&6
61487 else
61488 if test x$gcc_no_link = xyes; then
61489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61491 { (exit 1); exit 1; }; }
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h. */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h. */
61499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61501 #define $ac_func innocuous_$ac_func
61503 /* System header to define __stub macros and hopefully few prototypes,
61504 which can conflict with char $ac_func (); below.
61505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61506 <limits.h> exists even on freestanding compilers. */
61508 #ifdef __STDC__
61509 # include <limits.h>
61510 #else
61511 # include <assert.h>
61512 #endif
61514 #undef $ac_func
61516 /* Override any gcc2 internal prototype to avoid an error. */
61517 #ifdef __cplusplus
61518 extern "C"
61520 #endif
61521 /* We use char because int might match the return type of a gcc2
61522 builtin and then its argument prototype would still apply. */
61523 char $ac_func ();
61524 /* The GNU C library defines this for functions which it implements
61525 to always fail with ENOSYS. Some functions are actually named
61526 something starting with __ and the normal name is an alias. */
61527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61528 choke me
61529 #else
61530 char (*f) () = $ac_func;
61531 #endif
61532 #ifdef __cplusplus
61534 #endif
61537 main ()
61539 return f != $ac_func;
61541 return 0;
61543 _ACEOF
61544 rm -f conftest.$ac_objext conftest$ac_exeext
61545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61546 (eval $ac_link) 2>conftest.er1
61547 ac_status=$?
61548 grep -v '^ *+' conftest.er1 >conftest.err
61549 rm -f conftest.er1
61550 cat conftest.err >&5
61551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552 (exit $ac_status); } &&
61553 { ac_try='test -z "$ac_c_werror_flag"
61554 || test ! -s conftest.err'
61555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61556 (eval $ac_try) 2>&5
61557 ac_status=$?
61558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559 (exit $ac_status); }; } &&
61560 { ac_try='test -s conftest$ac_exeext'
61561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61562 (eval $ac_try) 2>&5
61563 ac_status=$?
61564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565 (exit $ac_status); }; }; then
61566 eval "$as_ac_var=yes"
61567 else
61568 echo "$as_me: failed program was:" >&5
61569 sed 's/^/| /' conftest.$ac_ext >&5
61571 eval "$as_ac_var=no"
61573 rm -f conftest.err conftest.$ac_objext \
61574 conftest$ac_exeext conftest.$ac_ext
61576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61578 if test `eval echo '${'$as_ac_var'}'` = yes; then
61579 cat >>confdefs.h <<_ACEOF
61580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61581 _ACEOF
61584 done
61591 echo "$as_me:$LINENO: checking for powf declaration" >&5
61592 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61593 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61594 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61595 echo $ECHO_N "(cached) $ECHO_C" >&6
61596 else
61600 ac_ext=cc
61601 ac_cpp='$CXXCPP $CPPFLAGS'
61602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61606 cat >conftest.$ac_ext <<_ACEOF
61607 /* confdefs.h. */
61608 _ACEOF
61609 cat confdefs.h >>conftest.$ac_ext
61610 cat >>conftest.$ac_ext <<_ACEOF
61611 /* end confdefs.h. */
61612 #include <math.h>
61614 main ()
61616 powf(0, 0);
61618 return 0;
61620 _ACEOF
61621 rm -f conftest.$ac_objext
61622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61623 (eval $ac_compile) 2>conftest.er1
61624 ac_status=$?
61625 grep -v '^ *+' conftest.er1 >conftest.err
61626 rm -f conftest.er1
61627 cat conftest.err >&5
61628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61629 (exit $ac_status); } &&
61630 { ac_try='test -z "$ac_cxx_werror_flag"
61631 || test ! -s conftest.err'
61632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61633 (eval $ac_try) 2>&5
61634 ac_status=$?
61635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61636 (exit $ac_status); }; } &&
61637 { ac_try='test -s conftest.$ac_objext'
61638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61639 (eval $ac_try) 2>&5
61640 ac_status=$?
61641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61642 (exit $ac_status); }; }; then
61643 glibcxx_cv_func_powf_use=yes
61644 else
61645 echo "$as_me: failed program was:" >&5
61646 sed 's/^/| /' conftest.$ac_ext >&5
61648 glibcxx_cv_func_powf_use=no
61650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61651 ac_ext=c
61652 ac_cpp='$CPP $CPPFLAGS'
61653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61662 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61664 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61666 for ac_func in powf
61668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61669 echo "$as_me:$LINENO: checking for $ac_func" >&5
61670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61671 if eval "test \"\${$as_ac_var+set}\" = set"; then
61672 echo $ECHO_N "(cached) $ECHO_C" >&6
61673 else
61674 if test x$gcc_no_link = xyes; then
61675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61677 { (exit 1); exit 1; }; }
61679 cat >conftest.$ac_ext <<_ACEOF
61680 /* confdefs.h. */
61681 _ACEOF
61682 cat confdefs.h >>conftest.$ac_ext
61683 cat >>conftest.$ac_ext <<_ACEOF
61684 /* end confdefs.h. */
61685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61687 #define $ac_func innocuous_$ac_func
61689 /* System header to define __stub macros and hopefully few prototypes,
61690 which can conflict with char $ac_func (); below.
61691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61692 <limits.h> exists even on freestanding compilers. */
61694 #ifdef __STDC__
61695 # include <limits.h>
61696 #else
61697 # include <assert.h>
61698 #endif
61700 #undef $ac_func
61702 /* Override any gcc2 internal prototype to avoid an error. */
61703 #ifdef __cplusplus
61704 extern "C"
61706 #endif
61707 /* We use char because int might match the return type of a gcc2
61708 builtin and then its argument prototype would still apply. */
61709 char $ac_func ();
61710 /* The GNU C library defines this for functions which it implements
61711 to always fail with ENOSYS. Some functions are actually named
61712 something starting with __ and the normal name is an alias. */
61713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61714 choke me
61715 #else
61716 char (*f) () = $ac_func;
61717 #endif
61718 #ifdef __cplusplus
61720 #endif
61723 main ()
61725 return f != $ac_func;
61727 return 0;
61729 _ACEOF
61730 rm -f conftest.$ac_objext conftest$ac_exeext
61731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61732 (eval $ac_link) 2>conftest.er1
61733 ac_status=$?
61734 grep -v '^ *+' conftest.er1 >conftest.err
61735 rm -f conftest.er1
61736 cat conftest.err >&5
61737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738 (exit $ac_status); } &&
61739 { ac_try='test -z "$ac_c_werror_flag"
61740 || test ! -s conftest.err'
61741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61742 (eval $ac_try) 2>&5
61743 ac_status=$?
61744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745 (exit $ac_status); }; } &&
61746 { ac_try='test -s conftest$ac_exeext'
61747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61748 (eval $ac_try) 2>&5
61749 ac_status=$?
61750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61751 (exit $ac_status); }; }; then
61752 eval "$as_ac_var=yes"
61753 else
61754 echo "$as_me: failed program was:" >&5
61755 sed 's/^/| /' conftest.$ac_ext >&5
61757 eval "$as_ac_var=no"
61759 rm -f conftest.err conftest.$ac_objext \
61760 conftest$ac_exeext conftest.$ac_ext
61762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61764 if test `eval echo '${'$as_ac_var'}'` = yes; then
61765 cat >>confdefs.h <<_ACEOF
61766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61767 _ACEOF
61770 done
61772 else
61774 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61775 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61776 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61777 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61778 echo $ECHO_N "(cached) $ECHO_C" >&6
61779 else
61783 ac_ext=cc
61784 ac_cpp='$CXXCPP $CPPFLAGS'
61785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61789 cat >conftest.$ac_ext <<_ACEOF
61790 /* confdefs.h. */
61791 _ACEOF
61792 cat confdefs.h >>conftest.$ac_ext
61793 cat >>conftest.$ac_ext <<_ACEOF
61794 /* end confdefs.h. */
61795 #include <math.h>
61797 main ()
61799 _powf(0, 0);
61801 return 0;
61803 _ACEOF
61804 rm -f conftest.$ac_objext
61805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61806 (eval $ac_compile) 2>conftest.er1
61807 ac_status=$?
61808 grep -v '^ *+' conftest.er1 >conftest.err
61809 rm -f conftest.er1
61810 cat conftest.err >&5
61811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812 (exit $ac_status); } &&
61813 { ac_try='test -z "$ac_cxx_werror_flag"
61814 || test ! -s conftest.err'
61815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61816 (eval $ac_try) 2>&5
61817 ac_status=$?
61818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61819 (exit $ac_status); }; } &&
61820 { ac_try='test -s conftest.$ac_objext'
61821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61822 (eval $ac_try) 2>&5
61823 ac_status=$?
61824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61825 (exit $ac_status); }; }; then
61826 glibcxx_cv_func__powf_use=yes
61827 else
61828 echo "$as_me: failed program was:" >&5
61829 sed 's/^/| /' conftest.$ac_ext >&5
61831 glibcxx_cv_func__powf_use=no
61833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61834 ac_ext=c
61835 ac_cpp='$CPP $CPPFLAGS'
61836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61845 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61847 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61849 for ac_func in _powf
61851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61852 echo "$as_me:$LINENO: checking for $ac_func" >&5
61853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61854 if eval "test \"\${$as_ac_var+set}\" = set"; then
61855 echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61857 if test x$gcc_no_link = xyes; then
61858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61860 { (exit 1); exit 1; }; }
61862 cat >conftest.$ac_ext <<_ACEOF
61863 /* confdefs.h. */
61864 _ACEOF
61865 cat confdefs.h >>conftest.$ac_ext
61866 cat >>conftest.$ac_ext <<_ACEOF
61867 /* end confdefs.h. */
61868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61870 #define $ac_func innocuous_$ac_func
61872 /* System header to define __stub macros and hopefully few prototypes,
61873 which can conflict with char $ac_func (); below.
61874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61875 <limits.h> exists even on freestanding compilers. */
61877 #ifdef __STDC__
61878 # include <limits.h>
61879 #else
61880 # include <assert.h>
61881 #endif
61883 #undef $ac_func
61885 /* Override any gcc2 internal prototype to avoid an error. */
61886 #ifdef __cplusplus
61887 extern "C"
61889 #endif
61890 /* We use char because int might match the return type of a gcc2
61891 builtin and then its argument prototype would still apply. */
61892 char $ac_func ();
61893 /* The GNU C library defines this for functions which it implements
61894 to always fail with ENOSYS. Some functions are actually named
61895 something starting with __ and the normal name is an alias. */
61896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61897 choke me
61898 #else
61899 char (*f) () = $ac_func;
61900 #endif
61901 #ifdef __cplusplus
61903 #endif
61906 main ()
61908 return f != $ac_func;
61910 return 0;
61912 _ACEOF
61913 rm -f conftest.$ac_objext conftest$ac_exeext
61914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61915 (eval $ac_link) 2>conftest.er1
61916 ac_status=$?
61917 grep -v '^ *+' conftest.er1 >conftest.err
61918 rm -f conftest.er1
61919 cat conftest.err >&5
61920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921 (exit $ac_status); } &&
61922 { ac_try='test -z "$ac_c_werror_flag"
61923 || test ! -s conftest.err'
61924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61925 (eval $ac_try) 2>&5
61926 ac_status=$?
61927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61928 (exit $ac_status); }; } &&
61929 { ac_try='test -s conftest$ac_exeext'
61930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61931 (eval $ac_try) 2>&5
61932 ac_status=$?
61933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61934 (exit $ac_status); }; }; then
61935 eval "$as_ac_var=yes"
61936 else
61937 echo "$as_me: failed program was:" >&5
61938 sed 's/^/| /' conftest.$ac_ext >&5
61940 eval "$as_ac_var=no"
61942 rm -f conftest.err conftest.$ac_objext \
61943 conftest$ac_exeext conftest.$ac_ext
61945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61947 if test `eval echo '${'$as_ac_var'}'` = yes; then
61948 cat >>confdefs.h <<_ACEOF
61949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61950 _ACEOF
61953 done
61960 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61961 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61962 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61963 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61964 echo $ECHO_N "(cached) $ECHO_C" >&6
61965 else
61969 ac_ext=cc
61970 ac_cpp='$CXXCPP $CPPFLAGS'
61971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61975 cat >conftest.$ac_ext <<_ACEOF
61976 /* confdefs.h. */
61977 _ACEOF
61978 cat confdefs.h >>conftest.$ac_ext
61979 cat >>conftest.$ac_ext <<_ACEOF
61980 /* end confdefs.h. */
61981 #include <math.h>
61982 #ifdef HAVE_IEEEFP_H
61983 #include <ieeefp.h>
61984 #endif
61987 main ()
61989 sqrtf(0);
61991 return 0;
61993 _ACEOF
61994 rm -f conftest.$ac_objext
61995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61996 (eval $ac_compile) 2>conftest.er1
61997 ac_status=$?
61998 grep -v '^ *+' conftest.er1 >conftest.err
61999 rm -f conftest.er1
62000 cat conftest.err >&5
62001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002 (exit $ac_status); } &&
62003 { ac_try='test -z "$ac_cxx_werror_flag"
62004 || test ! -s conftest.err'
62005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62006 (eval $ac_try) 2>&5
62007 ac_status=$?
62008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62009 (exit $ac_status); }; } &&
62010 { ac_try='test -s conftest.$ac_objext'
62011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62012 (eval $ac_try) 2>&5
62013 ac_status=$?
62014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62015 (exit $ac_status); }; }; then
62016 glibcxx_cv_func_sqrtf_use=yes
62017 else
62018 echo "$as_me: failed program was:" >&5
62019 sed 's/^/| /' conftest.$ac_ext >&5
62021 glibcxx_cv_func_sqrtf_use=no
62023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62024 ac_ext=c
62025 ac_cpp='$CPP $CPPFLAGS'
62026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62035 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62037 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62039 for ac_func in sqrtf
62041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62042 echo "$as_me:$LINENO: checking for $ac_func" >&5
62043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62044 if eval "test \"\${$as_ac_var+set}\" = set"; then
62045 echo $ECHO_N "(cached) $ECHO_C" >&6
62046 else
62047 if test x$gcc_no_link = xyes; then
62048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62050 { (exit 1); exit 1; }; }
62052 cat >conftest.$ac_ext <<_ACEOF
62053 /* confdefs.h. */
62054 _ACEOF
62055 cat confdefs.h >>conftest.$ac_ext
62056 cat >>conftest.$ac_ext <<_ACEOF
62057 /* end confdefs.h. */
62058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62060 #define $ac_func innocuous_$ac_func
62062 /* System header to define __stub macros and hopefully few prototypes,
62063 which can conflict with char $ac_func (); below.
62064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62065 <limits.h> exists even on freestanding compilers. */
62067 #ifdef __STDC__
62068 # include <limits.h>
62069 #else
62070 # include <assert.h>
62071 #endif
62073 #undef $ac_func
62075 /* Override any gcc2 internal prototype to avoid an error. */
62076 #ifdef __cplusplus
62077 extern "C"
62079 #endif
62080 /* We use char because int might match the return type of a gcc2
62081 builtin and then its argument prototype would still apply. */
62082 char $ac_func ();
62083 /* The GNU C library defines this for functions which it implements
62084 to always fail with ENOSYS. Some functions are actually named
62085 something starting with __ and the normal name is an alias. */
62086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62087 choke me
62088 #else
62089 char (*f) () = $ac_func;
62090 #endif
62091 #ifdef __cplusplus
62093 #endif
62096 main ()
62098 return f != $ac_func;
62100 return 0;
62102 _ACEOF
62103 rm -f conftest.$ac_objext conftest$ac_exeext
62104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62105 (eval $ac_link) 2>conftest.er1
62106 ac_status=$?
62107 grep -v '^ *+' conftest.er1 >conftest.err
62108 rm -f conftest.er1
62109 cat conftest.err >&5
62110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62111 (exit $ac_status); } &&
62112 { ac_try='test -z "$ac_c_werror_flag"
62113 || test ! -s conftest.err'
62114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62115 (eval $ac_try) 2>&5
62116 ac_status=$?
62117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118 (exit $ac_status); }; } &&
62119 { ac_try='test -s conftest$ac_exeext'
62120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62121 (eval $ac_try) 2>&5
62122 ac_status=$?
62123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62124 (exit $ac_status); }; }; then
62125 eval "$as_ac_var=yes"
62126 else
62127 echo "$as_me: failed program was:" >&5
62128 sed 's/^/| /' conftest.$ac_ext >&5
62130 eval "$as_ac_var=no"
62132 rm -f conftest.err conftest.$ac_objext \
62133 conftest$ac_exeext conftest.$ac_ext
62135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62137 if test `eval echo '${'$as_ac_var'}'` = yes; then
62138 cat >>confdefs.h <<_ACEOF
62139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62140 _ACEOF
62143 done
62145 else
62147 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62148 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62149 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62150 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62151 echo $ECHO_N "(cached) $ECHO_C" >&6
62152 else
62156 ac_ext=cc
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62162 cat >conftest.$ac_ext <<_ACEOF
62163 /* confdefs.h. */
62164 _ACEOF
62165 cat confdefs.h >>conftest.$ac_ext
62166 cat >>conftest.$ac_ext <<_ACEOF
62167 /* end confdefs.h. */
62168 #include <math.h>
62169 #ifdef HAVE_IEEEFP_H
62170 #include <ieeefp.h>
62171 #endif
62174 main ()
62176 _sqrtf(0);
62178 return 0;
62180 _ACEOF
62181 rm -f conftest.$ac_objext
62182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62183 (eval $ac_compile) 2>conftest.er1
62184 ac_status=$?
62185 grep -v '^ *+' conftest.er1 >conftest.err
62186 rm -f conftest.er1
62187 cat conftest.err >&5
62188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62189 (exit $ac_status); } &&
62190 { ac_try='test -z "$ac_cxx_werror_flag"
62191 || test ! -s conftest.err'
62192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62193 (eval $ac_try) 2>&5
62194 ac_status=$?
62195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62196 (exit $ac_status); }; } &&
62197 { ac_try='test -s conftest.$ac_objext'
62198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62199 (eval $ac_try) 2>&5
62200 ac_status=$?
62201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62202 (exit $ac_status); }; }; then
62203 glibcxx_cv_func__sqrtf_use=yes
62204 else
62205 echo "$as_me: failed program was:" >&5
62206 sed 's/^/| /' conftest.$ac_ext >&5
62208 glibcxx_cv_func__sqrtf_use=no
62210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62211 ac_ext=c
62212 ac_cpp='$CPP $CPPFLAGS'
62213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62222 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62224 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62226 for ac_func in _sqrtf
62228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62229 echo "$as_me:$LINENO: checking for $ac_func" >&5
62230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62231 if eval "test \"\${$as_ac_var+set}\" = set"; then
62232 echo $ECHO_N "(cached) $ECHO_C" >&6
62233 else
62234 if test x$gcc_no_link = xyes; then
62235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62237 { (exit 1); exit 1; }; }
62239 cat >conftest.$ac_ext <<_ACEOF
62240 /* confdefs.h. */
62241 _ACEOF
62242 cat confdefs.h >>conftest.$ac_ext
62243 cat >>conftest.$ac_ext <<_ACEOF
62244 /* end confdefs.h. */
62245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62247 #define $ac_func innocuous_$ac_func
62249 /* System header to define __stub macros and hopefully few prototypes,
62250 which can conflict with char $ac_func (); below.
62251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62252 <limits.h> exists even on freestanding compilers. */
62254 #ifdef __STDC__
62255 # include <limits.h>
62256 #else
62257 # include <assert.h>
62258 #endif
62260 #undef $ac_func
62262 /* Override any gcc2 internal prototype to avoid an error. */
62263 #ifdef __cplusplus
62264 extern "C"
62266 #endif
62267 /* We use char because int might match the return type of a gcc2
62268 builtin and then its argument prototype would still apply. */
62269 char $ac_func ();
62270 /* The GNU C library defines this for functions which it implements
62271 to always fail with ENOSYS. Some functions are actually named
62272 something starting with __ and the normal name is an alias. */
62273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62274 choke me
62275 #else
62276 char (*f) () = $ac_func;
62277 #endif
62278 #ifdef __cplusplus
62280 #endif
62283 main ()
62285 return f != $ac_func;
62287 return 0;
62289 _ACEOF
62290 rm -f conftest.$ac_objext conftest$ac_exeext
62291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62292 (eval $ac_link) 2>conftest.er1
62293 ac_status=$?
62294 grep -v '^ *+' conftest.er1 >conftest.err
62295 rm -f conftest.er1
62296 cat conftest.err >&5
62297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298 (exit $ac_status); } &&
62299 { ac_try='test -z "$ac_c_werror_flag"
62300 || test ! -s conftest.err'
62301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62302 (eval $ac_try) 2>&5
62303 ac_status=$?
62304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62305 (exit $ac_status); }; } &&
62306 { ac_try='test -s conftest$ac_exeext'
62307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62308 (eval $ac_try) 2>&5
62309 ac_status=$?
62310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311 (exit $ac_status); }; }; then
62312 eval "$as_ac_var=yes"
62313 else
62314 echo "$as_me: failed program was:" >&5
62315 sed 's/^/| /' conftest.$ac_ext >&5
62317 eval "$as_ac_var=no"
62319 rm -f conftest.err conftest.$ac_objext \
62320 conftest$ac_exeext conftest.$ac_ext
62322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62324 if test `eval echo '${'$as_ac_var'}'` = yes; then
62325 cat >>confdefs.h <<_ACEOF
62326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62327 _ACEOF
62330 done
62337 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62338 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62339 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62340 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62341 echo $ECHO_N "(cached) $ECHO_C" >&6
62342 else
62346 ac_ext=cc
62347 ac_cpp='$CXXCPP $CPPFLAGS'
62348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62352 cat >conftest.$ac_ext <<_ACEOF
62353 /* confdefs.h. */
62354 _ACEOF
62355 cat confdefs.h >>conftest.$ac_ext
62356 cat >>conftest.$ac_ext <<_ACEOF
62357 /* end confdefs.h. */
62358 #include <math.h>
62360 main ()
62362 sincosf(0, 0, 0);
62364 return 0;
62366 _ACEOF
62367 rm -f conftest.$ac_objext
62368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62369 (eval $ac_compile) 2>conftest.er1
62370 ac_status=$?
62371 grep -v '^ *+' conftest.er1 >conftest.err
62372 rm -f conftest.er1
62373 cat conftest.err >&5
62374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62375 (exit $ac_status); } &&
62376 { ac_try='test -z "$ac_cxx_werror_flag"
62377 || test ! -s conftest.err'
62378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62379 (eval $ac_try) 2>&5
62380 ac_status=$?
62381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62382 (exit $ac_status); }; } &&
62383 { ac_try='test -s conftest.$ac_objext'
62384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62385 (eval $ac_try) 2>&5
62386 ac_status=$?
62387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62388 (exit $ac_status); }; }; then
62389 glibcxx_cv_func_sincosf_use=yes
62390 else
62391 echo "$as_me: failed program was:" >&5
62392 sed 's/^/| /' conftest.$ac_ext >&5
62394 glibcxx_cv_func_sincosf_use=no
62396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62397 ac_ext=c
62398 ac_cpp='$CPP $CPPFLAGS'
62399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62408 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62410 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62412 for ac_func in sincosf
62414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62415 echo "$as_me:$LINENO: checking for $ac_func" >&5
62416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62417 if eval "test \"\${$as_ac_var+set}\" = set"; then
62418 echo $ECHO_N "(cached) $ECHO_C" >&6
62419 else
62420 if test x$gcc_no_link = xyes; then
62421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62423 { (exit 1); exit 1; }; }
62425 cat >conftest.$ac_ext <<_ACEOF
62426 /* confdefs.h. */
62427 _ACEOF
62428 cat confdefs.h >>conftest.$ac_ext
62429 cat >>conftest.$ac_ext <<_ACEOF
62430 /* end confdefs.h. */
62431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62433 #define $ac_func innocuous_$ac_func
62435 /* System header to define __stub macros and hopefully few prototypes,
62436 which can conflict with char $ac_func (); below.
62437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62438 <limits.h> exists even on freestanding compilers. */
62440 #ifdef __STDC__
62441 # include <limits.h>
62442 #else
62443 # include <assert.h>
62444 #endif
62446 #undef $ac_func
62448 /* Override any gcc2 internal prototype to avoid an error. */
62449 #ifdef __cplusplus
62450 extern "C"
62452 #endif
62453 /* We use char because int might match the return type of a gcc2
62454 builtin and then its argument prototype would still apply. */
62455 char $ac_func ();
62456 /* The GNU C library defines this for functions which it implements
62457 to always fail with ENOSYS. Some functions are actually named
62458 something starting with __ and the normal name is an alias. */
62459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62460 choke me
62461 #else
62462 char (*f) () = $ac_func;
62463 #endif
62464 #ifdef __cplusplus
62466 #endif
62469 main ()
62471 return f != $ac_func;
62473 return 0;
62475 _ACEOF
62476 rm -f conftest.$ac_objext conftest$ac_exeext
62477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62478 (eval $ac_link) 2>conftest.er1
62479 ac_status=$?
62480 grep -v '^ *+' conftest.er1 >conftest.err
62481 rm -f conftest.er1
62482 cat conftest.err >&5
62483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62484 (exit $ac_status); } &&
62485 { ac_try='test -z "$ac_c_werror_flag"
62486 || test ! -s conftest.err'
62487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62488 (eval $ac_try) 2>&5
62489 ac_status=$?
62490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62491 (exit $ac_status); }; } &&
62492 { ac_try='test -s conftest$ac_exeext'
62493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62494 (eval $ac_try) 2>&5
62495 ac_status=$?
62496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62497 (exit $ac_status); }; }; then
62498 eval "$as_ac_var=yes"
62499 else
62500 echo "$as_me: failed program was:" >&5
62501 sed 's/^/| /' conftest.$ac_ext >&5
62503 eval "$as_ac_var=no"
62505 rm -f conftest.err conftest.$ac_objext \
62506 conftest$ac_exeext conftest.$ac_ext
62508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62510 if test `eval echo '${'$as_ac_var'}'` = yes; then
62511 cat >>confdefs.h <<_ACEOF
62512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62513 _ACEOF
62516 done
62518 else
62520 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62521 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62522 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62523 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62524 echo $ECHO_N "(cached) $ECHO_C" >&6
62525 else
62529 ac_ext=cc
62530 ac_cpp='$CXXCPP $CPPFLAGS'
62531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62535 cat >conftest.$ac_ext <<_ACEOF
62536 /* confdefs.h. */
62537 _ACEOF
62538 cat confdefs.h >>conftest.$ac_ext
62539 cat >>conftest.$ac_ext <<_ACEOF
62540 /* end confdefs.h. */
62541 #include <math.h>
62543 main ()
62545 _sincosf(0, 0, 0);
62547 return 0;
62549 _ACEOF
62550 rm -f conftest.$ac_objext
62551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62552 (eval $ac_compile) 2>conftest.er1
62553 ac_status=$?
62554 grep -v '^ *+' conftest.er1 >conftest.err
62555 rm -f conftest.er1
62556 cat conftest.err >&5
62557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62558 (exit $ac_status); } &&
62559 { ac_try='test -z "$ac_cxx_werror_flag"
62560 || test ! -s conftest.err'
62561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62562 (eval $ac_try) 2>&5
62563 ac_status=$?
62564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62565 (exit $ac_status); }; } &&
62566 { ac_try='test -s conftest.$ac_objext'
62567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62568 (eval $ac_try) 2>&5
62569 ac_status=$?
62570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62571 (exit $ac_status); }; }; then
62572 glibcxx_cv_func__sincosf_use=yes
62573 else
62574 echo "$as_me: failed program was:" >&5
62575 sed 's/^/| /' conftest.$ac_ext >&5
62577 glibcxx_cv_func__sincosf_use=no
62579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62580 ac_ext=c
62581 ac_cpp='$CPP $CPPFLAGS'
62582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62591 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62593 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62595 for ac_func in _sincosf
62597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62598 echo "$as_me:$LINENO: checking for $ac_func" >&5
62599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62600 if eval "test \"\${$as_ac_var+set}\" = set"; then
62601 echo $ECHO_N "(cached) $ECHO_C" >&6
62602 else
62603 if test x$gcc_no_link = xyes; then
62604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62606 { (exit 1); exit 1; }; }
62608 cat >conftest.$ac_ext <<_ACEOF
62609 /* confdefs.h. */
62610 _ACEOF
62611 cat confdefs.h >>conftest.$ac_ext
62612 cat >>conftest.$ac_ext <<_ACEOF
62613 /* end confdefs.h. */
62614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62616 #define $ac_func innocuous_$ac_func
62618 /* System header to define __stub macros and hopefully few prototypes,
62619 which can conflict with char $ac_func (); below.
62620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62621 <limits.h> exists even on freestanding compilers. */
62623 #ifdef __STDC__
62624 # include <limits.h>
62625 #else
62626 # include <assert.h>
62627 #endif
62629 #undef $ac_func
62631 /* Override any gcc2 internal prototype to avoid an error. */
62632 #ifdef __cplusplus
62633 extern "C"
62635 #endif
62636 /* We use char because int might match the return type of a gcc2
62637 builtin and then its argument prototype would still apply. */
62638 char $ac_func ();
62639 /* The GNU C library defines this for functions which it implements
62640 to always fail with ENOSYS. Some functions are actually named
62641 something starting with __ and the normal name is an alias. */
62642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62643 choke me
62644 #else
62645 char (*f) () = $ac_func;
62646 #endif
62647 #ifdef __cplusplus
62649 #endif
62652 main ()
62654 return f != $ac_func;
62656 return 0;
62658 _ACEOF
62659 rm -f conftest.$ac_objext conftest$ac_exeext
62660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62661 (eval $ac_link) 2>conftest.er1
62662 ac_status=$?
62663 grep -v '^ *+' conftest.er1 >conftest.err
62664 rm -f conftest.er1
62665 cat conftest.err >&5
62666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667 (exit $ac_status); } &&
62668 { ac_try='test -z "$ac_c_werror_flag"
62669 || test ! -s conftest.err'
62670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62671 (eval $ac_try) 2>&5
62672 ac_status=$?
62673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62674 (exit $ac_status); }; } &&
62675 { ac_try='test -s conftest$ac_exeext'
62676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62677 (eval $ac_try) 2>&5
62678 ac_status=$?
62679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62680 (exit $ac_status); }; }; then
62681 eval "$as_ac_var=yes"
62682 else
62683 echo "$as_me: failed program was:" >&5
62684 sed 's/^/| /' conftest.$ac_ext >&5
62686 eval "$as_ac_var=no"
62688 rm -f conftest.err conftest.$ac_objext \
62689 conftest$ac_exeext conftest.$ac_ext
62691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62693 if test `eval echo '${'$as_ac_var'}'` = yes; then
62694 cat >>confdefs.h <<_ACEOF
62695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62696 _ACEOF
62699 done
62706 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62707 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62708 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62709 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62710 echo $ECHO_N "(cached) $ECHO_C" >&6
62711 else
62715 ac_ext=cc
62716 ac_cpp='$CXXCPP $CPPFLAGS'
62717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62721 cat >conftest.$ac_ext <<_ACEOF
62722 /* confdefs.h. */
62723 _ACEOF
62724 cat confdefs.h >>conftest.$ac_ext
62725 cat >>conftest.$ac_ext <<_ACEOF
62726 /* end confdefs.h. */
62727 #include <math.h>
62728 #ifdef HAVE_IEEEFP_H
62729 #include <ieeefp.h>
62730 #endif
62733 main ()
62735 finitef(0);
62737 return 0;
62739 _ACEOF
62740 rm -f conftest.$ac_objext
62741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62742 (eval $ac_compile) 2>conftest.er1
62743 ac_status=$?
62744 grep -v '^ *+' conftest.er1 >conftest.err
62745 rm -f conftest.er1
62746 cat conftest.err >&5
62747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748 (exit $ac_status); } &&
62749 { ac_try='test -z "$ac_cxx_werror_flag"
62750 || test ! -s conftest.err'
62751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62752 (eval $ac_try) 2>&5
62753 ac_status=$?
62754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62755 (exit $ac_status); }; } &&
62756 { ac_try='test -s conftest.$ac_objext'
62757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62758 (eval $ac_try) 2>&5
62759 ac_status=$?
62760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62761 (exit $ac_status); }; }; then
62762 glibcxx_cv_func_finitef_use=yes
62763 else
62764 echo "$as_me: failed program was:" >&5
62765 sed 's/^/| /' conftest.$ac_ext >&5
62767 glibcxx_cv_func_finitef_use=no
62769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62770 ac_ext=c
62771 ac_cpp='$CPP $CPPFLAGS'
62772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62781 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62783 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62785 for ac_func in finitef
62787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62788 echo "$as_me:$LINENO: checking for $ac_func" >&5
62789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62790 if eval "test \"\${$as_ac_var+set}\" = set"; then
62791 echo $ECHO_N "(cached) $ECHO_C" >&6
62792 else
62793 if test x$gcc_no_link = xyes; then
62794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62796 { (exit 1); exit 1; }; }
62798 cat >conftest.$ac_ext <<_ACEOF
62799 /* confdefs.h. */
62800 _ACEOF
62801 cat confdefs.h >>conftest.$ac_ext
62802 cat >>conftest.$ac_ext <<_ACEOF
62803 /* end confdefs.h. */
62804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62806 #define $ac_func innocuous_$ac_func
62808 /* System header to define __stub macros and hopefully few prototypes,
62809 which can conflict with char $ac_func (); below.
62810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62811 <limits.h> exists even on freestanding compilers. */
62813 #ifdef __STDC__
62814 # include <limits.h>
62815 #else
62816 # include <assert.h>
62817 #endif
62819 #undef $ac_func
62821 /* Override any gcc2 internal prototype to avoid an error. */
62822 #ifdef __cplusplus
62823 extern "C"
62825 #endif
62826 /* We use char because int might match the return type of a gcc2
62827 builtin and then its argument prototype would still apply. */
62828 char $ac_func ();
62829 /* The GNU C library defines this for functions which it implements
62830 to always fail with ENOSYS. Some functions are actually named
62831 something starting with __ and the normal name is an alias. */
62832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62833 choke me
62834 #else
62835 char (*f) () = $ac_func;
62836 #endif
62837 #ifdef __cplusplus
62839 #endif
62842 main ()
62844 return f != $ac_func;
62846 return 0;
62848 _ACEOF
62849 rm -f conftest.$ac_objext conftest$ac_exeext
62850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62851 (eval $ac_link) 2>conftest.er1
62852 ac_status=$?
62853 grep -v '^ *+' conftest.er1 >conftest.err
62854 rm -f conftest.er1
62855 cat conftest.err >&5
62856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62857 (exit $ac_status); } &&
62858 { ac_try='test -z "$ac_c_werror_flag"
62859 || test ! -s conftest.err'
62860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62861 (eval $ac_try) 2>&5
62862 ac_status=$?
62863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62864 (exit $ac_status); }; } &&
62865 { ac_try='test -s conftest$ac_exeext'
62866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62867 (eval $ac_try) 2>&5
62868 ac_status=$?
62869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62870 (exit $ac_status); }; }; then
62871 eval "$as_ac_var=yes"
62872 else
62873 echo "$as_me: failed program was:" >&5
62874 sed 's/^/| /' conftest.$ac_ext >&5
62876 eval "$as_ac_var=no"
62878 rm -f conftest.err conftest.$ac_objext \
62879 conftest$ac_exeext conftest.$ac_ext
62881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62883 if test `eval echo '${'$as_ac_var'}'` = yes; then
62884 cat >>confdefs.h <<_ACEOF
62885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62886 _ACEOF
62889 done
62891 else
62893 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62894 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62895 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62896 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62897 echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62902 ac_ext=cc
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908 cat >conftest.$ac_ext <<_ACEOF
62909 /* confdefs.h. */
62910 _ACEOF
62911 cat confdefs.h >>conftest.$ac_ext
62912 cat >>conftest.$ac_ext <<_ACEOF
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 #ifdef HAVE_IEEEFP_H
62916 #include <ieeefp.h>
62917 #endif
62920 main ()
62922 _finitef(0);
62924 return 0;
62926 _ACEOF
62927 rm -f conftest.$ac_objext
62928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62929 (eval $ac_compile) 2>conftest.er1
62930 ac_status=$?
62931 grep -v '^ *+' conftest.er1 >conftest.err
62932 rm -f conftest.er1
62933 cat conftest.err >&5
62934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62935 (exit $ac_status); } &&
62936 { ac_try='test -z "$ac_cxx_werror_flag"
62937 || test ! -s conftest.err'
62938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62939 (eval $ac_try) 2>&5
62940 ac_status=$?
62941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62942 (exit $ac_status); }; } &&
62943 { ac_try='test -s conftest.$ac_objext'
62944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62945 (eval $ac_try) 2>&5
62946 ac_status=$?
62947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62948 (exit $ac_status); }; }; then
62949 glibcxx_cv_func__finitef_use=yes
62950 else
62951 echo "$as_me: failed program was:" >&5
62952 sed 's/^/| /' conftest.$ac_ext >&5
62954 glibcxx_cv_func__finitef_use=no
62956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62957 ac_ext=c
62958 ac_cpp='$CPP $CPPFLAGS'
62959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62968 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62970 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62972 for ac_func in _finitef
62974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62975 echo "$as_me:$LINENO: checking for $ac_func" >&5
62976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62977 if eval "test \"\${$as_ac_var+set}\" = set"; then
62978 echo $ECHO_N "(cached) $ECHO_C" >&6
62979 else
62980 if test x$gcc_no_link = xyes; then
62981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62983 { (exit 1); exit 1; }; }
62985 cat >conftest.$ac_ext <<_ACEOF
62986 /* confdefs.h. */
62987 _ACEOF
62988 cat confdefs.h >>conftest.$ac_ext
62989 cat >>conftest.$ac_ext <<_ACEOF
62990 /* end confdefs.h. */
62991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62993 #define $ac_func innocuous_$ac_func
62995 /* System header to define __stub macros and hopefully few prototypes,
62996 which can conflict with char $ac_func (); below.
62997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62998 <limits.h> exists even on freestanding compilers. */
63000 #ifdef __STDC__
63001 # include <limits.h>
63002 #else
63003 # include <assert.h>
63004 #endif
63006 #undef $ac_func
63008 /* Override any gcc2 internal prototype to avoid an error. */
63009 #ifdef __cplusplus
63010 extern "C"
63012 #endif
63013 /* We use char because int might match the return type of a gcc2
63014 builtin and then its argument prototype would still apply. */
63015 char $ac_func ();
63016 /* The GNU C library defines this for functions which it implements
63017 to always fail with ENOSYS. Some functions are actually named
63018 something starting with __ and the normal name is an alias. */
63019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63020 choke me
63021 #else
63022 char (*f) () = $ac_func;
63023 #endif
63024 #ifdef __cplusplus
63026 #endif
63029 main ()
63031 return f != $ac_func;
63033 return 0;
63035 _ACEOF
63036 rm -f conftest.$ac_objext conftest$ac_exeext
63037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63038 (eval $ac_link) 2>conftest.er1
63039 ac_status=$?
63040 grep -v '^ *+' conftest.er1 >conftest.err
63041 rm -f conftest.er1
63042 cat conftest.err >&5
63043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044 (exit $ac_status); } &&
63045 { ac_try='test -z "$ac_c_werror_flag"
63046 || test ! -s conftest.err'
63047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63048 (eval $ac_try) 2>&5
63049 ac_status=$?
63050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63051 (exit $ac_status); }; } &&
63052 { ac_try='test -s conftest$ac_exeext'
63053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63054 (eval $ac_try) 2>&5
63055 ac_status=$?
63056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63057 (exit $ac_status); }; }; then
63058 eval "$as_ac_var=yes"
63059 else
63060 echo "$as_me: failed program was:" >&5
63061 sed 's/^/| /' conftest.$ac_ext >&5
63063 eval "$as_ac_var=no"
63065 rm -f conftest.err conftest.$ac_objext \
63066 conftest$ac_exeext conftest.$ac_ext
63068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63070 if test `eval echo '${'$as_ac_var'}'` = yes; then
63071 cat >>confdefs.h <<_ACEOF
63072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63073 _ACEOF
63076 done
63083 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63084 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63085 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63086 echo $ECHO_N "(cached) $ECHO_C" >&6
63087 else
63091 ac_ext=cc
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63097 cat >conftest.$ac_ext <<_ACEOF
63098 /* confdefs.h. */
63099 _ACEOF
63100 cat confdefs.h >>conftest.$ac_ext
63101 cat >>conftest.$ac_ext <<_ACEOF
63102 /* end confdefs.h. */
63103 #include <math.h>
63105 main ()
63107 `for x in acosl asinl atanl \
63108 cosl sinl tanl \
63109 coshl sinhl tanhl; do echo "$x (0);"; done`
63111 return 0;
63113 _ACEOF
63114 rm -f conftest.$ac_objext
63115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63116 (eval $ac_compile) 2>conftest.er1
63117 ac_status=$?
63118 grep -v '^ *+' conftest.er1 >conftest.err
63119 rm -f conftest.er1
63120 cat conftest.err >&5
63121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63122 (exit $ac_status); } &&
63123 { ac_try='test -z "$ac_cxx_werror_flag"
63124 || test ! -s conftest.err'
63125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63126 (eval $ac_try) 2>&5
63127 ac_status=$?
63128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63129 (exit $ac_status); }; } &&
63130 { ac_try='test -s conftest.$ac_objext'
63131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63132 (eval $ac_try) 2>&5
63133 ac_status=$?
63134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63135 (exit $ac_status); }; }; then
63136 glibcxx_cv_func_long_double_trig_use=yes
63137 else
63138 echo "$as_me: failed program was:" >&5
63139 sed 's/^/| /' conftest.$ac_ext >&5
63141 glibcxx_cv_func_long_double_trig_use=no
63143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63144 ac_ext=c
63145 ac_cpp='$CPP $CPPFLAGS'
63146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63153 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63154 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63164 for ac_func in acosl asinl atanl \
63165 cosl sinl tanl \
63166 coshl sinhl tanhl
63168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63169 echo "$as_me:$LINENO: checking for $ac_func" >&5
63170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63171 if eval "test \"\${$as_ac_var+set}\" = set"; then
63172 echo $ECHO_N "(cached) $ECHO_C" >&6
63173 else
63174 if test x$gcc_no_link = xyes; then
63175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63177 { (exit 1); exit 1; }; }
63179 cat >conftest.$ac_ext <<_ACEOF
63180 /* confdefs.h. */
63181 _ACEOF
63182 cat confdefs.h >>conftest.$ac_ext
63183 cat >>conftest.$ac_ext <<_ACEOF
63184 /* end confdefs.h. */
63185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63187 #define $ac_func innocuous_$ac_func
63189 /* System header to define __stub macros and hopefully few prototypes,
63190 which can conflict with char $ac_func (); below.
63191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63192 <limits.h> exists even on freestanding compilers. */
63194 #ifdef __STDC__
63195 # include <limits.h>
63196 #else
63197 # include <assert.h>
63198 #endif
63200 #undef $ac_func
63202 /* Override any gcc2 internal prototype to avoid an error. */
63203 #ifdef __cplusplus
63204 extern "C"
63206 #endif
63207 /* We use char because int might match the return type of a gcc2
63208 builtin and then its argument prototype would still apply. */
63209 char $ac_func ();
63210 /* The GNU C library defines this for functions which it implements
63211 to always fail with ENOSYS. Some functions are actually named
63212 something starting with __ and the normal name is an alias. */
63213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63214 choke me
63215 #else
63216 char (*f) () = $ac_func;
63217 #endif
63218 #ifdef __cplusplus
63220 #endif
63223 main ()
63225 return f != $ac_func;
63227 return 0;
63229 _ACEOF
63230 rm -f conftest.$ac_objext conftest$ac_exeext
63231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63232 (eval $ac_link) 2>conftest.er1
63233 ac_status=$?
63234 grep -v '^ *+' conftest.er1 >conftest.err
63235 rm -f conftest.er1
63236 cat conftest.err >&5
63237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63238 (exit $ac_status); } &&
63239 { ac_try='test -z "$ac_c_werror_flag"
63240 || test ! -s conftest.err'
63241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63242 (eval $ac_try) 2>&5
63243 ac_status=$?
63244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63245 (exit $ac_status); }; } &&
63246 { ac_try='test -s conftest$ac_exeext'
63247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63248 (eval $ac_try) 2>&5
63249 ac_status=$?
63250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63251 (exit $ac_status); }; }; then
63252 eval "$as_ac_var=yes"
63253 else
63254 echo "$as_me: failed program was:" >&5
63255 sed 's/^/| /' conftest.$ac_ext >&5
63257 eval "$as_ac_var=no"
63259 rm -f conftest.err conftest.$ac_objext \
63260 conftest$ac_exeext conftest.$ac_ext
63262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63264 if test `eval echo '${'$as_ac_var'}'` = yes; then
63265 cat >>confdefs.h <<_ACEOF
63266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63267 _ACEOF
63270 done
63275 echo "$as_me:$LINENO: checking for long double round functions" >&5
63276 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63277 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63278 echo $ECHO_N "(cached) $ECHO_C" >&6
63279 else
63283 ac_ext=cc
63284 ac_cpp='$CXXCPP $CPPFLAGS'
63285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63289 cat >conftest.$ac_ext <<_ACEOF
63290 /* confdefs.h. */
63291 _ACEOF
63292 cat confdefs.h >>conftest.$ac_ext
63293 cat >>conftest.$ac_ext <<_ACEOF
63294 /* end confdefs.h. */
63295 #include <math.h>
63297 main ()
63299 `for x in ceill floorl; do echo "$x (0);"; done`
63301 return 0;
63303 _ACEOF
63304 rm -f conftest.$ac_objext
63305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63306 (eval $ac_compile) 2>conftest.er1
63307 ac_status=$?
63308 grep -v '^ *+' conftest.er1 >conftest.err
63309 rm -f conftest.er1
63310 cat conftest.err >&5
63311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63312 (exit $ac_status); } &&
63313 { ac_try='test -z "$ac_cxx_werror_flag"
63314 || test ! -s conftest.err'
63315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63316 (eval $ac_try) 2>&5
63317 ac_status=$?
63318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63319 (exit $ac_status); }; } &&
63320 { ac_try='test -s conftest.$ac_objext'
63321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63322 (eval $ac_try) 2>&5
63323 ac_status=$?
63324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325 (exit $ac_status); }; }; then
63326 glibcxx_cv_func_long_double_round_use=yes
63327 else
63328 echo "$as_me: failed program was:" >&5
63329 sed 's/^/| /' conftest.$ac_ext >&5
63331 glibcxx_cv_func_long_double_round_use=no
63333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63334 ac_ext=c
63335 ac_cpp='$CPP $CPPFLAGS'
63336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63343 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63344 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63347 for ac_func in ceill floorl
63349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63350 echo "$as_me:$LINENO: checking for $ac_func" >&5
63351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63352 if eval "test \"\${$as_ac_var+set}\" = set"; then
63353 echo $ECHO_N "(cached) $ECHO_C" >&6
63354 else
63355 if test x$gcc_no_link = xyes; then
63356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63358 { (exit 1); exit 1; }; }
63360 cat >conftest.$ac_ext <<_ACEOF
63361 /* confdefs.h. */
63362 _ACEOF
63363 cat confdefs.h >>conftest.$ac_ext
63364 cat >>conftest.$ac_ext <<_ACEOF
63365 /* end confdefs.h. */
63366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63368 #define $ac_func innocuous_$ac_func
63370 /* System header to define __stub macros and hopefully few prototypes,
63371 which can conflict with char $ac_func (); below.
63372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63373 <limits.h> exists even on freestanding compilers. */
63375 #ifdef __STDC__
63376 # include <limits.h>
63377 #else
63378 # include <assert.h>
63379 #endif
63381 #undef $ac_func
63383 /* Override any gcc2 internal prototype to avoid an error. */
63384 #ifdef __cplusplus
63385 extern "C"
63387 #endif
63388 /* We use char because int might match the return type of a gcc2
63389 builtin and then its argument prototype would still apply. */
63390 char $ac_func ();
63391 /* The GNU C library defines this for functions which it implements
63392 to always fail with ENOSYS. Some functions are actually named
63393 something starting with __ and the normal name is an alias. */
63394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63395 choke me
63396 #else
63397 char (*f) () = $ac_func;
63398 #endif
63399 #ifdef __cplusplus
63401 #endif
63404 main ()
63406 return f != $ac_func;
63408 return 0;
63410 _ACEOF
63411 rm -f conftest.$ac_objext conftest$ac_exeext
63412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63413 (eval $ac_link) 2>conftest.er1
63414 ac_status=$?
63415 grep -v '^ *+' conftest.er1 >conftest.err
63416 rm -f conftest.er1
63417 cat conftest.err >&5
63418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419 (exit $ac_status); } &&
63420 { ac_try='test -z "$ac_c_werror_flag"
63421 || test ! -s conftest.err'
63422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63423 (eval $ac_try) 2>&5
63424 ac_status=$?
63425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63426 (exit $ac_status); }; } &&
63427 { ac_try='test -s conftest$ac_exeext'
63428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63429 (eval $ac_try) 2>&5
63430 ac_status=$?
63431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63432 (exit $ac_status); }; }; then
63433 eval "$as_ac_var=yes"
63434 else
63435 echo "$as_me: failed program was:" >&5
63436 sed 's/^/| /' conftest.$ac_ext >&5
63438 eval "$as_ac_var=no"
63440 rm -f conftest.err conftest.$ac_objext \
63441 conftest$ac_exeext conftest.$ac_ext
63443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63445 if test `eval echo '${'$as_ac_var'}'` = yes; then
63446 cat >>confdefs.h <<_ACEOF
63447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63448 _ACEOF
63451 done
63457 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63458 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63459 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63460 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63461 echo $ECHO_N "(cached) $ECHO_C" >&6
63462 else
63466 ac_ext=cc
63467 ac_cpp='$CXXCPP $CPPFLAGS'
63468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63472 cat >conftest.$ac_ext <<_ACEOF
63473 /* confdefs.h. */
63474 _ACEOF
63475 cat confdefs.h >>conftest.$ac_ext
63476 cat >>conftest.$ac_ext <<_ACEOF
63477 /* end confdefs.h. */
63478 #include <math.h>
63479 #ifdef HAVE_IEEEFP_H
63480 #include <ieeefp.h>
63481 #endif
63484 main ()
63486 isnanl(0);
63488 return 0;
63490 _ACEOF
63491 rm -f conftest.$ac_objext
63492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63493 (eval $ac_compile) 2>conftest.er1
63494 ac_status=$?
63495 grep -v '^ *+' conftest.er1 >conftest.err
63496 rm -f conftest.er1
63497 cat conftest.err >&5
63498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63499 (exit $ac_status); } &&
63500 { ac_try='test -z "$ac_cxx_werror_flag"
63501 || test ! -s conftest.err'
63502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63503 (eval $ac_try) 2>&5
63504 ac_status=$?
63505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506 (exit $ac_status); }; } &&
63507 { ac_try='test -s conftest.$ac_objext'
63508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63509 (eval $ac_try) 2>&5
63510 ac_status=$?
63511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63512 (exit $ac_status); }; }; then
63513 glibcxx_cv_func_isnanl_use=yes
63514 else
63515 echo "$as_me: failed program was:" >&5
63516 sed 's/^/| /' conftest.$ac_ext >&5
63518 glibcxx_cv_func_isnanl_use=no
63520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63521 ac_ext=c
63522 ac_cpp='$CPP $CPPFLAGS'
63523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63532 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63534 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63536 for ac_func in isnanl
63538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63539 echo "$as_me:$LINENO: checking for $ac_func" >&5
63540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63541 if eval "test \"\${$as_ac_var+set}\" = set"; then
63542 echo $ECHO_N "(cached) $ECHO_C" >&6
63543 else
63544 if test x$gcc_no_link = xyes; then
63545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63547 { (exit 1); exit 1; }; }
63549 cat >conftest.$ac_ext <<_ACEOF
63550 /* confdefs.h. */
63551 _ACEOF
63552 cat confdefs.h >>conftest.$ac_ext
63553 cat >>conftest.$ac_ext <<_ACEOF
63554 /* end confdefs.h. */
63555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63557 #define $ac_func innocuous_$ac_func
63559 /* System header to define __stub macros and hopefully few prototypes,
63560 which can conflict with char $ac_func (); below.
63561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63562 <limits.h> exists even on freestanding compilers. */
63564 #ifdef __STDC__
63565 # include <limits.h>
63566 #else
63567 # include <assert.h>
63568 #endif
63570 #undef $ac_func
63572 /* Override any gcc2 internal prototype to avoid an error. */
63573 #ifdef __cplusplus
63574 extern "C"
63576 #endif
63577 /* We use char because int might match the return type of a gcc2
63578 builtin and then its argument prototype would still apply. */
63579 char $ac_func ();
63580 /* The GNU C library defines this for functions which it implements
63581 to always fail with ENOSYS. Some functions are actually named
63582 something starting with __ and the normal name is an alias. */
63583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63584 choke me
63585 #else
63586 char (*f) () = $ac_func;
63587 #endif
63588 #ifdef __cplusplus
63590 #endif
63593 main ()
63595 return f != $ac_func;
63597 return 0;
63599 _ACEOF
63600 rm -f conftest.$ac_objext conftest$ac_exeext
63601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63602 (eval $ac_link) 2>conftest.er1
63603 ac_status=$?
63604 grep -v '^ *+' conftest.er1 >conftest.err
63605 rm -f conftest.er1
63606 cat conftest.err >&5
63607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608 (exit $ac_status); } &&
63609 { ac_try='test -z "$ac_c_werror_flag"
63610 || test ! -s conftest.err'
63611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63612 (eval $ac_try) 2>&5
63613 ac_status=$?
63614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63615 (exit $ac_status); }; } &&
63616 { ac_try='test -s conftest$ac_exeext'
63617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63618 (eval $ac_try) 2>&5
63619 ac_status=$?
63620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63621 (exit $ac_status); }; }; then
63622 eval "$as_ac_var=yes"
63623 else
63624 echo "$as_me: failed program was:" >&5
63625 sed 's/^/| /' conftest.$ac_ext >&5
63627 eval "$as_ac_var=no"
63629 rm -f conftest.err conftest.$ac_objext \
63630 conftest$ac_exeext conftest.$ac_ext
63632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63634 if test `eval echo '${'$as_ac_var'}'` = yes; then
63635 cat >>confdefs.h <<_ACEOF
63636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63637 _ACEOF
63640 done
63642 else
63644 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63645 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63646 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63647 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63648 echo $ECHO_N "(cached) $ECHO_C" >&6
63649 else
63653 ac_ext=cc
63654 ac_cpp='$CXXCPP $CPPFLAGS'
63655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63659 cat >conftest.$ac_ext <<_ACEOF
63660 /* confdefs.h. */
63661 _ACEOF
63662 cat confdefs.h >>conftest.$ac_ext
63663 cat >>conftest.$ac_ext <<_ACEOF
63664 /* end confdefs.h. */
63665 #include <math.h>
63666 #ifdef HAVE_IEEEFP_H
63667 #include <ieeefp.h>
63668 #endif
63671 main ()
63673 _isnanl(0);
63675 return 0;
63677 _ACEOF
63678 rm -f conftest.$ac_objext
63679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63680 (eval $ac_compile) 2>conftest.er1
63681 ac_status=$?
63682 grep -v '^ *+' conftest.er1 >conftest.err
63683 rm -f conftest.er1
63684 cat conftest.err >&5
63685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63686 (exit $ac_status); } &&
63687 { ac_try='test -z "$ac_cxx_werror_flag"
63688 || test ! -s conftest.err'
63689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63690 (eval $ac_try) 2>&5
63691 ac_status=$?
63692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63693 (exit $ac_status); }; } &&
63694 { ac_try='test -s conftest.$ac_objext'
63695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63696 (eval $ac_try) 2>&5
63697 ac_status=$?
63698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63699 (exit $ac_status); }; }; then
63700 glibcxx_cv_func__isnanl_use=yes
63701 else
63702 echo "$as_me: failed program was:" >&5
63703 sed 's/^/| /' conftest.$ac_ext >&5
63705 glibcxx_cv_func__isnanl_use=no
63707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63708 ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63719 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63721 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63723 for ac_func in _isnanl
63725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63726 echo "$as_me:$LINENO: checking for $ac_func" >&5
63727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63728 if eval "test \"\${$as_ac_var+set}\" = set"; then
63729 echo $ECHO_N "(cached) $ECHO_C" >&6
63730 else
63731 if test x$gcc_no_link = xyes; then
63732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63734 { (exit 1); exit 1; }; }
63736 cat >conftest.$ac_ext <<_ACEOF
63737 /* confdefs.h. */
63738 _ACEOF
63739 cat confdefs.h >>conftest.$ac_ext
63740 cat >>conftest.$ac_ext <<_ACEOF
63741 /* end confdefs.h. */
63742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63744 #define $ac_func innocuous_$ac_func
63746 /* System header to define __stub macros and hopefully few prototypes,
63747 which can conflict with char $ac_func (); below.
63748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63749 <limits.h> exists even on freestanding compilers. */
63751 #ifdef __STDC__
63752 # include <limits.h>
63753 #else
63754 # include <assert.h>
63755 #endif
63757 #undef $ac_func
63759 /* Override any gcc2 internal prototype to avoid an error. */
63760 #ifdef __cplusplus
63761 extern "C"
63763 #endif
63764 /* We use char because int might match the return type of a gcc2
63765 builtin and then its argument prototype would still apply. */
63766 char $ac_func ();
63767 /* The GNU C library defines this for functions which it implements
63768 to always fail with ENOSYS. Some functions are actually named
63769 something starting with __ and the normal name is an alias. */
63770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63771 choke me
63772 #else
63773 char (*f) () = $ac_func;
63774 #endif
63775 #ifdef __cplusplus
63777 #endif
63780 main ()
63782 return f != $ac_func;
63784 return 0;
63786 _ACEOF
63787 rm -f conftest.$ac_objext conftest$ac_exeext
63788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63789 (eval $ac_link) 2>conftest.er1
63790 ac_status=$?
63791 grep -v '^ *+' conftest.er1 >conftest.err
63792 rm -f conftest.er1
63793 cat conftest.err >&5
63794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63795 (exit $ac_status); } &&
63796 { ac_try='test -z "$ac_c_werror_flag"
63797 || test ! -s conftest.err'
63798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63799 (eval $ac_try) 2>&5
63800 ac_status=$?
63801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63802 (exit $ac_status); }; } &&
63803 { ac_try='test -s conftest$ac_exeext'
63804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63805 (eval $ac_try) 2>&5
63806 ac_status=$?
63807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63808 (exit $ac_status); }; }; then
63809 eval "$as_ac_var=yes"
63810 else
63811 echo "$as_me: failed program was:" >&5
63812 sed 's/^/| /' conftest.$ac_ext >&5
63814 eval "$as_ac_var=no"
63816 rm -f conftest.err conftest.$ac_objext \
63817 conftest$ac_exeext conftest.$ac_ext
63819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63821 if test `eval echo '${'$as_ac_var'}'` = yes; then
63822 cat >>confdefs.h <<_ACEOF
63823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63824 _ACEOF
63827 done
63834 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63835 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63836 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63837 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63838 echo $ECHO_N "(cached) $ECHO_C" >&6
63839 else
63843 ac_ext=cc
63844 ac_cpp='$CXXCPP $CPPFLAGS'
63845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63849 cat >conftest.$ac_ext <<_ACEOF
63850 /* confdefs.h. */
63851 _ACEOF
63852 cat confdefs.h >>conftest.$ac_ext
63853 cat >>conftest.$ac_ext <<_ACEOF
63854 /* end confdefs.h. */
63855 #include <math.h>
63856 #ifdef HAVE_IEEEFP_H
63857 #include <ieeefp.h>
63858 #endif
63861 main ()
63863 isinfl(0);
63865 return 0;
63867 _ACEOF
63868 rm -f conftest.$ac_objext
63869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63870 (eval $ac_compile) 2>conftest.er1
63871 ac_status=$?
63872 grep -v '^ *+' conftest.er1 >conftest.err
63873 rm -f conftest.er1
63874 cat conftest.err >&5
63875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63876 (exit $ac_status); } &&
63877 { ac_try='test -z "$ac_cxx_werror_flag"
63878 || test ! -s conftest.err'
63879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63880 (eval $ac_try) 2>&5
63881 ac_status=$?
63882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63883 (exit $ac_status); }; } &&
63884 { ac_try='test -s conftest.$ac_objext'
63885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63886 (eval $ac_try) 2>&5
63887 ac_status=$?
63888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63889 (exit $ac_status); }; }; then
63890 glibcxx_cv_func_isinfl_use=yes
63891 else
63892 echo "$as_me: failed program was:" >&5
63893 sed 's/^/| /' conftest.$ac_ext >&5
63895 glibcxx_cv_func_isinfl_use=no
63897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63898 ac_ext=c
63899 ac_cpp='$CPP $CPPFLAGS'
63900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63909 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63911 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63913 for ac_func in isinfl
63915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63916 echo "$as_me:$LINENO: checking for $ac_func" >&5
63917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63918 if eval "test \"\${$as_ac_var+set}\" = set"; then
63919 echo $ECHO_N "(cached) $ECHO_C" >&6
63920 else
63921 if test x$gcc_no_link = xyes; then
63922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63924 { (exit 1); exit 1; }; }
63926 cat >conftest.$ac_ext <<_ACEOF
63927 /* confdefs.h. */
63928 _ACEOF
63929 cat confdefs.h >>conftest.$ac_ext
63930 cat >>conftest.$ac_ext <<_ACEOF
63931 /* end confdefs.h. */
63932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63934 #define $ac_func innocuous_$ac_func
63936 /* System header to define __stub macros and hopefully few prototypes,
63937 which can conflict with char $ac_func (); below.
63938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63939 <limits.h> exists even on freestanding compilers. */
63941 #ifdef __STDC__
63942 # include <limits.h>
63943 #else
63944 # include <assert.h>
63945 #endif
63947 #undef $ac_func
63949 /* Override any gcc2 internal prototype to avoid an error. */
63950 #ifdef __cplusplus
63951 extern "C"
63953 #endif
63954 /* We use char because int might match the return type of a gcc2
63955 builtin and then its argument prototype would still apply. */
63956 char $ac_func ();
63957 /* The GNU C library defines this for functions which it implements
63958 to always fail with ENOSYS. Some functions are actually named
63959 something starting with __ and the normal name is an alias. */
63960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63961 choke me
63962 #else
63963 char (*f) () = $ac_func;
63964 #endif
63965 #ifdef __cplusplus
63967 #endif
63970 main ()
63972 return f != $ac_func;
63974 return 0;
63976 _ACEOF
63977 rm -f conftest.$ac_objext conftest$ac_exeext
63978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63979 (eval $ac_link) 2>conftest.er1
63980 ac_status=$?
63981 grep -v '^ *+' conftest.er1 >conftest.err
63982 rm -f conftest.er1
63983 cat conftest.err >&5
63984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985 (exit $ac_status); } &&
63986 { ac_try='test -z "$ac_c_werror_flag"
63987 || test ! -s conftest.err'
63988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63989 (eval $ac_try) 2>&5
63990 ac_status=$?
63991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63992 (exit $ac_status); }; } &&
63993 { ac_try='test -s conftest$ac_exeext'
63994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63995 (eval $ac_try) 2>&5
63996 ac_status=$?
63997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63998 (exit $ac_status); }; }; then
63999 eval "$as_ac_var=yes"
64000 else
64001 echo "$as_me: failed program was:" >&5
64002 sed 's/^/| /' conftest.$ac_ext >&5
64004 eval "$as_ac_var=no"
64006 rm -f conftest.err conftest.$ac_objext \
64007 conftest$ac_exeext conftest.$ac_ext
64009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64011 if test `eval echo '${'$as_ac_var'}'` = yes; then
64012 cat >>confdefs.h <<_ACEOF
64013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64014 _ACEOF
64017 done
64019 else
64021 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64022 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64024 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64025 echo $ECHO_N "(cached) $ECHO_C" >&6
64026 else
64030 ac_ext=cc
64031 ac_cpp='$CXXCPP $CPPFLAGS'
64032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64036 cat >conftest.$ac_ext <<_ACEOF
64037 /* confdefs.h. */
64038 _ACEOF
64039 cat confdefs.h >>conftest.$ac_ext
64040 cat >>conftest.$ac_ext <<_ACEOF
64041 /* end confdefs.h. */
64042 #include <math.h>
64043 #ifdef HAVE_IEEEFP_H
64044 #include <ieeefp.h>
64045 #endif
64048 main ()
64050 _isinfl(0);
64052 return 0;
64054 _ACEOF
64055 rm -f conftest.$ac_objext
64056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64057 (eval $ac_compile) 2>conftest.er1
64058 ac_status=$?
64059 grep -v '^ *+' conftest.er1 >conftest.err
64060 rm -f conftest.er1
64061 cat conftest.err >&5
64062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063 (exit $ac_status); } &&
64064 { ac_try='test -z "$ac_cxx_werror_flag"
64065 || test ! -s conftest.err'
64066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64067 (eval $ac_try) 2>&5
64068 ac_status=$?
64069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64070 (exit $ac_status); }; } &&
64071 { ac_try='test -s conftest.$ac_objext'
64072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64073 (eval $ac_try) 2>&5
64074 ac_status=$?
64075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64076 (exit $ac_status); }; }; then
64077 glibcxx_cv_func__isinfl_use=yes
64078 else
64079 echo "$as_me: failed program was:" >&5
64080 sed 's/^/| /' conftest.$ac_ext >&5
64082 glibcxx_cv_func__isinfl_use=no
64084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64085 ac_ext=c
64086 ac_cpp='$CPP $CPPFLAGS'
64087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64096 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64098 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64100 for ac_func in _isinfl
64102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64103 echo "$as_me:$LINENO: checking for $ac_func" >&5
64104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64105 if eval "test \"\${$as_ac_var+set}\" = set"; then
64106 echo $ECHO_N "(cached) $ECHO_C" >&6
64107 else
64108 if test x$gcc_no_link = xyes; then
64109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64111 { (exit 1); exit 1; }; }
64113 cat >conftest.$ac_ext <<_ACEOF
64114 /* confdefs.h. */
64115 _ACEOF
64116 cat confdefs.h >>conftest.$ac_ext
64117 cat >>conftest.$ac_ext <<_ACEOF
64118 /* end confdefs.h. */
64119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64121 #define $ac_func innocuous_$ac_func
64123 /* System header to define __stub macros and hopefully few prototypes,
64124 which can conflict with char $ac_func (); below.
64125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64126 <limits.h> exists even on freestanding compilers. */
64128 #ifdef __STDC__
64129 # include <limits.h>
64130 #else
64131 # include <assert.h>
64132 #endif
64134 #undef $ac_func
64136 /* Override any gcc2 internal prototype to avoid an error. */
64137 #ifdef __cplusplus
64138 extern "C"
64140 #endif
64141 /* We use char because int might match the return type of a gcc2
64142 builtin and then its argument prototype would still apply. */
64143 char $ac_func ();
64144 /* The GNU C library defines this for functions which it implements
64145 to always fail with ENOSYS. Some functions are actually named
64146 something starting with __ and the normal name is an alias. */
64147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64148 choke me
64149 #else
64150 char (*f) () = $ac_func;
64151 #endif
64152 #ifdef __cplusplus
64154 #endif
64157 main ()
64159 return f != $ac_func;
64161 return 0;
64163 _ACEOF
64164 rm -f conftest.$ac_objext conftest$ac_exeext
64165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64166 (eval $ac_link) 2>conftest.er1
64167 ac_status=$?
64168 grep -v '^ *+' conftest.er1 >conftest.err
64169 rm -f conftest.er1
64170 cat conftest.err >&5
64171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64172 (exit $ac_status); } &&
64173 { ac_try='test -z "$ac_c_werror_flag"
64174 || test ! -s conftest.err'
64175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64176 (eval $ac_try) 2>&5
64177 ac_status=$?
64178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64179 (exit $ac_status); }; } &&
64180 { ac_try='test -s conftest$ac_exeext'
64181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64182 (eval $ac_try) 2>&5
64183 ac_status=$?
64184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64185 (exit $ac_status); }; }; then
64186 eval "$as_ac_var=yes"
64187 else
64188 echo "$as_me: failed program was:" >&5
64189 sed 's/^/| /' conftest.$ac_ext >&5
64191 eval "$as_ac_var=no"
64193 rm -f conftest.err conftest.$ac_objext \
64194 conftest$ac_exeext conftest.$ac_ext
64196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64198 if test `eval echo '${'$as_ac_var'}'` = yes; then
64199 cat >>confdefs.h <<_ACEOF
64200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64201 _ACEOF
64204 done
64211 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64212 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64213 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64214 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64215 echo $ECHO_N "(cached) $ECHO_C" >&6
64216 else
64220 ac_ext=cc
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226 cat >conftest.$ac_ext <<_ACEOF
64227 /* confdefs.h. */
64228 _ACEOF
64229 cat confdefs.h >>conftest.$ac_ext
64230 cat >>conftest.$ac_ext <<_ACEOF
64231 /* end confdefs.h. */
64232 #include <math.h>
64234 main ()
64236 copysignl(0, 0);
64238 return 0;
64240 _ACEOF
64241 rm -f conftest.$ac_objext
64242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64243 (eval $ac_compile) 2>conftest.er1
64244 ac_status=$?
64245 grep -v '^ *+' conftest.er1 >conftest.err
64246 rm -f conftest.er1
64247 cat conftest.err >&5
64248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249 (exit $ac_status); } &&
64250 { ac_try='test -z "$ac_cxx_werror_flag"
64251 || test ! -s conftest.err'
64252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64253 (eval $ac_try) 2>&5
64254 ac_status=$?
64255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64256 (exit $ac_status); }; } &&
64257 { ac_try='test -s conftest.$ac_objext'
64258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64259 (eval $ac_try) 2>&5
64260 ac_status=$?
64261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64262 (exit $ac_status); }; }; then
64263 glibcxx_cv_func_copysignl_use=yes
64264 else
64265 echo "$as_me: failed program was:" >&5
64266 sed 's/^/| /' conftest.$ac_ext >&5
64268 glibcxx_cv_func_copysignl_use=no
64270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64271 ac_ext=c
64272 ac_cpp='$CPP $CPPFLAGS'
64273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64282 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64284 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64286 for ac_func in copysignl
64288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64289 echo "$as_me:$LINENO: checking for $ac_func" >&5
64290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64291 if eval "test \"\${$as_ac_var+set}\" = set"; then
64292 echo $ECHO_N "(cached) $ECHO_C" >&6
64293 else
64294 if test x$gcc_no_link = xyes; then
64295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64297 { (exit 1); exit 1; }; }
64299 cat >conftest.$ac_ext <<_ACEOF
64300 /* confdefs.h. */
64301 _ACEOF
64302 cat confdefs.h >>conftest.$ac_ext
64303 cat >>conftest.$ac_ext <<_ACEOF
64304 /* end confdefs.h. */
64305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64307 #define $ac_func innocuous_$ac_func
64309 /* System header to define __stub macros and hopefully few prototypes,
64310 which can conflict with char $ac_func (); below.
64311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64312 <limits.h> exists even on freestanding compilers. */
64314 #ifdef __STDC__
64315 # include <limits.h>
64316 #else
64317 # include <assert.h>
64318 #endif
64320 #undef $ac_func
64322 /* Override any gcc2 internal prototype to avoid an error. */
64323 #ifdef __cplusplus
64324 extern "C"
64326 #endif
64327 /* We use char because int might match the return type of a gcc2
64328 builtin and then its argument prototype would still apply. */
64329 char $ac_func ();
64330 /* The GNU C library defines this for functions which it implements
64331 to always fail with ENOSYS. Some functions are actually named
64332 something starting with __ and the normal name is an alias. */
64333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64334 choke me
64335 #else
64336 char (*f) () = $ac_func;
64337 #endif
64338 #ifdef __cplusplus
64340 #endif
64343 main ()
64345 return f != $ac_func;
64347 return 0;
64349 _ACEOF
64350 rm -f conftest.$ac_objext conftest$ac_exeext
64351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64352 (eval $ac_link) 2>conftest.er1
64353 ac_status=$?
64354 grep -v '^ *+' conftest.er1 >conftest.err
64355 rm -f conftest.er1
64356 cat conftest.err >&5
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); } &&
64359 { ac_try='test -z "$ac_c_werror_flag"
64360 || test ! -s conftest.err'
64361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64362 (eval $ac_try) 2>&5
64363 ac_status=$?
64364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64365 (exit $ac_status); }; } &&
64366 { ac_try='test -s conftest$ac_exeext'
64367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64368 (eval $ac_try) 2>&5
64369 ac_status=$?
64370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64371 (exit $ac_status); }; }; then
64372 eval "$as_ac_var=yes"
64373 else
64374 echo "$as_me: failed program was:" >&5
64375 sed 's/^/| /' conftest.$ac_ext >&5
64377 eval "$as_ac_var=no"
64379 rm -f conftest.err conftest.$ac_objext \
64380 conftest$ac_exeext conftest.$ac_ext
64382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64384 if test `eval echo '${'$as_ac_var'}'` = yes; then
64385 cat >>confdefs.h <<_ACEOF
64386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64387 _ACEOF
64390 done
64392 else
64394 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64395 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64396 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64397 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64398 echo $ECHO_N "(cached) $ECHO_C" >&6
64399 else
64403 ac_ext=cc
64404 ac_cpp='$CXXCPP $CPPFLAGS'
64405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64409 cat >conftest.$ac_ext <<_ACEOF
64410 /* confdefs.h. */
64411 _ACEOF
64412 cat confdefs.h >>conftest.$ac_ext
64413 cat >>conftest.$ac_ext <<_ACEOF
64414 /* end confdefs.h. */
64415 #include <math.h>
64417 main ()
64419 _copysignl(0, 0);
64421 return 0;
64423 _ACEOF
64424 rm -f conftest.$ac_objext
64425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64426 (eval $ac_compile) 2>conftest.er1
64427 ac_status=$?
64428 grep -v '^ *+' conftest.er1 >conftest.err
64429 rm -f conftest.er1
64430 cat conftest.err >&5
64431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64432 (exit $ac_status); } &&
64433 { ac_try='test -z "$ac_cxx_werror_flag"
64434 || test ! -s conftest.err'
64435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64436 (eval $ac_try) 2>&5
64437 ac_status=$?
64438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64439 (exit $ac_status); }; } &&
64440 { ac_try='test -s conftest.$ac_objext'
64441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64442 (eval $ac_try) 2>&5
64443 ac_status=$?
64444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64445 (exit $ac_status); }; }; then
64446 glibcxx_cv_func__copysignl_use=yes
64447 else
64448 echo "$as_me: failed program was:" >&5
64449 sed 's/^/| /' conftest.$ac_ext >&5
64451 glibcxx_cv_func__copysignl_use=no
64453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64454 ac_ext=c
64455 ac_cpp='$CPP $CPPFLAGS'
64456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64465 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64467 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64469 for ac_func in _copysignl
64471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64472 echo "$as_me:$LINENO: checking for $ac_func" >&5
64473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64474 if eval "test \"\${$as_ac_var+set}\" = set"; then
64475 echo $ECHO_N "(cached) $ECHO_C" >&6
64476 else
64477 if test x$gcc_no_link = xyes; then
64478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64480 { (exit 1); exit 1; }; }
64482 cat >conftest.$ac_ext <<_ACEOF
64483 /* confdefs.h. */
64484 _ACEOF
64485 cat confdefs.h >>conftest.$ac_ext
64486 cat >>conftest.$ac_ext <<_ACEOF
64487 /* end confdefs.h. */
64488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64490 #define $ac_func innocuous_$ac_func
64492 /* System header to define __stub macros and hopefully few prototypes,
64493 which can conflict with char $ac_func (); below.
64494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64495 <limits.h> exists even on freestanding compilers. */
64497 #ifdef __STDC__
64498 # include <limits.h>
64499 #else
64500 # include <assert.h>
64501 #endif
64503 #undef $ac_func
64505 /* Override any gcc2 internal prototype to avoid an error. */
64506 #ifdef __cplusplus
64507 extern "C"
64509 #endif
64510 /* We use char because int might match the return type of a gcc2
64511 builtin and then its argument prototype would still apply. */
64512 char $ac_func ();
64513 /* The GNU C library defines this for functions which it implements
64514 to always fail with ENOSYS. Some functions are actually named
64515 something starting with __ and the normal name is an alias. */
64516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64517 choke me
64518 #else
64519 char (*f) () = $ac_func;
64520 #endif
64521 #ifdef __cplusplus
64523 #endif
64526 main ()
64528 return f != $ac_func;
64530 return 0;
64532 _ACEOF
64533 rm -f conftest.$ac_objext conftest$ac_exeext
64534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64535 (eval $ac_link) 2>conftest.er1
64536 ac_status=$?
64537 grep -v '^ *+' conftest.er1 >conftest.err
64538 rm -f conftest.er1
64539 cat conftest.err >&5
64540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541 (exit $ac_status); } &&
64542 { ac_try='test -z "$ac_c_werror_flag"
64543 || test ! -s conftest.err'
64544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545 (eval $ac_try) 2>&5
64546 ac_status=$?
64547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548 (exit $ac_status); }; } &&
64549 { ac_try='test -s conftest$ac_exeext'
64550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64551 (eval $ac_try) 2>&5
64552 ac_status=$?
64553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554 (exit $ac_status); }; }; then
64555 eval "$as_ac_var=yes"
64556 else
64557 echo "$as_me: failed program was:" >&5
64558 sed 's/^/| /' conftest.$ac_ext >&5
64560 eval "$as_ac_var=no"
64562 rm -f conftest.err conftest.$ac_objext \
64563 conftest$ac_exeext conftest.$ac_ext
64565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64567 if test `eval echo '${'$as_ac_var'}'` = yes; then
64568 cat >>confdefs.h <<_ACEOF
64569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64570 _ACEOF
64573 done
64580 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64581 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64582 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64583 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64584 echo $ECHO_N "(cached) $ECHO_C" >&6
64585 else
64589 ac_ext=cc
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595 cat >conftest.$ac_ext <<_ACEOF
64596 /* confdefs.h. */
64597 _ACEOF
64598 cat confdefs.h >>conftest.$ac_ext
64599 cat >>conftest.$ac_ext <<_ACEOF
64600 /* end confdefs.h. */
64601 #include <math.h>
64603 main ()
64605 atan2l(0, 0);
64607 return 0;
64609 _ACEOF
64610 rm -f conftest.$ac_objext
64611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64612 (eval $ac_compile) 2>conftest.er1
64613 ac_status=$?
64614 grep -v '^ *+' conftest.er1 >conftest.err
64615 rm -f conftest.er1
64616 cat conftest.err >&5
64617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64618 (exit $ac_status); } &&
64619 { ac_try='test -z "$ac_cxx_werror_flag"
64620 || test ! -s conftest.err'
64621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64622 (eval $ac_try) 2>&5
64623 ac_status=$?
64624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64625 (exit $ac_status); }; } &&
64626 { ac_try='test -s conftest.$ac_objext'
64627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64628 (eval $ac_try) 2>&5
64629 ac_status=$?
64630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64631 (exit $ac_status); }; }; then
64632 glibcxx_cv_func_atan2l_use=yes
64633 else
64634 echo "$as_me: failed program was:" >&5
64635 sed 's/^/| /' conftest.$ac_ext >&5
64637 glibcxx_cv_func_atan2l_use=no
64639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64640 ac_ext=c
64641 ac_cpp='$CPP $CPPFLAGS'
64642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64651 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64653 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64655 for ac_func in atan2l
64657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64658 echo "$as_me:$LINENO: checking for $ac_func" >&5
64659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64660 if eval "test \"\${$as_ac_var+set}\" = set"; then
64661 echo $ECHO_N "(cached) $ECHO_C" >&6
64662 else
64663 if test x$gcc_no_link = xyes; then
64664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64666 { (exit 1); exit 1; }; }
64668 cat >conftest.$ac_ext <<_ACEOF
64669 /* confdefs.h. */
64670 _ACEOF
64671 cat confdefs.h >>conftest.$ac_ext
64672 cat >>conftest.$ac_ext <<_ACEOF
64673 /* end confdefs.h. */
64674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64676 #define $ac_func innocuous_$ac_func
64678 /* System header to define __stub macros and hopefully few prototypes,
64679 which can conflict with char $ac_func (); below.
64680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64681 <limits.h> exists even on freestanding compilers. */
64683 #ifdef __STDC__
64684 # include <limits.h>
64685 #else
64686 # include <assert.h>
64687 #endif
64689 #undef $ac_func
64691 /* Override any gcc2 internal prototype to avoid an error. */
64692 #ifdef __cplusplus
64693 extern "C"
64695 #endif
64696 /* We use char because int might match the return type of a gcc2
64697 builtin and then its argument prototype would still apply. */
64698 char $ac_func ();
64699 /* The GNU C library defines this for functions which it implements
64700 to always fail with ENOSYS. Some functions are actually named
64701 something starting with __ and the normal name is an alias. */
64702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64703 choke me
64704 #else
64705 char (*f) () = $ac_func;
64706 #endif
64707 #ifdef __cplusplus
64709 #endif
64712 main ()
64714 return f != $ac_func;
64716 return 0;
64718 _ACEOF
64719 rm -f conftest.$ac_objext conftest$ac_exeext
64720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64721 (eval $ac_link) 2>conftest.er1
64722 ac_status=$?
64723 grep -v '^ *+' conftest.er1 >conftest.err
64724 rm -f conftest.er1
64725 cat conftest.err >&5
64726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64727 (exit $ac_status); } &&
64728 { ac_try='test -z "$ac_c_werror_flag"
64729 || test ! -s conftest.err'
64730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64731 (eval $ac_try) 2>&5
64732 ac_status=$?
64733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734 (exit $ac_status); }; } &&
64735 { ac_try='test -s conftest$ac_exeext'
64736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64737 (eval $ac_try) 2>&5
64738 ac_status=$?
64739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64740 (exit $ac_status); }; }; then
64741 eval "$as_ac_var=yes"
64742 else
64743 echo "$as_me: failed program was:" >&5
64744 sed 's/^/| /' conftest.$ac_ext >&5
64746 eval "$as_ac_var=no"
64748 rm -f conftest.err conftest.$ac_objext \
64749 conftest$ac_exeext conftest.$ac_ext
64751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64753 if test `eval echo '${'$as_ac_var'}'` = yes; then
64754 cat >>confdefs.h <<_ACEOF
64755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64756 _ACEOF
64759 done
64761 else
64763 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64764 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64765 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64766 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64767 echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64772 ac_ext=cc
64773 ac_cpp='$CXXCPP $CPPFLAGS'
64774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64778 cat >conftest.$ac_ext <<_ACEOF
64779 /* confdefs.h. */
64780 _ACEOF
64781 cat confdefs.h >>conftest.$ac_ext
64782 cat >>conftest.$ac_ext <<_ACEOF
64783 /* end confdefs.h. */
64784 #include <math.h>
64786 main ()
64788 _atan2l(0, 0);
64790 return 0;
64792 _ACEOF
64793 rm -f conftest.$ac_objext
64794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64795 (eval $ac_compile) 2>conftest.er1
64796 ac_status=$?
64797 grep -v '^ *+' conftest.er1 >conftest.err
64798 rm -f conftest.er1
64799 cat conftest.err >&5
64800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64801 (exit $ac_status); } &&
64802 { ac_try='test -z "$ac_cxx_werror_flag"
64803 || test ! -s conftest.err'
64804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64805 (eval $ac_try) 2>&5
64806 ac_status=$?
64807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64808 (exit $ac_status); }; } &&
64809 { ac_try='test -s conftest.$ac_objext'
64810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64811 (eval $ac_try) 2>&5
64812 ac_status=$?
64813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64814 (exit $ac_status); }; }; then
64815 glibcxx_cv_func__atan2l_use=yes
64816 else
64817 echo "$as_me: failed program was:" >&5
64818 sed 's/^/| /' conftest.$ac_ext >&5
64820 glibcxx_cv_func__atan2l_use=no
64822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64823 ac_ext=c
64824 ac_cpp='$CPP $CPPFLAGS'
64825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64834 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64836 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64838 for ac_func in _atan2l
64840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64841 echo "$as_me:$LINENO: checking for $ac_func" >&5
64842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64843 if eval "test \"\${$as_ac_var+set}\" = set"; then
64844 echo $ECHO_N "(cached) $ECHO_C" >&6
64845 else
64846 if test x$gcc_no_link = xyes; then
64847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64849 { (exit 1); exit 1; }; }
64851 cat >conftest.$ac_ext <<_ACEOF
64852 /* confdefs.h. */
64853 _ACEOF
64854 cat confdefs.h >>conftest.$ac_ext
64855 cat >>conftest.$ac_ext <<_ACEOF
64856 /* end confdefs.h. */
64857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64859 #define $ac_func innocuous_$ac_func
64861 /* System header to define __stub macros and hopefully few prototypes,
64862 which can conflict with char $ac_func (); below.
64863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64864 <limits.h> exists even on freestanding compilers. */
64866 #ifdef __STDC__
64867 # include <limits.h>
64868 #else
64869 # include <assert.h>
64870 #endif
64872 #undef $ac_func
64874 /* Override any gcc2 internal prototype to avoid an error. */
64875 #ifdef __cplusplus
64876 extern "C"
64878 #endif
64879 /* We use char because int might match the return type of a gcc2
64880 builtin and then its argument prototype would still apply. */
64881 char $ac_func ();
64882 /* The GNU C library defines this for functions which it implements
64883 to always fail with ENOSYS. Some functions are actually named
64884 something starting with __ and the normal name is an alias. */
64885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64886 choke me
64887 #else
64888 char (*f) () = $ac_func;
64889 #endif
64890 #ifdef __cplusplus
64892 #endif
64895 main ()
64897 return f != $ac_func;
64899 return 0;
64901 _ACEOF
64902 rm -f conftest.$ac_objext conftest$ac_exeext
64903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64904 (eval $ac_link) 2>conftest.er1
64905 ac_status=$?
64906 grep -v '^ *+' conftest.er1 >conftest.err
64907 rm -f conftest.er1
64908 cat conftest.err >&5
64909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64910 (exit $ac_status); } &&
64911 { ac_try='test -z "$ac_c_werror_flag"
64912 || test ! -s conftest.err'
64913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64914 (eval $ac_try) 2>&5
64915 ac_status=$?
64916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64917 (exit $ac_status); }; } &&
64918 { ac_try='test -s conftest$ac_exeext'
64919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64920 (eval $ac_try) 2>&5
64921 ac_status=$?
64922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64923 (exit $ac_status); }; }; then
64924 eval "$as_ac_var=yes"
64925 else
64926 echo "$as_me: failed program was:" >&5
64927 sed 's/^/| /' conftest.$ac_ext >&5
64929 eval "$as_ac_var=no"
64931 rm -f conftest.err conftest.$ac_objext \
64932 conftest$ac_exeext conftest.$ac_ext
64934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64936 if test `eval echo '${'$as_ac_var'}'` = yes; then
64937 cat >>confdefs.h <<_ACEOF
64938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64939 _ACEOF
64942 done
64949 echo "$as_me:$LINENO: checking for expl declaration" >&5
64950 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64951 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64952 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64953 echo $ECHO_N "(cached) $ECHO_C" >&6
64954 else
64958 ac_ext=cc
64959 ac_cpp='$CXXCPP $CPPFLAGS'
64960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64964 cat >conftest.$ac_ext <<_ACEOF
64965 /* confdefs.h. */
64966 _ACEOF
64967 cat confdefs.h >>conftest.$ac_ext
64968 cat >>conftest.$ac_ext <<_ACEOF
64969 /* end confdefs.h. */
64970 #include <math.h>
64971 #ifdef HAVE_IEEEFP_H
64972 #include <ieeefp.h>
64973 #endif
64976 main ()
64978 expl(0);
64980 return 0;
64982 _ACEOF
64983 rm -f conftest.$ac_objext
64984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64985 (eval $ac_compile) 2>conftest.er1
64986 ac_status=$?
64987 grep -v '^ *+' conftest.er1 >conftest.err
64988 rm -f conftest.er1
64989 cat conftest.err >&5
64990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64991 (exit $ac_status); } &&
64992 { ac_try='test -z "$ac_cxx_werror_flag"
64993 || test ! -s conftest.err'
64994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64995 (eval $ac_try) 2>&5
64996 ac_status=$?
64997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64998 (exit $ac_status); }; } &&
64999 { ac_try='test -s conftest.$ac_objext'
65000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65001 (eval $ac_try) 2>&5
65002 ac_status=$?
65003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65004 (exit $ac_status); }; }; then
65005 glibcxx_cv_func_expl_use=yes
65006 else
65007 echo "$as_me: failed program was:" >&5
65008 sed 's/^/| /' conftest.$ac_ext >&5
65010 glibcxx_cv_func_expl_use=no
65012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65013 ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65024 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65026 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65028 for ac_func in expl
65030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65031 echo "$as_me:$LINENO: checking for $ac_func" >&5
65032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65033 if eval "test \"\${$as_ac_var+set}\" = set"; then
65034 echo $ECHO_N "(cached) $ECHO_C" >&6
65035 else
65036 if test x$gcc_no_link = xyes; then
65037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65039 { (exit 1); exit 1; }; }
65041 cat >conftest.$ac_ext <<_ACEOF
65042 /* confdefs.h. */
65043 _ACEOF
65044 cat confdefs.h >>conftest.$ac_ext
65045 cat >>conftest.$ac_ext <<_ACEOF
65046 /* end confdefs.h. */
65047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65049 #define $ac_func innocuous_$ac_func
65051 /* System header to define __stub macros and hopefully few prototypes,
65052 which can conflict with char $ac_func (); below.
65053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65054 <limits.h> exists even on freestanding compilers. */
65056 #ifdef __STDC__
65057 # include <limits.h>
65058 #else
65059 # include <assert.h>
65060 #endif
65062 #undef $ac_func
65064 /* Override any gcc2 internal prototype to avoid an error. */
65065 #ifdef __cplusplus
65066 extern "C"
65068 #endif
65069 /* We use char because int might match the return type of a gcc2
65070 builtin and then its argument prototype would still apply. */
65071 char $ac_func ();
65072 /* The GNU C library defines this for functions which it implements
65073 to always fail with ENOSYS. Some functions are actually named
65074 something starting with __ and the normal name is an alias. */
65075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65076 choke me
65077 #else
65078 char (*f) () = $ac_func;
65079 #endif
65080 #ifdef __cplusplus
65082 #endif
65085 main ()
65087 return f != $ac_func;
65089 return 0;
65091 _ACEOF
65092 rm -f conftest.$ac_objext conftest$ac_exeext
65093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65094 (eval $ac_link) 2>conftest.er1
65095 ac_status=$?
65096 grep -v '^ *+' conftest.er1 >conftest.err
65097 rm -f conftest.er1
65098 cat conftest.err >&5
65099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100 (exit $ac_status); } &&
65101 { ac_try='test -z "$ac_c_werror_flag"
65102 || test ! -s conftest.err'
65103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65104 (eval $ac_try) 2>&5
65105 ac_status=$?
65106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107 (exit $ac_status); }; } &&
65108 { ac_try='test -s conftest$ac_exeext'
65109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65110 (eval $ac_try) 2>&5
65111 ac_status=$?
65112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65113 (exit $ac_status); }; }; then
65114 eval "$as_ac_var=yes"
65115 else
65116 echo "$as_me: failed program was:" >&5
65117 sed 's/^/| /' conftest.$ac_ext >&5
65119 eval "$as_ac_var=no"
65121 rm -f conftest.err conftest.$ac_objext \
65122 conftest$ac_exeext conftest.$ac_ext
65124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65126 if test `eval echo '${'$as_ac_var'}'` = yes; then
65127 cat >>confdefs.h <<_ACEOF
65128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65129 _ACEOF
65132 done
65134 else
65136 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65137 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65138 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65139 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65140 echo $ECHO_N "(cached) $ECHO_C" >&6
65141 else
65145 ac_ext=cc
65146 ac_cpp='$CXXCPP $CPPFLAGS'
65147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65151 cat >conftest.$ac_ext <<_ACEOF
65152 /* confdefs.h. */
65153 _ACEOF
65154 cat confdefs.h >>conftest.$ac_ext
65155 cat >>conftest.$ac_ext <<_ACEOF
65156 /* end confdefs.h. */
65157 #include <math.h>
65158 #ifdef HAVE_IEEEFP_H
65159 #include <ieeefp.h>
65160 #endif
65163 main ()
65165 _expl(0);
65167 return 0;
65169 _ACEOF
65170 rm -f conftest.$ac_objext
65171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65172 (eval $ac_compile) 2>conftest.er1
65173 ac_status=$?
65174 grep -v '^ *+' conftest.er1 >conftest.err
65175 rm -f conftest.er1
65176 cat conftest.err >&5
65177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65178 (exit $ac_status); } &&
65179 { ac_try='test -z "$ac_cxx_werror_flag"
65180 || test ! -s conftest.err'
65181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65182 (eval $ac_try) 2>&5
65183 ac_status=$?
65184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65185 (exit $ac_status); }; } &&
65186 { ac_try='test -s conftest.$ac_objext'
65187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65188 (eval $ac_try) 2>&5
65189 ac_status=$?
65190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65191 (exit $ac_status); }; }; then
65192 glibcxx_cv_func__expl_use=yes
65193 else
65194 echo "$as_me: failed program was:" >&5
65195 sed 's/^/| /' conftest.$ac_ext >&5
65197 glibcxx_cv_func__expl_use=no
65199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65200 ac_ext=c
65201 ac_cpp='$CPP $CPPFLAGS'
65202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65211 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65213 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65215 for ac_func in _expl
65217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65218 echo "$as_me:$LINENO: checking for $ac_func" >&5
65219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65220 if eval "test \"\${$as_ac_var+set}\" = set"; then
65221 echo $ECHO_N "(cached) $ECHO_C" >&6
65222 else
65223 if test x$gcc_no_link = xyes; then
65224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65226 { (exit 1); exit 1; }; }
65228 cat >conftest.$ac_ext <<_ACEOF
65229 /* confdefs.h. */
65230 _ACEOF
65231 cat confdefs.h >>conftest.$ac_ext
65232 cat >>conftest.$ac_ext <<_ACEOF
65233 /* end confdefs.h. */
65234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65236 #define $ac_func innocuous_$ac_func
65238 /* System header to define __stub macros and hopefully few prototypes,
65239 which can conflict with char $ac_func (); below.
65240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65241 <limits.h> exists even on freestanding compilers. */
65243 #ifdef __STDC__
65244 # include <limits.h>
65245 #else
65246 # include <assert.h>
65247 #endif
65249 #undef $ac_func
65251 /* Override any gcc2 internal prototype to avoid an error. */
65252 #ifdef __cplusplus
65253 extern "C"
65255 #endif
65256 /* We use char because int might match the return type of a gcc2
65257 builtin and then its argument prototype would still apply. */
65258 char $ac_func ();
65259 /* The GNU C library defines this for functions which it implements
65260 to always fail with ENOSYS. Some functions are actually named
65261 something starting with __ and the normal name is an alias. */
65262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65263 choke me
65264 #else
65265 char (*f) () = $ac_func;
65266 #endif
65267 #ifdef __cplusplus
65269 #endif
65272 main ()
65274 return f != $ac_func;
65276 return 0;
65278 _ACEOF
65279 rm -f conftest.$ac_objext conftest$ac_exeext
65280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65281 (eval $ac_link) 2>conftest.er1
65282 ac_status=$?
65283 grep -v '^ *+' conftest.er1 >conftest.err
65284 rm -f conftest.er1
65285 cat conftest.err >&5
65286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287 (exit $ac_status); } &&
65288 { ac_try='test -z "$ac_c_werror_flag"
65289 || test ! -s conftest.err'
65290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65291 (eval $ac_try) 2>&5
65292 ac_status=$?
65293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65294 (exit $ac_status); }; } &&
65295 { ac_try='test -s conftest$ac_exeext'
65296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65297 (eval $ac_try) 2>&5
65298 ac_status=$?
65299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65300 (exit $ac_status); }; }; then
65301 eval "$as_ac_var=yes"
65302 else
65303 echo "$as_me: failed program was:" >&5
65304 sed 's/^/| /' conftest.$ac_ext >&5
65306 eval "$as_ac_var=no"
65308 rm -f conftest.err conftest.$ac_objext \
65309 conftest$ac_exeext conftest.$ac_ext
65311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65313 if test `eval echo '${'$as_ac_var'}'` = yes; then
65314 cat >>confdefs.h <<_ACEOF
65315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65316 _ACEOF
65319 done
65326 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65327 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65328 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65329 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65330 echo $ECHO_N "(cached) $ECHO_C" >&6
65331 else
65335 ac_ext=cc
65336 ac_cpp='$CXXCPP $CPPFLAGS'
65337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65341 cat >conftest.$ac_ext <<_ACEOF
65342 /* confdefs.h. */
65343 _ACEOF
65344 cat confdefs.h >>conftest.$ac_ext
65345 cat >>conftest.$ac_ext <<_ACEOF
65346 /* end confdefs.h. */
65347 #include <math.h>
65348 #ifdef HAVE_IEEEFP_H
65349 #include <ieeefp.h>
65350 #endif
65353 main ()
65355 fabsl(0);
65357 return 0;
65359 _ACEOF
65360 rm -f conftest.$ac_objext
65361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65362 (eval $ac_compile) 2>conftest.er1
65363 ac_status=$?
65364 grep -v '^ *+' conftest.er1 >conftest.err
65365 rm -f conftest.er1
65366 cat conftest.err >&5
65367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65368 (exit $ac_status); } &&
65369 { ac_try='test -z "$ac_cxx_werror_flag"
65370 || test ! -s conftest.err'
65371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65372 (eval $ac_try) 2>&5
65373 ac_status=$?
65374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65375 (exit $ac_status); }; } &&
65376 { ac_try='test -s conftest.$ac_objext'
65377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65378 (eval $ac_try) 2>&5
65379 ac_status=$?
65380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65381 (exit $ac_status); }; }; then
65382 glibcxx_cv_func_fabsl_use=yes
65383 else
65384 echo "$as_me: failed program was:" >&5
65385 sed 's/^/| /' conftest.$ac_ext >&5
65387 glibcxx_cv_func_fabsl_use=no
65389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65390 ac_ext=c
65391 ac_cpp='$CPP $CPPFLAGS'
65392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65401 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65403 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65405 for ac_func in fabsl
65407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65408 echo "$as_me:$LINENO: checking for $ac_func" >&5
65409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65410 if eval "test \"\${$as_ac_var+set}\" = set"; then
65411 echo $ECHO_N "(cached) $ECHO_C" >&6
65412 else
65413 if test x$gcc_no_link = xyes; then
65414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65416 { (exit 1); exit 1; }; }
65418 cat >conftest.$ac_ext <<_ACEOF
65419 /* confdefs.h. */
65420 _ACEOF
65421 cat confdefs.h >>conftest.$ac_ext
65422 cat >>conftest.$ac_ext <<_ACEOF
65423 /* end confdefs.h. */
65424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65426 #define $ac_func innocuous_$ac_func
65428 /* System header to define __stub macros and hopefully few prototypes,
65429 which can conflict with char $ac_func (); below.
65430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65431 <limits.h> exists even on freestanding compilers. */
65433 #ifdef __STDC__
65434 # include <limits.h>
65435 #else
65436 # include <assert.h>
65437 #endif
65439 #undef $ac_func
65441 /* Override any gcc2 internal prototype to avoid an error. */
65442 #ifdef __cplusplus
65443 extern "C"
65445 #endif
65446 /* We use char because int might match the return type of a gcc2
65447 builtin and then its argument prototype would still apply. */
65448 char $ac_func ();
65449 /* The GNU C library defines this for functions which it implements
65450 to always fail with ENOSYS. Some functions are actually named
65451 something starting with __ and the normal name is an alias. */
65452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65453 choke me
65454 #else
65455 char (*f) () = $ac_func;
65456 #endif
65457 #ifdef __cplusplus
65459 #endif
65462 main ()
65464 return f != $ac_func;
65466 return 0;
65468 _ACEOF
65469 rm -f conftest.$ac_objext conftest$ac_exeext
65470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65471 (eval $ac_link) 2>conftest.er1
65472 ac_status=$?
65473 grep -v '^ *+' conftest.er1 >conftest.err
65474 rm -f conftest.er1
65475 cat conftest.err >&5
65476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477 (exit $ac_status); } &&
65478 { ac_try='test -z "$ac_c_werror_flag"
65479 || test ! -s conftest.err'
65480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65481 (eval $ac_try) 2>&5
65482 ac_status=$?
65483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65484 (exit $ac_status); }; } &&
65485 { ac_try='test -s conftest$ac_exeext'
65486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65487 (eval $ac_try) 2>&5
65488 ac_status=$?
65489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65490 (exit $ac_status); }; }; then
65491 eval "$as_ac_var=yes"
65492 else
65493 echo "$as_me: failed program was:" >&5
65494 sed 's/^/| /' conftest.$ac_ext >&5
65496 eval "$as_ac_var=no"
65498 rm -f conftest.err conftest.$ac_objext \
65499 conftest$ac_exeext conftest.$ac_ext
65501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65503 if test `eval echo '${'$as_ac_var'}'` = yes; then
65504 cat >>confdefs.h <<_ACEOF
65505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65506 _ACEOF
65509 done
65511 else
65513 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65514 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65515 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65516 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65517 echo $ECHO_N "(cached) $ECHO_C" >&6
65518 else
65522 ac_ext=cc
65523 ac_cpp='$CXXCPP $CPPFLAGS'
65524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65528 cat >conftest.$ac_ext <<_ACEOF
65529 /* confdefs.h. */
65530 _ACEOF
65531 cat confdefs.h >>conftest.$ac_ext
65532 cat >>conftest.$ac_ext <<_ACEOF
65533 /* end confdefs.h. */
65534 #include <math.h>
65535 #ifdef HAVE_IEEEFP_H
65536 #include <ieeefp.h>
65537 #endif
65540 main ()
65542 _fabsl(0);
65544 return 0;
65546 _ACEOF
65547 rm -f conftest.$ac_objext
65548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65549 (eval $ac_compile) 2>conftest.er1
65550 ac_status=$?
65551 grep -v '^ *+' conftest.er1 >conftest.err
65552 rm -f conftest.er1
65553 cat conftest.err >&5
65554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65555 (exit $ac_status); } &&
65556 { ac_try='test -z "$ac_cxx_werror_flag"
65557 || test ! -s conftest.err'
65558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65559 (eval $ac_try) 2>&5
65560 ac_status=$?
65561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65562 (exit $ac_status); }; } &&
65563 { ac_try='test -s conftest.$ac_objext'
65564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65565 (eval $ac_try) 2>&5
65566 ac_status=$?
65567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65568 (exit $ac_status); }; }; then
65569 glibcxx_cv_func__fabsl_use=yes
65570 else
65571 echo "$as_me: failed program was:" >&5
65572 sed 's/^/| /' conftest.$ac_ext >&5
65574 glibcxx_cv_func__fabsl_use=no
65576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65577 ac_ext=c
65578 ac_cpp='$CPP $CPPFLAGS'
65579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65588 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65590 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65592 for ac_func in _fabsl
65594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65595 echo "$as_me:$LINENO: checking for $ac_func" >&5
65596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65597 if eval "test \"\${$as_ac_var+set}\" = set"; then
65598 echo $ECHO_N "(cached) $ECHO_C" >&6
65599 else
65600 if test x$gcc_no_link = xyes; then
65601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65603 { (exit 1); exit 1; }; }
65605 cat >conftest.$ac_ext <<_ACEOF
65606 /* confdefs.h. */
65607 _ACEOF
65608 cat confdefs.h >>conftest.$ac_ext
65609 cat >>conftest.$ac_ext <<_ACEOF
65610 /* end confdefs.h. */
65611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65613 #define $ac_func innocuous_$ac_func
65615 /* System header to define __stub macros and hopefully few prototypes,
65616 which can conflict with char $ac_func (); below.
65617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65618 <limits.h> exists even on freestanding compilers. */
65620 #ifdef __STDC__
65621 # include <limits.h>
65622 #else
65623 # include <assert.h>
65624 #endif
65626 #undef $ac_func
65628 /* Override any gcc2 internal prototype to avoid an error. */
65629 #ifdef __cplusplus
65630 extern "C"
65632 #endif
65633 /* We use char because int might match the return type of a gcc2
65634 builtin and then its argument prototype would still apply. */
65635 char $ac_func ();
65636 /* The GNU C library defines this for functions which it implements
65637 to always fail with ENOSYS. Some functions are actually named
65638 something starting with __ and the normal name is an alias. */
65639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65640 choke me
65641 #else
65642 char (*f) () = $ac_func;
65643 #endif
65644 #ifdef __cplusplus
65646 #endif
65649 main ()
65651 return f != $ac_func;
65653 return 0;
65655 _ACEOF
65656 rm -f conftest.$ac_objext conftest$ac_exeext
65657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65658 (eval $ac_link) 2>conftest.er1
65659 ac_status=$?
65660 grep -v '^ *+' conftest.er1 >conftest.err
65661 rm -f conftest.er1
65662 cat conftest.err >&5
65663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65664 (exit $ac_status); } &&
65665 { ac_try='test -z "$ac_c_werror_flag"
65666 || test ! -s conftest.err'
65667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65668 (eval $ac_try) 2>&5
65669 ac_status=$?
65670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65671 (exit $ac_status); }; } &&
65672 { ac_try='test -s conftest$ac_exeext'
65673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65674 (eval $ac_try) 2>&5
65675 ac_status=$?
65676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65677 (exit $ac_status); }; }; then
65678 eval "$as_ac_var=yes"
65679 else
65680 echo "$as_me: failed program was:" >&5
65681 sed 's/^/| /' conftest.$ac_ext >&5
65683 eval "$as_ac_var=no"
65685 rm -f conftest.err conftest.$ac_objext \
65686 conftest$ac_exeext conftest.$ac_ext
65688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65690 if test `eval echo '${'$as_ac_var'}'` = yes; then
65691 cat >>confdefs.h <<_ACEOF
65692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65693 _ACEOF
65696 done
65703 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65704 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65705 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65706 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65707 echo $ECHO_N "(cached) $ECHO_C" >&6
65708 else
65712 ac_ext=cc
65713 ac_cpp='$CXXCPP $CPPFLAGS'
65714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65718 cat >conftest.$ac_ext <<_ACEOF
65719 /* confdefs.h. */
65720 _ACEOF
65721 cat confdefs.h >>conftest.$ac_ext
65722 cat >>conftest.$ac_ext <<_ACEOF
65723 /* end confdefs.h. */
65724 #include <math.h>
65726 main ()
65728 fmodl(0, 0);
65730 return 0;
65732 _ACEOF
65733 rm -f conftest.$ac_objext
65734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65735 (eval $ac_compile) 2>conftest.er1
65736 ac_status=$?
65737 grep -v '^ *+' conftest.er1 >conftest.err
65738 rm -f conftest.er1
65739 cat conftest.err >&5
65740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741 (exit $ac_status); } &&
65742 { ac_try='test -z "$ac_cxx_werror_flag"
65743 || test ! -s conftest.err'
65744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65745 (eval $ac_try) 2>&5
65746 ac_status=$?
65747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748 (exit $ac_status); }; } &&
65749 { ac_try='test -s conftest.$ac_objext'
65750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65751 (eval $ac_try) 2>&5
65752 ac_status=$?
65753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754 (exit $ac_status); }; }; then
65755 glibcxx_cv_func_fmodl_use=yes
65756 else
65757 echo "$as_me: failed program was:" >&5
65758 sed 's/^/| /' conftest.$ac_ext >&5
65760 glibcxx_cv_func_fmodl_use=no
65762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65763 ac_ext=c
65764 ac_cpp='$CPP $CPPFLAGS'
65765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65774 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65776 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65778 for ac_func in fmodl
65780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65781 echo "$as_me:$LINENO: checking for $ac_func" >&5
65782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65783 if eval "test \"\${$as_ac_var+set}\" = set"; then
65784 echo $ECHO_N "(cached) $ECHO_C" >&6
65785 else
65786 if test x$gcc_no_link = xyes; then
65787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65789 { (exit 1); exit 1; }; }
65791 cat >conftest.$ac_ext <<_ACEOF
65792 /* confdefs.h. */
65793 _ACEOF
65794 cat confdefs.h >>conftest.$ac_ext
65795 cat >>conftest.$ac_ext <<_ACEOF
65796 /* end confdefs.h. */
65797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65799 #define $ac_func innocuous_$ac_func
65801 /* System header to define __stub macros and hopefully few prototypes,
65802 which can conflict with char $ac_func (); below.
65803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65804 <limits.h> exists even on freestanding compilers. */
65806 #ifdef __STDC__
65807 # include <limits.h>
65808 #else
65809 # include <assert.h>
65810 #endif
65812 #undef $ac_func
65814 /* Override any gcc2 internal prototype to avoid an error. */
65815 #ifdef __cplusplus
65816 extern "C"
65818 #endif
65819 /* We use char because int might match the return type of a gcc2
65820 builtin and then its argument prototype would still apply. */
65821 char $ac_func ();
65822 /* The GNU C library defines this for functions which it implements
65823 to always fail with ENOSYS. Some functions are actually named
65824 something starting with __ and the normal name is an alias. */
65825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65826 choke me
65827 #else
65828 char (*f) () = $ac_func;
65829 #endif
65830 #ifdef __cplusplus
65832 #endif
65835 main ()
65837 return f != $ac_func;
65839 return 0;
65841 _ACEOF
65842 rm -f conftest.$ac_objext conftest$ac_exeext
65843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65844 (eval $ac_link) 2>conftest.er1
65845 ac_status=$?
65846 grep -v '^ *+' conftest.er1 >conftest.err
65847 rm -f conftest.er1
65848 cat conftest.err >&5
65849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65850 (exit $ac_status); } &&
65851 { ac_try='test -z "$ac_c_werror_flag"
65852 || test ! -s conftest.err'
65853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65854 (eval $ac_try) 2>&5
65855 ac_status=$?
65856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65857 (exit $ac_status); }; } &&
65858 { ac_try='test -s conftest$ac_exeext'
65859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65860 (eval $ac_try) 2>&5
65861 ac_status=$?
65862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65863 (exit $ac_status); }; }; then
65864 eval "$as_ac_var=yes"
65865 else
65866 echo "$as_me: failed program was:" >&5
65867 sed 's/^/| /' conftest.$ac_ext >&5
65869 eval "$as_ac_var=no"
65871 rm -f conftest.err conftest.$ac_objext \
65872 conftest$ac_exeext conftest.$ac_ext
65874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65876 if test `eval echo '${'$as_ac_var'}'` = yes; then
65877 cat >>confdefs.h <<_ACEOF
65878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65879 _ACEOF
65882 done
65884 else
65886 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65887 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65888 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65889 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65890 echo $ECHO_N "(cached) $ECHO_C" >&6
65891 else
65895 ac_ext=cc
65896 ac_cpp='$CXXCPP $CPPFLAGS'
65897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65901 cat >conftest.$ac_ext <<_ACEOF
65902 /* confdefs.h. */
65903 _ACEOF
65904 cat confdefs.h >>conftest.$ac_ext
65905 cat >>conftest.$ac_ext <<_ACEOF
65906 /* end confdefs.h. */
65907 #include <math.h>
65909 main ()
65911 _fmodl(0, 0);
65913 return 0;
65915 _ACEOF
65916 rm -f conftest.$ac_objext
65917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65918 (eval $ac_compile) 2>conftest.er1
65919 ac_status=$?
65920 grep -v '^ *+' conftest.er1 >conftest.err
65921 rm -f conftest.er1
65922 cat conftest.err >&5
65923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924 (exit $ac_status); } &&
65925 { ac_try='test -z "$ac_cxx_werror_flag"
65926 || test ! -s conftest.err'
65927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65928 (eval $ac_try) 2>&5
65929 ac_status=$?
65930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65931 (exit $ac_status); }; } &&
65932 { ac_try='test -s conftest.$ac_objext'
65933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934 (eval $ac_try) 2>&5
65935 ac_status=$?
65936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937 (exit $ac_status); }; }; then
65938 glibcxx_cv_func__fmodl_use=yes
65939 else
65940 echo "$as_me: failed program was:" >&5
65941 sed 's/^/| /' conftest.$ac_ext >&5
65943 glibcxx_cv_func__fmodl_use=no
65945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65946 ac_ext=c
65947 ac_cpp='$CPP $CPPFLAGS'
65948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65957 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65959 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65961 for ac_func in _fmodl
65963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65964 echo "$as_me:$LINENO: checking for $ac_func" >&5
65965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65966 if eval "test \"\${$as_ac_var+set}\" = set"; then
65967 echo $ECHO_N "(cached) $ECHO_C" >&6
65968 else
65969 if test x$gcc_no_link = xyes; then
65970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65972 { (exit 1); exit 1; }; }
65974 cat >conftest.$ac_ext <<_ACEOF
65975 /* confdefs.h. */
65976 _ACEOF
65977 cat confdefs.h >>conftest.$ac_ext
65978 cat >>conftest.$ac_ext <<_ACEOF
65979 /* end confdefs.h. */
65980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65982 #define $ac_func innocuous_$ac_func
65984 /* System header to define __stub macros and hopefully few prototypes,
65985 which can conflict with char $ac_func (); below.
65986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65987 <limits.h> exists even on freestanding compilers. */
65989 #ifdef __STDC__
65990 # include <limits.h>
65991 #else
65992 # include <assert.h>
65993 #endif
65995 #undef $ac_func
65997 /* Override any gcc2 internal prototype to avoid an error. */
65998 #ifdef __cplusplus
65999 extern "C"
66001 #endif
66002 /* We use char because int might match the return type of a gcc2
66003 builtin and then its argument prototype would still apply. */
66004 char $ac_func ();
66005 /* The GNU C library defines this for functions which it implements
66006 to always fail with ENOSYS. Some functions are actually named
66007 something starting with __ and the normal name is an alias. */
66008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66009 choke me
66010 #else
66011 char (*f) () = $ac_func;
66012 #endif
66013 #ifdef __cplusplus
66015 #endif
66018 main ()
66020 return f != $ac_func;
66022 return 0;
66024 _ACEOF
66025 rm -f conftest.$ac_objext conftest$ac_exeext
66026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66027 (eval $ac_link) 2>conftest.er1
66028 ac_status=$?
66029 grep -v '^ *+' conftest.er1 >conftest.err
66030 rm -f conftest.er1
66031 cat conftest.err >&5
66032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033 (exit $ac_status); } &&
66034 { ac_try='test -z "$ac_c_werror_flag"
66035 || test ! -s conftest.err'
66036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66037 (eval $ac_try) 2>&5
66038 ac_status=$?
66039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66040 (exit $ac_status); }; } &&
66041 { ac_try='test -s conftest$ac_exeext'
66042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66043 (eval $ac_try) 2>&5
66044 ac_status=$?
66045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66046 (exit $ac_status); }; }; then
66047 eval "$as_ac_var=yes"
66048 else
66049 echo "$as_me: failed program was:" >&5
66050 sed 's/^/| /' conftest.$ac_ext >&5
66052 eval "$as_ac_var=no"
66054 rm -f conftest.err conftest.$ac_objext \
66055 conftest$ac_exeext conftest.$ac_ext
66057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66059 if test `eval echo '${'$as_ac_var'}'` = yes; then
66060 cat >>confdefs.h <<_ACEOF
66061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66062 _ACEOF
66065 done
66072 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66073 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66074 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66075 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66076 echo $ECHO_N "(cached) $ECHO_C" >&6
66077 else
66081 ac_ext=cc
66082 ac_cpp='$CXXCPP $CPPFLAGS'
66083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66087 cat >conftest.$ac_ext <<_ACEOF
66088 /* confdefs.h. */
66089 _ACEOF
66090 cat confdefs.h >>conftest.$ac_ext
66091 cat >>conftest.$ac_ext <<_ACEOF
66092 /* end confdefs.h. */
66093 #include <math.h>
66095 main ()
66097 frexpl(0, 0);
66099 return 0;
66101 _ACEOF
66102 rm -f conftest.$ac_objext
66103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66104 (eval $ac_compile) 2>conftest.er1
66105 ac_status=$?
66106 grep -v '^ *+' conftest.er1 >conftest.err
66107 rm -f conftest.er1
66108 cat conftest.err >&5
66109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110 (exit $ac_status); } &&
66111 { ac_try='test -z "$ac_cxx_werror_flag"
66112 || test ! -s conftest.err'
66113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66114 (eval $ac_try) 2>&5
66115 ac_status=$?
66116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66117 (exit $ac_status); }; } &&
66118 { ac_try='test -s conftest.$ac_objext'
66119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66120 (eval $ac_try) 2>&5
66121 ac_status=$?
66122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66123 (exit $ac_status); }; }; then
66124 glibcxx_cv_func_frexpl_use=yes
66125 else
66126 echo "$as_me: failed program was:" >&5
66127 sed 's/^/| /' conftest.$ac_ext >&5
66129 glibcxx_cv_func_frexpl_use=no
66131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66132 ac_ext=c
66133 ac_cpp='$CPP $CPPFLAGS'
66134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66143 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66145 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66147 for ac_func in frexpl
66149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66150 echo "$as_me:$LINENO: checking for $ac_func" >&5
66151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66152 if eval "test \"\${$as_ac_var+set}\" = set"; then
66153 echo $ECHO_N "(cached) $ECHO_C" >&6
66154 else
66155 if test x$gcc_no_link = xyes; then
66156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66158 { (exit 1); exit 1; }; }
66160 cat >conftest.$ac_ext <<_ACEOF
66161 /* confdefs.h. */
66162 _ACEOF
66163 cat confdefs.h >>conftest.$ac_ext
66164 cat >>conftest.$ac_ext <<_ACEOF
66165 /* end confdefs.h. */
66166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66168 #define $ac_func innocuous_$ac_func
66170 /* System header to define __stub macros and hopefully few prototypes,
66171 which can conflict with char $ac_func (); below.
66172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66173 <limits.h> exists even on freestanding compilers. */
66175 #ifdef __STDC__
66176 # include <limits.h>
66177 #else
66178 # include <assert.h>
66179 #endif
66181 #undef $ac_func
66183 /* Override any gcc2 internal prototype to avoid an error. */
66184 #ifdef __cplusplus
66185 extern "C"
66187 #endif
66188 /* We use char because int might match the return type of a gcc2
66189 builtin and then its argument prototype would still apply. */
66190 char $ac_func ();
66191 /* The GNU C library defines this for functions which it implements
66192 to always fail with ENOSYS. Some functions are actually named
66193 something starting with __ and the normal name is an alias. */
66194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66195 choke me
66196 #else
66197 char (*f) () = $ac_func;
66198 #endif
66199 #ifdef __cplusplus
66201 #endif
66204 main ()
66206 return f != $ac_func;
66208 return 0;
66210 _ACEOF
66211 rm -f conftest.$ac_objext conftest$ac_exeext
66212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66213 (eval $ac_link) 2>conftest.er1
66214 ac_status=$?
66215 grep -v '^ *+' conftest.er1 >conftest.err
66216 rm -f conftest.er1
66217 cat conftest.err >&5
66218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66219 (exit $ac_status); } &&
66220 { ac_try='test -z "$ac_c_werror_flag"
66221 || test ! -s conftest.err'
66222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66223 (eval $ac_try) 2>&5
66224 ac_status=$?
66225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226 (exit $ac_status); }; } &&
66227 { ac_try='test -s conftest$ac_exeext'
66228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66229 (eval $ac_try) 2>&5
66230 ac_status=$?
66231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66232 (exit $ac_status); }; }; then
66233 eval "$as_ac_var=yes"
66234 else
66235 echo "$as_me: failed program was:" >&5
66236 sed 's/^/| /' conftest.$ac_ext >&5
66238 eval "$as_ac_var=no"
66240 rm -f conftest.err conftest.$ac_objext \
66241 conftest$ac_exeext conftest.$ac_ext
66243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66245 if test `eval echo '${'$as_ac_var'}'` = yes; then
66246 cat >>confdefs.h <<_ACEOF
66247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66248 _ACEOF
66251 done
66253 else
66255 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66256 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66257 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66258 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66259 echo $ECHO_N "(cached) $ECHO_C" >&6
66260 else
66264 ac_ext=cc
66265 ac_cpp='$CXXCPP $CPPFLAGS'
66266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66270 cat >conftest.$ac_ext <<_ACEOF
66271 /* confdefs.h. */
66272 _ACEOF
66273 cat confdefs.h >>conftest.$ac_ext
66274 cat >>conftest.$ac_ext <<_ACEOF
66275 /* end confdefs.h. */
66276 #include <math.h>
66278 main ()
66280 _frexpl(0, 0);
66282 return 0;
66284 _ACEOF
66285 rm -f conftest.$ac_objext
66286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66287 (eval $ac_compile) 2>conftest.er1
66288 ac_status=$?
66289 grep -v '^ *+' conftest.er1 >conftest.err
66290 rm -f conftest.er1
66291 cat conftest.err >&5
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); } &&
66294 { ac_try='test -z "$ac_cxx_werror_flag"
66295 || test ! -s conftest.err'
66296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297 (eval $ac_try) 2>&5
66298 ac_status=$?
66299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300 (exit $ac_status); }; } &&
66301 { ac_try='test -s conftest.$ac_objext'
66302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303 (eval $ac_try) 2>&5
66304 ac_status=$?
66305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306 (exit $ac_status); }; }; then
66307 glibcxx_cv_func__frexpl_use=yes
66308 else
66309 echo "$as_me: failed program was:" >&5
66310 sed 's/^/| /' conftest.$ac_ext >&5
66312 glibcxx_cv_func__frexpl_use=no
66314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66315 ac_ext=c
66316 ac_cpp='$CPP $CPPFLAGS'
66317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66326 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66328 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66330 for ac_func in _frexpl
66332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66333 echo "$as_me:$LINENO: checking for $ac_func" >&5
66334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66335 if eval "test \"\${$as_ac_var+set}\" = set"; then
66336 echo $ECHO_N "(cached) $ECHO_C" >&6
66337 else
66338 if test x$gcc_no_link = xyes; then
66339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66341 { (exit 1); exit 1; }; }
66343 cat >conftest.$ac_ext <<_ACEOF
66344 /* confdefs.h. */
66345 _ACEOF
66346 cat confdefs.h >>conftest.$ac_ext
66347 cat >>conftest.$ac_ext <<_ACEOF
66348 /* end confdefs.h. */
66349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66351 #define $ac_func innocuous_$ac_func
66353 /* System header to define __stub macros and hopefully few prototypes,
66354 which can conflict with char $ac_func (); below.
66355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66356 <limits.h> exists even on freestanding compilers. */
66358 #ifdef __STDC__
66359 # include <limits.h>
66360 #else
66361 # include <assert.h>
66362 #endif
66364 #undef $ac_func
66366 /* Override any gcc2 internal prototype to avoid an error. */
66367 #ifdef __cplusplus
66368 extern "C"
66370 #endif
66371 /* We use char because int might match the return type of a gcc2
66372 builtin and then its argument prototype would still apply. */
66373 char $ac_func ();
66374 /* The GNU C library defines this for functions which it implements
66375 to always fail with ENOSYS. Some functions are actually named
66376 something starting with __ and the normal name is an alias. */
66377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66378 choke me
66379 #else
66380 char (*f) () = $ac_func;
66381 #endif
66382 #ifdef __cplusplus
66384 #endif
66387 main ()
66389 return f != $ac_func;
66391 return 0;
66393 _ACEOF
66394 rm -f conftest.$ac_objext conftest$ac_exeext
66395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66396 (eval $ac_link) 2>conftest.er1
66397 ac_status=$?
66398 grep -v '^ *+' conftest.er1 >conftest.err
66399 rm -f conftest.er1
66400 cat conftest.err >&5
66401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402 (exit $ac_status); } &&
66403 { ac_try='test -z "$ac_c_werror_flag"
66404 || test ! -s conftest.err'
66405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66406 (eval $ac_try) 2>&5
66407 ac_status=$?
66408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66409 (exit $ac_status); }; } &&
66410 { ac_try='test -s conftest$ac_exeext'
66411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66412 (eval $ac_try) 2>&5
66413 ac_status=$?
66414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66415 (exit $ac_status); }; }; then
66416 eval "$as_ac_var=yes"
66417 else
66418 echo "$as_me: failed program was:" >&5
66419 sed 's/^/| /' conftest.$ac_ext >&5
66421 eval "$as_ac_var=no"
66423 rm -f conftest.err conftest.$ac_objext \
66424 conftest$ac_exeext conftest.$ac_ext
66426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66428 if test `eval echo '${'$as_ac_var'}'` = yes; then
66429 cat >>confdefs.h <<_ACEOF
66430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66431 _ACEOF
66434 done
66441 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66442 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66443 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66444 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66445 echo $ECHO_N "(cached) $ECHO_C" >&6
66446 else
66450 ac_ext=cc
66451 ac_cpp='$CXXCPP $CPPFLAGS'
66452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66456 cat >conftest.$ac_ext <<_ACEOF
66457 /* confdefs.h. */
66458 _ACEOF
66459 cat confdefs.h >>conftest.$ac_ext
66460 cat >>conftest.$ac_ext <<_ACEOF
66461 /* end confdefs.h. */
66462 #include <math.h>
66464 main ()
66466 hypotl(0, 0);
66468 return 0;
66470 _ACEOF
66471 rm -f conftest.$ac_objext
66472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66473 (eval $ac_compile) 2>conftest.er1
66474 ac_status=$?
66475 grep -v '^ *+' conftest.er1 >conftest.err
66476 rm -f conftest.er1
66477 cat conftest.err >&5
66478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66479 (exit $ac_status); } &&
66480 { ac_try='test -z "$ac_cxx_werror_flag"
66481 || test ! -s conftest.err'
66482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66483 (eval $ac_try) 2>&5
66484 ac_status=$?
66485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66486 (exit $ac_status); }; } &&
66487 { ac_try='test -s conftest.$ac_objext'
66488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66489 (eval $ac_try) 2>&5
66490 ac_status=$?
66491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66492 (exit $ac_status); }; }; then
66493 glibcxx_cv_func_hypotl_use=yes
66494 else
66495 echo "$as_me: failed program was:" >&5
66496 sed 's/^/| /' conftest.$ac_ext >&5
66498 glibcxx_cv_func_hypotl_use=no
66500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66501 ac_ext=c
66502 ac_cpp='$CPP $CPPFLAGS'
66503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66512 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66514 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66516 for ac_func in hypotl
66518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66519 echo "$as_me:$LINENO: checking for $ac_func" >&5
66520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66521 if eval "test \"\${$as_ac_var+set}\" = set"; then
66522 echo $ECHO_N "(cached) $ECHO_C" >&6
66523 else
66524 if test x$gcc_no_link = xyes; then
66525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66527 { (exit 1); exit 1; }; }
66529 cat >conftest.$ac_ext <<_ACEOF
66530 /* confdefs.h. */
66531 _ACEOF
66532 cat confdefs.h >>conftest.$ac_ext
66533 cat >>conftest.$ac_ext <<_ACEOF
66534 /* end confdefs.h. */
66535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66537 #define $ac_func innocuous_$ac_func
66539 /* System header to define __stub macros and hopefully few prototypes,
66540 which can conflict with char $ac_func (); below.
66541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66542 <limits.h> exists even on freestanding compilers. */
66544 #ifdef __STDC__
66545 # include <limits.h>
66546 #else
66547 # include <assert.h>
66548 #endif
66550 #undef $ac_func
66552 /* Override any gcc2 internal prototype to avoid an error. */
66553 #ifdef __cplusplus
66554 extern "C"
66556 #endif
66557 /* We use char because int might match the return type of a gcc2
66558 builtin and then its argument prototype would still apply. */
66559 char $ac_func ();
66560 /* The GNU C library defines this for functions which it implements
66561 to always fail with ENOSYS. Some functions are actually named
66562 something starting with __ and the normal name is an alias. */
66563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66564 choke me
66565 #else
66566 char (*f) () = $ac_func;
66567 #endif
66568 #ifdef __cplusplus
66570 #endif
66573 main ()
66575 return f != $ac_func;
66577 return 0;
66579 _ACEOF
66580 rm -f conftest.$ac_objext conftest$ac_exeext
66581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66582 (eval $ac_link) 2>conftest.er1
66583 ac_status=$?
66584 grep -v '^ *+' conftest.er1 >conftest.err
66585 rm -f conftest.er1
66586 cat conftest.err >&5
66587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66588 (exit $ac_status); } &&
66589 { ac_try='test -z "$ac_c_werror_flag"
66590 || test ! -s conftest.err'
66591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66592 (eval $ac_try) 2>&5
66593 ac_status=$?
66594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66595 (exit $ac_status); }; } &&
66596 { ac_try='test -s conftest$ac_exeext'
66597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66598 (eval $ac_try) 2>&5
66599 ac_status=$?
66600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66601 (exit $ac_status); }; }; then
66602 eval "$as_ac_var=yes"
66603 else
66604 echo "$as_me: failed program was:" >&5
66605 sed 's/^/| /' conftest.$ac_ext >&5
66607 eval "$as_ac_var=no"
66609 rm -f conftest.err conftest.$ac_objext \
66610 conftest$ac_exeext conftest.$ac_ext
66612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66614 if test `eval echo '${'$as_ac_var'}'` = yes; then
66615 cat >>confdefs.h <<_ACEOF
66616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66617 _ACEOF
66620 done
66622 else
66624 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66625 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66626 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66627 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66628 echo $ECHO_N "(cached) $ECHO_C" >&6
66629 else
66633 ac_ext=cc
66634 ac_cpp='$CXXCPP $CPPFLAGS'
66635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66639 cat >conftest.$ac_ext <<_ACEOF
66640 /* confdefs.h. */
66641 _ACEOF
66642 cat confdefs.h >>conftest.$ac_ext
66643 cat >>conftest.$ac_ext <<_ACEOF
66644 /* end confdefs.h. */
66645 #include <math.h>
66647 main ()
66649 _hypotl(0, 0);
66651 return 0;
66653 _ACEOF
66654 rm -f conftest.$ac_objext
66655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66656 (eval $ac_compile) 2>conftest.er1
66657 ac_status=$?
66658 grep -v '^ *+' conftest.er1 >conftest.err
66659 rm -f conftest.er1
66660 cat conftest.err >&5
66661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66662 (exit $ac_status); } &&
66663 { ac_try='test -z "$ac_cxx_werror_flag"
66664 || test ! -s conftest.err'
66665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66666 (eval $ac_try) 2>&5
66667 ac_status=$?
66668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66669 (exit $ac_status); }; } &&
66670 { ac_try='test -s conftest.$ac_objext'
66671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66672 (eval $ac_try) 2>&5
66673 ac_status=$?
66674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66675 (exit $ac_status); }; }; then
66676 glibcxx_cv_func__hypotl_use=yes
66677 else
66678 echo "$as_me: failed program was:" >&5
66679 sed 's/^/| /' conftest.$ac_ext >&5
66681 glibcxx_cv_func__hypotl_use=no
66683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66684 ac_ext=c
66685 ac_cpp='$CPP $CPPFLAGS'
66686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66695 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66697 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66699 for ac_func in _hypotl
66701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66702 echo "$as_me:$LINENO: checking for $ac_func" >&5
66703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66704 if eval "test \"\${$as_ac_var+set}\" = set"; then
66705 echo $ECHO_N "(cached) $ECHO_C" >&6
66706 else
66707 if test x$gcc_no_link = xyes; then
66708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66710 { (exit 1); exit 1; }; }
66712 cat >conftest.$ac_ext <<_ACEOF
66713 /* confdefs.h. */
66714 _ACEOF
66715 cat confdefs.h >>conftest.$ac_ext
66716 cat >>conftest.$ac_ext <<_ACEOF
66717 /* end confdefs.h. */
66718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66720 #define $ac_func innocuous_$ac_func
66722 /* System header to define __stub macros and hopefully few prototypes,
66723 which can conflict with char $ac_func (); below.
66724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66725 <limits.h> exists even on freestanding compilers. */
66727 #ifdef __STDC__
66728 # include <limits.h>
66729 #else
66730 # include <assert.h>
66731 #endif
66733 #undef $ac_func
66735 /* Override any gcc2 internal prototype to avoid an error. */
66736 #ifdef __cplusplus
66737 extern "C"
66739 #endif
66740 /* We use char because int might match the return type of a gcc2
66741 builtin and then its argument prototype would still apply. */
66742 char $ac_func ();
66743 /* The GNU C library defines this for functions which it implements
66744 to always fail with ENOSYS. Some functions are actually named
66745 something starting with __ and the normal name is an alias. */
66746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66747 choke me
66748 #else
66749 char (*f) () = $ac_func;
66750 #endif
66751 #ifdef __cplusplus
66753 #endif
66756 main ()
66758 return f != $ac_func;
66760 return 0;
66762 _ACEOF
66763 rm -f conftest.$ac_objext conftest$ac_exeext
66764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66765 (eval $ac_link) 2>conftest.er1
66766 ac_status=$?
66767 grep -v '^ *+' conftest.er1 >conftest.err
66768 rm -f conftest.er1
66769 cat conftest.err >&5
66770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66771 (exit $ac_status); } &&
66772 { ac_try='test -z "$ac_c_werror_flag"
66773 || test ! -s conftest.err'
66774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66775 (eval $ac_try) 2>&5
66776 ac_status=$?
66777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66778 (exit $ac_status); }; } &&
66779 { ac_try='test -s conftest$ac_exeext'
66780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66781 (eval $ac_try) 2>&5
66782 ac_status=$?
66783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66784 (exit $ac_status); }; }; then
66785 eval "$as_ac_var=yes"
66786 else
66787 echo "$as_me: failed program was:" >&5
66788 sed 's/^/| /' conftest.$ac_ext >&5
66790 eval "$as_ac_var=no"
66792 rm -f conftest.err conftest.$ac_objext \
66793 conftest$ac_exeext conftest.$ac_ext
66795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66797 if test `eval echo '${'$as_ac_var'}'` = yes; then
66798 cat >>confdefs.h <<_ACEOF
66799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66800 _ACEOF
66803 done
66810 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66811 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66812 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66813 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66814 echo $ECHO_N "(cached) $ECHO_C" >&6
66815 else
66819 ac_ext=cc
66820 ac_cpp='$CXXCPP $CPPFLAGS'
66821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66825 cat >conftest.$ac_ext <<_ACEOF
66826 /* confdefs.h. */
66827 _ACEOF
66828 cat confdefs.h >>conftest.$ac_ext
66829 cat >>conftest.$ac_ext <<_ACEOF
66830 /* end confdefs.h. */
66831 #include <math.h>
66833 main ()
66835 ldexpl(0, 0);
66837 return 0;
66839 _ACEOF
66840 rm -f conftest.$ac_objext
66841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66842 (eval $ac_compile) 2>conftest.er1
66843 ac_status=$?
66844 grep -v '^ *+' conftest.er1 >conftest.err
66845 rm -f conftest.er1
66846 cat conftest.err >&5
66847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848 (exit $ac_status); } &&
66849 { ac_try='test -z "$ac_cxx_werror_flag"
66850 || test ! -s conftest.err'
66851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66852 (eval $ac_try) 2>&5
66853 ac_status=$?
66854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855 (exit $ac_status); }; } &&
66856 { ac_try='test -s conftest.$ac_objext'
66857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66858 (eval $ac_try) 2>&5
66859 ac_status=$?
66860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861 (exit $ac_status); }; }; then
66862 glibcxx_cv_func_ldexpl_use=yes
66863 else
66864 echo "$as_me: failed program was:" >&5
66865 sed 's/^/| /' conftest.$ac_ext >&5
66867 glibcxx_cv_func_ldexpl_use=no
66869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66870 ac_ext=c
66871 ac_cpp='$CPP $CPPFLAGS'
66872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66881 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66885 for ac_func in ldexpl
66887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66888 echo "$as_me:$LINENO: checking for $ac_func" >&5
66889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66890 if eval "test \"\${$as_ac_var+set}\" = set"; then
66891 echo $ECHO_N "(cached) $ECHO_C" >&6
66892 else
66893 if test x$gcc_no_link = xyes; then
66894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66896 { (exit 1); exit 1; }; }
66898 cat >conftest.$ac_ext <<_ACEOF
66899 /* confdefs.h. */
66900 _ACEOF
66901 cat confdefs.h >>conftest.$ac_ext
66902 cat >>conftest.$ac_ext <<_ACEOF
66903 /* end confdefs.h. */
66904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66906 #define $ac_func innocuous_$ac_func
66908 /* System header to define __stub macros and hopefully few prototypes,
66909 which can conflict with char $ac_func (); below.
66910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66911 <limits.h> exists even on freestanding compilers. */
66913 #ifdef __STDC__
66914 # include <limits.h>
66915 #else
66916 # include <assert.h>
66917 #endif
66919 #undef $ac_func
66921 /* Override any gcc2 internal prototype to avoid an error. */
66922 #ifdef __cplusplus
66923 extern "C"
66925 #endif
66926 /* We use char because int might match the return type of a gcc2
66927 builtin and then its argument prototype would still apply. */
66928 char $ac_func ();
66929 /* The GNU C library defines this for functions which it implements
66930 to always fail with ENOSYS. Some functions are actually named
66931 something starting with __ and the normal name is an alias. */
66932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66933 choke me
66934 #else
66935 char (*f) () = $ac_func;
66936 #endif
66937 #ifdef __cplusplus
66939 #endif
66942 main ()
66944 return f != $ac_func;
66946 return 0;
66948 _ACEOF
66949 rm -f conftest.$ac_objext conftest$ac_exeext
66950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66951 (eval $ac_link) 2>conftest.er1
66952 ac_status=$?
66953 grep -v '^ *+' conftest.er1 >conftest.err
66954 rm -f conftest.er1
66955 cat conftest.err >&5
66956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957 (exit $ac_status); } &&
66958 { ac_try='test -z "$ac_c_werror_flag"
66959 || test ! -s conftest.err'
66960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66961 (eval $ac_try) 2>&5
66962 ac_status=$?
66963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66964 (exit $ac_status); }; } &&
66965 { ac_try='test -s conftest$ac_exeext'
66966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66967 (eval $ac_try) 2>&5
66968 ac_status=$?
66969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66970 (exit $ac_status); }; }; then
66971 eval "$as_ac_var=yes"
66972 else
66973 echo "$as_me: failed program was:" >&5
66974 sed 's/^/| /' conftest.$ac_ext >&5
66976 eval "$as_ac_var=no"
66978 rm -f conftest.err conftest.$ac_objext \
66979 conftest$ac_exeext conftest.$ac_ext
66981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66983 if test `eval echo '${'$as_ac_var'}'` = yes; then
66984 cat >>confdefs.h <<_ACEOF
66985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66986 _ACEOF
66989 done
66991 else
66993 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66994 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66995 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66996 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66997 echo $ECHO_N "(cached) $ECHO_C" >&6
66998 else
67002 ac_ext=cc
67003 ac_cpp='$CXXCPP $CPPFLAGS'
67004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67008 cat >conftest.$ac_ext <<_ACEOF
67009 /* confdefs.h. */
67010 _ACEOF
67011 cat confdefs.h >>conftest.$ac_ext
67012 cat >>conftest.$ac_ext <<_ACEOF
67013 /* end confdefs.h. */
67014 #include <math.h>
67016 main ()
67018 _ldexpl(0, 0);
67020 return 0;
67022 _ACEOF
67023 rm -f conftest.$ac_objext
67024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67025 (eval $ac_compile) 2>conftest.er1
67026 ac_status=$?
67027 grep -v '^ *+' conftest.er1 >conftest.err
67028 rm -f conftest.er1
67029 cat conftest.err >&5
67030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031 (exit $ac_status); } &&
67032 { ac_try='test -z "$ac_cxx_werror_flag"
67033 || test ! -s conftest.err'
67034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67035 (eval $ac_try) 2>&5
67036 ac_status=$?
67037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67038 (exit $ac_status); }; } &&
67039 { ac_try='test -s conftest.$ac_objext'
67040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67041 (eval $ac_try) 2>&5
67042 ac_status=$?
67043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044 (exit $ac_status); }; }; then
67045 glibcxx_cv_func__ldexpl_use=yes
67046 else
67047 echo "$as_me: failed program was:" >&5
67048 sed 's/^/| /' conftest.$ac_ext >&5
67050 glibcxx_cv_func__ldexpl_use=no
67052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67053 ac_ext=c
67054 ac_cpp='$CPP $CPPFLAGS'
67055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67064 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67066 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67068 for ac_func in _ldexpl
67070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67071 echo "$as_me:$LINENO: checking for $ac_func" >&5
67072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67073 if eval "test \"\${$as_ac_var+set}\" = set"; then
67074 echo $ECHO_N "(cached) $ECHO_C" >&6
67075 else
67076 if test x$gcc_no_link = xyes; then
67077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67079 { (exit 1); exit 1; }; }
67081 cat >conftest.$ac_ext <<_ACEOF
67082 /* confdefs.h. */
67083 _ACEOF
67084 cat confdefs.h >>conftest.$ac_ext
67085 cat >>conftest.$ac_ext <<_ACEOF
67086 /* end confdefs.h. */
67087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67089 #define $ac_func innocuous_$ac_func
67091 /* System header to define __stub macros and hopefully few prototypes,
67092 which can conflict with char $ac_func (); below.
67093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67094 <limits.h> exists even on freestanding compilers. */
67096 #ifdef __STDC__
67097 # include <limits.h>
67098 #else
67099 # include <assert.h>
67100 #endif
67102 #undef $ac_func
67104 /* Override any gcc2 internal prototype to avoid an error. */
67105 #ifdef __cplusplus
67106 extern "C"
67108 #endif
67109 /* We use char because int might match the return type of a gcc2
67110 builtin and then its argument prototype would still apply. */
67111 char $ac_func ();
67112 /* The GNU C library defines this for functions which it implements
67113 to always fail with ENOSYS. Some functions are actually named
67114 something starting with __ and the normal name is an alias. */
67115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67116 choke me
67117 #else
67118 char (*f) () = $ac_func;
67119 #endif
67120 #ifdef __cplusplus
67122 #endif
67125 main ()
67127 return f != $ac_func;
67129 return 0;
67131 _ACEOF
67132 rm -f conftest.$ac_objext conftest$ac_exeext
67133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67134 (eval $ac_link) 2>conftest.er1
67135 ac_status=$?
67136 grep -v '^ *+' conftest.er1 >conftest.err
67137 rm -f conftest.er1
67138 cat conftest.err >&5
67139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67140 (exit $ac_status); } &&
67141 { ac_try='test -z "$ac_c_werror_flag"
67142 || test ! -s conftest.err'
67143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67144 (eval $ac_try) 2>&5
67145 ac_status=$?
67146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67147 (exit $ac_status); }; } &&
67148 { ac_try='test -s conftest$ac_exeext'
67149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67150 (eval $ac_try) 2>&5
67151 ac_status=$?
67152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67153 (exit $ac_status); }; }; then
67154 eval "$as_ac_var=yes"
67155 else
67156 echo "$as_me: failed program was:" >&5
67157 sed 's/^/| /' conftest.$ac_ext >&5
67159 eval "$as_ac_var=no"
67161 rm -f conftest.err conftest.$ac_objext \
67162 conftest$ac_exeext conftest.$ac_ext
67164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67166 if test `eval echo '${'$as_ac_var'}'` = yes; then
67167 cat >>confdefs.h <<_ACEOF
67168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67169 _ACEOF
67172 done
67179 echo "$as_me:$LINENO: checking for logl declaration" >&5
67180 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67181 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67182 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67183 echo $ECHO_N "(cached) $ECHO_C" >&6
67184 else
67188 ac_ext=cc
67189 ac_cpp='$CXXCPP $CPPFLAGS'
67190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67194 cat >conftest.$ac_ext <<_ACEOF
67195 /* confdefs.h. */
67196 _ACEOF
67197 cat confdefs.h >>conftest.$ac_ext
67198 cat >>conftest.$ac_ext <<_ACEOF
67199 /* end confdefs.h. */
67200 #include <math.h>
67201 #ifdef HAVE_IEEEFP_H
67202 #include <ieeefp.h>
67203 #endif
67206 main ()
67208 logl(0);
67210 return 0;
67212 _ACEOF
67213 rm -f conftest.$ac_objext
67214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67215 (eval $ac_compile) 2>conftest.er1
67216 ac_status=$?
67217 grep -v '^ *+' conftest.er1 >conftest.err
67218 rm -f conftest.er1
67219 cat conftest.err >&5
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); } &&
67222 { ac_try='test -z "$ac_cxx_werror_flag"
67223 || test ! -s conftest.err'
67224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67225 (eval $ac_try) 2>&5
67226 ac_status=$?
67227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228 (exit $ac_status); }; } &&
67229 { ac_try='test -s conftest.$ac_objext'
67230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231 (eval $ac_try) 2>&5
67232 ac_status=$?
67233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234 (exit $ac_status); }; }; then
67235 glibcxx_cv_func_logl_use=yes
67236 else
67237 echo "$as_me: failed program was:" >&5
67238 sed 's/^/| /' conftest.$ac_ext >&5
67240 glibcxx_cv_func_logl_use=no
67242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67243 ac_ext=c
67244 ac_cpp='$CPP $CPPFLAGS'
67245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67254 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67256 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67258 for ac_func in logl
67260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67261 echo "$as_me:$LINENO: checking for $ac_func" >&5
67262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67263 if eval "test \"\${$as_ac_var+set}\" = set"; then
67264 echo $ECHO_N "(cached) $ECHO_C" >&6
67265 else
67266 if test x$gcc_no_link = xyes; then
67267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67269 { (exit 1); exit 1; }; }
67271 cat >conftest.$ac_ext <<_ACEOF
67272 /* confdefs.h. */
67273 _ACEOF
67274 cat confdefs.h >>conftest.$ac_ext
67275 cat >>conftest.$ac_ext <<_ACEOF
67276 /* end confdefs.h. */
67277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67279 #define $ac_func innocuous_$ac_func
67281 /* System header to define __stub macros and hopefully few prototypes,
67282 which can conflict with char $ac_func (); below.
67283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67284 <limits.h> exists even on freestanding compilers. */
67286 #ifdef __STDC__
67287 # include <limits.h>
67288 #else
67289 # include <assert.h>
67290 #endif
67292 #undef $ac_func
67294 /* Override any gcc2 internal prototype to avoid an error. */
67295 #ifdef __cplusplus
67296 extern "C"
67298 #endif
67299 /* We use char because int might match the return type of a gcc2
67300 builtin and then its argument prototype would still apply. */
67301 char $ac_func ();
67302 /* The GNU C library defines this for functions which it implements
67303 to always fail with ENOSYS. Some functions are actually named
67304 something starting with __ and the normal name is an alias. */
67305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67306 choke me
67307 #else
67308 char (*f) () = $ac_func;
67309 #endif
67310 #ifdef __cplusplus
67312 #endif
67315 main ()
67317 return f != $ac_func;
67319 return 0;
67321 _ACEOF
67322 rm -f conftest.$ac_objext conftest$ac_exeext
67323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67324 (eval $ac_link) 2>conftest.er1
67325 ac_status=$?
67326 grep -v '^ *+' conftest.er1 >conftest.err
67327 rm -f conftest.er1
67328 cat conftest.err >&5
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); } &&
67331 { ac_try='test -z "$ac_c_werror_flag"
67332 || test ! -s conftest.err'
67333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67334 (eval $ac_try) 2>&5
67335 ac_status=$?
67336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337 (exit $ac_status); }; } &&
67338 { ac_try='test -s conftest$ac_exeext'
67339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67340 (eval $ac_try) 2>&5
67341 ac_status=$?
67342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67343 (exit $ac_status); }; }; then
67344 eval "$as_ac_var=yes"
67345 else
67346 echo "$as_me: failed program was:" >&5
67347 sed 's/^/| /' conftest.$ac_ext >&5
67349 eval "$as_ac_var=no"
67351 rm -f conftest.err conftest.$ac_objext \
67352 conftest$ac_exeext conftest.$ac_ext
67354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67356 if test `eval echo '${'$as_ac_var'}'` = yes; then
67357 cat >>confdefs.h <<_ACEOF
67358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67359 _ACEOF
67362 done
67364 else
67366 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67367 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67368 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67369 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67370 echo $ECHO_N "(cached) $ECHO_C" >&6
67371 else
67375 ac_ext=cc
67376 ac_cpp='$CXXCPP $CPPFLAGS'
67377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67381 cat >conftest.$ac_ext <<_ACEOF
67382 /* confdefs.h. */
67383 _ACEOF
67384 cat confdefs.h >>conftest.$ac_ext
67385 cat >>conftest.$ac_ext <<_ACEOF
67386 /* end confdefs.h. */
67387 #include <math.h>
67388 #ifdef HAVE_IEEEFP_H
67389 #include <ieeefp.h>
67390 #endif
67393 main ()
67395 _logl(0);
67397 return 0;
67399 _ACEOF
67400 rm -f conftest.$ac_objext
67401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67402 (eval $ac_compile) 2>conftest.er1
67403 ac_status=$?
67404 grep -v '^ *+' conftest.er1 >conftest.err
67405 rm -f conftest.er1
67406 cat conftest.err >&5
67407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67408 (exit $ac_status); } &&
67409 { ac_try='test -z "$ac_cxx_werror_flag"
67410 || test ! -s conftest.err'
67411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67412 (eval $ac_try) 2>&5
67413 ac_status=$?
67414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67415 (exit $ac_status); }; } &&
67416 { ac_try='test -s conftest.$ac_objext'
67417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67418 (eval $ac_try) 2>&5
67419 ac_status=$?
67420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421 (exit $ac_status); }; }; then
67422 glibcxx_cv_func__logl_use=yes
67423 else
67424 echo "$as_me: failed program was:" >&5
67425 sed 's/^/| /' conftest.$ac_ext >&5
67427 glibcxx_cv_func__logl_use=no
67429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67430 ac_ext=c
67431 ac_cpp='$CPP $CPPFLAGS'
67432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67441 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67443 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67445 for ac_func in _logl
67447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67448 echo "$as_me:$LINENO: checking for $ac_func" >&5
67449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67450 if eval "test \"\${$as_ac_var+set}\" = set"; then
67451 echo $ECHO_N "(cached) $ECHO_C" >&6
67452 else
67453 if test x$gcc_no_link = xyes; then
67454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67456 { (exit 1); exit 1; }; }
67458 cat >conftest.$ac_ext <<_ACEOF
67459 /* confdefs.h. */
67460 _ACEOF
67461 cat confdefs.h >>conftest.$ac_ext
67462 cat >>conftest.$ac_ext <<_ACEOF
67463 /* end confdefs.h. */
67464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67466 #define $ac_func innocuous_$ac_func
67468 /* System header to define __stub macros and hopefully few prototypes,
67469 which can conflict with char $ac_func (); below.
67470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67471 <limits.h> exists even on freestanding compilers. */
67473 #ifdef __STDC__
67474 # include <limits.h>
67475 #else
67476 # include <assert.h>
67477 #endif
67479 #undef $ac_func
67481 /* Override any gcc2 internal prototype to avoid an error. */
67482 #ifdef __cplusplus
67483 extern "C"
67485 #endif
67486 /* We use char because int might match the return type of a gcc2
67487 builtin and then its argument prototype would still apply. */
67488 char $ac_func ();
67489 /* The GNU C library defines this for functions which it implements
67490 to always fail with ENOSYS. Some functions are actually named
67491 something starting with __ and the normal name is an alias. */
67492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67493 choke me
67494 #else
67495 char (*f) () = $ac_func;
67496 #endif
67497 #ifdef __cplusplus
67499 #endif
67502 main ()
67504 return f != $ac_func;
67506 return 0;
67508 _ACEOF
67509 rm -f conftest.$ac_objext conftest$ac_exeext
67510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67511 (eval $ac_link) 2>conftest.er1
67512 ac_status=$?
67513 grep -v '^ *+' conftest.er1 >conftest.err
67514 rm -f conftest.er1
67515 cat conftest.err >&5
67516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517 (exit $ac_status); } &&
67518 { ac_try='test -z "$ac_c_werror_flag"
67519 || test ! -s conftest.err'
67520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67521 (eval $ac_try) 2>&5
67522 ac_status=$?
67523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524 (exit $ac_status); }; } &&
67525 { ac_try='test -s conftest$ac_exeext'
67526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67527 (eval $ac_try) 2>&5
67528 ac_status=$?
67529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67530 (exit $ac_status); }; }; then
67531 eval "$as_ac_var=yes"
67532 else
67533 echo "$as_me: failed program was:" >&5
67534 sed 's/^/| /' conftest.$ac_ext >&5
67536 eval "$as_ac_var=no"
67538 rm -f conftest.err conftest.$ac_objext \
67539 conftest$ac_exeext conftest.$ac_ext
67541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67543 if test `eval echo '${'$as_ac_var'}'` = yes; then
67544 cat >>confdefs.h <<_ACEOF
67545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67546 _ACEOF
67549 done
67556 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67557 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67558 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67559 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67560 echo $ECHO_N "(cached) $ECHO_C" >&6
67561 else
67565 ac_ext=cc
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67571 cat >conftest.$ac_ext <<_ACEOF
67572 /* confdefs.h. */
67573 _ACEOF
67574 cat confdefs.h >>conftest.$ac_ext
67575 cat >>conftest.$ac_ext <<_ACEOF
67576 /* end confdefs.h. */
67577 #include <math.h>
67578 #ifdef HAVE_IEEEFP_H
67579 #include <ieeefp.h>
67580 #endif
67583 main ()
67585 log10l(0);
67587 return 0;
67589 _ACEOF
67590 rm -f conftest.$ac_objext
67591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67592 (eval $ac_compile) 2>conftest.er1
67593 ac_status=$?
67594 grep -v '^ *+' conftest.er1 >conftest.err
67595 rm -f conftest.er1
67596 cat conftest.err >&5
67597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67598 (exit $ac_status); } &&
67599 { ac_try='test -z "$ac_cxx_werror_flag"
67600 || test ! -s conftest.err'
67601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67602 (eval $ac_try) 2>&5
67603 ac_status=$?
67604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605 (exit $ac_status); }; } &&
67606 { ac_try='test -s conftest.$ac_objext'
67607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67608 (eval $ac_try) 2>&5
67609 ac_status=$?
67610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67611 (exit $ac_status); }; }; then
67612 glibcxx_cv_func_log10l_use=yes
67613 else
67614 echo "$as_me: failed program was:" >&5
67615 sed 's/^/| /' conftest.$ac_ext >&5
67617 glibcxx_cv_func_log10l_use=no
67619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67620 ac_ext=c
67621 ac_cpp='$CPP $CPPFLAGS'
67622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67631 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67633 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67635 for ac_func in log10l
67637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67638 echo "$as_me:$LINENO: checking for $ac_func" >&5
67639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67640 if eval "test \"\${$as_ac_var+set}\" = set"; then
67641 echo $ECHO_N "(cached) $ECHO_C" >&6
67642 else
67643 if test x$gcc_no_link = xyes; then
67644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67646 { (exit 1); exit 1; }; }
67648 cat >conftest.$ac_ext <<_ACEOF
67649 /* confdefs.h. */
67650 _ACEOF
67651 cat confdefs.h >>conftest.$ac_ext
67652 cat >>conftest.$ac_ext <<_ACEOF
67653 /* end confdefs.h. */
67654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67656 #define $ac_func innocuous_$ac_func
67658 /* System header to define __stub macros and hopefully few prototypes,
67659 which can conflict with char $ac_func (); below.
67660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67661 <limits.h> exists even on freestanding compilers. */
67663 #ifdef __STDC__
67664 # include <limits.h>
67665 #else
67666 # include <assert.h>
67667 #endif
67669 #undef $ac_func
67671 /* Override any gcc2 internal prototype to avoid an error. */
67672 #ifdef __cplusplus
67673 extern "C"
67675 #endif
67676 /* We use char because int might match the return type of a gcc2
67677 builtin and then its argument prototype would still apply. */
67678 char $ac_func ();
67679 /* The GNU C library defines this for functions which it implements
67680 to always fail with ENOSYS. Some functions are actually named
67681 something starting with __ and the normal name is an alias. */
67682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67683 choke me
67684 #else
67685 char (*f) () = $ac_func;
67686 #endif
67687 #ifdef __cplusplus
67689 #endif
67692 main ()
67694 return f != $ac_func;
67696 return 0;
67698 _ACEOF
67699 rm -f conftest.$ac_objext conftest$ac_exeext
67700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67701 (eval $ac_link) 2>conftest.er1
67702 ac_status=$?
67703 grep -v '^ *+' conftest.er1 >conftest.err
67704 rm -f conftest.er1
67705 cat conftest.err >&5
67706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707 (exit $ac_status); } &&
67708 { ac_try='test -z "$ac_c_werror_flag"
67709 || test ! -s conftest.err'
67710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67711 (eval $ac_try) 2>&5
67712 ac_status=$?
67713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67714 (exit $ac_status); }; } &&
67715 { ac_try='test -s conftest$ac_exeext'
67716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67717 (eval $ac_try) 2>&5
67718 ac_status=$?
67719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67720 (exit $ac_status); }; }; then
67721 eval "$as_ac_var=yes"
67722 else
67723 echo "$as_me: failed program was:" >&5
67724 sed 's/^/| /' conftest.$ac_ext >&5
67726 eval "$as_ac_var=no"
67728 rm -f conftest.err conftest.$ac_objext \
67729 conftest$ac_exeext conftest.$ac_ext
67731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67733 if test `eval echo '${'$as_ac_var'}'` = yes; then
67734 cat >>confdefs.h <<_ACEOF
67735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67736 _ACEOF
67739 done
67741 else
67743 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67744 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67745 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67746 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67747 echo $ECHO_N "(cached) $ECHO_C" >&6
67748 else
67752 ac_ext=cc
67753 ac_cpp='$CXXCPP $CPPFLAGS'
67754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67758 cat >conftest.$ac_ext <<_ACEOF
67759 /* confdefs.h. */
67760 _ACEOF
67761 cat confdefs.h >>conftest.$ac_ext
67762 cat >>conftest.$ac_ext <<_ACEOF
67763 /* end confdefs.h. */
67764 #include <math.h>
67765 #ifdef HAVE_IEEEFP_H
67766 #include <ieeefp.h>
67767 #endif
67770 main ()
67772 _log10l(0);
67774 return 0;
67776 _ACEOF
67777 rm -f conftest.$ac_objext
67778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67779 (eval $ac_compile) 2>conftest.er1
67780 ac_status=$?
67781 grep -v '^ *+' conftest.er1 >conftest.err
67782 rm -f conftest.er1
67783 cat conftest.err >&5
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); } &&
67786 { ac_try='test -z "$ac_cxx_werror_flag"
67787 || test ! -s conftest.err'
67788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67789 (eval $ac_try) 2>&5
67790 ac_status=$?
67791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67792 (exit $ac_status); }; } &&
67793 { ac_try='test -s conftest.$ac_objext'
67794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67795 (eval $ac_try) 2>&5
67796 ac_status=$?
67797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67798 (exit $ac_status); }; }; then
67799 glibcxx_cv_func__log10l_use=yes
67800 else
67801 echo "$as_me: failed program was:" >&5
67802 sed 's/^/| /' conftest.$ac_ext >&5
67804 glibcxx_cv_func__log10l_use=no
67806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67818 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67820 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67822 for ac_func in _log10l
67824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67825 echo "$as_me:$LINENO: checking for $ac_func" >&5
67826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67827 if eval "test \"\${$as_ac_var+set}\" = set"; then
67828 echo $ECHO_N "(cached) $ECHO_C" >&6
67829 else
67830 if test x$gcc_no_link = xyes; then
67831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67833 { (exit 1); exit 1; }; }
67835 cat >conftest.$ac_ext <<_ACEOF
67836 /* confdefs.h. */
67837 _ACEOF
67838 cat confdefs.h >>conftest.$ac_ext
67839 cat >>conftest.$ac_ext <<_ACEOF
67840 /* end confdefs.h. */
67841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67843 #define $ac_func innocuous_$ac_func
67845 /* System header to define __stub macros and hopefully few prototypes,
67846 which can conflict with char $ac_func (); below.
67847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67848 <limits.h> exists even on freestanding compilers. */
67850 #ifdef __STDC__
67851 # include <limits.h>
67852 #else
67853 # include <assert.h>
67854 #endif
67856 #undef $ac_func
67858 /* Override any gcc2 internal prototype to avoid an error. */
67859 #ifdef __cplusplus
67860 extern "C"
67862 #endif
67863 /* We use char because int might match the return type of a gcc2
67864 builtin and then its argument prototype would still apply. */
67865 char $ac_func ();
67866 /* The GNU C library defines this for functions which it implements
67867 to always fail with ENOSYS. Some functions are actually named
67868 something starting with __ and the normal name is an alias. */
67869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67870 choke me
67871 #else
67872 char (*f) () = $ac_func;
67873 #endif
67874 #ifdef __cplusplus
67876 #endif
67879 main ()
67881 return f != $ac_func;
67883 return 0;
67885 _ACEOF
67886 rm -f conftest.$ac_objext conftest$ac_exeext
67887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67888 (eval $ac_link) 2>conftest.er1
67889 ac_status=$?
67890 grep -v '^ *+' conftest.er1 >conftest.err
67891 rm -f conftest.er1
67892 cat conftest.err >&5
67893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894 (exit $ac_status); } &&
67895 { ac_try='test -z "$ac_c_werror_flag"
67896 || test ! -s conftest.err'
67897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67898 (eval $ac_try) 2>&5
67899 ac_status=$?
67900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67901 (exit $ac_status); }; } &&
67902 { ac_try='test -s conftest$ac_exeext'
67903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67904 (eval $ac_try) 2>&5
67905 ac_status=$?
67906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67907 (exit $ac_status); }; }; then
67908 eval "$as_ac_var=yes"
67909 else
67910 echo "$as_me: failed program was:" >&5
67911 sed 's/^/| /' conftest.$ac_ext >&5
67913 eval "$as_ac_var=no"
67915 rm -f conftest.err conftest.$ac_objext \
67916 conftest$ac_exeext conftest.$ac_ext
67918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67920 if test `eval echo '${'$as_ac_var'}'` = yes; then
67921 cat >>confdefs.h <<_ACEOF
67922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67923 _ACEOF
67926 done
67933 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67934 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67935 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67936 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67937 echo $ECHO_N "(cached) $ECHO_C" >&6
67938 else
67942 ac_ext=cc
67943 ac_cpp='$CXXCPP $CPPFLAGS'
67944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67948 cat >conftest.$ac_ext <<_ACEOF
67949 /* confdefs.h. */
67950 _ACEOF
67951 cat confdefs.h >>conftest.$ac_ext
67952 cat >>conftest.$ac_ext <<_ACEOF
67953 /* end confdefs.h. */
67954 #include <math.h>
67956 main ()
67958 modfl(0, 0);
67960 return 0;
67962 _ACEOF
67963 rm -f conftest.$ac_objext
67964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67965 (eval $ac_compile) 2>conftest.er1
67966 ac_status=$?
67967 grep -v '^ *+' conftest.er1 >conftest.err
67968 rm -f conftest.er1
67969 cat conftest.err >&5
67970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67971 (exit $ac_status); } &&
67972 { ac_try='test -z "$ac_cxx_werror_flag"
67973 || test ! -s conftest.err'
67974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67975 (eval $ac_try) 2>&5
67976 ac_status=$?
67977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67978 (exit $ac_status); }; } &&
67979 { ac_try='test -s conftest.$ac_objext'
67980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67981 (eval $ac_try) 2>&5
67982 ac_status=$?
67983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984 (exit $ac_status); }; }; then
67985 glibcxx_cv_func_modfl_use=yes
67986 else
67987 echo "$as_me: failed program was:" >&5
67988 sed 's/^/| /' conftest.$ac_ext >&5
67990 glibcxx_cv_func_modfl_use=no
67992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67993 ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68004 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68006 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68008 for ac_func in modfl
68010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68011 echo "$as_me:$LINENO: checking for $ac_func" >&5
68012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68013 if eval "test \"\${$as_ac_var+set}\" = set"; then
68014 echo $ECHO_N "(cached) $ECHO_C" >&6
68015 else
68016 if test x$gcc_no_link = xyes; then
68017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68019 { (exit 1); exit 1; }; }
68021 cat >conftest.$ac_ext <<_ACEOF
68022 /* confdefs.h. */
68023 _ACEOF
68024 cat confdefs.h >>conftest.$ac_ext
68025 cat >>conftest.$ac_ext <<_ACEOF
68026 /* end confdefs.h. */
68027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68029 #define $ac_func innocuous_$ac_func
68031 /* System header to define __stub macros and hopefully few prototypes,
68032 which can conflict with char $ac_func (); below.
68033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68034 <limits.h> exists even on freestanding compilers. */
68036 #ifdef __STDC__
68037 # include <limits.h>
68038 #else
68039 # include <assert.h>
68040 #endif
68042 #undef $ac_func
68044 /* Override any gcc2 internal prototype to avoid an error. */
68045 #ifdef __cplusplus
68046 extern "C"
68048 #endif
68049 /* We use char because int might match the return type of a gcc2
68050 builtin and then its argument prototype would still apply. */
68051 char $ac_func ();
68052 /* The GNU C library defines this for functions which it implements
68053 to always fail with ENOSYS. Some functions are actually named
68054 something starting with __ and the normal name is an alias. */
68055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68056 choke me
68057 #else
68058 char (*f) () = $ac_func;
68059 #endif
68060 #ifdef __cplusplus
68062 #endif
68065 main ()
68067 return f != $ac_func;
68069 return 0;
68071 _ACEOF
68072 rm -f conftest.$ac_objext conftest$ac_exeext
68073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68074 (eval $ac_link) 2>conftest.er1
68075 ac_status=$?
68076 grep -v '^ *+' conftest.er1 >conftest.err
68077 rm -f conftest.er1
68078 cat conftest.err >&5
68079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68080 (exit $ac_status); } &&
68081 { ac_try='test -z "$ac_c_werror_flag"
68082 || test ! -s conftest.err'
68083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68084 (eval $ac_try) 2>&5
68085 ac_status=$?
68086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68087 (exit $ac_status); }; } &&
68088 { ac_try='test -s conftest$ac_exeext'
68089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68090 (eval $ac_try) 2>&5
68091 ac_status=$?
68092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68093 (exit $ac_status); }; }; then
68094 eval "$as_ac_var=yes"
68095 else
68096 echo "$as_me: failed program was:" >&5
68097 sed 's/^/| /' conftest.$ac_ext >&5
68099 eval "$as_ac_var=no"
68101 rm -f conftest.err conftest.$ac_objext \
68102 conftest$ac_exeext conftest.$ac_ext
68104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68106 if test `eval echo '${'$as_ac_var'}'` = yes; then
68107 cat >>confdefs.h <<_ACEOF
68108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68109 _ACEOF
68112 done
68114 else
68116 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68117 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68118 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68119 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68120 echo $ECHO_N "(cached) $ECHO_C" >&6
68121 else
68125 ac_ext=cc
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68131 cat >conftest.$ac_ext <<_ACEOF
68132 /* confdefs.h. */
68133 _ACEOF
68134 cat confdefs.h >>conftest.$ac_ext
68135 cat >>conftest.$ac_ext <<_ACEOF
68136 /* end confdefs.h. */
68137 #include <math.h>
68139 main ()
68141 _modfl(0, 0);
68143 return 0;
68145 _ACEOF
68146 rm -f conftest.$ac_objext
68147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68148 (eval $ac_compile) 2>conftest.er1
68149 ac_status=$?
68150 grep -v '^ *+' conftest.er1 >conftest.err
68151 rm -f conftest.er1
68152 cat conftest.err >&5
68153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154 (exit $ac_status); } &&
68155 { ac_try='test -z "$ac_cxx_werror_flag"
68156 || test ! -s conftest.err'
68157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68158 (eval $ac_try) 2>&5
68159 ac_status=$?
68160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161 (exit $ac_status); }; } &&
68162 { ac_try='test -s conftest.$ac_objext'
68163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68164 (eval $ac_try) 2>&5
68165 ac_status=$?
68166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68167 (exit $ac_status); }; }; then
68168 glibcxx_cv_func__modfl_use=yes
68169 else
68170 echo "$as_me: failed program was:" >&5
68171 sed 's/^/| /' conftest.$ac_ext >&5
68173 glibcxx_cv_func__modfl_use=no
68175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68187 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68189 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68191 for ac_func in _modfl
68193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68194 echo "$as_me:$LINENO: checking for $ac_func" >&5
68195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68196 if eval "test \"\${$as_ac_var+set}\" = set"; then
68197 echo $ECHO_N "(cached) $ECHO_C" >&6
68198 else
68199 if test x$gcc_no_link = xyes; then
68200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68202 { (exit 1); exit 1; }; }
68204 cat >conftest.$ac_ext <<_ACEOF
68205 /* confdefs.h. */
68206 _ACEOF
68207 cat confdefs.h >>conftest.$ac_ext
68208 cat >>conftest.$ac_ext <<_ACEOF
68209 /* end confdefs.h. */
68210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68212 #define $ac_func innocuous_$ac_func
68214 /* System header to define __stub macros and hopefully few prototypes,
68215 which can conflict with char $ac_func (); below.
68216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68217 <limits.h> exists even on freestanding compilers. */
68219 #ifdef __STDC__
68220 # include <limits.h>
68221 #else
68222 # include <assert.h>
68223 #endif
68225 #undef $ac_func
68227 /* Override any gcc2 internal prototype to avoid an error. */
68228 #ifdef __cplusplus
68229 extern "C"
68231 #endif
68232 /* We use char because int might match the return type of a gcc2
68233 builtin and then its argument prototype would still apply. */
68234 char $ac_func ();
68235 /* The GNU C library defines this for functions which it implements
68236 to always fail with ENOSYS. Some functions are actually named
68237 something starting with __ and the normal name is an alias. */
68238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68239 choke me
68240 #else
68241 char (*f) () = $ac_func;
68242 #endif
68243 #ifdef __cplusplus
68245 #endif
68248 main ()
68250 return f != $ac_func;
68252 return 0;
68254 _ACEOF
68255 rm -f conftest.$ac_objext conftest$ac_exeext
68256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68257 (eval $ac_link) 2>conftest.er1
68258 ac_status=$?
68259 grep -v '^ *+' conftest.er1 >conftest.err
68260 rm -f conftest.er1
68261 cat conftest.err >&5
68262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263 (exit $ac_status); } &&
68264 { ac_try='test -z "$ac_c_werror_flag"
68265 || test ! -s conftest.err'
68266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68267 (eval $ac_try) 2>&5
68268 ac_status=$?
68269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68270 (exit $ac_status); }; } &&
68271 { ac_try='test -s conftest$ac_exeext'
68272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68273 (eval $ac_try) 2>&5
68274 ac_status=$?
68275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68276 (exit $ac_status); }; }; then
68277 eval "$as_ac_var=yes"
68278 else
68279 echo "$as_me: failed program was:" >&5
68280 sed 's/^/| /' conftest.$ac_ext >&5
68282 eval "$as_ac_var=no"
68284 rm -f conftest.err conftest.$ac_objext \
68285 conftest$ac_exeext conftest.$ac_ext
68287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68289 if test `eval echo '${'$as_ac_var'}'` = yes; then
68290 cat >>confdefs.h <<_ACEOF
68291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68292 _ACEOF
68295 done
68302 echo "$as_me:$LINENO: checking for powl declaration" >&5
68303 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68304 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68305 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68306 echo $ECHO_N "(cached) $ECHO_C" >&6
68307 else
68311 ac_ext=cc
68312 ac_cpp='$CXXCPP $CPPFLAGS'
68313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68317 cat >conftest.$ac_ext <<_ACEOF
68318 /* confdefs.h. */
68319 _ACEOF
68320 cat confdefs.h >>conftest.$ac_ext
68321 cat >>conftest.$ac_ext <<_ACEOF
68322 /* end confdefs.h. */
68323 #include <math.h>
68325 main ()
68327 powl(0, 0);
68329 return 0;
68331 _ACEOF
68332 rm -f conftest.$ac_objext
68333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68334 (eval $ac_compile) 2>conftest.er1
68335 ac_status=$?
68336 grep -v '^ *+' conftest.er1 >conftest.err
68337 rm -f conftest.er1
68338 cat conftest.err >&5
68339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68340 (exit $ac_status); } &&
68341 { ac_try='test -z "$ac_cxx_werror_flag"
68342 || test ! -s conftest.err'
68343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68344 (eval $ac_try) 2>&5
68345 ac_status=$?
68346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68347 (exit $ac_status); }; } &&
68348 { ac_try='test -s conftest.$ac_objext'
68349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68350 (eval $ac_try) 2>&5
68351 ac_status=$?
68352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68353 (exit $ac_status); }; }; then
68354 glibcxx_cv_func_powl_use=yes
68355 else
68356 echo "$as_me: failed program was:" >&5
68357 sed 's/^/| /' conftest.$ac_ext >&5
68359 glibcxx_cv_func_powl_use=no
68361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68362 ac_ext=c
68363 ac_cpp='$CPP $CPPFLAGS'
68364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68373 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68375 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68377 for ac_func in powl
68379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68380 echo "$as_me:$LINENO: checking for $ac_func" >&5
68381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68382 if eval "test \"\${$as_ac_var+set}\" = set"; then
68383 echo $ECHO_N "(cached) $ECHO_C" >&6
68384 else
68385 if test x$gcc_no_link = xyes; then
68386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68388 { (exit 1); exit 1; }; }
68390 cat >conftest.$ac_ext <<_ACEOF
68391 /* confdefs.h. */
68392 _ACEOF
68393 cat confdefs.h >>conftest.$ac_ext
68394 cat >>conftest.$ac_ext <<_ACEOF
68395 /* end confdefs.h. */
68396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68398 #define $ac_func innocuous_$ac_func
68400 /* System header to define __stub macros and hopefully few prototypes,
68401 which can conflict with char $ac_func (); below.
68402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68403 <limits.h> exists even on freestanding compilers. */
68405 #ifdef __STDC__
68406 # include <limits.h>
68407 #else
68408 # include <assert.h>
68409 #endif
68411 #undef $ac_func
68413 /* Override any gcc2 internal prototype to avoid an error. */
68414 #ifdef __cplusplus
68415 extern "C"
68417 #endif
68418 /* We use char because int might match the return type of a gcc2
68419 builtin and then its argument prototype would still apply. */
68420 char $ac_func ();
68421 /* The GNU C library defines this for functions which it implements
68422 to always fail with ENOSYS. Some functions are actually named
68423 something starting with __ and the normal name is an alias. */
68424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68425 choke me
68426 #else
68427 char (*f) () = $ac_func;
68428 #endif
68429 #ifdef __cplusplus
68431 #endif
68434 main ()
68436 return f != $ac_func;
68438 return 0;
68440 _ACEOF
68441 rm -f conftest.$ac_objext conftest$ac_exeext
68442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68443 (eval $ac_link) 2>conftest.er1
68444 ac_status=$?
68445 grep -v '^ *+' conftest.er1 >conftest.err
68446 rm -f conftest.er1
68447 cat conftest.err >&5
68448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68449 (exit $ac_status); } &&
68450 { ac_try='test -z "$ac_c_werror_flag"
68451 || test ! -s conftest.err'
68452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68453 (eval $ac_try) 2>&5
68454 ac_status=$?
68455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68456 (exit $ac_status); }; } &&
68457 { ac_try='test -s conftest$ac_exeext'
68458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68459 (eval $ac_try) 2>&5
68460 ac_status=$?
68461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68462 (exit $ac_status); }; }; then
68463 eval "$as_ac_var=yes"
68464 else
68465 echo "$as_me: failed program was:" >&5
68466 sed 's/^/| /' conftest.$ac_ext >&5
68468 eval "$as_ac_var=no"
68470 rm -f conftest.err conftest.$ac_objext \
68471 conftest$ac_exeext conftest.$ac_ext
68473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68475 if test `eval echo '${'$as_ac_var'}'` = yes; then
68476 cat >>confdefs.h <<_ACEOF
68477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68478 _ACEOF
68481 done
68483 else
68485 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68486 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68487 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68488 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68489 echo $ECHO_N "(cached) $ECHO_C" >&6
68490 else
68494 ac_ext=cc
68495 ac_cpp='$CXXCPP $CPPFLAGS'
68496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68500 cat >conftest.$ac_ext <<_ACEOF
68501 /* confdefs.h. */
68502 _ACEOF
68503 cat confdefs.h >>conftest.$ac_ext
68504 cat >>conftest.$ac_ext <<_ACEOF
68505 /* end confdefs.h. */
68506 #include <math.h>
68508 main ()
68510 _powl(0, 0);
68512 return 0;
68514 _ACEOF
68515 rm -f conftest.$ac_objext
68516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68517 (eval $ac_compile) 2>conftest.er1
68518 ac_status=$?
68519 grep -v '^ *+' conftest.er1 >conftest.err
68520 rm -f conftest.er1
68521 cat conftest.err >&5
68522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523 (exit $ac_status); } &&
68524 { ac_try='test -z "$ac_cxx_werror_flag"
68525 || test ! -s conftest.err'
68526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68527 (eval $ac_try) 2>&5
68528 ac_status=$?
68529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68530 (exit $ac_status); }; } &&
68531 { ac_try='test -s conftest.$ac_objext'
68532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68533 (eval $ac_try) 2>&5
68534 ac_status=$?
68535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68536 (exit $ac_status); }; }; then
68537 glibcxx_cv_func__powl_use=yes
68538 else
68539 echo "$as_me: failed program was:" >&5
68540 sed 's/^/| /' conftest.$ac_ext >&5
68542 glibcxx_cv_func__powl_use=no
68544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68545 ac_ext=c
68546 ac_cpp='$CPP $CPPFLAGS'
68547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68556 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68558 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68560 for ac_func in _powl
68562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68563 echo "$as_me:$LINENO: checking for $ac_func" >&5
68564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68565 if eval "test \"\${$as_ac_var+set}\" = set"; then
68566 echo $ECHO_N "(cached) $ECHO_C" >&6
68567 else
68568 if test x$gcc_no_link = xyes; then
68569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68571 { (exit 1); exit 1; }; }
68573 cat >conftest.$ac_ext <<_ACEOF
68574 /* confdefs.h. */
68575 _ACEOF
68576 cat confdefs.h >>conftest.$ac_ext
68577 cat >>conftest.$ac_ext <<_ACEOF
68578 /* end confdefs.h. */
68579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68581 #define $ac_func innocuous_$ac_func
68583 /* System header to define __stub macros and hopefully few prototypes,
68584 which can conflict with char $ac_func (); below.
68585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68586 <limits.h> exists even on freestanding compilers. */
68588 #ifdef __STDC__
68589 # include <limits.h>
68590 #else
68591 # include <assert.h>
68592 #endif
68594 #undef $ac_func
68596 /* Override any gcc2 internal prototype to avoid an error. */
68597 #ifdef __cplusplus
68598 extern "C"
68600 #endif
68601 /* We use char because int might match the return type of a gcc2
68602 builtin and then its argument prototype would still apply. */
68603 char $ac_func ();
68604 /* The GNU C library defines this for functions which it implements
68605 to always fail with ENOSYS. Some functions are actually named
68606 something starting with __ and the normal name is an alias. */
68607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68608 choke me
68609 #else
68610 char (*f) () = $ac_func;
68611 #endif
68612 #ifdef __cplusplus
68614 #endif
68617 main ()
68619 return f != $ac_func;
68621 return 0;
68623 _ACEOF
68624 rm -f conftest.$ac_objext conftest$ac_exeext
68625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68626 (eval $ac_link) 2>conftest.er1
68627 ac_status=$?
68628 grep -v '^ *+' conftest.er1 >conftest.err
68629 rm -f conftest.er1
68630 cat conftest.err >&5
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); } &&
68633 { ac_try='test -z "$ac_c_werror_flag"
68634 || test ! -s conftest.err'
68635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636 (eval $ac_try) 2>&5
68637 ac_status=$?
68638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639 (exit $ac_status); }; } &&
68640 { ac_try='test -s conftest$ac_exeext'
68641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68642 (eval $ac_try) 2>&5
68643 ac_status=$?
68644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68645 (exit $ac_status); }; }; then
68646 eval "$as_ac_var=yes"
68647 else
68648 echo "$as_me: failed program was:" >&5
68649 sed 's/^/| /' conftest.$ac_ext >&5
68651 eval "$as_ac_var=no"
68653 rm -f conftest.err conftest.$ac_objext \
68654 conftest$ac_exeext conftest.$ac_ext
68656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68658 if test `eval echo '${'$as_ac_var'}'` = yes; then
68659 cat >>confdefs.h <<_ACEOF
68660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68661 _ACEOF
68664 done
68671 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68672 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68673 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68674 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68675 echo $ECHO_N "(cached) $ECHO_C" >&6
68676 else
68680 ac_ext=cc
68681 ac_cpp='$CXXCPP $CPPFLAGS'
68682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68686 cat >conftest.$ac_ext <<_ACEOF
68687 /* confdefs.h. */
68688 _ACEOF
68689 cat confdefs.h >>conftest.$ac_ext
68690 cat >>conftest.$ac_ext <<_ACEOF
68691 /* end confdefs.h. */
68692 #include <math.h>
68693 #ifdef HAVE_IEEEFP_H
68694 #include <ieeefp.h>
68695 #endif
68698 main ()
68700 sqrtl(0);
68702 return 0;
68704 _ACEOF
68705 rm -f conftest.$ac_objext
68706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68707 (eval $ac_compile) 2>conftest.er1
68708 ac_status=$?
68709 grep -v '^ *+' conftest.er1 >conftest.err
68710 rm -f conftest.er1
68711 cat conftest.err >&5
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); } &&
68714 { ac_try='test -z "$ac_cxx_werror_flag"
68715 || test ! -s conftest.err'
68716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717 (eval $ac_try) 2>&5
68718 ac_status=$?
68719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720 (exit $ac_status); }; } &&
68721 { ac_try='test -s conftest.$ac_objext'
68722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68723 (eval $ac_try) 2>&5
68724 ac_status=$?
68725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68726 (exit $ac_status); }; }; then
68727 glibcxx_cv_func_sqrtl_use=yes
68728 else
68729 echo "$as_me: failed program was:" >&5
68730 sed 's/^/| /' conftest.$ac_ext >&5
68732 glibcxx_cv_func_sqrtl_use=no
68734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68735 ac_ext=c
68736 ac_cpp='$CPP $CPPFLAGS'
68737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68746 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68748 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68750 for ac_func in sqrtl
68752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68753 echo "$as_me:$LINENO: checking for $ac_func" >&5
68754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68755 if eval "test \"\${$as_ac_var+set}\" = set"; then
68756 echo $ECHO_N "(cached) $ECHO_C" >&6
68757 else
68758 if test x$gcc_no_link = xyes; then
68759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68761 { (exit 1); exit 1; }; }
68763 cat >conftest.$ac_ext <<_ACEOF
68764 /* confdefs.h. */
68765 _ACEOF
68766 cat confdefs.h >>conftest.$ac_ext
68767 cat >>conftest.$ac_ext <<_ACEOF
68768 /* end confdefs.h. */
68769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68771 #define $ac_func innocuous_$ac_func
68773 /* System header to define __stub macros and hopefully few prototypes,
68774 which can conflict with char $ac_func (); below.
68775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68776 <limits.h> exists even on freestanding compilers. */
68778 #ifdef __STDC__
68779 # include <limits.h>
68780 #else
68781 # include <assert.h>
68782 #endif
68784 #undef $ac_func
68786 /* Override any gcc2 internal prototype to avoid an error. */
68787 #ifdef __cplusplus
68788 extern "C"
68790 #endif
68791 /* We use char because int might match the return type of a gcc2
68792 builtin and then its argument prototype would still apply. */
68793 char $ac_func ();
68794 /* The GNU C library defines this for functions which it implements
68795 to always fail with ENOSYS. Some functions are actually named
68796 something starting with __ and the normal name is an alias. */
68797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68798 choke me
68799 #else
68800 char (*f) () = $ac_func;
68801 #endif
68802 #ifdef __cplusplus
68804 #endif
68807 main ()
68809 return f != $ac_func;
68811 return 0;
68813 _ACEOF
68814 rm -f conftest.$ac_objext conftest$ac_exeext
68815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68816 (eval $ac_link) 2>conftest.er1
68817 ac_status=$?
68818 grep -v '^ *+' conftest.er1 >conftest.err
68819 rm -f conftest.er1
68820 cat conftest.err >&5
68821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822 (exit $ac_status); } &&
68823 { ac_try='test -z "$ac_c_werror_flag"
68824 || test ! -s conftest.err'
68825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68826 (eval $ac_try) 2>&5
68827 ac_status=$?
68828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68829 (exit $ac_status); }; } &&
68830 { ac_try='test -s conftest$ac_exeext'
68831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68832 (eval $ac_try) 2>&5
68833 ac_status=$?
68834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68835 (exit $ac_status); }; }; then
68836 eval "$as_ac_var=yes"
68837 else
68838 echo "$as_me: failed program was:" >&5
68839 sed 's/^/| /' conftest.$ac_ext >&5
68841 eval "$as_ac_var=no"
68843 rm -f conftest.err conftest.$ac_objext \
68844 conftest$ac_exeext conftest.$ac_ext
68846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68848 if test `eval echo '${'$as_ac_var'}'` = yes; then
68849 cat >>confdefs.h <<_ACEOF
68850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68851 _ACEOF
68854 done
68856 else
68858 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68859 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68860 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68861 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68862 echo $ECHO_N "(cached) $ECHO_C" >&6
68863 else
68867 ac_ext=cc
68868 ac_cpp='$CXXCPP $CPPFLAGS'
68869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68873 cat >conftest.$ac_ext <<_ACEOF
68874 /* confdefs.h. */
68875 _ACEOF
68876 cat confdefs.h >>conftest.$ac_ext
68877 cat >>conftest.$ac_ext <<_ACEOF
68878 /* end confdefs.h. */
68879 #include <math.h>
68880 #ifdef HAVE_IEEEFP_H
68881 #include <ieeefp.h>
68882 #endif
68885 main ()
68887 _sqrtl(0);
68889 return 0;
68891 _ACEOF
68892 rm -f conftest.$ac_objext
68893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68894 (eval $ac_compile) 2>conftest.er1
68895 ac_status=$?
68896 grep -v '^ *+' conftest.er1 >conftest.err
68897 rm -f conftest.er1
68898 cat conftest.err >&5
68899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900 (exit $ac_status); } &&
68901 { ac_try='test -z "$ac_cxx_werror_flag"
68902 || test ! -s conftest.err'
68903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68904 (eval $ac_try) 2>&5
68905 ac_status=$?
68906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68907 (exit $ac_status); }; } &&
68908 { ac_try='test -s conftest.$ac_objext'
68909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910 (eval $ac_try) 2>&5
68911 ac_status=$?
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); }; }; then
68914 glibcxx_cv_func__sqrtl_use=yes
68915 else
68916 echo "$as_me: failed program was:" >&5
68917 sed 's/^/| /' conftest.$ac_ext >&5
68919 glibcxx_cv_func__sqrtl_use=no
68921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68922 ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68933 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68935 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68937 for ac_func in _sqrtl
68939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68940 echo "$as_me:$LINENO: checking for $ac_func" >&5
68941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68942 if eval "test \"\${$as_ac_var+set}\" = set"; then
68943 echo $ECHO_N "(cached) $ECHO_C" >&6
68944 else
68945 if test x$gcc_no_link = xyes; then
68946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68948 { (exit 1); exit 1; }; }
68950 cat >conftest.$ac_ext <<_ACEOF
68951 /* confdefs.h. */
68952 _ACEOF
68953 cat confdefs.h >>conftest.$ac_ext
68954 cat >>conftest.$ac_ext <<_ACEOF
68955 /* end confdefs.h. */
68956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68958 #define $ac_func innocuous_$ac_func
68960 /* System header to define __stub macros and hopefully few prototypes,
68961 which can conflict with char $ac_func (); below.
68962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68963 <limits.h> exists even on freestanding compilers. */
68965 #ifdef __STDC__
68966 # include <limits.h>
68967 #else
68968 # include <assert.h>
68969 #endif
68971 #undef $ac_func
68973 /* Override any gcc2 internal prototype to avoid an error. */
68974 #ifdef __cplusplus
68975 extern "C"
68977 #endif
68978 /* We use char because int might match the return type of a gcc2
68979 builtin and then its argument prototype would still apply. */
68980 char $ac_func ();
68981 /* The GNU C library defines this for functions which it implements
68982 to always fail with ENOSYS. Some functions are actually named
68983 something starting with __ and the normal name is an alias. */
68984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68985 choke me
68986 #else
68987 char (*f) () = $ac_func;
68988 #endif
68989 #ifdef __cplusplus
68991 #endif
68994 main ()
68996 return f != $ac_func;
68998 return 0;
69000 _ACEOF
69001 rm -f conftest.$ac_objext conftest$ac_exeext
69002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69003 (eval $ac_link) 2>conftest.er1
69004 ac_status=$?
69005 grep -v '^ *+' conftest.er1 >conftest.err
69006 rm -f conftest.er1
69007 cat conftest.err >&5
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); } &&
69010 { ac_try='test -z "$ac_c_werror_flag"
69011 || test ! -s conftest.err'
69012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69013 (eval $ac_try) 2>&5
69014 ac_status=$?
69015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69016 (exit $ac_status); }; } &&
69017 { ac_try='test -s conftest$ac_exeext'
69018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69019 (eval $ac_try) 2>&5
69020 ac_status=$?
69021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69022 (exit $ac_status); }; }; then
69023 eval "$as_ac_var=yes"
69024 else
69025 echo "$as_me: failed program was:" >&5
69026 sed 's/^/| /' conftest.$ac_ext >&5
69028 eval "$as_ac_var=no"
69030 rm -f conftest.err conftest.$ac_objext \
69031 conftest$ac_exeext conftest.$ac_ext
69033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69035 if test `eval echo '${'$as_ac_var'}'` = yes; then
69036 cat >>confdefs.h <<_ACEOF
69037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69038 _ACEOF
69041 done
69048 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69049 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69050 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69051 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69052 echo $ECHO_N "(cached) $ECHO_C" >&6
69053 else
69057 ac_ext=cc
69058 ac_cpp='$CXXCPP $CPPFLAGS'
69059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69063 cat >conftest.$ac_ext <<_ACEOF
69064 /* confdefs.h. */
69065 _ACEOF
69066 cat confdefs.h >>conftest.$ac_ext
69067 cat >>conftest.$ac_ext <<_ACEOF
69068 /* end confdefs.h. */
69069 #include <math.h>
69071 main ()
69073 sincosl(0, 0, 0);
69075 return 0;
69077 _ACEOF
69078 rm -f conftest.$ac_objext
69079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69080 (eval $ac_compile) 2>conftest.er1
69081 ac_status=$?
69082 grep -v '^ *+' conftest.er1 >conftest.err
69083 rm -f conftest.er1
69084 cat conftest.err >&5
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); } &&
69087 { ac_try='test -z "$ac_cxx_werror_flag"
69088 || test ! -s conftest.err'
69089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69090 (eval $ac_try) 2>&5
69091 ac_status=$?
69092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69093 (exit $ac_status); }; } &&
69094 { ac_try='test -s conftest.$ac_objext'
69095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69096 (eval $ac_try) 2>&5
69097 ac_status=$?
69098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69099 (exit $ac_status); }; }; then
69100 glibcxx_cv_func_sincosl_use=yes
69101 else
69102 echo "$as_me: failed program was:" >&5
69103 sed 's/^/| /' conftest.$ac_ext >&5
69105 glibcxx_cv_func_sincosl_use=no
69107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69108 ac_ext=c
69109 ac_cpp='$CPP $CPPFLAGS'
69110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69119 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69121 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69123 for ac_func in sincosl
69125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69126 echo "$as_me:$LINENO: checking for $ac_func" >&5
69127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69128 if eval "test \"\${$as_ac_var+set}\" = set"; then
69129 echo $ECHO_N "(cached) $ECHO_C" >&6
69130 else
69131 if test x$gcc_no_link = xyes; then
69132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69134 { (exit 1); exit 1; }; }
69136 cat >conftest.$ac_ext <<_ACEOF
69137 /* confdefs.h. */
69138 _ACEOF
69139 cat confdefs.h >>conftest.$ac_ext
69140 cat >>conftest.$ac_ext <<_ACEOF
69141 /* end confdefs.h. */
69142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69144 #define $ac_func innocuous_$ac_func
69146 /* System header to define __stub macros and hopefully few prototypes,
69147 which can conflict with char $ac_func (); below.
69148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69149 <limits.h> exists even on freestanding compilers. */
69151 #ifdef __STDC__
69152 # include <limits.h>
69153 #else
69154 # include <assert.h>
69155 #endif
69157 #undef $ac_func
69159 /* Override any gcc2 internal prototype to avoid an error. */
69160 #ifdef __cplusplus
69161 extern "C"
69163 #endif
69164 /* We use char because int might match the return type of a gcc2
69165 builtin and then its argument prototype would still apply. */
69166 char $ac_func ();
69167 /* The GNU C library defines this for functions which it implements
69168 to always fail with ENOSYS. Some functions are actually named
69169 something starting with __ and the normal name is an alias. */
69170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69171 choke me
69172 #else
69173 char (*f) () = $ac_func;
69174 #endif
69175 #ifdef __cplusplus
69177 #endif
69180 main ()
69182 return f != $ac_func;
69184 return 0;
69186 _ACEOF
69187 rm -f conftest.$ac_objext conftest$ac_exeext
69188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69189 (eval $ac_link) 2>conftest.er1
69190 ac_status=$?
69191 grep -v '^ *+' conftest.er1 >conftest.err
69192 rm -f conftest.er1
69193 cat conftest.err >&5
69194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195 (exit $ac_status); } &&
69196 { ac_try='test -z "$ac_c_werror_flag"
69197 || test ! -s conftest.err'
69198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69199 (eval $ac_try) 2>&5
69200 ac_status=$?
69201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69202 (exit $ac_status); }; } &&
69203 { ac_try='test -s conftest$ac_exeext'
69204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69205 (eval $ac_try) 2>&5
69206 ac_status=$?
69207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69208 (exit $ac_status); }; }; then
69209 eval "$as_ac_var=yes"
69210 else
69211 echo "$as_me: failed program was:" >&5
69212 sed 's/^/| /' conftest.$ac_ext >&5
69214 eval "$as_ac_var=no"
69216 rm -f conftest.err conftest.$ac_objext \
69217 conftest$ac_exeext conftest.$ac_ext
69219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69221 if test `eval echo '${'$as_ac_var'}'` = yes; then
69222 cat >>confdefs.h <<_ACEOF
69223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69224 _ACEOF
69227 done
69229 else
69231 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69232 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69233 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69234 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69235 echo $ECHO_N "(cached) $ECHO_C" >&6
69236 else
69240 ac_ext=cc
69241 ac_cpp='$CXXCPP $CPPFLAGS'
69242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69246 cat >conftest.$ac_ext <<_ACEOF
69247 /* confdefs.h. */
69248 _ACEOF
69249 cat confdefs.h >>conftest.$ac_ext
69250 cat >>conftest.$ac_ext <<_ACEOF
69251 /* end confdefs.h. */
69252 #include <math.h>
69254 main ()
69256 _sincosl(0, 0, 0);
69258 return 0;
69260 _ACEOF
69261 rm -f conftest.$ac_objext
69262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69263 (eval $ac_compile) 2>conftest.er1
69264 ac_status=$?
69265 grep -v '^ *+' conftest.er1 >conftest.err
69266 rm -f conftest.er1
69267 cat conftest.err >&5
69268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69269 (exit $ac_status); } &&
69270 { ac_try='test -z "$ac_cxx_werror_flag"
69271 || test ! -s conftest.err'
69272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69273 (eval $ac_try) 2>&5
69274 ac_status=$?
69275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276 (exit $ac_status); }; } &&
69277 { ac_try='test -s conftest.$ac_objext'
69278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69279 (eval $ac_try) 2>&5
69280 ac_status=$?
69281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69282 (exit $ac_status); }; }; then
69283 glibcxx_cv_func__sincosl_use=yes
69284 else
69285 echo "$as_me: failed program was:" >&5
69286 sed 's/^/| /' conftest.$ac_ext >&5
69288 glibcxx_cv_func__sincosl_use=no
69290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69291 ac_ext=c
69292 ac_cpp='$CPP $CPPFLAGS'
69293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69302 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69304 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69306 for ac_func in _sincosl
69308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69309 echo "$as_me:$LINENO: checking for $ac_func" >&5
69310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69311 if eval "test \"\${$as_ac_var+set}\" = set"; then
69312 echo $ECHO_N "(cached) $ECHO_C" >&6
69313 else
69314 if test x$gcc_no_link = xyes; then
69315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69317 { (exit 1); exit 1; }; }
69319 cat >conftest.$ac_ext <<_ACEOF
69320 /* confdefs.h. */
69321 _ACEOF
69322 cat confdefs.h >>conftest.$ac_ext
69323 cat >>conftest.$ac_ext <<_ACEOF
69324 /* end confdefs.h. */
69325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69327 #define $ac_func innocuous_$ac_func
69329 /* System header to define __stub macros and hopefully few prototypes,
69330 which can conflict with char $ac_func (); below.
69331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69332 <limits.h> exists even on freestanding compilers. */
69334 #ifdef __STDC__
69335 # include <limits.h>
69336 #else
69337 # include <assert.h>
69338 #endif
69340 #undef $ac_func
69342 /* Override any gcc2 internal prototype to avoid an error. */
69343 #ifdef __cplusplus
69344 extern "C"
69346 #endif
69347 /* We use char because int might match the return type of a gcc2
69348 builtin and then its argument prototype would still apply. */
69349 char $ac_func ();
69350 /* The GNU C library defines this for functions which it implements
69351 to always fail with ENOSYS. Some functions are actually named
69352 something starting with __ and the normal name is an alias. */
69353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69354 choke me
69355 #else
69356 char (*f) () = $ac_func;
69357 #endif
69358 #ifdef __cplusplus
69360 #endif
69363 main ()
69365 return f != $ac_func;
69367 return 0;
69369 _ACEOF
69370 rm -f conftest.$ac_objext conftest$ac_exeext
69371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69372 (eval $ac_link) 2>conftest.er1
69373 ac_status=$?
69374 grep -v '^ *+' conftest.er1 >conftest.err
69375 rm -f conftest.er1
69376 cat conftest.err >&5
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); } &&
69379 { ac_try='test -z "$ac_c_werror_flag"
69380 || test ! -s conftest.err'
69381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382 (eval $ac_try) 2>&5
69383 ac_status=$?
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); }; } &&
69386 { ac_try='test -s conftest$ac_exeext'
69387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388 (eval $ac_try) 2>&5
69389 ac_status=$?
69390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391 (exit $ac_status); }; }; then
69392 eval "$as_ac_var=yes"
69393 else
69394 echo "$as_me: failed program was:" >&5
69395 sed 's/^/| /' conftest.$ac_ext >&5
69397 eval "$as_ac_var=no"
69399 rm -f conftest.err conftest.$ac_objext \
69400 conftest$ac_exeext conftest.$ac_ext
69402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69404 if test `eval echo '${'$as_ac_var'}'` = yes; then
69405 cat >>confdefs.h <<_ACEOF
69406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69407 _ACEOF
69410 done
69417 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69418 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69419 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69420 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69421 echo $ECHO_N "(cached) $ECHO_C" >&6
69422 else
69426 ac_ext=cc
69427 ac_cpp='$CXXCPP $CPPFLAGS'
69428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69432 cat >conftest.$ac_ext <<_ACEOF
69433 /* confdefs.h. */
69434 _ACEOF
69435 cat confdefs.h >>conftest.$ac_ext
69436 cat >>conftest.$ac_ext <<_ACEOF
69437 /* end confdefs.h. */
69438 #include <math.h>
69439 #ifdef HAVE_IEEEFP_H
69440 #include <ieeefp.h>
69441 #endif
69444 main ()
69446 finitel(0);
69448 return 0;
69450 _ACEOF
69451 rm -f conftest.$ac_objext
69452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69453 (eval $ac_compile) 2>conftest.er1
69454 ac_status=$?
69455 grep -v '^ *+' conftest.er1 >conftest.err
69456 rm -f conftest.er1
69457 cat conftest.err >&5
69458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69459 (exit $ac_status); } &&
69460 { ac_try='test -z "$ac_cxx_werror_flag"
69461 || test ! -s conftest.err'
69462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69463 (eval $ac_try) 2>&5
69464 ac_status=$?
69465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69466 (exit $ac_status); }; } &&
69467 { ac_try='test -s conftest.$ac_objext'
69468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69469 (eval $ac_try) 2>&5
69470 ac_status=$?
69471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69472 (exit $ac_status); }; }; then
69473 glibcxx_cv_func_finitel_use=yes
69474 else
69475 echo "$as_me: failed program was:" >&5
69476 sed 's/^/| /' conftest.$ac_ext >&5
69478 glibcxx_cv_func_finitel_use=no
69480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69481 ac_ext=c
69482 ac_cpp='$CPP $CPPFLAGS'
69483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69492 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69494 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69496 for ac_func in finitel
69498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69499 echo "$as_me:$LINENO: checking for $ac_func" >&5
69500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69501 if eval "test \"\${$as_ac_var+set}\" = set"; then
69502 echo $ECHO_N "(cached) $ECHO_C" >&6
69503 else
69504 if test x$gcc_no_link = xyes; then
69505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69507 { (exit 1); exit 1; }; }
69509 cat >conftest.$ac_ext <<_ACEOF
69510 /* confdefs.h. */
69511 _ACEOF
69512 cat confdefs.h >>conftest.$ac_ext
69513 cat >>conftest.$ac_ext <<_ACEOF
69514 /* end confdefs.h. */
69515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69517 #define $ac_func innocuous_$ac_func
69519 /* System header to define __stub macros and hopefully few prototypes,
69520 which can conflict with char $ac_func (); below.
69521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69522 <limits.h> exists even on freestanding compilers. */
69524 #ifdef __STDC__
69525 # include <limits.h>
69526 #else
69527 # include <assert.h>
69528 #endif
69530 #undef $ac_func
69532 /* Override any gcc2 internal prototype to avoid an error. */
69533 #ifdef __cplusplus
69534 extern "C"
69536 #endif
69537 /* We use char because int might match the return type of a gcc2
69538 builtin and then its argument prototype would still apply. */
69539 char $ac_func ();
69540 /* The GNU C library defines this for functions which it implements
69541 to always fail with ENOSYS. Some functions are actually named
69542 something starting with __ and the normal name is an alias. */
69543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69544 choke me
69545 #else
69546 char (*f) () = $ac_func;
69547 #endif
69548 #ifdef __cplusplus
69550 #endif
69553 main ()
69555 return f != $ac_func;
69557 return 0;
69559 _ACEOF
69560 rm -f conftest.$ac_objext conftest$ac_exeext
69561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69562 (eval $ac_link) 2>conftest.er1
69563 ac_status=$?
69564 grep -v '^ *+' conftest.er1 >conftest.err
69565 rm -f conftest.er1
69566 cat conftest.err >&5
69567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568 (exit $ac_status); } &&
69569 { ac_try='test -z "$ac_c_werror_flag"
69570 || test ! -s conftest.err'
69571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69572 (eval $ac_try) 2>&5
69573 ac_status=$?
69574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69575 (exit $ac_status); }; } &&
69576 { ac_try='test -s conftest$ac_exeext'
69577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69578 (eval $ac_try) 2>&5
69579 ac_status=$?
69580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69581 (exit $ac_status); }; }; then
69582 eval "$as_ac_var=yes"
69583 else
69584 echo "$as_me: failed program was:" >&5
69585 sed 's/^/| /' conftest.$ac_ext >&5
69587 eval "$as_ac_var=no"
69589 rm -f conftest.err conftest.$ac_objext \
69590 conftest$ac_exeext conftest.$ac_ext
69592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69594 if test `eval echo '${'$as_ac_var'}'` = yes; then
69595 cat >>confdefs.h <<_ACEOF
69596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69597 _ACEOF
69600 done
69602 else
69604 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69605 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69606 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69607 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69608 echo $ECHO_N "(cached) $ECHO_C" >&6
69609 else
69613 ac_ext=cc
69614 ac_cpp='$CXXCPP $CPPFLAGS'
69615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69619 cat >conftest.$ac_ext <<_ACEOF
69620 /* confdefs.h. */
69621 _ACEOF
69622 cat confdefs.h >>conftest.$ac_ext
69623 cat >>conftest.$ac_ext <<_ACEOF
69624 /* end confdefs.h. */
69625 #include <math.h>
69626 #ifdef HAVE_IEEEFP_H
69627 #include <ieeefp.h>
69628 #endif
69631 main ()
69633 _finitel(0);
69635 return 0;
69637 _ACEOF
69638 rm -f conftest.$ac_objext
69639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69640 (eval $ac_compile) 2>conftest.er1
69641 ac_status=$?
69642 grep -v '^ *+' conftest.er1 >conftest.err
69643 rm -f conftest.er1
69644 cat conftest.err >&5
69645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646 (exit $ac_status); } &&
69647 { ac_try='test -z "$ac_cxx_werror_flag"
69648 || test ! -s conftest.err'
69649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69650 (eval $ac_try) 2>&5
69651 ac_status=$?
69652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69653 (exit $ac_status); }; } &&
69654 { ac_try='test -s conftest.$ac_objext'
69655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656 (eval $ac_try) 2>&5
69657 ac_status=$?
69658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659 (exit $ac_status); }; }; then
69660 glibcxx_cv_func__finitel_use=yes
69661 else
69662 echo "$as_me: failed program was:" >&5
69663 sed 's/^/| /' conftest.$ac_ext >&5
69665 glibcxx_cv_func__finitel_use=no
69667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69668 ac_ext=c
69669 ac_cpp='$CPP $CPPFLAGS'
69670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69679 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69681 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69683 for ac_func in _finitel
69685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69686 echo "$as_me:$LINENO: checking for $ac_func" >&5
69687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69688 if eval "test \"\${$as_ac_var+set}\" = set"; then
69689 echo $ECHO_N "(cached) $ECHO_C" >&6
69690 else
69691 if test x$gcc_no_link = xyes; then
69692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69694 { (exit 1); exit 1; }; }
69696 cat >conftest.$ac_ext <<_ACEOF
69697 /* confdefs.h. */
69698 _ACEOF
69699 cat confdefs.h >>conftest.$ac_ext
69700 cat >>conftest.$ac_ext <<_ACEOF
69701 /* end confdefs.h. */
69702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69704 #define $ac_func innocuous_$ac_func
69706 /* System header to define __stub macros and hopefully few prototypes,
69707 which can conflict with char $ac_func (); below.
69708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69709 <limits.h> exists even on freestanding compilers. */
69711 #ifdef __STDC__
69712 # include <limits.h>
69713 #else
69714 # include <assert.h>
69715 #endif
69717 #undef $ac_func
69719 /* Override any gcc2 internal prototype to avoid an error. */
69720 #ifdef __cplusplus
69721 extern "C"
69723 #endif
69724 /* We use char because int might match the return type of a gcc2
69725 builtin and then its argument prototype would still apply. */
69726 char $ac_func ();
69727 /* The GNU C library defines this for functions which it implements
69728 to always fail with ENOSYS. Some functions are actually named
69729 something starting with __ and the normal name is an alias. */
69730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69731 choke me
69732 #else
69733 char (*f) () = $ac_func;
69734 #endif
69735 #ifdef __cplusplus
69737 #endif
69740 main ()
69742 return f != $ac_func;
69744 return 0;
69746 _ACEOF
69747 rm -f conftest.$ac_objext conftest$ac_exeext
69748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69749 (eval $ac_link) 2>conftest.er1
69750 ac_status=$?
69751 grep -v '^ *+' conftest.er1 >conftest.err
69752 rm -f conftest.er1
69753 cat conftest.err >&5
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); } &&
69756 { ac_try='test -z "$ac_c_werror_flag"
69757 || test ! -s conftest.err'
69758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759 (eval $ac_try) 2>&5
69760 ac_status=$?
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); }; } &&
69763 { ac_try='test -s conftest$ac_exeext'
69764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69765 (eval $ac_try) 2>&5
69766 ac_status=$?
69767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69768 (exit $ac_status); }; }; then
69769 eval "$as_ac_var=yes"
69770 else
69771 echo "$as_me: failed program was:" >&5
69772 sed 's/^/| /' conftest.$ac_ext >&5
69774 eval "$as_ac_var=no"
69776 rm -f conftest.err conftest.$ac_objext \
69777 conftest$ac_exeext conftest.$ac_ext
69779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69781 if test `eval echo '${'$as_ac_var'}'` = yes; then
69782 cat >>confdefs.h <<_ACEOF
69783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69784 _ACEOF
69787 done
69795 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69796 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69797 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69798 echo $ECHO_N "(cached) $ECHO_C" >&6
69799 else
69803 ac_ext=cc
69804 ac_cpp='$CXXCPP $CPPFLAGS'
69805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69809 cat >conftest.$ac_ext <<_ACEOF
69810 /* confdefs.h. */
69811 _ACEOF
69812 cat confdefs.h >>conftest.$ac_ext
69813 cat >>conftest.$ac_ext <<_ACEOF
69814 /* end confdefs.h. */
69815 #include <math.h>
69817 main ()
69819 `for x in _acosf _asinf _atanf \
69820 _cosf _sinf _tanf \
69821 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69823 return 0;
69825 _ACEOF
69826 rm -f conftest.$ac_objext
69827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69828 (eval $ac_compile) 2>conftest.er1
69829 ac_status=$?
69830 grep -v '^ *+' conftest.er1 >conftest.err
69831 rm -f conftest.er1
69832 cat conftest.err >&5
69833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69834 (exit $ac_status); } &&
69835 { ac_try='test -z "$ac_cxx_werror_flag"
69836 || test ! -s conftest.err'
69837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69838 (eval $ac_try) 2>&5
69839 ac_status=$?
69840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69841 (exit $ac_status); }; } &&
69842 { ac_try='test -s conftest.$ac_objext'
69843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69844 (eval $ac_try) 2>&5
69845 ac_status=$?
69846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69847 (exit $ac_status); }; }; then
69848 glibcxx_cv_func__float_trig_use=yes
69849 else
69850 echo "$as_me: failed program was:" >&5
69851 sed 's/^/| /' conftest.$ac_ext >&5
69853 glibcxx_cv_func__float_trig_use=no
69855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69856 ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69865 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69866 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69876 for ac_func in _acosf _asinf _atanf \
69877 _cosf _sinf _tanf \
69878 _coshf _sinhf _tanhf
69880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69881 echo "$as_me:$LINENO: checking for $ac_func" >&5
69882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69883 if eval "test \"\${$as_ac_var+set}\" = set"; then
69884 echo $ECHO_N "(cached) $ECHO_C" >&6
69885 else
69886 if test x$gcc_no_link = xyes; then
69887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69889 { (exit 1); exit 1; }; }
69891 cat >conftest.$ac_ext <<_ACEOF
69892 /* confdefs.h. */
69893 _ACEOF
69894 cat confdefs.h >>conftest.$ac_ext
69895 cat >>conftest.$ac_ext <<_ACEOF
69896 /* end confdefs.h. */
69897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69899 #define $ac_func innocuous_$ac_func
69901 /* System header to define __stub macros and hopefully few prototypes,
69902 which can conflict with char $ac_func (); below.
69903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69904 <limits.h> exists even on freestanding compilers. */
69906 #ifdef __STDC__
69907 # include <limits.h>
69908 #else
69909 # include <assert.h>
69910 #endif
69912 #undef $ac_func
69914 /* Override any gcc2 internal prototype to avoid an error. */
69915 #ifdef __cplusplus
69916 extern "C"
69918 #endif
69919 /* We use char because int might match the return type of a gcc2
69920 builtin and then its argument prototype would still apply. */
69921 char $ac_func ();
69922 /* The GNU C library defines this for functions which it implements
69923 to always fail with ENOSYS. Some functions are actually named
69924 something starting with __ and the normal name is an alias. */
69925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69926 choke me
69927 #else
69928 char (*f) () = $ac_func;
69929 #endif
69930 #ifdef __cplusplus
69932 #endif
69935 main ()
69937 return f != $ac_func;
69939 return 0;
69941 _ACEOF
69942 rm -f conftest.$ac_objext conftest$ac_exeext
69943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69944 (eval $ac_link) 2>conftest.er1
69945 ac_status=$?
69946 grep -v '^ *+' conftest.er1 >conftest.err
69947 rm -f conftest.er1
69948 cat conftest.err >&5
69949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950 (exit $ac_status); } &&
69951 { ac_try='test -z "$ac_c_werror_flag"
69952 || test ! -s conftest.err'
69953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69954 (eval $ac_try) 2>&5
69955 ac_status=$?
69956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957 (exit $ac_status); }; } &&
69958 { ac_try='test -s conftest$ac_exeext'
69959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69960 (eval $ac_try) 2>&5
69961 ac_status=$?
69962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69963 (exit $ac_status); }; }; then
69964 eval "$as_ac_var=yes"
69965 else
69966 echo "$as_me: failed program was:" >&5
69967 sed 's/^/| /' conftest.$ac_ext >&5
69969 eval "$as_ac_var=no"
69971 rm -f conftest.err conftest.$ac_objext \
69972 conftest$ac_exeext conftest.$ac_ext
69974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69976 if test `eval echo '${'$as_ac_var'}'` = yes; then
69977 cat >>confdefs.h <<_ACEOF
69978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69979 _ACEOF
69982 done
69987 echo "$as_me:$LINENO: checking for _float round functions" >&5
69988 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69989 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69990 echo $ECHO_N "(cached) $ECHO_C" >&6
69991 else
69995 ac_ext=cc
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70001 cat >conftest.$ac_ext <<_ACEOF
70002 /* confdefs.h. */
70003 _ACEOF
70004 cat confdefs.h >>conftest.$ac_ext
70005 cat >>conftest.$ac_ext <<_ACEOF
70006 /* end confdefs.h. */
70007 #include <math.h>
70009 main ()
70011 `for x in _ceilf _floorf; do echo "$x (0);"; done`
70013 return 0;
70015 _ACEOF
70016 rm -f conftest.$ac_objext
70017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70018 (eval $ac_compile) 2>conftest.er1
70019 ac_status=$?
70020 grep -v '^ *+' conftest.er1 >conftest.err
70021 rm -f conftest.er1
70022 cat conftest.err >&5
70023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70024 (exit $ac_status); } &&
70025 { ac_try='test -z "$ac_cxx_werror_flag"
70026 || test ! -s conftest.err'
70027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70028 (eval $ac_try) 2>&5
70029 ac_status=$?
70030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70031 (exit $ac_status); }; } &&
70032 { ac_try='test -s conftest.$ac_objext'
70033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70034 (eval $ac_try) 2>&5
70035 ac_status=$?
70036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70037 (exit $ac_status); }; }; then
70038 glibcxx_cv_func__float_round_use=yes
70039 else
70040 echo "$as_me: failed program was:" >&5
70041 sed 's/^/| /' conftest.$ac_ext >&5
70043 glibcxx_cv_func__float_round_use=no
70045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70046 ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70055 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70056 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70059 for ac_func in _ceilf _floorf
70061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70062 echo "$as_me:$LINENO: checking for $ac_func" >&5
70063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70064 if eval "test \"\${$as_ac_var+set}\" = set"; then
70065 echo $ECHO_N "(cached) $ECHO_C" >&6
70066 else
70067 if test x$gcc_no_link = xyes; then
70068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70070 { (exit 1); exit 1; }; }
70072 cat >conftest.$ac_ext <<_ACEOF
70073 /* confdefs.h. */
70074 _ACEOF
70075 cat confdefs.h >>conftest.$ac_ext
70076 cat >>conftest.$ac_ext <<_ACEOF
70077 /* end confdefs.h. */
70078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70080 #define $ac_func innocuous_$ac_func
70082 /* System header to define __stub macros and hopefully few prototypes,
70083 which can conflict with char $ac_func (); below.
70084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70085 <limits.h> exists even on freestanding compilers. */
70087 #ifdef __STDC__
70088 # include <limits.h>
70089 #else
70090 # include <assert.h>
70091 #endif
70093 #undef $ac_func
70095 /* Override any gcc2 internal prototype to avoid an error. */
70096 #ifdef __cplusplus
70097 extern "C"
70099 #endif
70100 /* We use char because int might match the return type of a gcc2
70101 builtin and then its argument prototype would still apply. */
70102 char $ac_func ();
70103 /* The GNU C library defines this for functions which it implements
70104 to always fail with ENOSYS. Some functions are actually named
70105 something starting with __ and the normal name is an alias. */
70106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70107 choke me
70108 #else
70109 char (*f) () = $ac_func;
70110 #endif
70111 #ifdef __cplusplus
70113 #endif
70116 main ()
70118 return f != $ac_func;
70120 return 0;
70122 _ACEOF
70123 rm -f conftest.$ac_objext conftest$ac_exeext
70124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70125 (eval $ac_link) 2>conftest.er1
70126 ac_status=$?
70127 grep -v '^ *+' conftest.er1 >conftest.err
70128 rm -f conftest.er1
70129 cat conftest.err >&5
70130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131 (exit $ac_status); } &&
70132 { ac_try='test -z "$ac_c_werror_flag"
70133 || test ! -s conftest.err'
70134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135 (eval $ac_try) 2>&5
70136 ac_status=$?
70137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138 (exit $ac_status); }; } &&
70139 { ac_try='test -s conftest$ac_exeext'
70140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70141 (eval $ac_try) 2>&5
70142 ac_status=$?
70143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70144 (exit $ac_status); }; }; then
70145 eval "$as_ac_var=yes"
70146 else
70147 echo "$as_me: failed program was:" >&5
70148 sed 's/^/| /' conftest.$ac_ext >&5
70150 eval "$as_ac_var=no"
70152 rm -f conftest.err conftest.$ac_objext \
70153 conftest$ac_exeext conftest.$ac_ext
70155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70157 if test `eval echo '${'$as_ac_var'}'` = yes; then
70158 cat >>confdefs.h <<_ACEOF
70159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70160 _ACEOF
70163 done
70169 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70170 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70171 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70172 echo $ECHO_N "(cached) $ECHO_C" >&6
70173 else
70177 ac_ext=cc
70178 ac_cpp='$CXXCPP $CPPFLAGS'
70179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70183 cat >conftest.$ac_ext <<_ACEOF
70184 /* confdefs.h. */
70185 _ACEOF
70186 cat confdefs.h >>conftest.$ac_ext
70187 cat >>conftest.$ac_ext <<_ACEOF
70188 /* end confdefs.h. */
70189 #include <math.h>
70191 main ()
70193 `for x in _acosl _asinl _atanl \
70194 _cosl _sinl _tanl \
70195 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70197 return 0;
70199 _ACEOF
70200 rm -f conftest.$ac_objext
70201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70202 (eval $ac_compile) 2>conftest.er1
70203 ac_status=$?
70204 grep -v '^ *+' conftest.er1 >conftest.err
70205 rm -f conftest.er1
70206 cat conftest.err >&5
70207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208 (exit $ac_status); } &&
70209 { ac_try='test -z "$ac_cxx_werror_flag"
70210 || test ! -s conftest.err'
70211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70212 (eval $ac_try) 2>&5
70213 ac_status=$?
70214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215 (exit $ac_status); }; } &&
70216 { ac_try='test -s conftest.$ac_objext'
70217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70218 (eval $ac_try) 2>&5
70219 ac_status=$?
70220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70221 (exit $ac_status); }; }; then
70222 glibcxx_cv_func__long_double_trig_use=yes
70223 else
70224 echo "$as_me: failed program was:" >&5
70225 sed 's/^/| /' conftest.$ac_ext >&5
70227 glibcxx_cv_func__long_double_trig_use=no
70229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70230 ac_ext=c
70231 ac_cpp='$CPP $CPPFLAGS'
70232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70239 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70240 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70250 for ac_func in _acosl _asinl _atanl \
70251 _cosl _sinl _tanl \
70252 _coshl _sinhl _tanhl
70254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70255 echo "$as_me:$LINENO: checking for $ac_func" >&5
70256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70257 if eval "test \"\${$as_ac_var+set}\" = set"; then
70258 echo $ECHO_N "(cached) $ECHO_C" >&6
70259 else
70260 if test x$gcc_no_link = xyes; then
70261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70263 { (exit 1); exit 1; }; }
70265 cat >conftest.$ac_ext <<_ACEOF
70266 /* confdefs.h. */
70267 _ACEOF
70268 cat confdefs.h >>conftest.$ac_ext
70269 cat >>conftest.$ac_ext <<_ACEOF
70270 /* end confdefs.h. */
70271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70273 #define $ac_func innocuous_$ac_func
70275 /* System header to define __stub macros and hopefully few prototypes,
70276 which can conflict with char $ac_func (); below.
70277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70278 <limits.h> exists even on freestanding compilers. */
70280 #ifdef __STDC__
70281 # include <limits.h>
70282 #else
70283 # include <assert.h>
70284 #endif
70286 #undef $ac_func
70288 /* Override any gcc2 internal prototype to avoid an error. */
70289 #ifdef __cplusplus
70290 extern "C"
70292 #endif
70293 /* We use char because int might match the return type of a gcc2
70294 builtin and then its argument prototype would still apply. */
70295 char $ac_func ();
70296 /* The GNU C library defines this for functions which it implements
70297 to always fail with ENOSYS. Some functions are actually named
70298 something starting with __ and the normal name is an alias. */
70299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70300 choke me
70301 #else
70302 char (*f) () = $ac_func;
70303 #endif
70304 #ifdef __cplusplus
70306 #endif
70309 main ()
70311 return f != $ac_func;
70313 return 0;
70315 _ACEOF
70316 rm -f conftest.$ac_objext conftest$ac_exeext
70317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70318 (eval $ac_link) 2>conftest.er1
70319 ac_status=$?
70320 grep -v '^ *+' conftest.er1 >conftest.err
70321 rm -f conftest.er1
70322 cat conftest.err >&5
70323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324 (exit $ac_status); } &&
70325 { ac_try='test -z "$ac_c_werror_flag"
70326 || test ! -s conftest.err'
70327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70328 (eval $ac_try) 2>&5
70329 ac_status=$?
70330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331 (exit $ac_status); }; } &&
70332 { ac_try='test -s conftest$ac_exeext'
70333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70334 (eval $ac_try) 2>&5
70335 ac_status=$?
70336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337 (exit $ac_status); }; }; then
70338 eval "$as_ac_var=yes"
70339 else
70340 echo "$as_me: failed program was:" >&5
70341 sed 's/^/| /' conftest.$ac_ext >&5
70343 eval "$as_ac_var=no"
70345 rm -f conftest.err conftest.$ac_objext \
70346 conftest$ac_exeext conftest.$ac_ext
70348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70350 if test `eval echo '${'$as_ac_var'}'` = yes; then
70351 cat >>confdefs.h <<_ACEOF
70352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70353 _ACEOF
70356 done
70361 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70362 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70363 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70364 echo $ECHO_N "(cached) $ECHO_C" >&6
70365 else
70369 ac_ext=cc
70370 ac_cpp='$CXXCPP $CPPFLAGS'
70371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70375 cat >conftest.$ac_ext <<_ACEOF
70376 /* confdefs.h. */
70377 _ACEOF
70378 cat confdefs.h >>conftest.$ac_ext
70379 cat >>conftest.$ac_ext <<_ACEOF
70380 /* end confdefs.h. */
70381 #include <math.h>
70383 main ()
70385 `for x in _ceill _floorl; do echo "$x (0);"; done`
70387 return 0;
70389 _ACEOF
70390 rm -f conftest.$ac_objext
70391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70392 (eval $ac_compile) 2>conftest.er1
70393 ac_status=$?
70394 grep -v '^ *+' conftest.er1 >conftest.err
70395 rm -f conftest.er1
70396 cat conftest.err >&5
70397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70398 (exit $ac_status); } &&
70399 { ac_try='test -z "$ac_cxx_werror_flag"
70400 || test ! -s conftest.err'
70401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70402 (eval $ac_try) 2>&5
70403 ac_status=$?
70404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70405 (exit $ac_status); }; } &&
70406 { ac_try='test -s conftest.$ac_objext'
70407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70408 (eval $ac_try) 2>&5
70409 ac_status=$?
70410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70411 (exit $ac_status); }; }; then
70412 glibcxx_cv_func__long_double_round_use=yes
70413 else
70414 echo "$as_me: failed program was:" >&5
70415 sed 's/^/| /' conftest.$ac_ext >&5
70417 glibcxx_cv_func__long_double_round_use=no
70419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70429 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70430 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70433 for ac_func in _ceill _floorl
70435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70436 echo "$as_me:$LINENO: checking for $ac_func" >&5
70437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70438 if eval "test \"\${$as_ac_var+set}\" = set"; then
70439 echo $ECHO_N "(cached) $ECHO_C" >&6
70440 else
70441 if test x$gcc_no_link = xyes; then
70442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70444 { (exit 1); exit 1; }; }
70446 cat >conftest.$ac_ext <<_ACEOF
70447 /* confdefs.h. */
70448 _ACEOF
70449 cat confdefs.h >>conftest.$ac_ext
70450 cat >>conftest.$ac_ext <<_ACEOF
70451 /* end confdefs.h. */
70452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70454 #define $ac_func innocuous_$ac_func
70456 /* System header to define __stub macros and hopefully few prototypes,
70457 which can conflict with char $ac_func (); below.
70458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70459 <limits.h> exists even on freestanding compilers. */
70461 #ifdef __STDC__
70462 # include <limits.h>
70463 #else
70464 # include <assert.h>
70465 #endif
70467 #undef $ac_func
70469 /* Override any gcc2 internal prototype to avoid an error. */
70470 #ifdef __cplusplus
70471 extern "C"
70473 #endif
70474 /* We use char because int might match the return type of a gcc2
70475 builtin and then its argument prototype would still apply. */
70476 char $ac_func ();
70477 /* The GNU C library defines this for functions which it implements
70478 to always fail with ENOSYS. Some functions are actually named
70479 something starting with __ and the normal name is an alias. */
70480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70481 choke me
70482 #else
70483 char (*f) () = $ac_func;
70484 #endif
70485 #ifdef __cplusplus
70487 #endif
70490 main ()
70492 return f != $ac_func;
70494 return 0;
70496 _ACEOF
70497 rm -f conftest.$ac_objext conftest$ac_exeext
70498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70499 (eval $ac_link) 2>conftest.er1
70500 ac_status=$?
70501 grep -v '^ *+' conftest.er1 >conftest.err
70502 rm -f conftest.er1
70503 cat conftest.err >&5
70504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505 (exit $ac_status); } &&
70506 { ac_try='test -z "$ac_c_werror_flag"
70507 || test ! -s conftest.err'
70508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70509 (eval $ac_try) 2>&5
70510 ac_status=$?
70511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70512 (exit $ac_status); }; } &&
70513 { ac_try='test -s conftest$ac_exeext'
70514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70515 (eval $ac_try) 2>&5
70516 ac_status=$?
70517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70518 (exit $ac_status); }; }; then
70519 eval "$as_ac_var=yes"
70520 else
70521 echo "$as_me: failed program was:" >&5
70522 sed 's/^/| /' conftest.$ac_ext >&5
70524 eval "$as_ac_var=no"
70526 rm -f conftest.err conftest.$ac_objext \
70527 conftest$ac_exeext conftest.$ac_ext
70529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70531 if test `eval echo '${'$as_ac_var'}'` = yes; then
70532 cat >>confdefs.h <<_ACEOF
70533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70534 _ACEOF
70537 done
70542 LIBS="$ac_save_LIBS"
70543 CXXFLAGS="$ac_save_CXXFLAGS"
70547 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70548 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70549 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70550 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70551 echo $ECHO_N "(cached) $ECHO_C" >&6
70552 else
70556 ac_ext=cc
70557 ac_cpp='$CXXCPP $CPPFLAGS'
70558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70562 cat >conftest.$ac_ext <<_ACEOF
70563 /* confdefs.h. */
70564 _ACEOF
70565 cat confdefs.h >>conftest.$ac_ext
70566 cat >>conftest.$ac_ext <<_ACEOF
70567 /* end confdefs.h. */
70568 #include <math.h>
70570 main ()
70572 __builtin_abs(0);
70574 return 0;
70576 _ACEOF
70577 rm -f conftest.$ac_objext
70578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70579 (eval $ac_compile) 2>conftest.er1
70580 ac_status=$?
70581 grep -v '^ *+' conftest.er1 >conftest.err
70582 rm -f conftest.er1
70583 cat conftest.err >&5
70584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70585 (exit $ac_status); } &&
70586 { ac_try='test -z "$ac_cxx_werror_flag"
70587 || test ! -s conftest.err'
70588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70589 (eval $ac_try) 2>&5
70590 ac_status=$?
70591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70592 (exit $ac_status); }; } &&
70593 { ac_try='test -s conftest.$ac_objext'
70594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70595 (eval $ac_try) 2>&5
70596 ac_status=$?
70597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70598 (exit $ac_status); }; }; then
70599 glibcxx_cv_func___builtin_abs_use=yes
70600 else
70601 echo "$as_me: failed program was:" >&5
70602 sed 's/^/| /' conftest.$ac_ext >&5
70604 glibcxx_cv_func___builtin_abs_use=no
70606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70607 ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70618 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70619 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70620 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70621 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70622 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70623 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70624 echo $ECHO_N "(cached) $ECHO_C" >&6
70625 else
70627 if test x$gcc_no_link = xyes; then
70628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70630 { (exit 1); exit 1; }; }
70632 cat >conftest.$ac_ext <<_ACEOF
70633 /* confdefs.h. */
70634 _ACEOF
70635 cat confdefs.h >>conftest.$ac_ext
70636 cat >>conftest.$ac_ext <<_ACEOF
70637 /* end confdefs.h. */
70638 #include <math.h>
70640 main ()
70642 __builtin_abs(0);
70644 return 0;
70646 _ACEOF
70647 rm -f conftest.$ac_objext conftest$ac_exeext
70648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70649 (eval $ac_link) 2>conftest.er1
70650 ac_status=$?
70651 grep -v '^ *+' conftest.er1 >conftest.err
70652 rm -f conftest.er1
70653 cat conftest.err >&5
70654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655 (exit $ac_status); } &&
70656 { ac_try='test -z "$ac_c_werror_flag"
70657 || test ! -s conftest.err'
70658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70659 (eval $ac_try) 2>&5
70660 ac_status=$?
70661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662 (exit $ac_status); }; } &&
70663 { ac_try='test -s conftest$ac_exeext'
70664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70665 (eval $ac_try) 2>&5
70666 ac_status=$?
70667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70668 (exit $ac_status); }; }; then
70669 glibcxx_cv_func___builtin_abs_link=yes
70670 else
70671 echo "$as_me: failed program was:" >&5
70672 sed 's/^/| /' conftest.$ac_ext >&5
70674 glibcxx_cv_func___builtin_abs_link=no
70676 rm -f conftest.err conftest.$ac_objext \
70677 conftest$ac_exeext conftest.$ac_ext
70682 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70683 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70684 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70685 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70687 cat >>confdefs.h <<_ACEOF
70688 #define ${ac_tr_func} 1
70689 _ACEOF
70695 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70696 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70697 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70698 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70699 echo $ECHO_N "(cached) $ECHO_C" >&6
70700 else
70704 ac_ext=cc
70705 ac_cpp='$CXXCPP $CPPFLAGS'
70706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70710 cat >conftest.$ac_ext <<_ACEOF
70711 /* confdefs.h. */
70712 _ACEOF
70713 cat confdefs.h >>conftest.$ac_ext
70714 cat >>conftest.$ac_ext <<_ACEOF
70715 /* end confdefs.h. */
70716 #include <math.h>
70718 main ()
70720 __builtin_fabsf(0);
70722 return 0;
70724 _ACEOF
70725 rm -f conftest.$ac_objext
70726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70727 (eval $ac_compile) 2>conftest.er1
70728 ac_status=$?
70729 grep -v '^ *+' conftest.er1 >conftest.err
70730 rm -f conftest.er1
70731 cat conftest.err >&5
70732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70733 (exit $ac_status); } &&
70734 { ac_try='test -z "$ac_cxx_werror_flag"
70735 || test ! -s conftest.err'
70736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70737 (eval $ac_try) 2>&5
70738 ac_status=$?
70739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70740 (exit $ac_status); }; } &&
70741 { ac_try='test -s conftest.$ac_objext'
70742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70743 (eval $ac_try) 2>&5
70744 ac_status=$?
70745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70746 (exit $ac_status); }; }; then
70747 glibcxx_cv_func___builtin_fabsf_use=yes
70748 else
70749 echo "$as_me: failed program was:" >&5
70750 sed 's/^/| /' conftest.$ac_ext >&5
70752 glibcxx_cv_func___builtin_fabsf_use=no
70754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70755 ac_ext=c
70756 ac_cpp='$CPP $CPPFLAGS'
70757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70765 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70766 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70767 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70768 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70769 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70770 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70771 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70772 echo $ECHO_N "(cached) $ECHO_C" >&6
70773 else
70775 if test x$gcc_no_link = xyes; then
70776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70778 { (exit 1); exit 1; }; }
70780 cat >conftest.$ac_ext <<_ACEOF
70781 /* confdefs.h. */
70782 _ACEOF
70783 cat confdefs.h >>conftest.$ac_ext
70784 cat >>conftest.$ac_ext <<_ACEOF
70785 /* end confdefs.h. */
70786 #include <math.h>
70788 main ()
70790 __builtin_fabsf(0);
70792 return 0;
70794 _ACEOF
70795 rm -f conftest.$ac_objext conftest$ac_exeext
70796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70797 (eval $ac_link) 2>conftest.er1
70798 ac_status=$?
70799 grep -v '^ *+' conftest.er1 >conftest.err
70800 rm -f conftest.er1
70801 cat conftest.err >&5
70802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803 (exit $ac_status); } &&
70804 { ac_try='test -z "$ac_c_werror_flag"
70805 || test ! -s conftest.err'
70806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70807 (eval $ac_try) 2>&5
70808 ac_status=$?
70809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70810 (exit $ac_status); }; } &&
70811 { ac_try='test -s conftest$ac_exeext'
70812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70813 (eval $ac_try) 2>&5
70814 ac_status=$?
70815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70816 (exit $ac_status); }; }; then
70817 glibcxx_cv_func___builtin_fabsf_link=yes
70818 else
70819 echo "$as_me: failed program was:" >&5
70820 sed 's/^/| /' conftest.$ac_ext >&5
70822 glibcxx_cv_func___builtin_fabsf_link=no
70824 rm -f conftest.err conftest.$ac_objext \
70825 conftest$ac_exeext conftest.$ac_ext
70830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70831 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70832 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70833 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70835 cat >>confdefs.h <<_ACEOF
70836 #define ${ac_tr_func} 1
70837 _ACEOF
70843 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70844 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70845 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70846 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70847 echo $ECHO_N "(cached) $ECHO_C" >&6
70848 else
70852 ac_ext=cc
70853 ac_cpp='$CXXCPP $CPPFLAGS'
70854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70858 cat >conftest.$ac_ext <<_ACEOF
70859 /* confdefs.h. */
70860 _ACEOF
70861 cat confdefs.h >>conftest.$ac_ext
70862 cat >>conftest.$ac_ext <<_ACEOF
70863 /* end confdefs.h. */
70864 #include <math.h>
70866 main ()
70868 __builtin_fabs(0);
70870 return 0;
70872 _ACEOF
70873 rm -f conftest.$ac_objext
70874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70875 (eval $ac_compile) 2>conftest.er1
70876 ac_status=$?
70877 grep -v '^ *+' conftest.er1 >conftest.err
70878 rm -f conftest.er1
70879 cat conftest.err >&5
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); } &&
70882 { ac_try='test -z "$ac_cxx_werror_flag"
70883 || test ! -s conftest.err'
70884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70885 (eval $ac_try) 2>&5
70886 ac_status=$?
70887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70888 (exit $ac_status); }; } &&
70889 { ac_try='test -s conftest.$ac_objext'
70890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70891 (eval $ac_try) 2>&5
70892 ac_status=$?
70893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70894 (exit $ac_status); }; }; then
70895 glibcxx_cv_func___builtin_fabs_use=yes
70896 else
70897 echo "$as_me: failed program was:" >&5
70898 sed 's/^/| /' conftest.$ac_ext >&5
70900 glibcxx_cv_func___builtin_fabs_use=no
70902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70903 ac_ext=c
70904 ac_cpp='$CPP $CPPFLAGS'
70905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70914 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70915 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70916 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70917 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70918 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70919 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70920 echo $ECHO_N "(cached) $ECHO_C" >&6
70921 else
70923 if test x$gcc_no_link = xyes; then
70924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70926 { (exit 1); exit 1; }; }
70928 cat >conftest.$ac_ext <<_ACEOF
70929 /* confdefs.h. */
70930 _ACEOF
70931 cat confdefs.h >>conftest.$ac_ext
70932 cat >>conftest.$ac_ext <<_ACEOF
70933 /* end confdefs.h. */
70934 #include <math.h>
70936 main ()
70938 __builtin_fabs(0);
70940 return 0;
70942 _ACEOF
70943 rm -f conftest.$ac_objext conftest$ac_exeext
70944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70945 (eval $ac_link) 2>conftest.er1
70946 ac_status=$?
70947 grep -v '^ *+' conftest.er1 >conftest.err
70948 rm -f conftest.er1
70949 cat conftest.err >&5
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); } &&
70952 { ac_try='test -z "$ac_c_werror_flag"
70953 || test ! -s conftest.err'
70954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70955 (eval $ac_try) 2>&5
70956 ac_status=$?
70957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958 (exit $ac_status); }; } &&
70959 { ac_try='test -s conftest$ac_exeext'
70960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70961 (eval $ac_try) 2>&5
70962 ac_status=$?
70963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70964 (exit $ac_status); }; }; then
70965 glibcxx_cv_func___builtin_fabs_link=yes
70966 else
70967 echo "$as_me: failed program was:" >&5
70968 sed 's/^/| /' conftest.$ac_ext >&5
70970 glibcxx_cv_func___builtin_fabs_link=no
70972 rm -f conftest.err conftest.$ac_objext \
70973 conftest$ac_exeext conftest.$ac_ext
70978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70979 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70980 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70981 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70983 cat >>confdefs.h <<_ACEOF
70984 #define ${ac_tr_func} 1
70985 _ACEOF
70991 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70992 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70993 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70994 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70995 echo $ECHO_N "(cached) $ECHO_C" >&6
70996 else
71000 ac_ext=cc
71001 ac_cpp='$CXXCPP $CPPFLAGS'
71002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71006 cat >conftest.$ac_ext <<_ACEOF
71007 /* confdefs.h. */
71008 _ACEOF
71009 cat confdefs.h >>conftest.$ac_ext
71010 cat >>conftest.$ac_ext <<_ACEOF
71011 /* end confdefs.h. */
71012 #include <math.h>
71014 main ()
71016 __builtin_fabsl(0);
71018 return 0;
71020 _ACEOF
71021 rm -f conftest.$ac_objext
71022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71023 (eval $ac_compile) 2>conftest.er1
71024 ac_status=$?
71025 grep -v '^ *+' conftest.er1 >conftest.err
71026 rm -f conftest.er1
71027 cat conftest.err >&5
71028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029 (exit $ac_status); } &&
71030 { ac_try='test -z "$ac_cxx_werror_flag"
71031 || test ! -s conftest.err'
71032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71033 (eval $ac_try) 2>&5
71034 ac_status=$?
71035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71036 (exit $ac_status); }; } &&
71037 { ac_try='test -s conftest.$ac_objext'
71038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71039 (eval $ac_try) 2>&5
71040 ac_status=$?
71041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71042 (exit $ac_status); }; }; then
71043 glibcxx_cv_func___builtin_fabsl_use=yes
71044 else
71045 echo "$as_me: failed program was:" >&5
71046 sed 's/^/| /' conftest.$ac_ext >&5
71048 glibcxx_cv_func___builtin_fabsl_use=no
71050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71051 ac_ext=c
71052 ac_cpp='$CPP $CPPFLAGS'
71053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71062 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71063 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71064 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71065 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71066 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71067 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71068 echo $ECHO_N "(cached) $ECHO_C" >&6
71069 else
71071 if test x$gcc_no_link = xyes; then
71072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71074 { (exit 1); exit 1; }; }
71076 cat >conftest.$ac_ext <<_ACEOF
71077 /* confdefs.h. */
71078 _ACEOF
71079 cat confdefs.h >>conftest.$ac_ext
71080 cat >>conftest.$ac_ext <<_ACEOF
71081 /* end confdefs.h. */
71082 #include <math.h>
71084 main ()
71086 __builtin_fabsl(0);
71088 return 0;
71090 _ACEOF
71091 rm -f conftest.$ac_objext conftest$ac_exeext
71092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71093 (eval $ac_link) 2>conftest.er1
71094 ac_status=$?
71095 grep -v '^ *+' conftest.er1 >conftest.err
71096 rm -f conftest.er1
71097 cat conftest.err >&5
71098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099 (exit $ac_status); } &&
71100 { ac_try='test -z "$ac_c_werror_flag"
71101 || test ! -s conftest.err'
71102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103 (eval $ac_try) 2>&5
71104 ac_status=$?
71105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106 (exit $ac_status); }; } &&
71107 { ac_try='test -s conftest$ac_exeext'
71108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71109 (eval $ac_try) 2>&5
71110 ac_status=$?
71111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71112 (exit $ac_status); }; }; then
71113 glibcxx_cv_func___builtin_fabsl_link=yes
71114 else
71115 echo "$as_me: failed program was:" >&5
71116 sed 's/^/| /' conftest.$ac_ext >&5
71118 glibcxx_cv_func___builtin_fabsl_link=no
71120 rm -f conftest.err conftest.$ac_objext \
71121 conftest$ac_exeext conftest.$ac_ext
71126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71127 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71128 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71129 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71131 cat >>confdefs.h <<_ACEOF
71132 #define ${ac_tr_func} 1
71133 _ACEOF
71139 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71140 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71141 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71142 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71143 echo $ECHO_N "(cached) $ECHO_C" >&6
71144 else
71148 ac_ext=cc
71149 ac_cpp='$CXXCPP $CPPFLAGS'
71150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71154 cat >conftest.$ac_ext <<_ACEOF
71155 /* confdefs.h. */
71156 _ACEOF
71157 cat confdefs.h >>conftest.$ac_ext
71158 cat >>conftest.$ac_ext <<_ACEOF
71159 /* end confdefs.h. */
71160 #include <math.h>
71162 main ()
71164 __builtin_labs(0);
71166 return 0;
71168 _ACEOF
71169 rm -f conftest.$ac_objext
71170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71171 (eval $ac_compile) 2>conftest.er1
71172 ac_status=$?
71173 grep -v '^ *+' conftest.er1 >conftest.err
71174 rm -f conftest.er1
71175 cat conftest.err >&5
71176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71177 (exit $ac_status); } &&
71178 { ac_try='test -z "$ac_cxx_werror_flag"
71179 || test ! -s conftest.err'
71180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71181 (eval $ac_try) 2>&5
71182 ac_status=$?
71183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71184 (exit $ac_status); }; } &&
71185 { ac_try='test -s conftest.$ac_objext'
71186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71187 (eval $ac_try) 2>&5
71188 ac_status=$?
71189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71190 (exit $ac_status); }; }; then
71191 glibcxx_cv_func___builtin_labs_use=yes
71192 else
71193 echo "$as_me: failed program was:" >&5
71194 sed 's/^/| /' conftest.$ac_ext >&5
71196 glibcxx_cv_func___builtin_labs_use=no
71198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71199 ac_ext=c
71200 ac_cpp='$CPP $CPPFLAGS'
71201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71210 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71211 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71212 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71213 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71214 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71215 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71216 echo $ECHO_N "(cached) $ECHO_C" >&6
71217 else
71219 if test x$gcc_no_link = xyes; then
71220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71222 { (exit 1); exit 1; }; }
71224 cat >conftest.$ac_ext <<_ACEOF
71225 /* confdefs.h. */
71226 _ACEOF
71227 cat confdefs.h >>conftest.$ac_ext
71228 cat >>conftest.$ac_ext <<_ACEOF
71229 /* end confdefs.h. */
71230 #include <math.h>
71232 main ()
71234 __builtin_labs(0);
71236 return 0;
71238 _ACEOF
71239 rm -f conftest.$ac_objext conftest$ac_exeext
71240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71241 (eval $ac_link) 2>conftest.er1
71242 ac_status=$?
71243 grep -v '^ *+' conftest.er1 >conftest.err
71244 rm -f conftest.er1
71245 cat conftest.err >&5
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); } &&
71248 { ac_try='test -z "$ac_c_werror_flag"
71249 || test ! -s conftest.err'
71250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251 (eval $ac_try) 2>&5
71252 ac_status=$?
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); }; } &&
71255 { ac_try='test -s conftest$ac_exeext'
71256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71257 (eval $ac_try) 2>&5
71258 ac_status=$?
71259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71260 (exit $ac_status); }; }; then
71261 glibcxx_cv_func___builtin_labs_link=yes
71262 else
71263 echo "$as_me: failed program was:" >&5
71264 sed 's/^/| /' conftest.$ac_ext >&5
71266 glibcxx_cv_func___builtin_labs_link=no
71268 rm -f conftest.err conftest.$ac_objext \
71269 conftest$ac_exeext conftest.$ac_ext
71274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71275 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71276 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71277 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71279 cat >>confdefs.h <<_ACEOF
71280 #define ${ac_tr_func} 1
71281 _ACEOF
71288 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71289 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71290 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71291 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71292 echo $ECHO_N "(cached) $ECHO_C" >&6
71293 else
71297 ac_ext=cc
71298 ac_cpp='$CXXCPP $CPPFLAGS'
71299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71303 cat >conftest.$ac_ext <<_ACEOF
71304 /* confdefs.h. */
71305 _ACEOF
71306 cat confdefs.h >>conftest.$ac_ext
71307 cat >>conftest.$ac_ext <<_ACEOF
71308 /* end confdefs.h. */
71309 #include <math.h>
71311 main ()
71313 __builtin_sqrtf(0);
71315 return 0;
71317 _ACEOF
71318 rm -f conftest.$ac_objext
71319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71320 (eval $ac_compile) 2>conftest.er1
71321 ac_status=$?
71322 grep -v '^ *+' conftest.er1 >conftest.err
71323 rm -f conftest.er1
71324 cat conftest.err >&5
71325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71326 (exit $ac_status); } &&
71327 { ac_try='test -z "$ac_cxx_werror_flag"
71328 || test ! -s conftest.err'
71329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71330 (eval $ac_try) 2>&5
71331 ac_status=$?
71332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71333 (exit $ac_status); }; } &&
71334 { ac_try='test -s conftest.$ac_objext'
71335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71336 (eval $ac_try) 2>&5
71337 ac_status=$?
71338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71339 (exit $ac_status); }; }; then
71340 glibcxx_cv_func___builtin_sqrtf_use=yes
71341 else
71342 echo "$as_me: failed program was:" >&5
71343 sed 's/^/| /' conftest.$ac_ext >&5
71345 glibcxx_cv_func___builtin_sqrtf_use=no
71347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71348 ac_ext=c
71349 ac_cpp='$CPP $CPPFLAGS'
71350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71360 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71361 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71362 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71363 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71364 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71365 echo $ECHO_N "(cached) $ECHO_C" >&6
71366 else
71368 if test x$gcc_no_link = xyes; then
71369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71371 { (exit 1); exit 1; }; }
71373 cat >conftest.$ac_ext <<_ACEOF
71374 /* confdefs.h. */
71375 _ACEOF
71376 cat confdefs.h >>conftest.$ac_ext
71377 cat >>conftest.$ac_ext <<_ACEOF
71378 /* end confdefs.h. */
71379 #include <math.h>
71381 main ()
71383 __builtin_sqrtf(0);
71385 return 0;
71387 _ACEOF
71388 rm -f conftest.$ac_objext conftest$ac_exeext
71389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71390 (eval $ac_link) 2>conftest.er1
71391 ac_status=$?
71392 grep -v '^ *+' conftest.er1 >conftest.err
71393 rm -f conftest.er1
71394 cat conftest.err >&5
71395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71396 (exit $ac_status); } &&
71397 { ac_try='test -z "$ac_c_werror_flag"
71398 || test ! -s conftest.err'
71399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71400 (eval $ac_try) 2>&5
71401 ac_status=$?
71402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71403 (exit $ac_status); }; } &&
71404 { ac_try='test -s conftest$ac_exeext'
71405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71406 (eval $ac_try) 2>&5
71407 ac_status=$?
71408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71409 (exit $ac_status); }; }; then
71410 glibcxx_cv_func___builtin_sqrtf_link=yes
71411 else
71412 echo "$as_me: failed program was:" >&5
71413 sed 's/^/| /' conftest.$ac_ext >&5
71415 glibcxx_cv_func___builtin_sqrtf_link=no
71417 rm -f conftest.err conftest.$ac_objext \
71418 conftest$ac_exeext conftest.$ac_ext
71423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71425 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71426 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71428 cat >>confdefs.h <<_ACEOF
71429 #define ${ac_tr_func} 1
71430 _ACEOF
71436 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71437 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71438 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71439 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71440 echo $ECHO_N "(cached) $ECHO_C" >&6
71441 else
71445 ac_ext=cc
71446 ac_cpp='$CXXCPP $CPPFLAGS'
71447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71451 cat >conftest.$ac_ext <<_ACEOF
71452 /* confdefs.h. */
71453 _ACEOF
71454 cat confdefs.h >>conftest.$ac_ext
71455 cat >>conftest.$ac_ext <<_ACEOF
71456 /* end confdefs.h. */
71457 #include <math.h>
71459 main ()
71461 __builtin_sqrt(0);
71463 return 0;
71465 _ACEOF
71466 rm -f conftest.$ac_objext
71467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71468 (eval $ac_compile) 2>conftest.er1
71469 ac_status=$?
71470 grep -v '^ *+' conftest.er1 >conftest.err
71471 rm -f conftest.er1
71472 cat conftest.err >&5
71473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71474 (exit $ac_status); } &&
71475 { ac_try='test -z "$ac_cxx_werror_flag"
71476 || test ! -s conftest.err'
71477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71478 (eval $ac_try) 2>&5
71479 ac_status=$?
71480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71481 (exit $ac_status); }; } &&
71482 { ac_try='test -s conftest.$ac_objext'
71483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71484 (eval $ac_try) 2>&5
71485 ac_status=$?
71486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71487 (exit $ac_status); }; }; then
71488 glibcxx_cv_func___builtin_sqrt_use=yes
71489 else
71490 echo "$as_me: failed program was:" >&5
71491 sed 's/^/| /' conftest.$ac_ext >&5
71493 glibcxx_cv_func___builtin_sqrt_use=no
71495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71496 ac_ext=c
71497 ac_cpp='$CPP $CPPFLAGS'
71498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71506 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71507 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71508 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71509 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71510 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71511 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71512 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71513 echo $ECHO_N "(cached) $ECHO_C" >&6
71514 else
71516 if test x$gcc_no_link = xyes; then
71517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71519 { (exit 1); exit 1; }; }
71521 cat >conftest.$ac_ext <<_ACEOF
71522 /* confdefs.h. */
71523 _ACEOF
71524 cat confdefs.h >>conftest.$ac_ext
71525 cat >>conftest.$ac_ext <<_ACEOF
71526 /* end confdefs.h. */
71527 #include <math.h>
71529 main ()
71531 __builtin_sqrt(0);
71533 return 0;
71535 _ACEOF
71536 rm -f conftest.$ac_objext conftest$ac_exeext
71537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71538 (eval $ac_link) 2>conftest.er1
71539 ac_status=$?
71540 grep -v '^ *+' conftest.er1 >conftest.err
71541 rm -f conftest.er1
71542 cat conftest.err >&5
71543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71544 (exit $ac_status); } &&
71545 { ac_try='test -z "$ac_c_werror_flag"
71546 || test ! -s conftest.err'
71547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71548 (eval $ac_try) 2>&5
71549 ac_status=$?
71550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71551 (exit $ac_status); }; } &&
71552 { ac_try='test -s conftest$ac_exeext'
71553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71554 (eval $ac_try) 2>&5
71555 ac_status=$?
71556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557 (exit $ac_status); }; }; then
71558 glibcxx_cv_func___builtin_sqrt_link=yes
71559 else
71560 echo "$as_me: failed program was:" >&5
71561 sed 's/^/| /' conftest.$ac_ext >&5
71563 glibcxx_cv_func___builtin_sqrt_link=no
71565 rm -f conftest.err conftest.$ac_objext \
71566 conftest$ac_exeext conftest.$ac_ext
71571 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71572 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71573 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71574 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71576 cat >>confdefs.h <<_ACEOF
71577 #define ${ac_tr_func} 1
71578 _ACEOF
71584 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71585 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71586 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71587 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71588 echo $ECHO_N "(cached) $ECHO_C" >&6
71589 else
71593 ac_ext=cc
71594 ac_cpp='$CXXCPP $CPPFLAGS'
71595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71599 cat >conftest.$ac_ext <<_ACEOF
71600 /* confdefs.h. */
71601 _ACEOF
71602 cat confdefs.h >>conftest.$ac_ext
71603 cat >>conftest.$ac_ext <<_ACEOF
71604 /* end confdefs.h. */
71605 #include <math.h>
71607 main ()
71609 __builtin_sqrtl(0);
71611 return 0;
71613 _ACEOF
71614 rm -f conftest.$ac_objext
71615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71616 (eval $ac_compile) 2>conftest.er1
71617 ac_status=$?
71618 grep -v '^ *+' conftest.er1 >conftest.err
71619 rm -f conftest.er1
71620 cat conftest.err >&5
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); } &&
71623 { ac_try='test -z "$ac_cxx_werror_flag"
71624 || test ! -s conftest.err'
71625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626 (eval $ac_try) 2>&5
71627 ac_status=$?
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); }; } &&
71630 { ac_try='test -s conftest.$ac_objext'
71631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71632 (eval $ac_try) 2>&5
71633 ac_status=$?
71634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71635 (exit $ac_status); }; }; then
71636 glibcxx_cv_func___builtin_sqrtl_use=yes
71637 else
71638 echo "$as_me: failed program was:" >&5
71639 sed 's/^/| /' conftest.$ac_ext >&5
71641 glibcxx_cv_func___builtin_sqrtl_use=no
71643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71644 ac_ext=c
71645 ac_cpp='$CPP $CPPFLAGS'
71646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71655 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71656 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71657 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71658 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71659 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71660 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71661 echo $ECHO_N "(cached) $ECHO_C" >&6
71662 else
71664 if test x$gcc_no_link = xyes; then
71665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71667 { (exit 1); exit 1; }; }
71669 cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h. */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h. */
71675 #include <math.h>
71677 main ()
71679 __builtin_sqrtl(0);
71681 return 0;
71683 _ACEOF
71684 rm -f conftest.$ac_objext conftest$ac_exeext
71685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71686 (eval $ac_link) 2>conftest.er1
71687 ac_status=$?
71688 grep -v '^ *+' conftest.er1 >conftest.err
71689 rm -f conftest.er1
71690 cat conftest.err >&5
71691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71692 (exit $ac_status); } &&
71693 { ac_try='test -z "$ac_c_werror_flag"
71694 || test ! -s conftest.err'
71695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71696 (eval $ac_try) 2>&5
71697 ac_status=$?
71698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699 (exit $ac_status); }; } &&
71700 { ac_try='test -s conftest$ac_exeext'
71701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71702 (eval $ac_try) 2>&5
71703 ac_status=$?
71704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705 (exit $ac_status); }; }; then
71706 glibcxx_cv_func___builtin_sqrtl_link=yes
71707 else
71708 echo "$as_me: failed program was:" >&5
71709 sed 's/^/| /' conftest.$ac_ext >&5
71711 glibcxx_cv_func___builtin_sqrtl_link=no
71713 rm -f conftest.err conftest.$ac_objext \
71714 conftest$ac_exeext conftest.$ac_ext
71719 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71720 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71721 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71722 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71724 cat >>confdefs.h <<_ACEOF
71725 #define ${ac_tr_func} 1
71726 _ACEOF
71733 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71734 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71735 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71736 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71737 echo $ECHO_N "(cached) $ECHO_C" >&6
71738 else
71742 ac_ext=cc
71743 ac_cpp='$CXXCPP $CPPFLAGS'
71744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71748 cat >conftest.$ac_ext <<_ACEOF
71749 /* confdefs.h. */
71750 _ACEOF
71751 cat confdefs.h >>conftest.$ac_ext
71752 cat >>conftest.$ac_ext <<_ACEOF
71753 /* end confdefs.h. */
71754 #include <math.h>
71756 main ()
71758 __builtin_sinf(0);
71760 return 0;
71762 _ACEOF
71763 rm -f conftest.$ac_objext
71764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71765 (eval $ac_compile) 2>conftest.er1
71766 ac_status=$?
71767 grep -v '^ *+' conftest.er1 >conftest.err
71768 rm -f conftest.er1
71769 cat conftest.err >&5
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); } &&
71772 { ac_try='test -z "$ac_cxx_werror_flag"
71773 || test ! -s conftest.err'
71774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71775 (eval $ac_try) 2>&5
71776 ac_status=$?
71777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71778 (exit $ac_status); }; } &&
71779 { ac_try='test -s conftest.$ac_objext'
71780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71781 (eval $ac_try) 2>&5
71782 ac_status=$?
71783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71784 (exit $ac_status); }; }; then
71785 glibcxx_cv_func___builtin_sinf_use=yes
71786 else
71787 echo "$as_me: failed program was:" >&5
71788 sed 's/^/| /' conftest.$ac_ext >&5
71790 glibcxx_cv_func___builtin_sinf_use=no
71792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71793 ac_ext=c
71794 ac_cpp='$CPP $CPPFLAGS'
71795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71804 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71805 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71806 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71807 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71808 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71809 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71810 echo $ECHO_N "(cached) $ECHO_C" >&6
71811 else
71813 if test x$gcc_no_link = xyes; then
71814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71816 { (exit 1); exit 1; }; }
71818 cat >conftest.$ac_ext <<_ACEOF
71819 /* confdefs.h. */
71820 _ACEOF
71821 cat confdefs.h >>conftest.$ac_ext
71822 cat >>conftest.$ac_ext <<_ACEOF
71823 /* end confdefs.h. */
71824 #include <math.h>
71826 main ()
71828 __builtin_sinf(0);
71830 return 0;
71832 _ACEOF
71833 rm -f conftest.$ac_objext conftest$ac_exeext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71835 (eval $ac_link) 2>conftest.er1
71836 ac_status=$?
71837 grep -v '^ *+' conftest.er1 >conftest.err
71838 rm -f conftest.er1
71839 cat conftest.err >&5
71840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841 (exit $ac_status); } &&
71842 { ac_try='test -z "$ac_c_werror_flag"
71843 || test ! -s conftest.err'
71844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71845 (eval $ac_try) 2>&5
71846 ac_status=$?
71847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848 (exit $ac_status); }; } &&
71849 { ac_try='test -s conftest$ac_exeext'
71850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851 (eval $ac_try) 2>&5
71852 ac_status=$?
71853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854 (exit $ac_status); }; }; then
71855 glibcxx_cv_func___builtin_sinf_link=yes
71856 else
71857 echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71860 glibcxx_cv_func___builtin_sinf_link=no
71862 rm -f conftest.err conftest.$ac_objext \
71863 conftest$ac_exeext conftest.$ac_ext
71868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71869 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71870 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71871 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71873 cat >>confdefs.h <<_ACEOF
71874 #define ${ac_tr_func} 1
71875 _ACEOF
71881 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71882 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71883 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71884 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71885 echo $ECHO_N "(cached) $ECHO_C" >&6
71886 else
71890 ac_ext=cc
71891 ac_cpp='$CXXCPP $CPPFLAGS'
71892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71896 cat >conftest.$ac_ext <<_ACEOF
71897 /* confdefs.h. */
71898 _ACEOF
71899 cat confdefs.h >>conftest.$ac_ext
71900 cat >>conftest.$ac_ext <<_ACEOF
71901 /* end confdefs.h. */
71902 #include <math.h>
71904 main ()
71906 __builtin_sin(0);
71908 return 0;
71910 _ACEOF
71911 rm -f conftest.$ac_objext
71912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71913 (eval $ac_compile) 2>conftest.er1
71914 ac_status=$?
71915 grep -v '^ *+' conftest.er1 >conftest.err
71916 rm -f conftest.er1
71917 cat conftest.err >&5
71918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71919 (exit $ac_status); } &&
71920 { ac_try='test -z "$ac_cxx_werror_flag"
71921 || test ! -s conftest.err'
71922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71923 (eval $ac_try) 2>&5
71924 ac_status=$?
71925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926 (exit $ac_status); }; } &&
71927 { ac_try='test -s conftest.$ac_objext'
71928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71929 (eval $ac_try) 2>&5
71930 ac_status=$?
71931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932 (exit $ac_status); }; }; then
71933 glibcxx_cv_func___builtin_sin_use=yes
71934 else
71935 echo "$as_me: failed program was:" >&5
71936 sed 's/^/| /' conftest.$ac_ext >&5
71938 glibcxx_cv_func___builtin_sin_use=no
71940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71941 ac_ext=c
71942 ac_cpp='$CPP $CPPFLAGS'
71943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71951 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71953 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71954 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71955 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71956 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71957 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71958 echo $ECHO_N "(cached) $ECHO_C" >&6
71959 else
71961 if test x$gcc_no_link = xyes; then
71962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71964 { (exit 1); exit 1; }; }
71966 cat >conftest.$ac_ext <<_ACEOF
71967 /* confdefs.h. */
71968 _ACEOF
71969 cat confdefs.h >>conftest.$ac_ext
71970 cat >>conftest.$ac_ext <<_ACEOF
71971 /* end confdefs.h. */
71972 #include <math.h>
71974 main ()
71976 __builtin_sin(0);
71978 return 0;
71980 _ACEOF
71981 rm -f conftest.$ac_objext conftest$ac_exeext
71982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71983 (eval $ac_link) 2>conftest.er1
71984 ac_status=$?
71985 grep -v '^ *+' conftest.er1 >conftest.err
71986 rm -f conftest.er1
71987 cat conftest.err >&5
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); } &&
71990 { ac_try='test -z "$ac_c_werror_flag"
71991 || test ! -s conftest.err'
71992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71993 (eval $ac_try) 2>&5
71994 ac_status=$?
71995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996 (exit $ac_status); }; } &&
71997 { ac_try='test -s conftest$ac_exeext'
71998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71999 (eval $ac_try) 2>&5
72000 ac_status=$?
72001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72002 (exit $ac_status); }; }; then
72003 glibcxx_cv_func___builtin_sin_link=yes
72004 else
72005 echo "$as_me: failed program was:" >&5
72006 sed 's/^/| /' conftest.$ac_ext >&5
72008 glibcxx_cv_func___builtin_sin_link=no
72010 rm -f conftest.err conftest.$ac_objext \
72011 conftest$ac_exeext conftest.$ac_ext
72016 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72017 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72018 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72019 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72021 cat >>confdefs.h <<_ACEOF
72022 #define ${ac_tr_func} 1
72023 _ACEOF
72029 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72030 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72031 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72032 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72033 echo $ECHO_N "(cached) $ECHO_C" >&6
72034 else
72038 ac_ext=cc
72039 ac_cpp='$CXXCPP $CPPFLAGS'
72040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72044 cat >conftest.$ac_ext <<_ACEOF
72045 /* confdefs.h. */
72046 _ACEOF
72047 cat confdefs.h >>conftest.$ac_ext
72048 cat >>conftest.$ac_ext <<_ACEOF
72049 /* end confdefs.h. */
72050 #include <math.h>
72052 main ()
72054 __builtin_sinl(0);
72056 return 0;
72058 _ACEOF
72059 rm -f conftest.$ac_objext
72060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72061 (eval $ac_compile) 2>conftest.er1
72062 ac_status=$?
72063 grep -v '^ *+' conftest.er1 >conftest.err
72064 rm -f conftest.er1
72065 cat conftest.err >&5
72066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067 (exit $ac_status); } &&
72068 { ac_try='test -z "$ac_cxx_werror_flag"
72069 || test ! -s conftest.err'
72070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72071 (eval $ac_try) 2>&5
72072 ac_status=$?
72073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72074 (exit $ac_status); }; } &&
72075 { ac_try='test -s conftest.$ac_objext'
72076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077 (eval $ac_try) 2>&5
72078 ac_status=$?
72079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080 (exit $ac_status); }; }; then
72081 glibcxx_cv_func___builtin_sinl_use=yes
72082 else
72083 echo "$as_me: failed program was:" >&5
72084 sed 's/^/| /' conftest.$ac_ext >&5
72086 glibcxx_cv_func___builtin_sinl_use=no
72088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72089 ac_ext=c
72090 ac_cpp='$CPP $CPPFLAGS'
72091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72101 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72102 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72103 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72104 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72105 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72106 echo $ECHO_N "(cached) $ECHO_C" >&6
72107 else
72109 if test x$gcc_no_link = xyes; then
72110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72112 { (exit 1); exit 1; }; }
72114 cat >conftest.$ac_ext <<_ACEOF
72115 /* confdefs.h. */
72116 _ACEOF
72117 cat confdefs.h >>conftest.$ac_ext
72118 cat >>conftest.$ac_ext <<_ACEOF
72119 /* end confdefs.h. */
72120 #include <math.h>
72122 main ()
72124 __builtin_sinl(0);
72126 return 0;
72128 _ACEOF
72129 rm -f conftest.$ac_objext conftest$ac_exeext
72130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72131 (eval $ac_link) 2>conftest.er1
72132 ac_status=$?
72133 grep -v '^ *+' conftest.er1 >conftest.err
72134 rm -f conftest.er1
72135 cat conftest.err >&5
72136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72137 (exit $ac_status); } &&
72138 { ac_try='test -z "$ac_c_werror_flag"
72139 || test ! -s conftest.err'
72140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72141 (eval $ac_try) 2>&5
72142 ac_status=$?
72143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144 (exit $ac_status); }; } &&
72145 { ac_try='test -s conftest$ac_exeext'
72146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72147 (eval $ac_try) 2>&5
72148 ac_status=$?
72149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150 (exit $ac_status); }; }; then
72151 glibcxx_cv_func___builtin_sinl_link=yes
72152 else
72153 echo "$as_me: failed program was:" >&5
72154 sed 's/^/| /' conftest.$ac_ext >&5
72156 glibcxx_cv_func___builtin_sinl_link=no
72158 rm -f conftest.err conftest.$ac_objext \
72159 conftest$ac_exeext conftest.$ac_ext
72164 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72165 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72166 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72167 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72169 cat >>confdefs.h <<_ACEOF
72170 #define ${ac_tr_func} 1
72171 _ACEOF
72178 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72179 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72180 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72181 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72182 echo $ECHO_N "(cached) $ECHO_C" >&6
72183 else
72187 ac_ext=cc
72188 ac_cpp='$CXXCPP $CPPFLAGS'
72189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72193 cat >conftest.$ac_ext <<_ACEOF
72194 /* confdefs.h. */
72195 _ACEOF
72196 cat confdefs.h >>conftest.$ac_ext
72197 cat >>conftest.$ac_ext <<_ACEOF
72198 /* end confdefs.h. */
72199 #include <math.h>
72201 main ()
72203 __builtin_cosf(0);
72205 return 0;
72207 _ACEOF
72208 rm -f conftest.$ac_objext
72209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72210 (eval $ac_compile) 2>conftest.er1
72211 ac_status=$?
72212 grep -v '^ *+' conftest.er1 >conftest.err
72213 rm -f conftest.er1
72214 cat conftest.err >&5
72215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72216 (exit $ac_status); } &&
72217 { ac_try='test -z "$ac_cxx_werror_flag"
72218 || test ! -s conftest.err'
72219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72220 (eval $ac_try) 2>&5
72221 ac_status=$?
72222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72223 (exit $ac_status); }; } &&
72224 { ac_try='test -s conftest.$ac_objext'
72225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72226 (eval $ac_try) 2>&5
72227 ac_status=$?
72228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72229 (exit $ac_status); }; }; then
72230 glibcxx_cv_func___builtin_cosf_use=yes
72231 else
72232 echo "$as_me: failed program was:" >&5
72233 sed 's/^/| /' conftest.$ac_ext >&5
72235 glibcxx_cv_func___builtin_cosf_use=no
72237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72238 ac_ext=c
72239 ac_cpp='$CPP $CPPFLAGS'
72240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72249 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72250 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72251 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72252 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72253 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72254 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72255 echo $ECHO_N "(cached) $ECHO_C" >&6
72256 else
72258 if test x$gcc_no_link = xyes; then
72259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72261 { (exit 1); exit 1; }; }
72263 cat >conftest.$ac_ext <<_ACEOF
72264 /* confdefs.h. */
72265 _ACEOF
72266 cat confdefs.h >>conftest.$ac_ext
72267 cat >>conftest.$ac_ext <<_ACEOF
72268 /* end confdefs.h. */
72269 #include <math.h>
72271 main ()
72273 __builtin_cosf(0);
72275 return 0;
72277 _ACEOF
72278 rm -f conftest.$ac_objext conftest$ac_exeext
72279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72280 (eval $ac_link) 2>conftest.er1
72281 ac_status=$?
72282 grep -v '^ *+' conftest.er1 >conftest.err
72283 rm -f conftest.er1
72284 cat conftest.err >&5
72285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286 (exit $ac_status); } &&
72287 { ac_try='test -z "$ac_c_werror_flag"
72288 || test ! -s conftest.err'
72289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72290 (eval $ac_try) 2>&5
72291 ac_status=$?
72292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293 (exit $ac_status); }; } &&
72294 { ac_try='test -s conftest$ac_exeext'
72295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72296 (eval $ac_try) 2>&5
72297 ac_status=$?
72298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72299 (exit $ac_status); }; }; then
72300 glibcxx_cv_func___builtin_cosf_link=yes
72301 else
72302 echo "$as_me: failed program was:" >&5
72303 sed 's/^/| /' conftest.$ac_ext >&5
72305 glibcxx_cv_func___builtin_cosf_link=no
72307 rm -f conftest.err conftest.$ac_objext \
72308 conftest$ac_exeext conftest.$ac_ext
72313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72314 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72315 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72316 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72318 cat >>confdefs.h <<_ACEOF
72319 #define ${ac_tr_func} 1
72320 _ACEOF
72326 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72327 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72328 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72329 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72330 echo $ECHO_N "(cached) $ECHO_C" >&6
72331 else
72335 ac_ext=cc
72336 ac_cpp='$CXXCPP $CPPFLAGS'
72337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72341 cat >conftest.$ac_ext <<_ACEOF
72342 /* confdefs.h. */
72343 _ACEOF
72344 cat confdefs.h >>conftest.$ac_ext
72345 cat >>conftest.$ac_ext <<_ACEOF
72346 /* end confdefs.h. */
72347 #include <math.h>
72349 main ()
72351 __builtin_cos(0);
72353 return 0;
72355 _ACEOF
72356 rm -f conftest.$ac_objext
72357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72358 (eval $ac_compile) 2>conftest.er1
72359 ac_status=$?
72360 grep -v '^ *+' conftest.er1 >conftest.err
72361 rm -f conftest.er1
72362 cat conftest.err >&5
72363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72364 (exit $ac_status); } &&
72365 { ac_try='test -z "$ac_cxx_werror_flag"
72366 || test ! -s conftest.err'
72367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72368 (eval $ac_try) 2>&5
72369 ac_status=$?
72370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371 (exit $ac_status); }; } &&
72372 { ac_try='test -s conftest.$ac_objext'
72373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72374 (eval $ac_try) 2>&5
72375 ac_status=$?
72376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72377 (exit $ac_status); }; }; then
72378 glibcxx_cv_func___builtin_cos_use=yes
72379 else
72380 echo "$as_me: failed program was:" >&5
72381 sed 's/^/| /' conftest.$ac_ext >&5
72383 glibcxx_cv_func___builtin_cos_use=no
72385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72386 ac_ext=c
72387 ac_cpp='$CPP $CPPFLAGS'
72388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72397 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72398 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72399 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72400 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72401 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72402 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72403 echo $ECHO_N "(cached) $ECHO_C" >&6
72404 else
72406 if test x$gcc_no_link = xyes; then
72407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72409 { (exit 1); exit 1; }; }
72411 cat >conftest.$ac_ext <<_ACEOF
72412 /* confdefs.h. */
72413 _ACEOF
72414 cat confdefs.h >>conftest.$ac_ext
72415 cat >>conftest.$ac_ext <<_ACEOF
72416 /* end confdefs.h. */
72417 #include <math.h>
72419 main ()
72421 __builtin_cos(0);
72423 return 0;
72425 _ACEOF
72426 rm -f conftest.$ac_objext conftest$ac_exeext
72427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72428 (eval $ac_link) 2>conftest.er1
72429 ac_status=$?
72430 grep -v '^ *+' conftest.er1 >conftest.err
72431 rm -f conftest.er1
72432 cat conftest.err >&5
72433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72434 (exit $ac_status); } &&
72435 { ac_try='test -z "$ac_c_werror_flag"
72436 || test ! -s conftest.err'
72437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72438 (eval $ac_try) 2>&5
72439 ac_status=$?
72440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72441 (exit $ac_status); }; } &&
72442 { ac_try='test -s conftest$ac_exeext'
72443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72444 (eval $ac_try) 2>&5
72445 ac_status=$?
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); }; }; then
72448 glibcxx_cv_func___builtin_cos_link=yes
72449 else
72450 echo "$as_me: failed program was:" >&5
72451 sed 's/^/| /' conftest.$ac_ext >&5
72453 glibcxx_cv_func___builtin_cos_link=no
72455 rm -f conftest.err conftest.$ac_objext \
72456 conftest$ac_exeext conftest.$ac_ext
72461 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72462 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72463 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72464 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72466 cat >>confdefs.h <<_ACEOF
72467 #define ${ac_tr_func} 1
72468 _ACEOF
72474 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72475 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72476 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72477 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72478 echo $ECHO_N "(cached) $ECHO_C" >&6
72479 else
72483 ac_ext=cc
72484 ac_cpp='$CXXCPP $CPPFLAGS'
72485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72489 cat >conftest.$ac_ext <<_ACEOF
72490 /* confdefs.h. */
72491 _ACEOF
72492 cat confdefs.h >>conftest.$ac_ext
72493 cat >>conftest.$ac_ext <<_ACEOF
72494 /* end confdefs.h. */
72495 #include <math.h>
72497 main ()
72499 __builtin_cosl(0);
72501 return 0;
72503 _ACEOF
72504 rm -f conftest.$ac_objext
72505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72506 (eval $ac_compile) 2>conftest.er1
72507 ac_status=$?
72508 grep -v '^ *+' conftest.er1 >conftest.err
72509 rm -f conftest.er1
72510 cat conftest.err >&5
72511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72512 (exit $ac_status); } &&
72513 { ac_try='test -z "$ac_cxx_werror_flag"
72514 || test ! -s conftest.err'
72515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72516 (eval $ac_try) 2>&5
72517 ac_status=$?
72518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72519 (exit $ac_status); }; } &&
72520 { ac_try='test -s conftest.$ac_objext'
72521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72522 (eval $ac_try) 2>&5
72523 ac_status=$?
72524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72525 (exit $ac_status); }; }; then
72526 glibcxx_cv_func___builtin_cosl_use=yes
72527 else
72528 echo "$as_me: failed program was:" >&5
72529 sed 's/^/| /' conftest.$ac_ext >&5
72531 glibcxx_cv_func___builtin_cosl_use=no
72533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72534 ac_ext=c
72535 ac_cpp='$CPP $CPPFLAGS'
72536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72545 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72546 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72547 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72548 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72549 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72550 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72551 echo $ECHO_N "(cached) $ECHO_C" >&6
72552 else
72554 if test x$gcc_no_link = xyes; then
72555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72557 { (exit 1); exit 1; }; }
72559 cat >conftest.$ac_ext <<_ACEOF
72560 /* confdefs.h. */
72561 _ACEOF
72562 cat confdefs.h >>conftest.$ac_ext
72563 cat >>conftest.$ac_ext <<_ACEOF
72564 /* end confdefs.h. */
72565 #include <math.h>
72567 main ()
72569 __builtin_cosl(0);
72571 return 0;
72573 _ACEOF
72574 rm -f conftest.$ac_objext conftest$ac_exeext
72575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72576 (eval $ac_link) 2>conftest.er1
72577 ac_status=$?
72578 grep -v '^ *+' conftest.er1 >conftest.err
72579 rm -f conftest.er1
72580 cat conftest.err >&5
72581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582 (exit $ac_status); } &&
72583 { ac_try='test -z "$ac_c_werror_flag"
72584 || test ! -s conftest.err'
72585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72586 (eval $ac_try) 2>&5
72587 ac_status=$?
72588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72589 (exit $ac_status); }; } &&
72590 { ac_try='test -s conftest$ac_exeext'
72591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72592 (eval $ac_try) 2>&5
72593 ac_status=$?
72594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72595 (exit $ac_status); }; }; then
72596 glibcxx_cv_func___builtin_cosl_link=yes
72597 else
72598 echo "$as_me: failed program was:" >&5
72599 sed 's/^/| /' conftest.$ac_ext >&5
72601 glibcxx_cv_func___builtin_cosl_link=no
72603 rm -f conftest.err conftest.$ac_objext \
72604 conftest$ac_exeext conftest.$ac_ext
72609 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72610 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72611 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72612 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72614 cat >>confdefs.h <<_ACEOF
72615 #define ${ac_tr_func} 1
72616 _ACEOF
72624 echo "$as_me:$LINENO: checking for main in -lm" >&5
72625 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72626 if test "${ac_cv_lib_m_main+set}" = set; then
72627 echo $ECHO_N "(cached) $ECHO_C" >&6
72628 else
72629 ac_check_lib_save_LIBS=$LIBS
72630 LIBS="-lm $LIBS"
72631 if test x$gcc_no_link = xyes; then
72632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72634 { (exit 1); exit 1; }; }
72636 cat >conftest.$ac_ext <<_ACEOF
72637 /* confdefs.h. */
72638 _ACEOF
72639 cat confdefs.h >>conftest.$ac_ext
72640 cat >>conftest.$ac_ext <<_ACEOF
72641 /* end confdefs.h. */
72645 main ()
72647 main ();
72649 return 0;
72651 _ACEOF
72652 rm -f conftest.$ac_objext conftest$ac_exeext
72653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72654 (eval $ac_link) 2>conftest.er1
72655 ac_status=$?
72656 grep -v '^ *+' conftest.er1 >conftest.err
72657 rm -f conftest.er1
72658 cat conftest.err >&5
72659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72660 (exit $ac_status); } &&
72661 { ac_try='test -z "$ac_c_werror_flag"
72662 || test ! -s conftest.err'
72663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72664 (eval $ac_try) 2>&5
72665 ac_status=$?
72666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72667 (exit $ac_status); }; } &&
72668 { ac_try='test -s conftest$ac_exeext'
72669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72670 (eval $ac_try) 2>&5
72671 ac_status=$?
72672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72673 (exit $ac_status); }; }; then
72674 ac_cv_lib_m_main=yes
72675 else
72676 echo "$as_me: failed program was:" >&5
72677 sed 's/^/| /' conftest.$ac_ext >&5
72679 ac_cv_lib_m_main=no
72681 rm -f conftest.err conftest.$ac_objext \
72682 conftest$ac_exeext conftest.$ac_ext
72683 LIBS=$ac_check_lib_save_LIBS
72685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72686 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72687 if test $ac_cv_lib_m_main = yes; then
72688 cat >>confdefs.h <<_ACEOF
72689 #define HAVE_LIBM 1
72690 _ACEOF
72692 LIBS="-lm $LIBS"
72697 for ac_func in copysignf
72699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72700 echo "$as_me:$LINENO: checking for $ac_func" >&5
72701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72702 if eval "test \"\${$as_ac_var+set}\" = set"; then
72703 echo $ECHO_N "(cached) $ECHO_C" >&6
72704 else
72705 if test x$gcc_no_link = xyes; then
72706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72708 { (exit 1); exit 1; }; }
72710 cat >conftest.$ac_ext <<_ACEOF
72711 /* confdefs.h. */
72712 _ACEOF
72713 cat confdefs.h >>conftest.$ac_ext
72714 cat >>conftest.$ac_ext <<_ACEOF
72715 /* end confdefs.h. */
72716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72718 #define $ac_func innocuous_$ac_func
72720 /* System header to define __stub macros and hopefully few prototypes,
72721 which can conflict with char $ac_func (); below.
72722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72723 <limits.h> exists even on freestanding compilers. */
72725 #ifdef __STDC__
72726 # include <limits.h>
72727 #else
72728 # include <assert.h>
72729 #endif
72731 #undef $ac_func
72733 /* Override any gcc2 internal prototype to avoid an error. */
72734 #ifdef __cplusplus
72735 extern "C"
72737 #endif
72738 /* We use char because int might match the return type of a gcc2
72739 builtin and then its argument prototype would still apply. */
72740 char $ac_func ();
72741 /* The GNU C library defines this for functions which it implements
72742 to always fail with ENOSYS. Some functions are actually named
72743 something starting with __ and the normal name is an alias. */
72744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72745 choke me
72746 #else
72747 char (*f) () = $ac_func;
72748 #endif
72749 #ifdef __cplusplus
72751 #endif
72754 main ()
72756 return f != $ac_func;
72758 return 0;
72760 _ACEOF
72761 rm -f conftest.$ac_objext conftest$ac_exeext
72762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72763 (eval $ac_link) 2>conftest.er1
72764 ac_status=$?
72765 grep -v '^ *+' conftest.er1 >conftest.err
72766 rm -f conftest.er1
72767 cat conftest.err >&5
72768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769 (exit $ac_status); } &&
72770 { ac_try='test -z "$ac_c_werror_flag"
72771 || test ! -s conftest.err'
72772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72773 (eval $ac_try) 2>&5
72774 ac_status=$?
72775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72776 (exit $ac_status); }; } &&
72777 { ac_try='test -s conftest$ac_exeext'
72778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72779 (eval $ac_try) 2>&5
72780 ac_status=$?
72781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72782 (exit $ac_status); }; }; then
72783 eval "$as_ac_var=yes"
72784 else
72785 echo "$as_me: failed program was:" >&5
72786 sed 's/^/| /' conftest.$ac_ext >&5
72788 eval "$as_ac_var=no"
72790 rm -f conftest.err conftest.$ac_objext \
72791 conftest$ac_exeext conftest.$ac_ext
72793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72795 if test `eval echo '${'$as_ac_var'}'` = yes; then
72796 cat >>confdefs.h <<_ACEOF
72797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72798 _ACEOF
72800 else
72801 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72803 done
72807 for ac_func in __signbit
72809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72810 echo "$as_me:$LINENO: checking for $ac_func" >&5
72811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72812 if eval "test \"\${$as_ac_var+set}\" = set"; then
72813 echo $ECHO_N "(cached) $ECHO_C" >&6
72814 else
72815 if test x$gcc_no_link = xyes; then
72816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72818 { (exit 1); exit 1; }; }
72820 cat >conftest.$ac_ext <<_ACEOF
72821 /* confdefs.h. */
72822 _ACEOF
72823 cat confdefs.h >>conftest.$ac_ext
72824 cat >>conftest.$ac_ext <<_ACEOF
72825 /* end confdefs.h. */
72826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72828 #define $ac_func innocuous_$ac_func
72830 /* System header to define __stub macros and hopefully few prototypes,
72831 which can conflict with char $ac_func (); below.
72832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72833 <limits.h> exists even on freestanding compilers. */
72835 #ifdef __STDC__
72836 # include <limits.h>
72837 #else
72838 # include <assert.h>
72839 #endif
72841 #undef $ac_func
72843 /* Override any gcc2 internal prototype to avoid an error. */
72844 #ifdef __cplusplus
72845 extern "C"
72847 #endif
72848 /* We use char because int might match the return type of a gcc2
72849 builtin and then its argument prototype would still apply. */
72850 char $ac_func ();
72851 /* The GNU C library defines this for functions which it implements
72852 to always fail with ENOSYS. Some functions are actually named
72853 something starting with __ and the normal name is an alias. */
72854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72855 choke me
72856 #else
72857 char (*f) () = $ac_func;
72858 #endif
72859 #ifdef __cplusplus
72861 #endif
72864 main ()
72866 return f != $ac_func;
72868 return 0;
72870 _ACEOF
72871 rm -f conftest.$ac_objext conftest$ac_exeext
72872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72873 (eval $ac_link) 2>conftest.er1
72874 ac_status=$?
72875 grep -v '^ *+' conftest.er1 >conftest.err
72876 rm -f conftest.er1
72877 cat conftest.err >&5
72878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72879 (exit $ac_status); } &&
72880 { ac_try='test -z "$ac_c_werror_flag"
72881 || test ! -s conftest.err'
72882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72883 (eval $ac_try) 2>&5
72884 ac_status=$?
72885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72886 (exit $ac_status); }; } &&
72887 { ac_try='test -s conftest$ac_exeext'
72888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72889 (eval $ac_try) 2>&5
72890 ac_status=$?
72891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72892 (exit $ac_status); }; }; then
72893 eval "$as_ac_var=yes"
72894 else
72895 echo "$as_me: failed program was:" >&5
72896 sed 's/^/| /' conftest.$ac_ext >&5
72898 eval "$as_ac_var=no"
72900 rm -f conftest.err conftest.$ac_objext \
72901 conftest$ac_exeext conftest.$ac_ext
72903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72905 if test `eval echo '${'$as_ac_var'}'` = yes; then
72906 cat >>confdefs.h <<_ACEOF
72907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72908 _ACEOF
72910 else
72911 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72913 done
72917 for ac_func in __signbitf
72919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72920 echo "$as_me:$LINENO: checking for $ac_func" >&5
72921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72922 if eval "test \"\${$as_ac_var+set}\" = set"; then
72923 echo $ECHO_N "(cached) $ECHO_C" >&6
72924 else
72925 if test x$gcc_no_link = xyes; then
72926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72928 { (exit 1); exit 1; }; }
72930 cat >conftest.$ac_ext <<_ACEOF
72931 /* confdefs.h. */
72932 _ACEOF
72933 cat confdefs.h >>conftest.$ac_ext
72934 cat >>conftest.$ac_ext <<_ACEOF
72935 /* end confdefs.h. */
72936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72938 #define $ac_func innocuous_$ac_func
72940 /* System header to define __stub macros and hopefully few prototypes,
72941 which can conflict with char $ac_func (); below.
72942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72943 <limits.h> exists even on freestanding compilers. */
72945 #ifdef __STDC__
72946 # include <limits.h>
72947 #else
72948 # include <assert.h>
72949 #endif
72951 #undef $ac_func
72953 /* Override any gcc2 internal prototype to avoid an error. */
72954 #ifdef __cplusplus
72955 extern "C"
72957 #endif
72958 /* We use char because int might match the return type of a gcc2
72959 builtin and then its argument prototype would still apply. */
72960 char $ac_func ();
72961 /* The GNU C library defines this for functions which it implements
72962 to always fail with ENOSYS. Some functions are actually named
72963 something starting with __ and the normal name is an alias. */
72964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72965 choke me
72966 #else
72967 char (*f) () = $ac_func;
72968 #endif
72969 #ifdef __cplusplus
72971 #endif
72974 main ()
72976 return f != $ac_func;
72978 return 0;
72980 _ACEOF
72981 rm -f conftest.$ac_objext conftest$ac_exeext
72982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72983 (eval $ac_link) 2>conftest.er1
72984 ac_status=$?
72985 grep -v '^ *+' conftest.er1 >conftest.err
72986 rm -f conftest.er1
72987 cat conftest.err >&5
72988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72989 (exit $ac_status); } &&
72990 { ac_try='test -z "$ac_c_werror_flag"
72991 || test ! -s conftest.err'
72992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72993 (eval $ac_try) 2>&5
72994 ac_status=$?
72995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72996 (exit $ac_status); }; } &&
72997 { ac_try='test -s conftest$ac_exeext'
72998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72999 (eval $ac_try) 2>&5
73000 ac_status=$?
73001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73002 (exit $ac_status); }; }; then
73003 eval "$as_ac_var=yes"
73004 else
73005 echo "$as_me: failed program was:" >&5
73006 sed 's/^/| /' conftest.$ac_ext >&5
73008 eval "$as_ac_var=no"
73010 rm -f conftest.err conftest.$ac_objext \
73011 conftest$ac_exeext conftest.$ac_ext
73013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73015 if test `eval echo '${'$as_ac_var'}'` = yes; then
73016 cat >>confdefs.h <<_ACEOF
73017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73018 _ACEOF
73020 else
73021 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73023 done
73026 if test x$ac_cv_func_copysignl = x"yes"; then
73028 for ac_func in __signbitl
73030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73031 echo "$as_me:$LINENO: checking for $ac_func" >&5
73032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73033 if eval "test \"\${$as_ac_var+set}\" = set"; then
73034 echo $ECHO_N "(cached) $ECHO_C" >&6
73035 else
73036 if test x$gcc_no_link = xyes; then
73037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73039 { (exit 1); exit 1; }; }
73041 cat >conftest.$ac_ext <<_ACEOF
73042 /* confdefs.h. */
73043 _ACEOF
73044 cat confdefs.h >>conftest.$ac_ext
73045 cat >>conftest.$ac_ext <<_ACEOF
73046 /* end confdefs.h. */
73047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73049 #define $ac_func innocuous_$ac_func
73051 /* System header to define __stub macros and hopefully few prototypes,
73052 which can conflict with char $ac_func (); below.
73053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73054 <limits.h> exists even on freestanding compilers. */
73056 #ifdef __STDC__
73057 # include <limits.h>
73058 #else
73059 # include <assert.h>
73060 #endif
73062 #undef $ac_func
73064 /* Override any gcc2 internal prototype to avoid an error. */
73065 #ifdef __cplusplus
73066 extern "C"
73068 #endif
73069 /* We use char because int might match the return type of a gcc2
73070 builtin and then its argument prototype would still apply. */
73071 char $ac_func ();
73072 /* The GNU C library defines this for functions which it implements
73073 to always fail with ENOSYS. Some functions are actually named
73074 something starting with __ and the normal name is an alias. */
73075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73076 choke me
73077 #else
73078 char (*f) () = $ac_func;
73079 #endif
73080 #ifdef __cplusplus
73082 #endif
73085 main ()
73087 return f != $ac_func;
73089 return 0;
73091 _ACEOF
73092 rm -f conftest.$ac_objext conftest$ac_exeext
73093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73094 (eval $ac_link) 2>conftest.er1
73095 ac_status=$?
73096 grep -v '^ *+' conftest.er1 >conftest.err
73097 rm -f conftest.er1
73098 cat conftest.err >&5
73099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73100 (exit $ac_status); } &&
73101 { ac_try='test -z "$ac_c_werror_flag"
73102 || test ! -s conftest.err'
73103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73104 (eval $ac_try) 2>&5
73105 ac_status=$?
73106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73107 (exit $ac_status); }; } &&
73108 { ac_try='test -s conftest$ac_exeext'
73109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73110 (eval $ac_try) 2>&5
73111 ac_status=$?
73112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73113 (exit $ac_status); }; }; then
73114 eval "$as_ac_var=yes"
73115 else
73116 echo "$as_me: failed program was:" >&5
73117 sed 's/^/| /' conftest.$ac_ext >&5
73119 eval "$as_ac_var=no"
73121 rm -f conftest.err conftest.$ac_objext \
73122 conftest$ac_exeext conftest.$ac_ext
73124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73126 if test `eval echo '${'$as_ac_var'}'` = yes; then
73127 cat >>confdefs.h <<_ACEOF
73128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73129 _ACEOF
73131 else
73132 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73134 done
73138 # Used in libmath/Makefile.am.
73139 if test -n "$LIBMATHOBJS"; then
73140 need_libmath=yes
73145 # Test wchar.h for mbstate_t, which is needed for char_traits and
73146 # others even if wchar_t support is not on.
73147 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73148 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73149 cat >conftest.$ac_ext <<_ACEOF
73150 /* confdefs.h. */
73151 _ACEOF
73152 cat confdefs.h >>conftest.$ac_ext
73153 cat >>conftest.$ac_ext <<_ACEOF
73154 /* end confdefs.h. */
73155 #include <wchar.h>
73157 main ()
73159 mbstate_t teststate;
73161 return 0;
73163 _ACEOF
73164 rm -f conftest.$ac_objext
73165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73166 (eval $ac_compile) 2>conftest.er1
73167 ac_status=$?
73168 grep -v '^ *+' conftest.er1 >conftest.err
73169 rm -f conftest.er1
73170 cat conftest.err >&5
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); } &&
73173 { ac_try='test -z "$ac_c_werror_flag"
73174 || test ! -s conftest.err'
73175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73176 (eval $ac_try) 2>&5
73177 ac_status=$?
73178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73179 (exit $ac_status); }; } &&
73180 { ac_try='test -s conftest.$ac_objext'
73181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73182 (eval $ac_try) 2>&5
73183 ac_status=$?
73184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73185 (exit $ac_status); }; }; then
73186 have_mbstate_t=yes
73187 else
73188 echo "$as_me: failed program was:" >&5
73189 sed 's/^/| /' conftest.$ac_ext >&5
73191 have_mbstate_t=no
73193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73194 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73195 echo "${ECHO_T}$have_mbstate_t" >&6
73196 if test x"$have_mbstate_t" = xyes; then
73197 cat >>confdefs.h <<\_ACEOF
73198 #define HAVE_MBSTATE_T 1
73199 _ACEOF
73203 # Sanity check for existence of ISO C99 headers for extended encoding.
73205 for ac_header in wchar.h
73207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73209 echo "$as_me:$LINENO: checking for $ac_header" >&5
73210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73212 echo $ECHO_N "(cached) $ECHO_C" >&6
73214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73216 else
73217 # Is the header compilable?
73218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73220 cat >conftest.$ac_ext <<_ACEOF
73221 /* confdefs.h. */
73222 _ACEOF
73223 cat confdefs.h >>conftest.$ac_ext
73224 cat >>conftest.$ac_ext <<_ACEOF
73225 /* end confdefs.h. */
73226 $ac_includes_default
73227 #include <$ac_header>
73228 _ACEOF
73229 rm -f conftest.$ac_objext
73230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73231 (eval $ac_compile) 2>conftest.er1
73232 ac_status=$?
73233 grep -v '^ *+' conftest.er1 >conftest.err
73234 rm -f conftest.er1
73235 cat conftest.err >&5
73236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73237 (exit $ac_status); } &&
73238 { ac_try='test -z "$ac_c_werror_flag"
73239 || test ! -s conftest.err'
73240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73241 (eval $ac_try) 2>&5
73242 ac_status=$?
73243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73244 (exit $ac_status); }; } &&
73245 { ac_try='test -s conftest.$ac_objext'
73246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247 (eval $ac_try) 2>&5
73248 ac_status=$?
73249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250 (exit $ac_status); }; }; then
73251 ac_header_compiler=yes
73252 else
73253 echo "$as_me: failed program was:" >&5
73254 sed 's/^/| /' conftest.$ac_ext >&5
73256 ac_header_compiler=no
73258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73260 echo "${ECHO_T}$ac_header_compiler" >&6
73262 # Is the header present?
73263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73265 cat >conftest.$ac_ext <<_ACEOF
73266 /* confdefs.h. */
73267 _ACEOF
73268 cat confdefs.h >>conftest.$ac_ext
73269 cat >>conftest.$ac_ext <<_ACEOF
73270 /* end confdefs.h. */
73271 #include <$ac_header>
73272 _ACEOF
73273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73275 ac_status=$?
73276 grep -v '^ *+' conftest.er1 >conftest.err
73277 rm -f conftest.er1
73278 cat conftest.err >&5
73279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73280 (exit $ac_status); } >/dev/null; then
73281 if test -s conftest.err; then
73282 ac_cpp_err=$ac_c_preproc_warn_flag
73283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73284 else
73285 ac_cpp_err=
73287 else
73288 ac_cpp_err=yes
73290 if test -z "$ac_cpp_err"; then
73291 ac_header_preproc=yes
73292 else
73293 echo "$as_me: failed program was:" >&5
73294 sed 's/^/| /' conftest.$ac_ext >&5
73296 ac_header_preproc=no
73298 rm -f conftest.err conftest.$ac_ext
73299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73300 echo "${ECHO_T}$ac_header_preproc" >&6
73302 # So? What about this header?
73303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73304 yes:no: )
73305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73309 ac_header_preproc=yes
73311 no:yes:* )
73312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73325 cat <<\_ASBOX
73326 ## ----------------------------------------- ##
73327 ## Report this to the package-unused lists. ##
73328 ## ----------------------------------------- ##
73329 _ASBOX
73331 sed "s/^/$as_me: WARNING: /" >&2
73333 esac
73334 echo "$as_me:$LINENO: checking for $ac_header" >&5
73335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73337 echo $ECHO_N "(cached) $ECHO_C" >&6
73338 else
73339 eval "$as_ac_Header=\$ac_header_preproc"
73341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73346 cat >>confdefs.h <<_ACEOF
73347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73348 _ACEOF
73349 ac_has_wchar_h=yes
73350 else
73351 ac_has_wchar_h=no
73354 done
73357 for ac_header in wctype.h
73359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73361 echo "$as_me:$LINENO: checking for $ac_header" >&5
73362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73364 echo $ECHO_N "(cached) $ECHO_C" >&6
73366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73368 else
73369 # Is the header compilable?
73370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73372 cat >conftest.$ac_ext <<_ACEOF
73373 /* confdefs.h. */
73374 _ACEOF
73375 cat confdefs.h >>conftest.$ac_ext
73376 cat >>conftest.$ac_ext <<_ACEOF
73377 /* end confdefs.h. */
73378 $ac_includes_default
73379 #include <$ac_header>
73380 _ACEOF
73381 rm -f conftest.$ac_objext
73382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73383 (eval $ac_compile) 2>conftest.er1
73384 ac_status=$?
73385 grep -v '^ *+' conftest.er1 >conftest.err
73386 rm -f conftest.er1
73387 cat conftest.err >&5
73388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389 (exit $ac_status); } &&
73390 { ac_try='test -z "$ac_c_werror_flag"
73391 || test ! -s conftest.err'
73392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73393 (eval $ac_try) 2>&5
73394 ac_status=$?
73395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73396 (exit $ac_status); }; } &&
73397 { ac_try='test -s conftest.$ac_objext'
73398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399 (eval $ac_try) 2>&5
73400 ac_status=$?
73401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402 (exit $ac_status); }; }; then
73403 ac_header_compiler=yes
73404 else
73405 echo "$as_me: failed program was:" >&5
73406 sed 's/^/| /' conftest.$ac_ext >&5
73408 ac_header_compiler=no
73410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73412 echo "${ECHO_T}$ac_header_compiler" >&6
73414 # Is the header present?
73415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73417 cat >conftest.$ac_ext <<_ACEOF
73418 /* confdefs.h. */
73419 _ACEOF
73420 cat confdefs.h >>conftest.$ac_ext
73421 cat >>conftest.$ac_ext <<_ACEOF
73422 /* end confdefs.h. */
73423 #include <$ac_header>
73424 _ACEOF
73425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73427 ac_status=$?
73428 grep -v '^ *+' conftest.er1 >conftest.err
73429 rm -f conftest.er1
73430 cat conftest.err >&5
73431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432 (exit $ac_status); } >/dev/null; then
73433 if test -s conftest.err; then
73434 ac_cpp_err=$ac_c_preproc_warn_flag
73435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73436 else
73437 ac_cpp_err=
73439 else
73440 ac_cpp_err=yes
73442 if test -z "$ac_cpp_err"; then
73443 ac_header_preproc=yes
73444 else
73445 echo "$as_me: failed program was:" >&5
73446 sed 's/^/| /' conftest.$ac_ext >&5
73448 ac_header_preproc=no
73450 rm -f conftest.err conftest.$ac_ext
73451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73452 echo "${ECHO_T}$ac_header_preproc" >&6
73454 # So? What about this header?
73455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73456 yes:no: )
73457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73461 ac_header_preproc=yes
73463 no:yes:* )
73464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73477 cat <<\_ASBOX
73478 ## ----------------------------------------- ##
73479 ## Report this to the package-unused lists. ##
73480 ## ----------------------------------------- ##
73481 _ASBOX
73483 sed "s/^/$as_me: WARNING: /" >&2
73485 esac
73486 echo "$as_me:$LINENO: checking for $ac_header" >&5
73487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73489 echo $ECHO_N "(cached) $ECHO_C" >&6
73490 else
73491 eval "$as_ac_Header=\$ac_header_preproc"
73493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73498 cat >>confdefs.h <<_ACEOF
73499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73500 _ACEOF
73501 ac_has_wctype_h=yes
73502 else
73503 ac_has_wctype_h=no
73506 done
73509 # Only continue checking if the ISO C99 headers exist and support is on.
73510 if test x"$ac_has_wchar_h" = xyes &&
73511 test x"$ac_has_wctype_h" = xyes &&
73512 test x"$enable_c_mbchar" != xno; then
73514 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73515 # numeric_limits can instantiate type_traits<wchar_t>
73516 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73517 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73518 cat >conftest.$ac_ext <<_ACEOF
73519 /* confdefs.h. */
73520 _ACEOF
73521 cat confdefs.h >>conftest.$ac_ext
73522 cat >>conftest.$ac_ext <<_ACEOF
73523 /* end confdefs.h. */
73524 #include <wchar.h>
73526 main ()
73528 int i = WCHAR_MIN; int j = WCHAR_MAX;
73530 return 0;
73532 _ACEOF
73533 rm -f conftest.$ac_objext
73534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73535 (eval $ac_compile) 2>conftest.er1
73536 ac_status=$?
73537 grep -v '^ *+' conftest.er1 >conftest.err
73538 rm -f conftest.er1
73539 cat conftest.err >&5
73540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541 (exit $ac_status); } &&
73542 { ac_try='test -z "$ac_c_werror_flag"
73543 || test ! -s conftest.err'
73544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73545 (eval $ac_try) 2>&5
73546 ac_status=$?
73547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73548 (exit $ac_status); }; } &&
73549 { ac_try='test -s conftest.$ac_objext'
73550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73551 (eval $ac_try) 2>&5
73552 ac_status=$?
73553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73554 (exit $ac_status); }; }; then
73555 has_wchar_minmax=yes
73556 else
73557 echo "$as_me: failed program was:" >&5
73558 sed 's/^/| /' conftest.$ac_ext >&5
73560 has_wchar_minmax=no
73562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73563 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73564 echo "${ECHO_T}$has_wchar_minmax" >&6
73566 # Test wchar.h for WEOF, which is what we use to determine whether
73567 # to specialize for char_traits<wchar_t> or not.
73568 echo "$as_me:$LINENO: checking for WEOF" >&5
73569 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73570 cat >conftest.$ac_ext <<_ACEOF
73571 /* confdefs.h. */
73572 _ACEOF
73573 cat confdefs.h >>conftest.$ac_ext
73574 cat >>conftest.$ac_ext <<_ACEOF
73575 /* end confdefs.h. */
73577 #include <wchar.h>
73578 #include <stddef.h>
73580 main ()
73582 wint_t i = WEOF;
73584 return 0;
73586 _ACEOF
73587 rm -f conftest.$ac_objext
73588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73589 (eval $ac_compile) 2>conftest.er1
73590 ac_status=$?
73591 grep -v '^ *+' conftest.er1 >conftest.err
73592 rm -f conftest.er1
73593 cat conftest.err >&5
73594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73595 (exit $ac_status); } &&
73596 { ac_try='test -z "$ac_c_werror_flag"
73597 || test ! -s conftest.err'
73598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73599 (eval $ac_try) 2>&5
73600 ac_status=$?
73601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73602 (exit $ac_status); }; } &&
73603 { ac_try='test -s conftest.$ac_objext'
73604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73605 (eval $ac_try) 2>&5
73606 ac_status=$?
73607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73608 (exit $ac_status); }; }; then
73609 has_weof=yes
73610 else
73611 echo "$as_me: failed program was:" >&5
73612 sed 's/^/| /' conftest.$ac_ext >&5
73614 has_weof=no
73616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73617 echo "$as_me:$LINENO: result: $has_weof" >&5
73618 echo "${ECHO_T}$has_weof" >&6
73620 # Tests for wide character functions used in char_traits<wchar_t>.
73621 ac_wfuncs=yes
73628 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73631 echo "$as_me:$LINENO: checking for $ac_func" >&5
73632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73633 if eval "test \"\${$as_ac_var+set}\" = set"; then
73634 echo $ECHO_N "(cached) $ECHO_C" >&6
73635 else
73636 if test x$gcc_no_link = xyes; then
73637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73639 { (exit 1); exit 1; }; }
73641 cat >conftest.$ac_ext <<_ACEOF
73642 /* confdefs.h. */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h. */
73647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73649 #define $ac_func innocuous_$ac_func
73651 /* System header to define __stub macros and hopefully few prototypes,
73652 which can conflict with char $ac_func (); below.
73653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73654 <limits.h> exists even on freestanding compilers. */
73656 #ifdef __STDC__
73657 # include <limits.h>
73658 #else
73659 # include <assert.h>
73660 #endif
73662 #undef $ac_func
73664 /* Override any gcc2 internal prototype to avoid an error. */
73665 #ifdef __cplusplus
73666 extern "C"
73668 #endif
73669 /* We use char because int might match the return type of a gcc2
73670 builtin and then its argument prototype would still apply. */
73671 char $ac_func ();
73672 /* The GNU C library defines this for functions which it implements
73673 to always fail with ENOSYS. Some functions are actually named
73674 something starting with __ and the normal name is an alias. */
73675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73676 choke me
73677 #else
73678 char (*f) () = $ac_func;
73679 #endif
73680 #ifdef __cplusplus
73682 #endif
73685 main ()
73687 return f != $ac_func;
73689 return 0;
73691 _ACEOF
73692 rm -f conftest.$ac_objext conftest$ac_exeext
73693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73694 (eval $ac_link) 2>conftest.er1
73695 ac_status=$?
73696 grep -v '^ *+' conftest.er1 >conftest.err
73697 rm -f conftest.er1
73698 cat conftest.err >&5
73699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73700 (exit $ac_status); } &&
73701 { ac_try='test -z "$ac_c_werror_flag"
73702 || test ! -s conftest.err'
73703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73704 (eval $ac_try) 2>&5
73705 ac_status=$?
73706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73707 (exit $ac_status); }; } &&
73708 { ac_try='test -s conftest$ac_exeext'
73709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73710 (eval $ac_try) 2>&5
73711 ac_status=$?
73712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73713 (exit $ac_status); }; }; then
73714 eval "$as_ac_var=yes"
73715 else
73716 echo "$as_me: failed program was:" >&5
73717 sed 's/^/| /' conftest.$ac_ext >&5
73719 eval "$as_ac_var=no"
73721 rm -f conftest.err conftest.$ac_objext \
73722 conftest$ac_exeext conftest.$ac_ext
73724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73726 if test `eval echo '${'$as_ac_var'}'` = yes; then
73727 cat >>confdefs.h <<_ACEOF
73728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73729 _ACEOF
73731 else
73732 ac_wfuncs=no
73734 done
73737 # Checks for names injected into std:: by the c_std headers.
73784 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73785 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73786 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73787 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73788 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73789 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73792 echo "$as_me:$LINENO: checking for $ac_func" >&5
73793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73794 if eval "test \"\${$as_ac_var+set}\" = set"; then
73795 echo $ECHO_N "(cached) $ECHO_C" >&6
73796 else
73797 if test x$gcc_no_link = xyes; then
73798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73800 { (exit 1); exit 1; }; }
73802 cat >conftest.$ac_ext <<_ACEOF
73803 /* confdefs.h. */
73804 _ACEOF
73805 cat confdefs.h >>conftest.$ac_ext
73806 cat >>conftest.$ac_ext <<_ACEOF
73807 /* end confdefs.h. */
73808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73810 #define $ac_func innocuous_$ac_func
73812 /* System header to define __stub macros and hopefully few prototypes,
73813 which can conflict with char $ac_func (); below.
73814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73815 <limits.h> exists even on freestanding compilers. */
73817 #ifdef __STDC__
73818 # include <limits.h>
73819 #else
73820 # include <assert.h>
73821 #endif
73823 #undef $ac_func
73825 /* Override any gcc2 internal prototype to avoid an error. */
73826 #ifdef __cplusplus
73827 extern "C"
73829 #endif
73830 /* We use char because int might match the return type of a gcc2
73831 builtin and then its argument prototype would still apply. */
73832 char $ac_func ();
73833 /* The GNU C library defines this for functions which it implements
73834 to always fail with ENOSYS. Some functions are actually named
73835 something starting with __ and the normal name is an alias. */
73836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73837 choke me
73838 #else
73839 char (*f) () = $ac_func;
73840 #endif
73841 #ifdef __cplusplus
73843 #endif
73846 main ()
73848 return f != $ac_func;
73850 return 0;
73852 _ACEOF
73853 rm -f conftest.$ac_objext conftest$ac_exeext
73854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73855 (eval $ac_link) 2>conftest.er1
73856 ac_status=$?
73857 grep -v '^ *+' conftest.er1 >conftest.err
73858 rm -f conftest.er1
73859 cat conftest.err >&5
73860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861 (exit $ac_status); } &&
73862 { ac_try='test -z "$ac_c_werror_flag"
73863 || test ! -s conftest.err'
73864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73865 (eval $ac_try) 2>&5
73866 ac_status=$?
73867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73868 (exit $ac_status); }; } &&
73869 { ac_try='test -s conftest$ac_exeext'
73870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73871 (eval $ac_try) 2>&5
73872 ac_status=$?
73873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73874 (exit $ac_status); }; }; then
73875 eval "$as_ac_var=yes"
73876 else
73877 echo "$as_me: failed program was:" >&5
73878 sed 's/^/| /' conftest.$ac_ext >&5
73880 eval "$as_ac_var=no"
73882 rm -f conftest.err conftest.$ac_objext \
73883 conftest$ac_exeext conftest.$ac_ext
73885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73887 if test `eval echo '${'$as_ac_var'}'` = yes; then
73888 cat >>confdefs.h <<_ACEOF
73889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73890 _ACEOF
73892 else
73893 ac_wfuncs=no
73895 done
73898 # Checks for wide character functions that are not required
73899 # for basic wchar_t support. Don't disable support if they are missing.
73900 # Injection of these is wrapped with guard macros.
73906 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73909 echo "$as_me:$LINENO: checking for $ac_func" >&5
73910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73911 if eval "test \"\${$as_ac_var+set}\" = set"; then
73912 echo $ECHO_N "(cached) $ECHO_C" >&6
73913 else
73914 if test x$gcc_no_link = xyes; then
73915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73917 { (exit 1); exit 1; }; }
73919 cat >conftest.$ac_ext <<_ACEOF
73920 /* confdefs.h. */
73921 _ACEOF
73922 cat confdefs.h >>conftest.$ac_ext
73923 cat >>conftest.$ac_ext <<_ACEOF
73924 /* end confdefs.h. */
73925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73927 #define $ac_func innocuous_$ac_func
73929 /* System header to define __stub macros and hopefully few prototypes,
73930 which can conflict with char $ac_func (); below.
73931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73932 <limits.h> exists even on freestanding compilers. */
73934 #ifdef __STDC__
73935 # include <limits.h>
73936 #else
73937 # include <assert.h>
73938 #endif
73940 #undef $ac_func
73942 /* Override any gcc2 internal prototype to avoid an error. */
73943 #ifdef __cplusplus
73944 extern "C"
73946 #endif
73947 /* We use char because int might match the return type of a gcc2
73948 builtin and then its argument prototype would still apply. */
73949 char $ac_func ();
73950 /* The GNU C library defines this for functions which it implements
73951 to always fail with ENOSYS. Some functions are actually named
73952 something starting with __ and the normal name is an alias. */
73953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73954 choke me
73955 #else
73956 char (*f) () = $ac_func;
73957 #endif
73958 #ifdef __cplusplus
73960 #endif
73963 main ()
73965 return f != $ac_func;
73967 return 0;
73969 _ACEOF
73970 rm -f conftest.$ac_objext conftest$ac_exeext
73971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73972 (eval $ac_link) 2>conftest.er1
73973 ac_status=$?
73974 grep -v '^ *+' conftest.er1 >conftest.err
73975 rm -f conftest.er1
73976 cat conftest.err >&5
73977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73978 (exit $ac_status); } &&
73979 { ac_try='test -z "$ac_c_werror_flag"
73980 || test ! -s conftest.err'
73981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73982 (eval $ac_try) 2>&5
73983 ac_status=$?
73984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73985 (exit $ac_status); }; } &&
73986 { ac_try='test -s conftest$ac_exeext'
73987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73988 (eval $ac_try) 2>&5
73989 ac_status=$?
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); }; }; then
73992 eval "$as_ac_var=yes"
73993 else
73994 echo "$as_me: failed program was:" >&5
73995 sed 's/^/| /' conftest.$ac_ext >&5
73997 eval "$as_ac_var=no"
73999 rm -f conftest.err conftest.$ac_objext \
74000 conftest$ac_exeext conftest.$ac_ext
74002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74004 if test `eval echo '${'$as_ac_var'}'` = yes; then
74005 cat >>confdefs.h <<_ACEOF
74006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74007 _ACEOF
74010 done
74013 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
74014 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
74015 if test x"$has_weof" = xyes &&
74016 test x"$has_wchar_minmax" = xyes &&
74017 test x"$ac_wfuncs" = xyes;
74018 then
74019 ac_isoC99_wchar_t=yes
74020 else
74021 ac_isoC99_wchar_t=no
74023 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74024 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74026 # Use iconv for wchar_t to char conversions. As such, check for
74027 # X/Open Portability Guide, version 2 features (XPG2).
74028 if test "${ac_cv_header_iconv_h+set}" = set; then
74029 echo "$as_me:$LINENO: checking for iconv.h" >&5
74030 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74031 if test "${ac_cv_header_iconv_h+set}" = set; then
74032 echo $ECHO_N "(cached) $ECHO_C" >&6
74034 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74035 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74036 else
74037 # Is the header compilable?
74038 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74039 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74040 cat >conftest.$ac_ext <<_ACEOF
74041 /* confdefs.h. */
74042 _ACEOF
74043 cat confdefs.h >>conftest.$ac_ext
74044 cat >>conftest.$ac_ext <<_ACEOF
74045 /* end confdefs.h. */
74046 $ac_includes_default
74047 #include <iconv.h>
74048 _ACEOF
74049 rm -f conftest.$ac_objext
74050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74051 (eval $ac_compile) 2>conftest.er1
74052 ac_status=$?
74053 grep -v '^ *+' conftest.er1 >conftest.err
74054 rm -f conftest.er1
74055 cat conftest.err >&5
74056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74057 (exit $ac_status); } &&
74058 { ac_try='test -z "$ac_c_werror_flag"
74059 || test ! -s conftest.err'
74060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74061 (eval $ac_try) 2>&5
74062 ac_status=$?
74063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74064 (exit $ac_status); }; } &&
74065 { ac_try='test -s conftest.$ac_objext'
74066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74067 (eval $ac_try) 2>&5
74068 ac_status=$?
74069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74070 (exit $ac_status); }; }; then
74071 ac_header_compiler=yes
74072 else
74073 echo "$as_me: failed program was:" >&5
74074 sed 's/^/| /' conftest.$ac_ext >&5
74076 ac_header_compiler=no
74078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74080 echo "${ECHO_T}$ac_header_compiler" >&6
74082 # Is the header present?
74083 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74084 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74085 cat >conftest.$ac_ext <<_ACEOF
74086 /* confdefs.h. */
74087 _ACEOF
74088 cat confdefs.h >>conftest.$ac_ext
74089 cat >>conftest.$ac_ext <<_ACEOF
74090 /* end confdefs.h. */
74091 #include <iconv.h>
74092 _ACEOF
74093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74095 ac_status=$?
74096 grep -v '^ *+' conftest.er1 >conftest.err
74097 rm -f conftest.er1
74098 cat conftest.err >&5
74099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74100 (exit $ac_status); } >/dev/null; then
74101 if test -s conftest.err; then
74102 ac_cpp_err=$ac_c_preproc_warn_flag
74103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74104 else
74105 ac_cpp_err=
74107 else
74108 ac_cpp_err=yes
74110 if test -z "$ac_cpp_err"; then
74111 ac_header_preproc=yes
74112 else
74113 echo "$as_me: failed program was:" >&5
74114 sed 's/^/| /' conftest.$ac_ext >&5
74116 ac_header_preproc=no
74118 rm -f conftest.err conftest.$ac_ext
74119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74120 echo "${ECHO_T}$ac_header_preproc" >&6
74122 # So? What about this header?
74123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74124 yes:no: )
74125 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74126 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74127 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74128 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74129 ac_header_preproc=yes
74131 no:yes:* )
74132 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74133 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74134 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74135 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74136 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74137 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74138 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74139 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74140 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74141 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74142 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74143 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74145 cat <<\_ASBOX
74146 ## ----------------------------------------- ##
74147 ## Report this to the package-unused lists. ##
74148 ## ----------------------------------------- ##
74149 _ASBOX
74151 sed "s/^/$as_me: WARNING: /" >&2
74153 esac
74154 echo "$as_me:$LINENO: checking for iconv.h" >&5
74155 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74156 if test "${ac_cv_header_iconv_h+set}" = set; then
74157 echo $ECHO_N "(cached) $ECHO_C" >&6
74158 else
74159 ac_cv_header_iconv_h=$ac_header_preproc
74161 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74162 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74165 if test $ac_cv_header_iconv_h = yes; then
74166 ac_has_iconv_h=yes
74167 else
74168 ac_has_iconv_h=no
74172 if test "${ac_cv_header_langinfo_h+set}" = set; then
74173 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74174 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74175 if test "${ac_cv_header_langinfo_h+set}" = set; then
74176 echo $ECHO_N "(cached) $ECHO_C" >&6
74178 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74179 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74180 else
74181 # Is the header compilable?
74182 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74183 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74184 cat >conftest.$ac_ext <<_ACEOF
74185 /* confdefs.h. */
74186 _ACEOF
74187 cat confdefs.h >>conftest.$ac_ext
74188 cat >>conftest.$ac_ext <<_ACEOF
74189 /* end confdefs.h. */
74190 $ac_includes_default
74191 #include <langinfo.h>
74192 _ACEOF
74193 rm -f conftest.$ac_objext
74194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74195 (eval $ac_compile) 2>conftest.er1
74196 ac_status=$?
74197 grep -v '^ *+' conftest.er1 >conftest.err
74198 rm -f conftest.er1
74199 cat conftest.err >&5
74200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74201 (exit $ac_status); } &&
74202 { ac_try='test -z "$ac_c_werror_flag"
74203 || test ! -s conftest.err'
74204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74205 (eval $ac_try) 2>&5
74206 ac_status=$?
74207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74208 (exit $ac_status); }; } &&
74209 { ac_try='test -s conftest.$ac_objext'
74210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74211 (eval $ac_try) 2>&5
74212 ac_status=$?
74213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74214 (exit $ac_status); }; }; then
74215 ac_header_compiler=yes
74216 else
74217 echo "$as_me: failed program was:" >&5
74218 sed 's/^/| /' conftest.$ac_ext >&5
74220 ac_header_compiler=no
74222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74224 echo "${ECHO_T}$ac_header_compiler" >&6
74226 # Is the header present?
74227 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74228 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74229 cat >conftest.$ac_ext <<_ACEOF
74230 /* confdefs.h. */
74231 _ACEOF
74232 cat confdefs.h >>conftest.$ac_ext
74233 cat >>conftest.$ac_ext <<_ACEOF
74234 /* end confdefs.h. */
74235 #include <langinfo.h>
74236 _ACEOF
74237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74239 ac_status=$?
74240 grep -v '^ *+' conftest.er1 >conftest.err
74241 rm -f conftest.er1
74242 cat conftest.err >&5
74243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74244 (exit $ac_status); } >/dev/null; then
74245 if test -s conftest.err; then
74246 ac_cpp_err=$ac_c_preproc_warn_flag
74247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74248 else
74249 ac_cpp_err=
74251 else
74252 ac_cpp_err=yes
74254 if test -z "$ac_cpp_err"; then
74255 ac_header_preproc=yes
74256 else
74257 echo "$as_me: failed program was:" >&5
74258 sed 's/^/| /' conftest.$ac_ext >&5
74260 ac_header_preproc=no
74262 rm -f conftest.err conftest.$ac_ext
74263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74264 echo "${ECHO_T}$ac_header_preproc" >&6
74266 # So? What about this header?
74267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74268 yes:no: )
74269 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74270 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74271 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74272 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74273 ac_header_preproc=yes
74275 no:yes:* )
74276 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74277 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74278 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74279 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74280 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74281 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74282 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74283 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74284 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74285 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74286 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74287 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74289 cat <<\_ASBOX
74290 ## ----------------------------------------- ##
74291 ## Report this to the package-unused lists. ##
74292 ## ----------------------------------------- ##
74293 _ASBOX
74295 sed "s/^/$as_me: WARNING: /" >&2
74297 esac
74298 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74299 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74300 if test "${ac_cv_header_langinfo_h+set}" = set; then
74301 echo $ECHO_N "(cached) $ECHO_C" >&6
74302 else
74303 ac_cv_header_langinfo_h=$ac_header_preproc
74305 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74306 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74309 if test $ac_cv_header_langinfo_h = yes; then
74310 ac_has_langinfo_h=yes
74311 else
74312 ac_has_langinfo_h=no
74317 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74318 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74319 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74320 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74321 echo $ECHO_N "(cached) $ECHO_C" >&6
74322 else
74323 ac_check_lib_save_LIBS=$LIBS
74324 LIBS="-liconv $LIBS"
74325 if test x$gcc_no_link = xyes; then
74326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74328 { (exit 1); exit 1; }; }
74330 cat >conftest.$ac_ext <<_ACEOF
74331 /* confdefs.h. */
74332 _ACEOF
74333 cat confdefs.h >>conftest.$ac_ext
74334 cat >>conftest.$ac_ext <<_ACEOF
74335 /* end confdefs.h. */
74337 /* Override any gcc2 internal prototype to avoid an error. */
74338 #ifdef __cplusplus
74339 extern "C"
74340 #endif
74341 /* We use char because int might match the return type of a gcc2
74342 builtin and then its argument prototype would still apply. */
74343 char iconv ();
74345 main ()
74347 iconv ();
74349 return 0;
74351 _ACEOF
74352 rm -f conftest.$ac_objext conftest$ac_exeext
74353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74354 (eval $ac_link) 2>conftest.er1
74355 ac_status=$?
74356 grep -v '^ *+' conftest.er1 >conftest.err
74357 rm -f conftest.er1
74358 cat conftest.err >&5
74359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74360 (exit $ac_status); } &&
74361 { ac_try='test -z "$ac_c_werror_flag"
74362 || test ! -s conftest.err'
74363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74364 (eval $ac_try) 2>&5
74365 ac_status=$?
74366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367 (exit $ac_status); }; } &&
74368 { ac_try='test -s conftest$ac_exeext'
74369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370 (eval $ac_try) 2>&5
74371 ac_status=$?
74372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373 (exit $ac_status); }; }; then
74374 ac_cv_lib_iconv_iconv=yes
74375 else
74376 echo "$as_me: failed program was:" >&5
74377 sed 's/^/| /' conftest.$ac_ext >&5
74379 ac_cv_lib_iconv_iconv=no
74381 rm -f conftest.err conftest.$ac_objext \
74382 conftest$ac_exeext conftest.$ac_ext
74383 LIBS=$ac_check_lib_save_LIBS
74385 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74386 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74387 if test $ac_cv_lib_iconv_iconv = yes; then
74388 LIBICONV="-liconv"
74391 ac_save_LIBS="$LIBS"
74392 LIBS="$LIBS $LIBICONV"
74399 for ac_func in iconv_open iconv_close iconv nl_langinfo
74401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74402 echo "$as_me:$LINENO: checking for $ac_func" >&5
74403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74404 if eval "test \"\${$as_ac_var+set}\" = set"; then
74405 echo $ECHO_N "(cached) $ECHO_C" >&6
74406 else
74407 if test x$gcc_no_link = xyes; then
74408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74410 { (exit 1); exit 1; }; }
74412 cat >conftest.$ac_ext <<_ACEOF
74413 /* confdefs.h. */
74414 _ACEOF
74415 cat confdefs.h >>conftest.$ac_ext
74416 cat >>conftest.$ac_ext <<_ACEOF
74417 /* end confdefs.h. */
74418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74420 #define $ac_func innocuous_$ac_func
74422 /* System header to define __stub macros and hopefully few prototypes,
74423 which can conflict with char $ac_func (); below.
74424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74425 <limits.h> exists even on freestanding compilers. */
74427 #ifdef __STDC__
74428 # include <limits.h>
74429 #else
74430 # include <assert.h>
74431 #endif
74433 #undef $ac_func
74435 /* Override any gcc2 internal prototype to avoid an error. */
74436 #ifdef __cplusplus
74437 extern "C"
74439 #endif
74440 /* We use char because int might match the return type of a gcc2
74441 builtin and then its argument prototype would still apply. */
74442 char $ac_func ();
74443 /* The GNU C library defines this for functions which it implements
74444 to always fail with ENOSYS. Some functions are actually named
74445 something starting with __ and the normal name is an alias. */
74446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74447 choke me
74448 #else
74449 char (*f) () = $ac_func;
74450 #endif
74451 #ifdef __cplusplus
74453 #endif
74456 main ()
74458 return f != $ac_func;
74460 return 0;
74462 _ACEOF
74463 rm -f conftest.$ac_objext conftest$ac_exeext
74464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74465 (eval $ac_link) 2>conftest.er1
74466 ac_status=$?
74467 grep -v '^ *+' conftest.er1 >conftest.err
74468 rm -f conftest.er1
74469 cat conftest.err >&5
74470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74471 (exit $ac_status); } &&
74472 { ac_try='test -z "$ac_c_werror_flag"
74473 || test ! -s conftest.err'
74474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74475 (eval $ac_try) 2>&5
74476 ac_status=$?
74477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74478 (exit $ac_status); }; } &&
74479 { ac_try='test -s conftest$ac_exeext'
74480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74481 (eval $ac_try) 2>&5
74482 ac_status=$?
74483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74484 (exit $ac_status); }; }; then
74485 eval "$as_ac_var=yes"
74486 else
74487 echo "$as_me: failed program was:" >&5
74488 sed 's/^/| /' conftest.$ac_ext >&5
74490 eval "$as_ac_var=no"
74492 rm -f conftest.err conftest.$ac_objext \
74493 conftest$ac_exeext conftest.$ac_ext
74495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74497 if test `eval echo '${'$as_ac_var'}'` = yes; then
74498 cat >>confdefs.h <<_ACEOF
74499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74500 _ACEOF
74501 ac_XPG2funcs=yes
74502 else
74503 ac_XPG2funcs=no
74505 done
74508 LIBS="$ac_save_LIBS"
74510 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74511 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74512 if test x"$ac_has_iconv_h" = xyes &&
74513 test x"$ac_has_langinfo_h" = xyes &&
74514 test x"$ac_XPG2funcs" = xyes;
74515 then
74516 ac_XPG2_wchar_t=yes
74517 else
74518 ac_XPG2_wchar_t=no
74520 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74521 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74523 # At the moment, only enable wchar_t specializations if all the
74524 # above support is present.
74525 if test x"$ac_isoC99_wchar_t" = xyes &&
74526 test x"$ac_XPG2_wchar_t" = xyes;
74527 then
74528 cat >>confdefs.h <<\_ACEOF
74529 #define _GLIBCXX_USE_WCHAR_T 1
74530 _ACEOF
74532 enable_wchar_t=yes
74535 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74536 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74537 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74538 echo "${ECHO_T}$enable_wchar_t" >&6
74541 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74542 ac_save_CXXFLAGS="$CXXFLAGS"
74543 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74546 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74547 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74548 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74549 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74550 echo $ECHO_N "(cached) $ECHO_C" >&6
74551 else
74555 ac_ext=cc
74556 ac_cpp='$CXXCPP $CPPFLAGS'
74557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74561 cat >conftest.$ac_ext <<_ACEOF
74562 /* confdefs.h. */
74563 _ACEOF
74564 cat confdefs.h >>conftest.$ac_ext
74565 cat >>conftest.$ac_ext <<_ACEOF
74566 /* end confdefs.h. */
74567 #include <stdlib.h>
74569 main ()
74571 strtold(0, 0);
74573 return 0;
74575 _ACEOF
74576 rm -f conftest.$ac_objext
74577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74578 (eval $ac_compile) 2>conftest.er1
74579 ac_status=$?
74580 grep -v '^ *+' conftest.er1 >conftest.err
74581 rm -f conftest.er1
74582 cat conftest.err >&5
74583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74584 (exit $ac_status); } &&
74585 { ac_try='test -z "$ac_cxx_werror_flag"
74586 || test ! -s conftest.err'
74587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588 (eval $ac_try) 2>&5
74589 ac_status=$?
74590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591 (exit $ac_status); }; } &&
74592 { ac_try='test -s conftest.$ac_objext'
74593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74594 (eval $ac_try) 2>&5
74595 ac_status=$?
74596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74597 (exit $ac_status); }; }; then
74598 glibcxx_cv_func_strtold_use=yes
74599 else
74600 echo "$as_me: failed program was:" >&5
74601 sed 's/^/| /' conftest.$ac_ext >&5
74603 glibcxx_cv_func_strtold_use=no
74605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74606 ac_ext=c
74607 ac_cpp='$CPP $CPPFLAGS'
74608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74617 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74618 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74620 for ac_func in strtold
74622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74623 echo "$as_me:$LINENO: checking for $ac_func" >&5
74624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74625 if eval "test \"\${$as_ac_var+set}\" = set"; then
74626 echo $ECHO_N "(cached) $ECHO_C" >&6
74627 else
74628 if test x$gcc_no_link = xyes; then
74629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74631 { (exit 1); exit 1; }; }
74633 cat >conftest.$ac_ext <<_ACEOF
74634 /* confdefs.h. */
74635 _ACEOF
74636 cat confdefs.h >>conftest.$ac_ext
74637 cat >>conftest.$ac_ext <<_ACEOF
74638 /* end confdefs.h. */
74639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74641 #define $ac_func innocuous_$ac_func
74643 /* System header to define __stub macros and hopefully few prototypes,
74644 which can conflict with char $ac_func (); below.
74645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74646 <limits.h> exists even on freestanding compilers. */
74648 #ifdef __STDC__
74649 # include <limits.h>
74650 #else
74651 # include <assert.h>
74652 #endif
74654 #undef $ac_func
74656 /* Override any gcc2 internal prototype to avoid an error. */
74657 #ifdef __cplusplus
74658 extern "C"
74660 #endif
74661 /* We use char because int might match the return type of a gcc2
74662 builtin and then its argument prototype would still apply. */
74663 char $ac_func ();
74664 /* The GNU C library defines this for functions which it implements
74665 to always fail with ENOSYS. Some functions are actually named
74666 something starting with __ and the normal name is an alias. */
74667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74668 choke me
74669 #else
74670 char (*f) () = $ac_func;
74671 #endif
74672 #ifdef __cplusplus
74674 #endif
74677 main ()
74679 return f != $ac_func;
74681 return 0;
74683 _ACEOF
74684 rm -f conftest.$ac_objext conftest$ac_exeext
74685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74686 (eval $ac_link) 2>conftest.er1
74687 ac_status=$?
74688 grep -v '^ *+' conftest.er1 >conftest.err
74689 rm -f conftest.er1
74690 cat conftest.err >&5
74691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74692 (exit $ac_status); } &&
74693 { ac_try='test -z "$ac_c_werror_flag"
74694 || test ! -s conftest.err'
74695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74696 (eval $ac_try) 2>&5
74697 ac_status=$?
74698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74699 (exit $ac_status); }; } &&
74700 { ac_try='test -s conftest$ac_exeext'
74701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74702 (eval $ac_try) 2>&5
74703 ac_status=$?
74704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74705 (exit $ac_status); }; }; then
74706 eval "$as_ac_var=yes"
74707 else
74708 echo "$as_me: failed program was:" >&5
74709 sed 's/^/| /' conftest.$ac_ext >&5
74711 eval "$as_ac_var=no"
74713 rm -f conftest.err conftest.$ac_objext \
74714 conftest$ac_exeext conftest.$ac_ext
74716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74718 if test `eval echo '${'$as_ac_var'}'` = yes; then
74719 cat >>confdefs.h <<_ACEOF
74720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74721 _ACEOF
74724 done
74729 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74730 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74731 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74732 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74733 echo $ECHO_N "(cached) $ECHO_C" >&6
74734 else
74738 ac_ext=cc
74739 ac_cpp='$CXXCPP $CPPFLAGS'
74740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74744 cat >conftest.$ac_ext <<_ACEOF
74745 /* confdefs.h. */
74746 _ACEOF
74747 cat confdefs.h >>conftest.$ac_ext
74748 cat >>conftest.$ac_ext <<_ACEOF
74749 /* end confdefs.h. */
74750 #include <stdlib.h>
74752 main ()
74754 strtof(0, 0);
74756 return 0;
74758 _ACEOF
74759 rm -f conftest.$ac_objext
74760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74761 (eval $ac_compile) 2>conftest.er1
74762 ac_status=$?
74763 grep -v '^ *+' conftest.er1 >conftest.err
74764 rm -f conftest.er1
74765 cat conftest.err >&5
74766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74767 (exit $ac_status); } &&
74768 { ac_try='test -z "$ac_cxx_werror_flag"
74769 || test ! -s conftest.err'
74770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74771 (eval $ac_try) 2>&5
74772 ac_status=$?
74773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74774 (exit $ac_status); }; } &&
74775 { ac_try='test -s conftest.$ac_objext'
74776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74777 (eval $ac_try) 2>&5
74778 ac_status=$?
74779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74780 (exit $ac_status); }; }; then
74781 glibcxx_cv_func_strtof_use=yes
74782 else
74783 echo "$as_me: failed program was:" >&5
74784 sed 's/^/| /' conftest.$ac_ext >&5
74786 glibcxx_cv_func_strtof_use=no
74788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74789 ac_ext=c
74790 ac_cpp='$CPP $CPPFLAGS'
74791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74800 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74801 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74803 for ac_func in strtof
74805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74806 echo "$as_me:$LINENO: checking for $ac_func" >&5
74807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74808 if eval "test \"\${$as_ac_var+set}\" = set"; then
74809 echo $ECHO_N "(cached) $ECHO_C" >&6
74810 else
74811 if test x$gcc_no_link = xyes; then
74812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74814 { (exit 1); exit 1; }; }
74816 cat >conftest.$ac_ext <<_ACEOF
74817 /* confdefs.h. */
74818 _ACEOF
74819 cat confdefs.h >>conftest.$ac_ext
74820 cat >>conftest.$ac_ext <<_ACEOF
74821 /* end confdefs.h. */
74822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74824 #define $ac_func innocuous_$ac_func
74826 /* System header to define __stub macros and hopefully few prototypes,
74827 which can conflict with char $ac_func (); below.
74828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74829 <limits.h> exists even on freestanding compilers. */
74831 #ifdef __STDC__
74832 # include <limits.h>
74833 #else
74834 # include <assert.h>
74835 #endif
74837 #undef $ac_func
74839 /* Override any gcc2 internal prototype to avoid an error. */
74840 #ifdef __cplusplus
74841 extern "C"
74843 #endif
74844 /* We use char because int might match the return type of a gcc2
74845 builtin and then its argument prototype would still apply. */
74846 char $ac_func ();
74847 /* The GNU C library defines this for functions which it implements
74848 to always fail with ENOSYS. Some functions are actually named
74849 something starting with __ and the normal name is an alias. */
74850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74851 choke me
74852 #else
74853 char (*f) () = $ac_func;
74854 #endif
74855 #ifdef __cplusplus
74857 #endif
74860 main ()
74862 return f != $ac_func;
74864 return 0;
74866 _ACEOF
74867 rm -f conftest.$ac_objext conftest$ac_exeext
74868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74869 (eval $ac_link) 2>conftest.er1
74870 ac_status=$?
74871 grep -v '^ *+' conftest.er1 >conftest.err
74872 rm -f conftest.er1
74873 cat conftest.err >&5
74874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74875 (exit $ac_status); } &&
74876 { ac_try='test -z "$ac_c_werror_flag"
74877 || test ! -s conftest.err'
74878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74879 (eval $ac_try) 2>&5
74880 ac_status=$?
74881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882 (exit $ac_status); }; } &&
74883 { ac_try='test -s conftest$ac_exeext'
74884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74885 (eval $ac_try) 2>&5
74886 ac_status=$?
74887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74888 (exit $ac_status); }; }; then
74889 eval "$as_ac_var=yes"
74890 else
74891 echo "$as_me: failed program was:" >&5
74892 sed 's/^/| /' conftest.$ac_ext >&5
74894 eval "$as_ac_var=no"
74896 rm -f conftest.err conftest.$ac_objext \
74897 conftest$ac_exeext conftest.$ac_ext
74899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74901 if test `eval echo '${'$as_ac_var'}'` = yes; then
74902 cat >>confdefs.h <<_ACEOF
74903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74904 _ACEOF
74907 done
74912 CXXFLAGS="$ac_save_CXXFLAGS"
74915 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74916 echo $ECHO_N "(cached) $ECHO_C" >&6
74917 else
74919 if test x$gcc_no_link = xyes; then
74920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74922 { (exit 1); exit 1; }; }
74924 cat >conftest.$ac_ext <<_ACEOF
74925 /* confdefs.h. */
74926 _ACEOF
74927 cat confdefs.h >>conftest.$ac_ext
74928 cat >>conftest.$ac_ext <<_ACEOF
74929 /* end confdefs.h. */
74930 #include <sys/stat.h>
74932 main ()
74934 struct stat buffer;
74935 fstat(0, &buffer);
74936 S_ISREG(buffer.st_mode);
74938 return 0;
74940 _ACEOF
74941 rm -f conftest.$ac_objext conftest$ac_exeext
74942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74943 (eval $ac_link) 2>conftest.er1
74944 ac_status=$?
74945 grep -v '^ *+' conftest.er1 >conftest.err
74946 rm -f conftest.er1
74947 cat conftest.err >&5
74948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949 (exit $ac_status); } &&
74950 { ac_try='test -z "$ac_c_werror_flag"
74951 || test ! -s conftest.err'
74952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74953 (eval $ac_try) 2>&5
74954 ac_status=$?
74955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74956 (exit $ac_status); }; } &&
74957 { ac_try='test -s conftest$ac_exeext'
74958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74959 (eval $ac_try) 2>&5
74960 ac_status=$?
74961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74962 (exit $ac_status); }; }; then
74963 glibcxx_cv_S_ISREG=yes
74964 else
74965 echo "$as_me: failed program was:" >&5
74966 sed 's/^/| /' conftest.$ac_ext >&5
74968 glibcxx_cv_S_ISREG=no
74970 rm -f conftest.err conftest.$ac_objext \
74971 conftest$ac_exeext conftest.$ac_ext
74975 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74976 echo $ECHO_N "(cached) $ECHO_C" >&6
74977 else
74979 if test x$gcc_no_link = xyes; then
74980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74982 { (exit 1); exit 1; }; }
74984 cat >conftest.$ac_ext <<_ACEOF
74985 /* confdefs.h. */
74986 _ACEOF
74987 cat confdefs.h >>conftest.$ac_ext
74988 cat >>conftest.$ac_ext <<_ACEOF
74989 /* end confdefs.h. */
74990 #include <sys/stat.h>
74992 main ()
74994 struct stat buffer;
74995 fstat(0, &buffer);
74996 S_IFREG & buffer.st_mode;
74998 return 0;
75000 _ACEOF
75001 rm -f conftest.$ac_objext conftest$ac_exeext
75002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75003 (eval $ac_link) 2>conftest.er1
75004 ac_status=$?
75005 grep -v '^ *+' conftest.er1 >conftest.err
75006 rm -f conftest.er1
75007 cat conftest.err >&5
75008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009 (exit $ac_status); } &&
75010 { ac_try='test -z "$ac_c_werror_flag"
75011 || test ! -s conftest.err'
75012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013 (eval $ac_try) 2>&5
75014 ac_status=$?
75015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016 (exit $ac_status); }; } &&
75017 { ac_try='test -s conftest$ac_exeext'
75018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75019 (eval $ac_try) 2>&5
75020 ac_status=$?
75021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75022 (exit $ac_status); }; }; then
75023 glibcxx_cv_S_IFREG=yes
75024 else
75025 echo "$as_me: failed program was:" >&5
75026 sed 's/^/| /' conftest.$ac_ext >&5
75028 glibcxx_cv_S_IFREG=no
75030 rm -f conftest.err conftest.$ac_objext \
75031 conftest$ac_exeext conftest.$ac_ext
75035 if test $glibcxx_cv_S_ISREG = yes; then
75036 cat >>confdefs.h <<\_ACEOF
75037 #define HAVE_S_ISREG 1
75038 _ACEOF
75040 elif test $glibcxx_cv_S_IFREG = yes; then
75041 cat >>confdefs.h <<\_ACEOF
75042 #define HAVE_S_IFREG 1
75043 _ACEOF
75047 cat >>confdefs.h <<\_ACEOF
75048 #define HAVE_WRITEV 1
75049 _ACEOF
75053 *-freebsd*)
75070 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75071 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75072 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75073 sys/time.h unistd.h
75075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75077 echo "$as_me:$LINENO: checking for $ac_header" >&5
75078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75080 echo $ECHO_N "(cached) $ECHO_C" >&6
75082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75084 else
75085 # Is the header compilable?
75086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75088 cat >conftest.$ac_ext <<_ACEOF
75089 /* confdefs.h. */
75090 _ACEOF
75091 cat confdefs.h >>conftest.$ac_ext
75092 cat >>conftest.$ac_ext <<_ACEOF
75093 /* end confdefs.h. */
75094 $ac_includes_default
75095 #include <$ac_header>
75096 _ACEOF
75097 rm -f conftest.$ac_objext
75098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75099 (eval $ac_compile) 2>conftest.er1
75100 ac_status=$?
75101 grep -v '^ *+' conftest.er1 >conftest.err
75102 rm -f conftest.er1
75103 cat conftest.err >&5
75104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75105 (exit $ac_status); } &&
75106 { ac_try='test -z "$ac_c_werror_flag"
75107 || test ! -s conftest.err'
75108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75109 (eval $ac_try) 2>&5
75110 ac_status=$?
75111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75112 (exit $ac_status); }; } &&
75113 { ac_try='test -s conftest.$ac_objext'
75114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75115 (eval $ac_try) 2>&5
75116 ac_status=$?
75117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75118 (exit $ac_status); }; }; then
75119 ac_header_compiler=yes
75120 else
75121 echo "$as_me: failed program was:" >&5
75122 sed 's/^/| /' conftest.$ac_ext >&5
75124 ac_header_compiler=no
75126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75128 echo "${ECHO_T}$ac_header_compiler" >&6
75130 # Is the header present?
75131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75133 cat >conftest.$ac_ext <<_ACEOF
75134 /* confdefs.h. */
75135 _ACEOF
75136 cat confdefs.h >>conftest.$ac_ext
75137 cat >>conftest.$ac_ext <<_ACEOF
75138 /* end confdefs.h. */
75139 #include <$ac_header>
75140 _ACEOF
75141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75143 ac_status=$?
75144 grep -v '^ *+' conftest.er1 >conftest.err
75145 rm -f conftest.er1
75146 cat conftest.err >&5
75147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75148 (exit $ac_status); } >/dev/null; then
75149 if test -s conftest.err; then
75150 ac_cpp_err=$ac_c_preproc_warn_flag
75151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75152 else
75153 ac_cpp_err=
75155 else
75156 ac_cpp_err=yes
75158 if test -z "$ac_cpp_err"; then
75159 ac_header_preproc=yes
75160 else
75161 echo "$as_me: failed program was:" >&5
75162 sed 's/^/| /' conftest.$ac_ext >&5
75164 ac_header_preproc=no
75166 rm -f conftest.err conftest.$ac_ext
75167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75168 echo "${ECHO_T}$ac_header_preproc" >&6
75170 # So? What about this header?
75171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75172 yes:no: )
75173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75177 ac_header_preproc=yes
75179 no:yes:* )
75180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75193 cat <<\_ASBOX
75194 ## ----------------------------------------- ##
75195 ## Report this to the package-unused lists. ##
75196 ## ----------------------------------------- ##
75197 _ASBOX
75199 sed "s/^/$as_me: WARNING: /" >&2
75201 esac
75202 echo "$as_me:$LINENO: checking for $ac_header" >&5
75203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75205 echo $ECHO_N "(cached) $ECHO_C" >&6
75206 else
75207 eval "$as_ac_Header=\$ac_header_preproc"
75209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75214 cat >>confdefs.h <<_ACEOF
75215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75216 _ACEOF
75220 done
75222 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75225 # If we're not using GNU ld, then there's no point in even trying these
75226 # tests. Check for that first. We should have already tested for gld
75227 # by now (in libtool), but require it now just to be safe...
75228 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75229 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75233 # The name set by libtool depends on the version of libtool. Shame on us
75234 # for depending on an impl detail, but c'est la vie. Older versions used
75235 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75236 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75237 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75238 # set (hence we're using an older libtool), then set it.
75239 if test x${with_gnu_ld+set} != xset; then
75240 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75241 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75242 with_gnu_ld=no
75243 else
75244 with_gnu_ld=$ac_cv_prog_gnu_ld
75248 # Start by getting the version number. I think the libtool test already
75249 # does some of this, but throws away the result.
75251 ldver=`$LD --version 2>/dev/null | head -1 | \
75252 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75254 glibcxx_gnu_ld_version=`echo $ldver | \
75255 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75257 # Set --gc-sections.
75258 if test "$with_gnu_ld" = "notbroken"; then
75259 # GNU ld it is! Joy and bunny rabbits!
75261 # All these tests are for C++; save the language and the compiler flags.
75262 # Need to do this so that g++ won't try to link in libstdc++
75263 ac_test_CFLAGS="${CFLAGS+set}"
75264 ac_save_CFLAGS="$CFLAGS"
75265 CFLAGS='-x c++ -Wl,--gc-sections'
75267 # Check for -Wl,--gc-sections
75268 # XXX This test is broken at the moment, as symbols required for linking
75269 # are now in libsupc++ (not built yet). In addition, this test has
75270 # cored on solaris in the past. In addition, --gc-sections doesn't
75271 # really work at the moment (keeps on discarding used sections, first
75272 # .eh_frame and now some of the glibc sections for iconv).
75273 # Bzzzzt. Thanks for playing, maybe next time.
75274 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75275 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75276 if test "$cross_compiling" = yes; then
75277 ac_sectionLDflags=yes
75278 else
75279 cat >conftest.$ac_ext <<_ACEOF
75280 /* confdefs.h. */
75281 _ACEOF
75282 cat confdefs.h >>conftest.$ac_ext
75283 cat >>conftest.$ac_ext <<_ACEOF
75284 /* end confdefs.h. */
75286 int main(void)
75288 try { throw 1; }
75289 catch (...) { };
75290 return 0;
75293 _ACEOF
75294 rm -f conftest$ac_exeext
75295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75296 (eval $ac_link) 2>&5
75297 ac_status=$?
75298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75301 (eval $ac_try) 2>&5
75302 ac_status=$?
75303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75304 (exit $ac_status); }; }; then
75305 ac_sectionLDflags=yes
75306 else
75307 echo "$as_me: program exited with status $ac_status" >&5
75308 echo "$as_me: failed program was:" >&5
75309 sed 's/^/| /' conftest.$ac_ext >&5
75311 ( exit $ac_status )
75312 ac_sectionLDflags=no
75314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75316 if test "$ac_test_CFLAGS" = set; then
75317 CFLAGS="$ac_save_CFLAGS"
75318 else
75319 # this is the suspicious part
75320 CFLAGS=''
75322 if test "$ac_sectionLDflags" = "yes"; then
75323 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75325 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75326 echo "${ECHO_T}$ac_sectionLDflags" >&6
75329 # Set linker optimization flags.
75330 if test x"$with_gnu_ld" = x"yes"; then
75331 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75339 echo "$as_me:$LINENO: checking for main in -lm" >&5
75340 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75341 if test "${ac_cv_lib_m_main+set}" = set; then
75342 echo $ECHO_N "(cached) $ECHO_C" >&6
75343 else
75344 ac_check_lib_save_LIBS=$LIBS
75345 LIBS="-lm $LIBS"
75346 if test x$gcc_no_link = xyes; then
75347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75349 { (exit 1); exit 1; }; }
75351 cat >conftest.$ac_ext <<_ACEOF
75352 /* confdefs.h. */
75353 _ACEOF
75354 cat confdefs.h >>conftest.$ac_ext
75355 cat >>conftest.$ac_ext <<_ACEOF
75356 /* end confdefs.h. */
75360 main ()
75362 main ();
75364 return 0;
75366 _ACEOF
75367 rm -f conftest.$ac_objext conftest$ac_exeext
75368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75369 (eval $ac_link) 2>conftest.er1
75370 ac_status=$?
75371 grep -v '^ *+' conftest.er1 >conftest.err
75372 rm -f conftest.er1
75373 cat conftest.err >&5
75374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375 (exit $ac_status); } &&
75376 { ac_try='test -z "$ac_c_werror_flag"
75377 || test ! -s conftest.err'
75378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75379 (eval $ac_try) 2>&5
75380 ac_status=$?
75381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382 (exit $ac_status); }; } &&
75383 { ac_try='test -s conftest$ac_exeext'
75384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385 (eval $ac_try) 2>&5
75386 ac_status=$?
75387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388 (exit $ac_status); }; }; then
75389 ac_cv_lib_m_main=yes
75390 else
75391 echo "$as_me: failed program was:" >&5
75392 sed 's/^/| /' conftest.$ac_ext >&5
75394 ac_cv_lib_m_main=no
75396 rm -f conftest.err conftest.$ac_objext \
75397 conftest$ac_exeext conftest.$ac_ext
75398 LIBS=$ac_check_lib_save_LIBS
75400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75401 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75402 if test $ac_cv_lib_m_main = yes; then
75403 cat >>confdefs.h <<_ACEOF
75404 #define HAVE_LIBM 1
75405 _ACEOF
75407 LIBS="-lm $LIBS"
75412 for ac_func in copysignf
75414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75415 echo "$as_me:$LINENO: checking for $ac_func" >&5
75416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75417 if eval "test \"\${$as_ac_var+set}\" = set"; then
75418 echo $ECHO_N "(cached) $ECHO_C" >&6
75419 else
75420 if test x$gcc_no_link = xyes; then
75421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75423 { (exit 1); exit 1; }; }
75425 cat >conftest.$ac_ext <<_ACEOF
75426 /* confdefs.h. */
75427 _ACEOF
75428 cat confdefs.h >>conftest.$ac_ext
75429 cat >>conftest.$ac_ext <<_ACEOF
75430 /* end confdefs.h. */
75431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75433 #define $ac_func innocuous_$ac_func
75435 /* System header to define __stub macros and hopefully few prototypes,
75436 which can conflict with char $ac_func (); below.
75437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75438 <limits.h> exists even on freestanding compilers. */
75440 #ifdef __STDC__
75441 # include <limits.h>
75442 #else
75443 # include <assert.h>
75444 #endif
75446 #undef $ac_func
75448 /* Override any gcc2 internal prototype to avoid an error. */
75449 #ifdef __cplusplus
75450 extern "C"
75452 #endif
75453 /* We use char because int might match the return type of a gcc2
75454 builtin and then its argument prototype would still apply. */
75455 char $ac_func ();
75456 /* The GNU C library defines this for functions which it implements
75457 to always fail with ENOSYS. Some functions are actually named
75458 something starting with __ and the normal name is an alias. */
75459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75460 choke me
75461 #else
75462 char (*f) () = $ac_func;
75463 #endif
75464 #ifdef __cplusplus
75466 #endif
75469 main ()
75471 return f != $ac_func;
75473 return 0;
75475 _ACEOF
75476 rm -f conftest.$ac_objext conftest$ac_exeext
75477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75478 (eval $ac_link) 2>conftest.er1
75479 ac_status=$?
75480 grep -v '^ *+' conftest.er1 >conftest.err
75481 rm -f conftest.er1
75482 cat conftest.err >&5
75483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484 (exit $ac_status); } &&
75485 { ac_try='test -z "$ac_c_werror_flag"
75486 || test ! -s conftest.err'
75487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75488 (eval $ac_try) 2>&5
75489 ac_status=$?
75490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491 (exit $ac_status); }; } &&
75492 { ac_try='test -s conftest$ac_exeext'
75493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494 (eval $ac_try) 2>&5
75495 ac_status=$?
75496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497 (exit $ac_status); }; }; then
75498 eval "$as_ac_var=yes"
75499 else
75500 echo "$as_me: failed program was:" >&5
75501 sed 's/^/| /' conftest.$ac_ext >&5
75503 eval "$as_ac_var=no"
75505 rm -f conftest.err conftest.$ac_objext \
75506 conftest$ac_exeext conftest.$ac_ext
75508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75510 if test `eval echo '${'$as_ac_var'}'` = yes; then
75511 cat >>confdefs.h <<_ACEOF
75512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75513 _ACEOF
75515 else
75516 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75518 done
75522 for ac_func in __signbit
75524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75525 echo "$as_me:$LINENO: checking for $ac_func" >&5
75526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75527 if eval "test \"\${$as_ac_var+set}\" = set"; then
75528 echo $ECHO_N "(cached) $ECHO_C" >&6
75529 else
75530 if test x$gcc_no_link = xyes; then
75531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75533 { (exit 1); exit 1; }; }
75535 cat >conftest.$ac_ext <<_ACEOF
75536 /* confdefs.h. */
75537 _ACEOF
75538 cat confdefs.h >>conftest.$ac_ext
75539 cat >>conftest.$ac_ext <<_ACEOF
75540 /* end confdefs.h. */
75541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75543 #define $ac_func innocuous_$ac_func
75545 /* System header to define __stub macros and hopefully few prototypes,
75546 which can conflict with char $ac_func (); below.
75547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75548 <limits.h> exists even on freestanding compilers. */
75550 #ifdef __STDC__
75551 # include <limits.h>
75552 #else
75553 # include <assert.h>
75554 #endif
75556 #undef $ac_func
75558 /* Override any gcc2 internal prototype to avoid an error. */
75559 #ifdef __cplusplus
75560 extern "C"
75562 #endif
75563 /* We use char because int might match the return type of a gcc2
75564 builtin and then its argument prototype would still apply. */
75565 char $ac_func ();
75566 /* The GNU C library defines this for functions which it implements
75567 to always fail with ENOSYS. Some functions are actually named
75568 something starting with __ and the normal name is an alias. */
75569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75570 choke me
75571 #else
75572 char (*f) () = $ac_func;
75573 #endif
75574 #ifdef __cplusplus
75576 #endif
75579 main ()
75581 return f != $ac_func;
75583 return 0;
75585 _ACEOF
75586 rm -f conftest.$ac_objext conftest$ac_exeext
75587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75588 (eval $ac_link) 2>conftest.er1
75589 ac_status=$?
75590 grep -v '^ *+' conftest.er1 >conftest.err
75591 rm -f conftest.er1
75592 cat conftest.err >&5
75593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594 (exit $ac_status); } &&
75595 { ac_try='test -z "$ac_c_werror_flag"
75596 || test ! -s conftest.err'
75597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75598 (eval $ac_try) 2>&5
75599 ac_status=$?
75600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75601 (exit $ac_status); }; } &&
75602 { ac_try='test -s conftest$ac_exeext'
75603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75604 (eval $ac_try) 2>&5
75605 ac_status=$?
75606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75607 (exit $ac_status); }; }; then
75608 eval "$as_ac_var=yes"
75609 else
75610 echo "$as_me: failed program was:" >&5
75611 sed 's/^/| /' conftest.$ac_ext >&5
75613 eval "$as_ac_var=no"
75615 rm -f conftest.err conftest.$ac_objext \
75616 conftest$ac_exeext conftest.$ac_ext
75618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75620 if test `eval echo '${'$as_ac_var'}'` = yes; then
75621 cat >>confdefs.h <<_ACEOF
75622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75623 _ACEOF
75625 else
75626 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75628 done
75632 for ac_func in __signbitf
75634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75635 echo "$as_me:$LINENO: checking for $ac_func" >&5
75636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75637 if eval "test \"\${$as_ac_var+set}\" = set"; then
75638 echo $ECHO_N "(cached) $ECHO_C" >&6
75639 else
75640 if test x$gcc_no_link = xyes; then
75641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75643 { (exit 1); exit 1; }; }
75645 cat >conftest.$ac_ext <<_ACEOF
75646 /* confdefs.h. */
75647 _ACEOF
75648 cat confdefs.h >>conftest.$ac_ext
75649 cat >>conftest.$ac_ext <<_ACEOF
75650 /* end confdefs.h. */
75651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75653 #define $ac_func innocuous_$ac_func
75655 /* System header to define __stub macros and hopefully few prototypes,
75656 which can conflict with char $ac_func (); below.
75657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75658 <limits.h> exists even on freestanding compilers. */
75660 #ifdef __STDC__
75661 # include <limits.h>
75662 #else
75663 # include <assert.h>
75664 #endif
75666 #undef $ac_func
75668 /* Override any gcc2 internal prototype to avoid an error. */
75669 #ifdef __cplusplus
75670 extern "C"
75672 #endif
75673 /* We use char because int might match the return type of a gcc2
75674 builtin and then its argument prototype would still apply. */
75675 char $ac_func ();
75676 /* The GNU C library defines this for functions which it implements
75677 to always fail with ENOSYS. Some functions are actually named
75678 something starting with __ and the normal name is an alias. */
75679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75680 choke me
75681 #else
75682 char (*f) () = $ac_func;
75683 #endif
75684 #ifdef __cplusplus
75686 #endif
75689 main ()
75691 return f != $ac_func;
75693 return 0;
75695 _ACEOF
75696 rm -f conftest.$ac_objext conftest$ac_exeext
75697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75698 (eval $ac_link) 2>conftest.er1
75699 ac_status=$?
75700 grep -v '^ *+' conftest.er1 >conftest.err
75701 rm -f conftest.er1
75702 cat conftest.err >&5
75703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75704 (exit $ac_status); } &&
75705 { ac_try='test -z "$ac_c_werror_flag"
75706 || test ! -s conftest.err'
75707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75708 (eval $ac_try) 2>&5
75709 ac_status=$?
75710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75711 (exit $ac_status); }; } &&
75712 { ac_try='test -s conftest$ac_exeext'
75713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75714 (eval $ac_try) 2>&5
75715 ac_status=$?
75716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717 (exit $ac_status); }; }; then
75718 eval "$as_ac_var=yes"
75719 else
75720 echo "$as_me: failed program was:" >&5
75721 sed 's/^/| /' conftest.$ac_ext >&5
75723 eval "$as_ac_var=no"
75725 rm -f conftest.err conftest.$ac_objext \
75726 conftest$ac_exeext conftest.$ac_ext
75728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75730 if test `eval echo '${'$as_ac_var'}'` = yes; then
75731 cat >>confdefs.h <<_ACEOF
75732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75733 _ACEOF
75735 else
75736 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75738 done
75741 if test x$ac_cv_func_copysignl = x"yes"; then
75743 for ac_func in __signbitl
75745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75746 echo "$as_me:$LINENO: checking for $ac_func" >&5
75747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75748 if eval "test \"\${$as_ac_var+set}\" = set"; then
75749 echo $ECHO_N "(cached) $ECHO_C" >&6
75750 else
75751 if test x$gcc_no_link = xyes; then
75752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75754 { (exit 1); exit 1; }; }
75756 cat >conftest.$ac_ext <<_ACEOF
75757 /* confdefs.h. */
75758 _ACEOF
75759 cat confdefs.h >>conftest.$ac_ext
75760 cat >>conftest.$ac_ext <<_ACEOF
75761 /* end confdefs.h. */
75762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75764 #define $ac_func innocuous_$ac_func
75766 /* System header to define __stub macros and hopefully few prototypes,
75767 which can conflict with char $ac_func (); below.
75768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75769 <limits.h> exists even on freestanding compilers. */
75771 #ifdef __STDC__
75772 # include <limits.h>
75773 #else
75774 # include <assert.h>
75775 #endif
75777 #undef $ac_func
75779 /* Override any gcc2 internal prototype to avoid an error. */
75780 #ifdef __cplusplus
75781 extern "C"
75783 #endif
75784 /* We use char because int might match the return type of a gcc2
75785 builtin and then its argument prototype would still apply. */
75786 char $ac_func ();
75787 /* The GNU C library defines this for functions which it implements
75788 to always fail with ENOSYS. Some functions are actually named
75789 something starting with __ and the normal name is an alias. */
75790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75791 choke me
75792 #else
75793 char (*f) () = $ac_func;
75794 #endif
75795 #ifdef __cplusplus
75797 #endif
75800 main ()
75802 return f != $ac_func;
75804 return 0;
75806 _ACEOF
75807 rm -f conftest.$ac_objext conftest$ac_exeext
75808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75809 (eval $ac_link) 2>conftest.er1
75810 ac_status=$?
75811 grep -v '^ *+' conftest.er1 >conftest.err
75812 rm -f conftest.er1
75813 cat conftest.err >&5
75814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75815 (exit $ac_status); } &&
75816 { ac_try='test -z "$ac_c_werror_flag"
75817 || test ! -s conftest.err'
75818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75819 (eval $ac_try) 2>&5
75820 ac_status=$?
75821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75822 (exit $ac_status); }; } &&
75823 { ac_try='test -s conftest$ac_exeext'
75824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75825 (eval $ac_try) 2>&5
75826 ac_status=$?
75827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75828 (exit $ac_status); }; }; then
75829 eval "$as_ac_var=yes"
75830 else
75831 echo "$as_me: failed program was:" >&5
75832 sed 's/^/| /' conftest.$ac_ext >&5
75834 eval "$as_ac_var=no"
75836 rm -f conftest.err conftest.$ac_objext \
75837 conftest$ac_exeext conftest.$ac_ext
75839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75841 if test `eval echo '${'$as_ac_var'}'` = yes; then
75842 cat >>confdefs.h <<_ACEOF
75843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75844 _ACEOF
75846 else
75847 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75849 done
75853 # Used in libmath/Makefile.am.
75854 if test -n "$LIBMATHOBJS"; then
75855 need_libmath=yes
75860 # Test wchar.h for mbstate_t, which is needed for char_traits and
75861 # others even if wchar_t support is not on.
75862 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75863 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75864 cat >conftest.$ac_ext <<_ACEOF
75865 /* confdefs.h. */
75866 _ACEOF
75867 cat confdefs.h >>conftest.$ac_ext
75868 cat >>conftest.$ac_ext <<_ACEOF
75869 /* end confdefs.h. */
75870 #include <wchar.h>
75872 main ()
75874 mbstate_t teststate;
75876 return 0;
75878 _ACEOF
75879 rm -f conftest.$ac_objext
75880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75881 (eval $ac_compile) 2>conftest.er1
75882 ac_status=$?
75883 grep -v '^ *+' conftest.er1 >conftest.err
75884 rm -f conftest.er1
75885 cat conftest.err >&5
75886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75887 (exit $ac_status); } &&
75888 { ac_try='test -z "$ac_c_werror_flag"
75889 || test ! -s conftest.err'
75890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75891 (eval $ac_try) 2>&5
75892 ac_status=$?
75893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75894 (exit $ac_status); }; } &&
75895 { ac_try='test -s conftest.$ac_objext'
75896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75897 (eval $ac_try) 2>&5
75898 ac_status=$?
75899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75900 (exit $ac_status); }; }; then
75901 have_mbstate_t=yes
75902 else
75903 echo "$as_me: failed program was:" >&5
75904 sed 's/^/| /' conftest.$ac_ext >&5
75906 have_mbstate_t=no
75908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75909 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75910 echo "${ECHO_T}$have_mbstate_t" >&6
75911 if test x"$have_mbstate_t" = xyes; then
75912 cat >>confdefs.h <<\_ACEOF
75913 #define HAVE_MBSTATE_T 1
75914 _ACEOF
75918 # Sanity check for existence of ISO C99 headers for extended encoding.
75920 for ac_header in wchar.h
75922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75924 echo "$as_me:$LINENO: checking for $ac_header" >&5
75925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75927 echo $ECHO_N "(cached) $ECHO_C" >&6
75929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75931 else
75932 # Is the header compilable?
75933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75935 cat >conftest.$ac_ext <<_ACEOF
75936 /* confdefs.h. */
75937 _ACEOF
75938 cat confdefs.h >>conftest.$ac_ext
75939 cat >>conftest.$ac_ext <<_ACEOF
75940 /* end confdefs.h. */
75941 $ac_includes_default
75942 #include <$ac_header>
75943 _ACEOF
75944 rm -f conftest.$ac_objext
75945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75946 (eval $ac_compile) 2>conftest.er1
75947 ac_status=$?
75948 grep -v '^ *+' conftest.er1 >conftest.err
75949 rm -f conftest.er1
75950 cat conftest.err >&5
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); } &&
75953 { ac_try='test -z "$ac_c_werror_flag"
75954 || test ! -s conftest.err'
75955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75956 (eval $ac_try) 2>&5
75957 ac_status=$?
75958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75959 (exit $ac_status); }; } &&
75960 { ac_try='test -s conftest.$ac_objext'
75961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75962 (eval $ac_try) 2>&5
75963 ac_status=$?
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); }; }; then
75966 ac_header_compiler=yes
75967 else
75968 echo "$as_me: failed program was:" >&5
75969 sed 's/^/| /' conftest.$ac_ext >&5
75971 ac_header_compiler=no
75973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75975 echo "${ECHO_T}$ac_header_compiler" >&6
75977 # Is the header present?
75978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75980 cat >conftest.$ac_ext <<_ACEOF
75981 /* confdefs.h. */
75982 _ACEOF
75983 cat confdefs.h >>conftest.$ac_ext
75984 cat >>conftest.$ac_ext <<_ACEOF
75985 /* end confdefs.h. */
75986 #include <$ac_header>
75987 _ACEOF
75988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75990 ac_status=$?
75991 grep -v '^ *+' conftest.er1 >conftest.err
75992 rm -f conftest.er1
75993 cat conftest.err >&5
75994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75995 (exit $ac_status); } >/dev/null; then
75996 if test -s conftest.err; then
75997 ac_cpp_err=$ac_c_preproc_warn_flag
75998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75999 else
76000 ac_cpp_err=
76002 else
76003 ac_cpp_err=yes
76005 if test -z "$ac_cpp_err"; then
76006 ac_header_preproc=yes
76007 else
76008 echo "$as_me: failed program was:" >&5
76009 sed 's/^/| /' conftest.$ac_ext >&5
76011 ac_header_preproc=no
76013 rm -f conftest.err conftest.$ac_ext
76014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76015 echo "${ECHO_T}$ac_header_preproc" >&6
76017 # So? What about this header?
76018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76019 yes:no: )
76020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76024 ac_header_preproc=yes
76026 no:yes:* )
76027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76040 cat <<\_ASBOX
76041 ## ----------------------------------------- ##
76042 ## Report this to the package-unused lists. ##
76043 ## ----------------------------------------- ##
76044 _ASBOX
76046 sed "s/^/$as_me: WARNING: /" >&2
76048 esac
76049 echo "$as_me:$LINENO: checking for $ac_header" >&5
76050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76052 echo $ECHO_N "(cached) $ECHO_C" >&6
76053 else
76054 eval "$as_ac_Header=\$ac_header_preproc"
76056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76061 cat >>confdefs.h <<_ACEOF
76062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76063 _ACEOF
76064 ac_has_wchar_h=yes
76065 else
76066 ac_has_wchar_h=no
76069 done
76072 for ac_header in wctype.h
76074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76076 echo "$as_me:$LINENO: checking for $ac_header" >&5
76077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76079 echo $ECHO_N "(cached) $ECHO_C" >&6
76081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76083 else
76084 # Is the header compilable?
76085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76087 cat >conftest.$ac_ext <<_ACEOF
76088 /* confdefs.h. */
76089 _ACEOF
76090 cat confdefs.h >>conftest.$ac_ext
76091 cat >>conftest.$ac_ext <<_ACEOF
76092 /* end confdefs.h. */
76093 $ac_includes_default
76094 #include <$ac_header>
76095 _ACEOF
76096 rm -f conftest.$ac_objext
76097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76098 (eval $ac_compile) 2>conftest.er1
76099 ac_status=$?
76100 grep -v '^ *+' conftest.er1 >conftest.err
76101 rm -f conftest.er1
76102 cat conftest.err >&5
76103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76104 (exit $ac_status); } &&
76105 { ac_try='test -z "$ac_c_werror_flag"
76106 || test ! -s conftest.err'
76107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76108 (eval $ac_try) 2>&5
76109 ac_status=$?
76110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76111 (exit $ac_status); }; } &&
76112 { ac_try='test -s conftest.$ac_objext'
76113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76114 (eval $ac_try) 2>&5
76115 ac_status=$?
76116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76117 (exit $ac_status); }; }; then
76118 ac_header_compiler=yes
76119 else
76120 echo "$as_me: failed program was:" >&5
76121 sed 's/^/| /' conftest.$ac_ext >&5
76123 ac_header_compiler=no
76125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76127 echo "${ECHO_T}$ac_header_compiler" >&6
76129 # Is the header present?
76130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76132 cat >conftest.$ac_ext <<_ACEOF
76133 /* confdefs.h. */
76134 _ACEOF
76135 cat confdefs.h >>conftest.$ac_ext
76136 cat >>conftest.$ac_ext <<_ACEOF
76137 /* end confdefs.h. */
76138 #include <$ac_header>
76139 _ACEOF
76140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76142 ac_status=$?
76143 grep -v '^ *+' conftest.er1 >conftest.err
76144 rm -f conftest.er1
76145 cat conftest.err >&5
76146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76147 (exit $ac_status); } >/dev/null; then
76148 if test -s conftest.err; then
76149 ac_cpp_err=$ac_c_preproc_warn_flag
76150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76151 else
76152 ac_cpp_err=
76154 else
76155 ac_cpp_err=yes
76157 if test -z "$ac_cpp_err"; then
76158 ac_header_preproc=yes
76159 else
76160 echo "$as_me: failed program was:" >&5
76161 sed 's/^/| /' conftest.$ac_ext >&5
76163 ac_header_preproc=no
76165 rm -f conftest.err conftest.$ac_ext
76166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76167 echo "${ECHO_T}$ac_header_preproc" >&6
76169 # So? What about this header?
76170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76171 yes:no: )
76172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76176 ac_header_preproc=yes
76178 no:yes:* )
76179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76192 cat <<\_ASBOX
76193 ## ----------------------------------------- ##
76194 ## Report this to the package-unused lists. ##
76195 ## ----------------------------------------- ##
76196 _ASBOX
76198 sed "s/^/$as_me: WARNING: /" >&2
76200 esac
76201 echo "$as_me:$LINENO: checking for $ac_header" >&5
76202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76204 echo $ECHO_N "(cached) $ECHO_C" >&6
76205 else
76206 eval "$as_ac_Header=\$ac_header_preproc"
76208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76213 cat >>confdefs.h <<_ACEOF
76214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76215 _ACEOF
76216 ac_has_wctype_h=yes
76217 else
76218 ac_has_wctype_h=no
76221 done
76224 # Only continue checking if the ISO C99 headers exist and support is on.
76225 if test x"$ac_has_wchar_h" = xyes &&
76226 test x"$ac_has_wctype_h" = xyes &&
76227 test x"$enable_c_mbchar" != xno; then
76229 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76230 # numeric_limits can instantiate type_traits<wchar_t>
76231 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76232 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76233 cat >conftest.$ac_ext <<_ACEOF
76234 /* confdefs.h. */
76235 _ACEOF
76236 cat confdefs.h >>conftest.$ac_ext
76237 cat >>conftest.$ac_ext <<_ACEOF
76238 /* end confdefs.h. */
76239 #include <wchar.h>
76241 main ()
76243 int i = WCHAR_MIN; int j = WCHAR_MAX;
76245 return 0;
76247 _ACEOF
76248 rm -f conftest.$ac_objext
76249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76250 (eval $ac_compile) 2>conftest.er1
76251 ac_status=$?
76252 grep -v '^ *+' conftest.er1 >conftest.err
76253 rm -f conftest.er1
76254 cat conftest.err >&5
76255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256 (exit $ac_status); } &&
76257 { ac_try='test -z "$ac_c_werror_flag"
76258 || test ! -s conftest.err'
76259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76260 (eval $ac_try) 2>&5
76261 ac_status=$?
76262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76263 (exit $ac_status); }; } &&
76264 { ac_try='test -s conftest.$ac_objext'
76265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76266 (eval $ac_try) 2>&5
76267 ac_status=$?
76268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76269 (exit $ac_status); }; }; then
76270 has_wchar_minmax=yes
76271 else
76272 echo "$as_me: failed program was:" >&5
76273 sed 's/^/| /' conftest.$ac_ext >&5
76275 has_wchar_minmax=no
76277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76278 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76279 echo "${ECHO_T}$has_wchar_minmax" >&6
76281 # Test wchar.h for WEOF, which is what we use to determine whether
76282 # to specialize for char_traits<wchar_t> or not.
76283 echo "$as_me:$LINENO: checking for WEOF" >&5
76284 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76285 cat >conftest.$ac_ext <<_ACEOF
76286 /* confdefs.h. */
76287 _ACEOF
76288 cat confdefs.h >>conftest.$ac_ext
76289 cat >>conftest.$ac_ext <<_ACEOF
76290 /* end confdefs.h. */
76292 #include <wchar.h>
76293 #include <stddef.h>
76295 main ()
76297 wint_t i = WEOF;
76299 return 0;
76301 _ACEOF
76302 rm -f conftest.$ac_objext
76303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76304 (eval $ac_compile) 2>conftest.er1
76305 ac_status=$?
76306 grep -v '^ *+' conftest.er1 >conftest.err
76307 rm -f conftest.er1
76308 cat conftest.err >&5
76309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310 (exit $ac_status); } &&
76311 { ac_try='test -z "$ac_c_werror_flag"
76312 || test ! -s conftest.err'
76313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76314 (eval $ac_try) 2>&5
76315 ac_status=$?
76316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76317 (exit $ac_status); }; } &&
76318 { ac_try='test -s conftest.$ac_objext'
76319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76320 (eval $ac_try) 2>&5
76321 ac_status=$?
76322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323 (exit $ac_status); }; }; then
76324 has_weof=yes
76325 else
76326 echo "$as_me: failed program was:" >&5
76327 sed 's/^/| /' conftest.$ac_ext >&5
76329 has_weof=no
76331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76332 echo "$as_me:$LINENO: result: $has_weof" >&5
76333 echo "${ECHO_T}$has_weof" >&6
76335 # Tests for wide character functions used in char_traits<wchar_t>.
76336 ac_wfuncs=yes
76343 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76346 echo "$as_me:$LINENO: checking for $ac_func" >&5
76347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76348 if eval "test \"\${$as_ac_var+set}\" = set"; then
76349 echo $ECHO_N "(cached) $ECHO_C" >&6
76350 else
76351 if test x$gcc_no_link = xyes; then
76352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76354 { (exit 1); exit 1; }; }
76356 cat >conftest.$ac_ext <<_ACEOF
76357 /* confdefs.h. */
76358 _ACEOF
76359 cat confdefs.h >>conftest.$ac_ext
76360 cat >>conftest.$ac_ext <<_ACEOF
76361 /* end confdefs.h. */
76362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76364 #define $ac_func innocuous_$ac_func
76366 /* System header to define __stub macros and hopefully few prototypes,
76367 which can conflict with char $ac_func (); below.
76368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76369 <limits.h> exists even on freestanding compilers. */
76371 #ifdef __STDC__
76372 # include <limits.h>
76373 #else
76374 # include <assert.h>
76375 #endif
76377 #undef $ac_func
76379 /* Override any gcc2 internal prototype to avoid an error. */
76380 #ifdef __cplusplus
76381 extern "C"
76383 #endif
76384 /* We use char because int might match the return type of a gcc2
76385 builtin and then its argument prototype would still apply. */
76386 char $ac_func ();
76387 /* The GNU C library defines this for functions which it implements
76388 to always fail with ENOSYS. Some functions are actually named
76389 something starting with __ and the normal name is an alias. */
76390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76391 choke me
76392 #else
76393 char (*f) () = $ac_func;
76394 #endif
76395 #ifdef __cplusplus
76397 #endif
76400 main ()
76402 return f != $ac_func;
76404 return 0;
76406 _ACEOF
76407 rm -f conftest.$ac_objext conftest$ac_exeext
76408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76409 (eval $ac_link) 2>conftest.er1
76410 ac_status=$?
76411 grep -v '^ *+' conftest.er1 >conftest.err
76412 rm -f conftest.er1
76413 cat conftest.err >&5
76414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76415 (exit $ac_status); } &&
76416 { ac_try='test -z "$ac_c_werror_flag"
76417 || test ! -s conftest.err'
76418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76419 (eval $ac_try) 2>&5
76420 ac_status=$?
76421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76422 (exit $ac_status); }; } &&
76423 { ac_try='test -s conftest$ac_exeext'
76424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76425 (eval $ac_try) 2>&5
76426 ac_status=$?
76427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76428 (exit $ac_status); }; }; then
76429 eval "$as_ac_var=yes"
76430 else
76431 echo "$as_me: failed program was:" >&5
76432 sed 's/^/| /' conftest.$ac_ext >&5
76434 eval "$as_ac_var=no"
76436 rm -f conftest.err conftest.$ac_objext \
76437 conftest$ac_exeext conftest.$ac_ext
76439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76441 if test `eval echo '${'$as_ac_var'}'` = yes; then
76442 cat >>confdefs.h <<_ACEOF
76443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76444 _ACEOF
76446 else
76447 ac_wfuncs=no
76449 done
76452 # Checks for names injected into std:: by the c_std headers.
76499 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76500 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76501 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76502 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76503 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76504 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76507 echo "$as_me:$LINENO: checking for $ac_func" >&5
76508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76509 if eval "test \"\${$as_ac_var+set}\" = set"; then
76510 echo $ECHO_N "(cached) $ECHO_C" >&6
76511 else
76512 if test x$gcc_no_link = xyes; then
76513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76515 { (exit 1); exit 1; }; }
76517 cat >conftest.$ac_ext <<_ACEOF
76518 /* confdefs.h. */
76519 _ACEOF
76520 cat confdefs.h >>conftest.$ac_ext
76521 cat >>conftest.$ac_ext <<_ACEOF
76522 /* end confdefs.h. */
76523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76525 #define $ac_func innocuous_$ac_func
76527 /* System header to define __stub macros and hopefully few prototypes,
76528 which can conflict with char $ac_func (); below.
76529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76530 <limits.h> exists even on freestanding compilers. */
76532 #ifdef __STDC__
76533 # include <limits.h>
76534 #else
76535 # include <assert.h>
76536 #endif
76538 #undef $ac_func
76540 /* Override any gcc2 internal prototype to avoid an error. */
76541 #ifdef __cplusplus
76542 extern "C"
76544 #endif
76545 /* We use char because int might match the return type of a gcc2
76546 builtin and then its argument prototype would still apply. */
76547 char $ac_func ();
76548 /* The GNU C library defines this for functions which it implements
76549 to always fail with ENOSYS. Some functions are actually named
76550 something starting with __ and the normal name is an alias. */
76551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76552 choke me
76553 #else
76554 char (*f) () = $ac_func;
76555 #endif
76556 #ifdef __cplusplus
76558 #endif
76561 main ()
76563 return f != $ac_func;
76565 return 0;
76567 _ACEOF
76568 rm -f conftest.$ac_objext conftest$ac_exeext
76569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76570 (eval $ac_link) 2>conftest.er1
76571 ac_status=$?
76572 grep -v '^ *+' conftest.er1 >conftest.err
76573 rm -f conftest.er1
76574 cat conftest.err >&5
76575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76576 (exit $ac_status); } &&
76577 { ac_try='test -z "$ac_c_werror_flag"
76578 || test ! -s conftest.err'
76579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76580 (eval $ac_try) 2>&5
76581 ac_status=$?
76582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76583 (exit $ac_status); }; } &&
76584 { ac_try='test -s conftest$ac_exeext'
76585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76586 (eval $ac_try) 2>&5
76587 ac_status=$?
76588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76589 (exit $ac_status); }; }; then
76590 eval "$as_ac_var=yes"
76591 else
76592 echo "$as_me: failed program was:" >&5
76593 sed 's/^/| /' conftest.$ac_ext >&5
76595 eval "$as_ac_var=no"
76597 rm -f conftest.err conftest.$ac_objext \
76598 conftest$ac_exeext conftest.$ac_ext
76600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76602 if test `eval echo '${'$as_ac_var'}'` = yes; then
76603 cat >>confdefs.h <<_ACEOF
76604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76605 _ACEOF
76607 else
76608 ac_wfuncs=no
76610 done
76613 # Checks for wide character functions that are not required
76614 # for basic wchar_t support. Don't disable support if they are missing.
76615 # Injection of these is wrapped with guard macros.
76621 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76624 echo "$as_me:$LINENO: checking for $ac_func" >&5
76625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76626 if eval "test \"\${$as_ac_var+set}\" = set"; then
76627 echo $ECHO_N "(cached) $ECHO_C" >&6
76628 else
76629 if test x$gcc_no_link = xyes; then
76630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76632 { (exit 1); exit 1; }; }
76634 cat >conftest.$ac_ext <<_ACEOF
76635 /* confdefs.h. */
76636 _ACEOF
76637 cat confdefs.h >>conftest.$ac_ext
76638 cat >>conftest.$ac_ext <<_ACEOF
76639 /* end confdefs.h. */
76640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76642 #define $ac_func innocuous_$ac_func
76644 /* System header to define __stub macros and hopefully few prototypes,
76645 which can conflict with char $ac_func (); below.
76646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76647 <limits.h> exists even on freestanding compilers. */
76649 #ifdef __STDC__
76650 # include <limits.h>
76651 #else
76652 # include <assert.h>
76653 #endif
76655 #undef $ac_func
76657 /* Override any gcc2 internal prototype to avoid an error. */
76658 #ifdef __cplusplus
76659 extern "C"
76661 #endif
76662 /* We use char because int might match the return type of a gcc2
76663 builtin and then its argument prototype would still apply. */
76664 char $ac_func ();
76665 /* The GNU C library defines this for functions which it implements
76666 to always fail with ENOSYS. Some functions are actually named
76667 something starting with __ and the normal name is an alias. */
76668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76669 choke me
76670 #else
76671 char (*f) () = $ac_func;
76672 #endif
76673 #ifdef __cplusplus
76675 #endif
76678 main ()
76680 return f != $ac_func;
76682 return 0;
76684 _ACEOF
76685 rm -f conftest.$ac_objext conftest$ac_exeext
76686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76687 (eval $ac_link) 2>conftest.er1
76688 ac_status=$?
76689 grep -v '^ *+' conftest.er1 >conftest.err
76690 rm -f conftest.er1
76691 cat conftest.err >&5
76692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693 (exit $ac_status); } &&
76694 { ac_try='test -z "$ac_c_werror_flag"
76695 || test ! -s conftest.err'
76696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76697 (eval $ac_try) 2>&5
76698 ac_status=$?
76699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76700 (exit $ac_status); }; } &&
76701 { ac_try='test -s conftest$ac_exeext'
76702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76703 (eval $ac_try) 2>&5
76704 ac_status=$?
76705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706 (exit $ac_status); }; }; then
76707 eval "$as_ac_var=yes"
76708 else
76709 echo "$as_me: failed program was:" >&5
76710 sed 's/^/| /' conftest.$ac_ext >&5
76712 eval "$as_ac_var=no"
76714 rm -f conftest.err conftest.$ac_objext \
76715 conftest$ac_exeext conftest.$ac_ext
76717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76719 if test `eval echo '${'$as_ac_var'}'` = yes; then
76720 cat >>confdefs.h <<_ACEOF
76721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76722 _ACEOF
76725 done
76728 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76729 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76730 if test x"$has_weof" = xyes &&
76731 test x"$has_wchar_minmax" = xyes &&
76732 test x"$ac_wfuncs" = xyes;
76733 then
76734 ac_isoC99_wchar_t=yes
76735 else
76736 ac_isoC99_wchar_t=no
76738 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76739 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76741 # Use iconv for wchar_t to char conversions. As such, check for
76742 # X/Open Portability Guide, version 2 features (XPG2).
76743 if test "${ac_cv_header_iconv_h+set}" = set; then
76744 echo "$as_me:$LINENO: checking for iconv.h" >&5
76745 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76746 if test "${ac_cv_header_iconv_h+set}" = set; then
76747 echo $ECHO_N "(cached) $ECHO_C" >&6
76749 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76750 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76751 else
76752 # Is the header compilable?
76753 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76754 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76755 cat >conftest.$ac_ext <<_ACEOF
76756 /* confdefs.h. */
76757 _ACEOF
76758 cat confdefs.h >>conftest.$ac_ext
76759 cat >>conftest.$ac_ext <<_ACEOF
76760 /* end confdefs.h. */
76761 $ac_includes_default
76762 #include <iconv.h>
76763 _ACEOF
76764 rm -f conftest.$ac_objext
76765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76766 (eval $ac_compile) 2>conftest.er1
76767 ac_status=$?
76768 grep -v '^ *+' conftest.er1 >conftest.err
76769 rm -f conftest.er1
76770 cat conftest.err >&5
76771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772 (exit $ac_status); } &&
76773 { ac_try='test -z "$ac_c_werror_flag"
76774 || test ! -s conftest.err'
76775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76776 (eval $ac_try) 2>&5
76777 ac_status=$?
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); }; } &&
76780 { ac_try='test -s conftest.$ac_objext'
76781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782 (eval $ac_try) 2>&5
76783 ac_status=$?
76784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785 (exit $ac_status); }; }; then
76786 ac_header_compiler=yes
76787 else
76788 echo "$as_me: failed program was:" >&5
76789 sed 's/^/| /' conftest.$ac_ext >&5
76791 ac_header_compiler=no
76793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76795 echo "${ECHO_T}$ac_header_compiler" >&6
76797 # Is the header present?
76798 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76799 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76800 cat >conftest.$ac_ext <<_ACEOF
76801 /* confdefs.h. */
76802 _ACEOF
76803 cat confdefs.h >>conftest.$ac_ext
76804 cat >>conftest.$ac_ext <<_ACEOF
76805 /* end confdefs.h. */
76806 #include <iconv.h>
76807 _ACEOF
76808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76810 ac_status=$?
76811 grep -v '^ *+' conftest.er1 >conftest.err
76812 rm -f conftest.er1
76813 cat conftest.err >&5
76814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815 (exit $ac_status); } >/dev/null; then
76816 if test -s conftest.err; then
76817 ac_cpp_err=$ac_c_preproc_warn_flag
76818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76819 else
76820 ac_cpp_err=
76822 else
76823 ac_cpp_err=yes
76825 if test -z "$ac_cpp_err"; then
76826 ac_header_preproc=yes
76827 else
76828 echo "$as_me: failed program was:" >&5
76829 sed 's/^/| /' conftest.$ac_ext >&5
76831 ac_header_preproc=no
76833 rm -f conftest.err conftest.$ac_ext
76834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76835 echo "${ECHO_T}$ac_header_preproc" >&6
76837 # So? What about this header?
76838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76839 yes:no: )
76840 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76841 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76842 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76843 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76844 ac_header_preproc=yes
76846 no:yes:* )
76847 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76848 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76849 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76850 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76851 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76852 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76853 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76854 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76855 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76856 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76857 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76858 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76860 cat <<\_ASBOX
76861 ## ----------------------------------------- ##
76862 ## Report this to the package-unused lists. ##
76863 ## ----------------------------------------- ##
76864 _ASBOX
76866 sed "s/^/$as_me: WARNING: /" >&2
76868 esac
76869 echo "$as_me:$LINENO: checking for iconv.h" >&5
76870 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76871 if test "${ac_cv_header_iconv_h+set}" = set; then
76872 echo $ECHO_N "(cached) $ECHO_C" >&6
76873 else
76874 ac_cv_header_iconv_h=$ac_header_preproc
76876 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76877 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76880 if test $ac_cv_header_iconv_h = yes; then
76881 ac_has_iconv_h=yes
76882 else
76883 ac_has_iconv_h=no
76887 if test "${ac_cv_header_langinfo_h+set}" = set; then
76888 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76889 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76890 if test "${ac_cv_header_langinfo_h+set}" = set; then
76891 echo $ECHO_N "(cached) $ECHO_C" >&6
76893 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76894 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76895 else
76896 # Is the header compilable?
76897 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76898 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76899 cat >conftest.$ac_ext <<_ACEOF
76900 /* confdefs.h. */
76901 _ACEOF
76902 cat confdefs.h >>conftest.$ac_ext
76903 cat >>conftest.$ac_ext <<_ACEOF
76904 /* end confdefs.h. */
76905 $ac_includes_default
76906 #include <langinfo.h>
76907 _ACEOF
76908 rm -f conftest.$ac_objext
76909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76910 (eval $ac_compile) 2>conftest.er1
76911 ac_status=$?
76912 grep -v '^ *+' conftest.er1 >conftest.err
76913 rm -f conftest.er1
76914 cat conftest.err >&5
76915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916 (exit $ac_status); } &&
76917 { ac_try='test -z "$ac_c_werror_flag"
76918 || test ! -s conftest.err'
76919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76920 (eval $ac_try) 2>&5
76921 ac_status=$?
76922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923 (exit $ac_status); }; } &&
76924 { ac_try='test -s conftest.$ac_objext'
76925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926 (eval $ac_try) 2>&5
76927 ac_status=$?
76928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929 (exit $ac_status); }; }; then
76930 ac_header_compiler=yes
76931 else
76932 echo "$as_me: failed program was:" >&5
76933 sed 's/^/| /' conftest.$ac_ext >&5
76935 ac_header_compiler=no
76937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76939 echo "${ECHO_T}$ac_header_compiler" >&6
76941 # Is the header present?
76942 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76943 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76944 cat >conftest.$ac_ext <<_ACEOF
76945 /* confdefs.h. */
76946 _ACEOF
76947 cat confdefs.h >>conftest.$ac_ext
76948 cat >>conftest.$ac_ext <<_ACEOF
76949 /* end confdefs.h. */
76950 #include <langinfo.h>
76951 _ACEOF
76952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76954 ac_status=$?
76955 grep -v '^ *+' conftest.er1 >conftest.err
76956 rm -f conftest.er1
76957 cat conftest.err >&5
76958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76959 (exit $ac_status); } >/dev/null; then
76960 if test -s conftest.err; then
76961 ac_cpp_err=$ac_c_preproc_warn_flag
76962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76963 else
76964 ac_cpp_err=
76966 else
76967 ac_cpp_err=yes
76969 if test -z "$ac_cpp_err"; then
76970 ac_header_preproc=yes
76971 else
76972 echo "$as_me: failed program was:" >&5
76973 sed 's/^/| /' conftest.$ac_ext >&5
76975 ac_header_preproc=no
76977 rm -f conftest.err conftest.$ac_ext
76978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76979 echo "${ECHO_T}$ac_header_preproc" >&6
76981 # So? What about this header?
76982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76983 yes:no: )
76984 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76985 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76986 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76987 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76988 ac_header_preproc=yes
76990 no:yes:* )
76991 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76992 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76993 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76994 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76995 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76996 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76997 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76998 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76999 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77000 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77001 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77002 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77004 cat <<\_ASBOX
77005 ## ----------------------------------------- ##
77006 ## Report this to the package-unused lists. ##
77007 ## ----------------------------------------- ##
77008 _ASBOX
77010 sed "s/^/$as_me: WARNING: /" >&2
77012 esac
77013 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77014 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77015 if test "${ac_cv_header_langinfo_h+set}" = set; then
77016 echo $ECHO_N "(cached) $ECHO_C" >&6
77017 else
77018 ac_cv_header_langinfo_h=$ac_header_preproc
77020 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77021 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77024 if test $ac_cv_header_langinfo_h = yes; then
77025 ac_has_langinfo_h=yes
77026 else
77027 ac_has_langinfo_h=no
77032 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77033 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77034 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77035 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77036 echo $ECHO_N "(cached) $ECHO_C" >&6
77037 else
77038 ac_check_lib_save_LIBS=$LIBS
77039 LIBS="-liconv $LIBS"
77040 if test x$gcc_no_link = xyes; then
77041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77043 { (exit 1); exit 1; }; }
77045 cat >conftest.$ac_ext <<_ACEOF
77046 /* confdefs.h. */
77047 _ACEOF
77048 cat confdefs.h >>conftest.$ac_ext
77049 cat >>conftest.$ac_ext <<_ACEOF
77050 /* end confdefs.h. */
77052 /* Override any gcc2 internal prototype to avoid an error. */
77053 #ifdef __cplusplus
77054 extern "C"
77055 #endif
77056 /* We use char because int might match the return type of a gcc2
77057 builtin and then its argument prototype would still apply. */
77058 char iconv ();
77060 main ()
77062 iconv ();
77064 return 0;
77066 _ACEOF
77067 rm -f conftest.$ac_objext conftest$ac_exeext
77068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77069 (eval $ac_link) 2>conftest.er1
77070 ac_status=$?
77071 grep -v '^ *+' conftest.er1 >conftest.err
77072 rm -f conftest.er1
77073 cat conftest.err >&5
77074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075 (exit $ac_status); } &&
77076 { ac_try='test -z "$ac_c_werror_flag"
77077 || test ! -s conftest.err'
77078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77079 (eval $ac_try) 2>&5
77080 ac_status=$?
77081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082 (exit $ac_status); }; } &&
77083 { ac_try='test -s conftest$ac_exeext'
77084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085 (eval $ac_try) 2>&5
77086 ac_status=$?
77087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088 (exit $ac_status); }; }; then
77089 ac_cv_lib_iconv_iconv=yes
77090 else
77091 echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77094 ac_cv_lib_iconv_iconv=no
77096 rm -f conftest.err conftest.$ac_objext \
77097 conftest$ac_exeext conftest.$ac_ext
77098 LIBS=$ac_check_lib_save_LIBS
77100 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77101 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77102 if test $ac_cv_lib_iconv_iconv = yes; then
77103 LIBICONV="-liconv"
77106 ac_save_LIBS="$LIBS"
77107 LIBS="$LIBS $LIBICONV"
77114 for ac_func in iconv_open iconv_close iconv nl_langinfo
77116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77117 echo "$as_me:$LINENO: checking for $ac_func" >&5
77118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77119 if eval "test \"\${$as_ac_var+set}\" = set"; then
77120 echo $ECHO_N "(cached) $ECHO_C" >&6
77121 else
77122 if test x$gcc_no_link = xyes; then
77123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77125 { (exit 1); exit 1; }; }
77127 cat >conftest.$ac_ext <<_ACEOF
77128 /* confdefs.h. */
77129 _ACEOF
77130 cat confdefs.h >>conftest.$ac_ext
77131 cat >>conftest.$ac_ext <<_ACEOF
77132 /* end confdefs.h. */
77133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77135 #define $ac_func innocuous_$ac_func
77137 /* System header to define __stub macros and hopefully few prototypes,
77138 which can conflict with char $ac_func (); below.
77139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77140 <limits.h> exists even on freestanding compilers. */
77142 #ifdef __STDC__
77143 # include <limits.h>
77144 #else
77145 # include <assert.h>
77146 #endif
77148 #undef $ac_func
77150 /* Override any gcc2 internal prototype to avoid an error. */
77151 #ifdef __cplusplus
77152 extern "C"
77154 #endif
77155 /* We use char because int might match the return type of a gcc2
77156 builtin and then its argument prototype would still apply. */
77157 char $ac_func ();
77158 /* The GNU C library defines this for functions which it implements
77159 to always fail with ENOSYS. Some functions are actually named
77160 something starting with __ and the normal name is an alias. */
77161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77162 choke me
77163 #else
77164 char (*f) () = $ac_func;
77165 #endif
77166 #ifdef __cplusplus
77168 #endif
77171 main ()
77173 return f != $ac_func;
77175 return 0;
77177 _ACEOF
77178 rm -f conftest.$ac_objext conftest$ac_exeext
77179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77180 (eval $ac_link) 2>conftest.er1
77181 ac_status=$?
77182 grep -v '^ *+' conftest.er1 >conftest.err
77183 rm -f conftest.er1
77184 cat conftest.err >&5
77185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77186 (exit $ac_status); } &&
77187 { ac_try='test -z "$ac_c_werror_flag"
77188 || test ! -s conftest.err'
77189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77190 (eval $ac_try) 2>&5
77191 ac_status=$?
77192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77193 (exit $ac_status); }; } &&
77194 { ac_try='test -s conftest$ac_exeext'
77195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77196 (eval $ac_try) 2>&5
77197 ac_status=$?
77198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77199 (exit $ac_status); }; }; then
77200 eval "$as_ac_var=yes"
77201 else
77202 echo "$as_me: failed program was:" >&5
77203 sed 's/^/| /' conftest.$ac_ext >&5
77205 eval "$as_ac_var=no"
77207 rm -f conftest.err conftest.$ac_objext \
77208 conftest$ac_exeext conftest.$ac_ext
77210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77212 if test `eval echo '${'$as_ac_var'}'` = yes; then
77213 cat >>confdefs.h <<_ACEOF
77214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77215 _ACEOF
77216 ac_XPG2funcs=yes
77217 else
77218 ac_XPG2funcs=no
77220 done
77223 LIBS="$ac_save_LIBS"
77225 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77226 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77227 if test x"$ac_has_iconv_h" = xyes &&
77228 test x"$ac_has_langinfo_h" = xyes &&
77229 test x"$ac_XPG2funcs" = xyes;
77230 then
77231 ac_XPG2_wchar_t=yes
77232 else
77233 ac_XPG2_wchar_t=no
77235 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77236 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77238 # At the moment, only enable wchar_t specializations if all the
77239 # above support is present.
77240 if test x"$ac_isoC99_wchar_t" = xyes &&
77241 test x"$ac_XPG2_wchar_t" = xyes;
77242 then
77243 cat >>confdefs.h <<\_ACEOF
77244 #define _GLIBCXX_USE_WCHAR_T 1
77245 _ACEOF
77247 enable_wchar_t=yes
77250 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77251 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77252 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77253 echo "${ECHO_T}$enable_wchar_t" >&6
77255 cat >>confdefs.h <<\_ACEOF
77256 #define HAVE_LC_MESSAGES 1
77257 _ACEOF
77259 cat >>confdefs.h <<\_ACEOF
77260 #define HAVE_GETPAGESIZE 1
77261 _ACEOF
77263 cat >>confdefs.h <<\_ACEOF
77264 #define HAVE_SETENV 1
77265 _ACEOF
77267 cat >>confdefs.h <<\_ACEOF
77268 #define HAVE_SIGSETJMP 1
77269 _ACEOF
77271 cat >>confdefs.h <<\_ACEOF
77272 #define HAVE_COPYSIGN 1
77273 _ACEOF
77275 cat >>confdefs.h <<\_ACEOF
77276 #define HAVE_COPYSIGNF 1
77277 _ACEOF
77279 cat >>confdefs.h <<\_ACEOF
77280 #define HAVE_FINITEF 1
77281 _ACEOF
77283 cat >>confdefs.h <<\_ACEOF
77284 #define HAVE_FINITE 1
77285 _ACEOF
77287 cat >>confdefs.h <<\_ACEOF
77288 #define HAVE_FREXPF 1
77289 _ACEOF
77291 cat >>confdefs.h <<\_ACEOF
77292 #define HAVE_HYPOT 1
77293 _ACEOF
77295 cat >>confdefs.h <<\_ACEOF
77296 #define HAVE_HYPOTF 1
77297 _ACEOF
77299 cat >>confdefs.h <<\_ACEOF
77300 #define HAVE_ISINF 1
77301 _ACEOF
77303 cat >>confdefs.h <<\_ACEOF
77304 #define HAVE_ISNAN 1
77305 _ACEOF
77307 cat >>confdefs.h <<\_ACEOF
77308 #define HAVE_ISNANF 1
77309 _ACEOF
77312 cat >>confdefs.h <<\_ACEOF
77313 #define HAVE_MMAP 1
77314 _ACEOF
77316 cat >>confdefs.h <<\_ACEOF
77317 #define HAVE_ACOSF 1
77318 _ACEOF
77320 cat >>confdefs.h <<\_ACEOF
77321 #define HAVE_ASINF 1
77322 _ACEOF
77324 cat >>confdefs.h <<\_ACEOF
77325 #define HAVE_ATAN2F 1
77326 _ACEOF
77328 cat >>confdefs.h <<\_ACEOF
77329 #define HAVE_ATANF 1
77330 _ACEOF
77332 cat >>confdefs.h <<\_ACEOF
77333 #define HAVE_CEILF 1
77334 _ACEOF
77336 cat >>confdefs.h <<\_ACEOF
77337 #define HAVE_COPYSIGN 1
77338 _ACEOF
77340 cat >>confdefs.h <<\_ACEOF
77341 #define HAVE_COPYSIGNF 1
77342 _ACEOF
77344 cat >>confdefs.h <<\_ACEOF
77345 #define HAVE_COSF 1
77346 _ACEOF
77348 cat >>confdefs.h <<\_ACEOF
77349 #define HAVE_COSHF 1
77350 _ACEOF
77352 cat >>confdefs.h <<\_ACEOF
77353 #define HAVE_EXPF 1
77354 _ACEOF
77356 cat >>confdefs.h <<\_ACEOF
77357 #define HAVE_FABSF 1
77358 _ACEOF
77360 cat >>confdefs.h <<\_ACEOF
77361 #define HAVE_FLOORF 1
77362 _ACEOF
77364 cat >>confdefs.h <<\_ACEOF
77365 #define HAVE_FMODF 1
77366 _ACEOF
77368 cat >>confdefs.h <<\_ACEOF
77369 #define HAVE_FREXPF 1
77370 _ACEOF
77372 cat >>confdefs.h <<\_ACEOF
77373 #define HAVE_LDEXPF 1
77374 _ACEOF
77376 cat >>confdefs.h <<\_ACEOF
77377 #define HAVE_LOG10F 1
77378 _ACEOF
77380 cat >>confdefs.h <<\_ACEOF
77381 #define HAVE_LOGF 1
77382 _ACEOF
77384 cat >>confdefs.h <<\_ACEOF
77385 #define HAVE_MODFF 1
77386 _ACEOF
77388 cat >>confdefs.h <<\_ACEOF
77389 #define HAVE_POWF 1
77390 _ACEOF
77392 cat >>confdefs.h <<\_ACEOF
77393 #define HAVE_SINF 1
77394 _ACEOF
77396 cat >>confdefs.h <<\_ACEOF
77397 #define HAVE_SINHF 1
77398 _ACEOF
77400 cat >>confdefs.h <<\_ACEOF
77401 #define HAVE_SQRTF 1
77402 _ACEOF
77404 cat >>confdefs.h <<\_ACEOF
77405 #define HAVE_TANF 1
77406 _ACEOF
77408 cat >>confdefs.h <<\_ACEOF
77409 #define HAVE_TANHF 1
77410 _ACEOF
77412 if test x"long_double_math_on_this_cpu" = x"yes"; then
77413 cat >>confdefs.h <<\_ACEOF
77414 #define HAVE_FINITEL 1
77415 _ACEOF
77417 cat >>confdefs.h <<\_ACEOF
77418 #define HAVE_ISINFL 1
77419 _ACEOF
77421 cat >>confdefs.h <<\_ACEOF
77422 #define HAVE_ISNANL 1
77423 _ACEOF
77427 *-hpux*)
77440 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77441 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77442 fp.h locale.h float.h inttypes.h
77444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77446 echo "$as_me:$LINENO: checking for $ac_header" >&5
77447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77449 echo $ECHO_N "(cached) $ECHO_C" >&6
77451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77453 else
77454 # Is the header compilable?
77455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77457 cat >conftest.$ac_ext <<_ACEOF
77458 /* confdefs.h. */
77459 _ACEOF
77460 cat confdefs.h >>conftest.$ac_ext
77461 cat >>conftest.$ac_ext <<_ACEOF
77462 /* end confdefs.h. */
77463 $ac_includes_default
77464 #include <$ac_header>
77465 _ACEOF
77466 rm -f conftest.$ac_objext
77467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77468 (eval $ac_compile) 2>conftest.er1
77469 ac_status=$?
77470 grep -v '^ *+' conftest.er1 >conftest.err
77471 rm -f conftest.er1
77472 cat conftest.err >&5
77473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77474 (exit $ac_status); } &&
77475 { ac_try='test -z "$ac_c_werror_flag"
77476 || test ! -s conftest.err'
77477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77478 (eval $ac_try) 2>&5
77479 ac_status=$?
77480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77481 (exit $ac_status); }; } &&
77482 { ac_try='test -s conftest.$ac_objext'
77483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77484 (eval $ac_try) 2>&5
77485 ac_status=$?
77486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77487 (exit $ac_status); }; }; then
77488 ac_header_compiler=yes
77489 else
77490 echo "$as_me: failed program was:" >&5
77491 sed 's/^/| /' conftest.$ac_ext >&5
77493 ac_header_compiler=no
77495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77497 echo "${ECHO_T}$ac_header_compiler" >&6
77499 # Is the header present?
77500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77502 cat >conftest.$ac_ext <<_ACEOF
77503 /* confdefs.h. */
77504 _ACEOF
77505 cat confdefs.h >>conftest.$ac_ext
77506 cat >>conftest.$ac_ext <<_ACEOF
77507 /* end confdefs.h. */
77508 #include <$ac_header>
77509 _ACEOF
77510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77512 ac_status=$?
77513 grep -v '^ *+' conftest.er1 >conftest.err
77514 rm -f conftest.er1
77515 cat conftest.err >&5
77516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77517 (exit $ac_status); } >/dev/null; then
77518 if test -s conftest.err; then
77519 ac_cpp_err=$ac_c_preproc_warn_flag
77520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77521 else
77522 ac_cpp_err=
77524 else
77525 ac_cpp_err=yes
77527 if test -z "$ac_cpp_err"; then
77528 ac_header_preproc=yes
77529 else
77530 echo "$as_me: failed program was:" >&5
77531 sed 's/^/| /' conftest.$ac_ext >&5
77533 ac_header_preproc=no
77535 rm -f conftest.err conftest.$ac_ext
77536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77537 echo "${ECHO_T}$ac_header_preproc" >&6
77539 # So? What about this header?
77540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77541 yes:no: )
77542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77546 ac_header_preproc=yes
77548 no:yes:* )
77549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77562 cat <<\_ASBOX
77563 ## ----------------------------------------- ##
77564 ## Report this to the package-unused lists. ##
77565 ## ----------------------------------------- ##
77566 _ASBOX
77568 sed "s/^/$as_me: WARNING: /" >&2
77570 esac
77571 echo "$as_me:$LINENO: checking for $ac_header" >&5
77572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77574 echo $ECHO_N "(cached) $ECHO_C" >&6
77575 else
77576 eval "$as_ac_Header=\$ac_header_preproc"
77578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77583 cat >>confdefs.h <<_ACEOF
77584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77585 _ACEOF
77589 done
77591 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77594 # If we're not using GNU ld, then there's no point in even trying these
77595 # tests. Check for that first. We should have already tested for gld
77596 # by now (in libtool), but require it now just to be safe...
77597 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77598 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77602 # The name set by libtool depends on the version of libtool. Shame on us
77603 # for depending on an impl detail, but c'est la vie. Older versions used
77604 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77605 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77606 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77607 # set (hence we're using an older libtool), then set it.
77608 if test x${with_gnu_ld+set} != xset; then
77609 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77610 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77611 with_gnu_ld=no
77612 else
77613 with_gnu_ld=$ac_cv_prog_gnu_ld
77617 # Start by getting the version number. I think the libtool test already
77618 # does some of this, but throws away the result.
77620 ldver=`$LD --version 2>/dev/null | head -1 | \
77621 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77623 glibcxx_gnu_ld_version=`echo $ldver | \
77624 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77626 # Set --gc-sections.
77627 if test "$with_gnu_ld" = "notbroken"; then
77628 # GNU ld it is! Joy and bunny rabbits!
77630 # All these tests are for C++; save the language and the compiler flags.
77631 # Need to do this so that g++ won't try to link in libstdc++
77632 ac_test_CFLAGS="${CFLAGS+set}"
77633 ac_save_CFLAGS="$CFLAGS"
77634 CFLAGS='-x c++ -Wl,--gc-sections'
77636 # Check for -Wl,--gc-sections
77637 # XXX This test is broken at the moment, as symbols required for linking
77638 # are now in libsupc++ (not built yet). In addition, this test has
77639 # cored on solaris in the past. In addition, --gc-sections doesn't
77640 # really work at the moment (keeps on discarding used sections, first
77641 # .eh_frame and now some of the glibc sections for iconv).
77642 # Bzzzzt. Thanks for playing, maybe next time.
77643 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77644 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77645 if test "$cross_compiling" = yes; then
77646 ac_sectionLDflags=yes
77647 else
77648 cat >conftest.$ac_ext <<_ACEOF
77649 /* confdefs.h. */
77650 _ACEOF
77651 cat confdefs.h >>conftest.$ac_ext
77652 cat >>conftest.$ac_ext <<_ACEOF
77653 /* end confdefs.h. */
77655 int main(void)
77657 try { throw 1; }
77658 catch (...) { };
77659 return 0;
77662 _ACEOF
77663 rm -f conftest$ac_exeext
77664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77665 (eval $ac_link) 2>&5
77666 ac_status=$?
77667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77670 (eval $ac_try) 2>&5
77671 ac_status=$?
77672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77673 (exit $ac_status); }; }; then
77674 ac_sectionLDflags=yes
77675 else
77676 echo "$as_me: program exited with status $ac_status" >&5
77677 echo "$as_me: failed program was:" >&5
77678 sed 's/^/| /' conftest.$ac_ext >&5
77680 ( exit $ac_status )
77681 ac_sectionLDflags=no
77683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77685 if test "$ac_test_CFLAGS" = set; then
77686 CFLAGS="$ac_save_CFLAGS"
77687 else
77688 # this is the suspicious part
77689 CFLAGS=''
77691 if test "$ac_sectionLDflags" = "yes"; then
77692 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77694 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77695 echo "${ECHO_T}$ac_sectionLDflags" >&6
77698 # Set linker optimization flags.
77699 if test x"$with_gnu_ld" = x"yes"; then
77700 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77708 echo "$as_me:$LINENO: checking for main in -lm" >&5
77709 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77710 if test "${ac_cv_lib_m_main+set}" = set; then
77711 echo $ECHO_N "(cached) $ECHO_C" >&6
77712 else
77713 ac_check_lib_save_LIBS=$LIBS
77714 LIBS="-lm $LIBS"
77715 if test x$gcc_no_link = xyes; then
77716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77718 { (exit 1); exit 1; }; }
77720 cat >conftest.$ac_ext <<_ACEOF
77721 /* confdefs.h. */
77722 _ACEOF
77723 cat confdefs.h >>conftest.$ac_ext
77724 cat >>conftest.$ac_ext <<_ACEOF
77725 /* end confdefs.h. */
77729 main ()
77731 main ();
77733 return 0;
77735 _ACEOF
77736 rm -f conftest.$ac_objext conftest$ac_exeext
77737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77738 (eval $ac_link) 2>conftest.er1
77739 ac_status=$?
77740 grep -v '^ *+' conftest.er1 >conftest.err
77741 rm -f conftest.er1
77742 cat conftest.err >&5
77743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77744 (exit $ac_status); } &&
77745 { ac_try='test -z "$ac_c_werror_flag"
77746 || test ! -s conftest.err'
77747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748 (eval $ac_try) 2>&5
77749 ac_status=$?
77750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751 (exit $ac_status); }; } &&
77752 { ac_try='test -s conftest$ac_exeext'
77753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77754 (eval $ac_try) 2>&5
77755 ac_status=$?
77756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77757 (exit $ac_status); }; }; then
77758 ac_cv_lib_m_main=yes
77759 else
77760 echo "$as_me: failed program was:" >&5
77761 sed 's/^/| /' conftest.$ac_ext >&5
77763 ac_cv_lib_m_main=no
77765 rm -f conftest.err conftest.$ac_objext \
77766 conftest$ac_exeext conftest.$ac_ext
77767 LIBS=$ac_check_lib_save_LIBS
77769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77770 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77771 if test $ac_cv_lib_m_main = yes; then
77772 cat >>confdefs.h <<_ACEOF
77773 #define HAVE_LIBM 1
77774 _ACEOF
77776 LIBS="-lm $LIBS"
77781 for ac_func in copysignf
77783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77784 echo "$as_me:$LINENO: checking for $ac_func" >&5
77785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77786 if eval "test \"\${$as_ac_var+set}\" = set"; then
77787 echo $ECHO_N "(cached) $ECHO_C" >&6
77788 else
77789 if test x$gcc_no_link = xyes; then
77790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77792 { (exit 1); exit 1; }; }
77794 cat >conftest.$ac_ext <<_ACEOF
77795 /* confdefs.h. */
77796 _ACEOF
77797 cat confdefs.h >>conftest.$ac_ext
77798 cat >>conftest.$ac_ext <<_ACEOF
77799 /* end confdefs.h. */
77800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77802 #define $ac_func innocuous_$ac_func
77804 /* System header to define __stub macros and hopefully few prototypes,
77805 which can conflict with char $ac_func (); below.
77806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77807 <limits.h> exists even on freestanding compilers. */
77809 #ifdef __STDC__
77810 # include <limits.h>
77811 #else
77812 # include <assert.h>
77813 #endif
77815 #undef $ac_func
77817 /* Override any gcc2 internal prototype to avoid an error. */
77818 #ifdef __cplusplus
77819 extern "C"
77821 #endif
77822 /* We use char because int might match the return type of a gcc2
77823 builtin and then its argument prototype would still apply. */
77824 char $ac_func ();
77825 /* The GNU C library defines this for functions which it implements
77826 to always fail with ENOSYS. Some functions are actually named
77827 something starting with __ and the normal name is an alias. */
77828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77829 choke me
77830 #else
77831 char (*f) () = $ac_func;
77832 #endif
77833 #ifdef __cplusplus
77835 #endif
77838 main ()
77840 return f != $ac_func;
77842 return 0;
77844 _ACEOF
77845 rm -f conftest.$ac_objext conftest$ac_exeext
77846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77847 (eval $ac_link) 2>conftest.er1
77848 ac_status=$?
77849 grep -v '^ *+' conftest.er1 >conftest.err
77850 rm -f conftest.er1
77851 cat conftest.err >&5
77852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77853 (exit $ac_status); } &&
77854 { ac_try='test -z "$ac_c_werror_flag"
77855 || test ! -s conftest.err'
77856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77857 (eval $ac_try) 2>&5
77858 ac_status=$?
77859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77860 (exit $ac_status); }; } &&
77861 { ac_try='test -s conftest$ac_exeext'
77862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77863 (eval $ac_try) 2>&5
77864 ac_status=$?
77865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77866 (exit $ac_status); }; }; then
77867 eval "$as_ac_var=yes"
77868 else
77869 echo "$as_me: failed program was:" >&5
77870 sed 's/^/| /' conftest.$ac_ext >&5
77872 eval "$as_ac_var=no"
77874 rm -f conftest.err conftest.$ac_objext \
77875 conftest$ac_exeext conftest.$ac_ext
77877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77879 if test `eval echo '${'$as_ac_var'}'` = yes; then
77880 cat >>confdefs.h <<_ACEOF
77881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77882 _ACEOF
77884 else
77885 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77887 done
77891 for ac_func in __signbit
77893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77894 echo "$as_me:$LINENO: checking for $ac_func" >&5
77895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77896 if eval "test \"\${$as_ac_var+set}\" = set"; then
77897 echo $ECHO_N "(cached) $ECHO_C" >&6
77898 else
77899 if test x$gcc_no_link = xyes; then
77900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77902 { (exit 1); exit 1; }; }
77904 cat >conftest.$ac_ext <<_ACEOF
77905 /* confdefs.h. */
77906 _ACEOF
77907 cat confdefs.h >>conftest.$ac_ext
77908 cat >>conftest.$ac_ext <<_ACEOF
77909 /* end confdefs.h. */
77910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77912 #define $ac_func innocuous_$ac_func
77914 /* System header to define __stub macros and hopefully few prototypes,
77915 which can conflict with char $ac_func (); below.
77916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77917 <limits.h> exists even on freestanding compilers. */
77919 #ifdef __STDC__
77920 # include <limits.h>
77921 #else
77922 # include <assert.h>
77923 #endif
77925 #undef $ac_func
77927 /* Override any gcc2 internal prototype to avoid an error. */
77928 #ifdef __cplusplus
77929 extern "C"
77931 #endif
77932 /* We use char because int might match the return type of a gcc2
77933 builtin and then its argument prototype would still apply. */
77934 char $ac_func ();
77935 /* The GNU C library defines this for functions which it implements
77936 to always fail with ENOSYS. Some functions are actually named
77937 something starting with __ and the normal name is an alias. */
77938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77939 choke me
77940 #else
77941 char (*f) () = $ac_func;
77942 #endif
77943 #ifdef __cplusplus
77945 #endif
77948 main ()
77950 return f != $ac_func;
77952 return 0;
77954 _ACEOF
77955 rm -f conftest.$ac_objext conftest$ac_exeext
77956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77957 (eval $ac_link) 2>conftest.er1
77958 ac_status=$?
77959 grep -v '^ *+' conftest.er1 >conftest.err
77960 rm -f conftest.er1
77961 cat conftest.err >&5
77962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77963 (exit $ac_status); } &&
77964 { ac_try='test -z "$ac_c_werror_flag"
77965 || test ! -s conftest.err'
77966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77967 (eval $ac_try) 2>&5
77968 ac_status=$?
77969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970 (exit $ac_status); }; } &&
77971 { ac_try='test -s conftest$ac_exeext'
77972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77973 (eval $ac_try) 2>&5
77974 ac_status=$?
77975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976 (exit $ac_status); }; }; then
77977 eval "$as_ac_var=yes"
77978 else
77979 echo "$as_me: failed program was:" >&5
77980 sed 's/^/| /' conftest.$ac_ext >&5
77982 eval "$as_ac_var=no"
77984 rm -f conftest.err conftest.$ac_objext \
77985 conftest$ac_exeext conftest.$ac_ext
77987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77989 if test `eval echo '${'$as_ac_var'}'` = yes; then
77990 cat >>confdefs.h <<_ACEOF
77991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77992 _ACEOF
77994 else
77995 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77997 done
78001 for ac_func in __signbitf
78003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78004 echo "$as_me:$LINENO: checking for $ac_func" >&5
78005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78006 if eval "test \"\${$as_ac_var+set}\" = set"; then
78007 echo $ECHO_N "(cached) $ECHO_C" >&6
78008 else
78009 if test x$gcc_no_link = xyes; then
78010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78012 { (exit 1); exit 1; }; }
78014 cat >conftest.$ac_ext <<_ACEOF
78015 /* confdefs.h. */
78016 _ACEOF
78017 cat confdefs.h >>conftest.$ac_ext
78018 cat >>conftest.$ac_ext <<_ACEOF
78019 /* end confdefs.h. */
78020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78022 #define $ac_func innocuous_$ac_func
78024 /* System header to define __stub macros and hopefully few prototypes,
78025 which can conflict with char $ac_func (); below.
78026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78027 <limits.h> exists even on freestanding compilers. */
78029 #ifdef __STDC__
78030 # include <limits.h>
78031 #else
78032 # include <assert.h>
78033 #endif
78035 #undef $ac_func
78037 /* Override any gcc2 internal prototype to avoid an error. */
78038 #ifdef __cplusplus
78039 extern "C"
78041 #endif
78042 /* We use char because int might match the return type of a gcc2
78043 builtin and then its argument prototype would still apply. */
78044 char $ac_func ();
78045 /* The GNU C library defines this for functions which it implements
78046 to always fail with ENOSYS. Some functions are actually named
78047 something starting with __ and the normal name is an alias. */
78048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78049 choke me
78050 #else
78051 char (*f) () = $ac_func;
78052 #endif
78053 #ifdef __cplusplus
78055 #endif
78058 main ()
78060 return f != $ac_func;
78062 return 0;
78064 _ACEOF
78065 rm -f conftest.$ac_objext conftest$ac_exeext
78066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78067 (eval $ac_link) 2>conftest.er1
78068 ac_status=$?
78069 grep -v '^ *+' conftest.er1 >conftest.err
78070 rm -f conftest.er1
78071 cat conftest.err >&5
78072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78073 (exit $ac_status); } &&
78074 { ac_try='test -z "$ac_c_werror_flag"
78075 || test ! -s conftest.err'
78076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78077 (eval $ac_try) 2>&5
78078 ac_status=$?
78079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080 (exit $ac_status); }; } &&
78081 { ac_try='test -s conftest$ac_exeext'
78082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78083 (eval $ac_try) 2>&5
78084 ac_status=$?
78085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78086 (exit $ac_status); }; }; then
78087 eval "$as_ac_var=yes"
78088 else
78089 echo "$as_me: failed program was:" >&5
78090 sed 's/^/| /' conftest.$ac_ext >&5
78092 eval "$as_ac_var=no"
78094 rm -f conftest.err conftest.$ac_objext \
78095 conftest$ac_exeext conftest.$ac_ext
78097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78099 if test `eval echo '${'$as_ac_var'}'` = yes; then
78100 cat >>confdefs.h <<_ACEOF
78101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78102 _ACEOF
78104 else
78105 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78107 done
78110 if test x$ac_cv_func_copysignl = x"yes"; then
78112 for ac_func in __signbitl
78114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78115 echo "$as_me:$LINENO: checking for $ac_func" >&5
78116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78117 if eval "test \"\${$as_ac_var+set}\" = set"; then
78118 echo $ECHO_N "(cached) $ECHO_C" >&6
78119 else
78120 if test x$gcc_no_link = xyes; then
78121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78123 { (exit 1); exit 1; }; }
78125 cat >conftest.$ac_ext <<_ACEOF
78126 /* confdefs.h. */
78127 _ACEOF
78128 cat confdefs.h >>conftest.$ac_ext
78129 cat >>conftest.$ac_ext <<_ACEOF
78130 /* end confdefs.h. */
78131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78133 #define $ac_func innocuous_$ac_func
78135 /* System header to define __stub macros and hopefully few prototypes,
78136 which can conflict with char $ac_func (); below.
78137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78138 <limits.h> exists even on freestanding compilers. */
78140 #ifdef __STDC__
78141 # include <limits.h>
78142 #else
78143 # include <assert.h>
78144 #endif
78146 #undef $ac_func
78148 /* Override any gcc2 internal prototype to avoid an error. */
78149 #ifdef __cplusplus
78150 extern "C"
78152 #endif
78153 /* We use char because int might match the return type of a gcc2
78154 builtin and then its argument prototype would still apply. */
78155 char $ac_func ();
78156 /* The GNU C library defines this for functions which it implements
78157 to always fail with ENOSYS. Some functions are actually named
78158 something starting with __ and the normal name is an alias. */
78159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78160 choke me
78161 #else
78162 char (*f) () = $ac_func;
78163 #endif
78164 #ifdef __cplusplus
78166 #endif
78169 main ()
78171 return f != $ac_func;
78173 return 0;
78175 _ACEOF
78176 rm -f conftest.$ac_objext conftest$ac_exeext
78177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78178 (eval $ac_link) 2>conftest.er1
78179 ac_status=$?
78180 grep -v '^ *+' conftest.er1 >conftest.err
78181 rm -f conftest.er1
78182 cat conftest.err >&5
78183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78184 (exit $ac_status); } &&
78185 { ac_try='test -z "$ac_c_werror_flag"
78186 || test ! -s conftest.err'
78187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78188 (eval $ac_try) 2>&5
78189 ac_status=$?
78190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78191 (exit $ac_status); }; } &&
78192 { ac_try='test -s conftest$ac_exeext'
78193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78194 (eval $ac_try) 2>&5
78195 ac_status=$?
78196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78197 (exit $ac_status); }; }; then
78198 eval "$as_ac_var=yes"
78199 else
78200 echo "$as_me: failed program was:" >&5
78201 sed 's/^/| /' conftest.$ac_ext >&5
78203 eval "$as_ac_var=no"
78205 rm -f conftest.err conftest.$ac_objext \
78206 conftest$ac_exeext conftest.$ac_ext
78208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78210 if test `eval echo '${'$as_ac_var'}'` = yes; then
78211 cat >>confdefs.h <<_ACEOF
78212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78213 _ACEOF
78215 else
78216 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78218 done
78222 # Used in libmath/Makefile.am.
78223 if test -n "$LIBMATHOBJS"; then
78224 need_libmath=yes
78229 # Test wchar.h for mbstate_t, which is needed for char_traits and
78230 # others even if wchar_t support is not on.
78231 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78232 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78233 cat >conftest.$ac_ext <<_ACEOF
78234 /* confdefs.h. */
78235 _ACEOF
78236 cat confdefs.h >>conftest.$ac_ext
78237 cat >>conftest.$ac_ext <<_ACEOF
78238 /* end confdefs.h. */
78239 #include <wchar.h>
78241 main ()
78243 mbstate_t teststate;
78245 return 0;
78247 _ACEOF
78248 rm -f conftest.$ac_objext
78249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78250 (eval $ac_compile) 2>conftest.er1
78251 ac_status=$?
78252 grep -v '^ *+' conftest.er1 >conftest.err
78253 rm -f conftest.er1
78254 cat conftest.err >&5
78255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78256 (exit $ac_status); } &&
78257 { ac_try='test -z "$ac_c_werror_flag"
78258 || test ! -s conftest.err'
78259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78260 (eval $ac_try) 2>&5
78261 ac_status=$?
78262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78263 (exit $ac_status); }; } &&
78264 { ac_try='test -s conftest.$ac_objext'
78265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78266 (eval $ac_try) 2>&5
78267 ac_status=$?
78268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78269 (exit $ac_status); }; }; then
78270 have_mbstate_t=yes
78271 else
78272 echo "$as_me: failed program was:" >&5
78273 sed 's/^/| /' conftest.$ac_ext >&5
78275 have_mbstate_t=no
78277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78278 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78279 echo "${ECHO_T}$have_mbstate_t" >&6
78280 if test x"$have_mbstate_t" = xyes; then
78281 cat >>confdefs.h <<\_ACEOF
78282 #define HAVE_MBSTATE_T 1
78283 _ACEOF
78287 # Sanity check for existence of ISO C99 headers for extended encoding.
78289 for ac_header in wchar.h
78291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78293 echo "$as_me:$LINENO: checking for $ac_header" >&5
78294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78296 echo $ECHO_N "(cached) $ECHO_C" >&6
78298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78300 else
78301 # Is the header compilable?
78302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78304 cat >conftest.$ac_ext <<_ACEOF
78305 /* confdefs.h. */
78306 _ACEOF
78307 cat confdefs.h >>conftest.$ac_ext
78308 cat >>conftest.$ac_ext <<_ACEOF
78309 /* end confdefs.h. */
78310 $ac_includes_default
78311 #include <$ac_header>
78312 _ACEOF
78313 rm -f conftest.$ac_objext
78314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78315 (eval $ac_compile) 2>conftest.er1
78316 ac_status=$?
78317 grep -v '^ *+' conftest.er1 >conftest.err
78318 rm -f conftest.er1
78319 cat conftest.err >&5
78320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78321 (exit $ac_status); } &&
78322 { ac_try='test -z "$ac_c_werror_flag"
78323 || test ! -s conftest.err'
78324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78325 (eval $ac_try) 2>&5
78326 ac_status=$?
78327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78328 (exit $ac_status); }; } &&
78329 { ac_try='test -s conftest.$ac_objext'
78330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78331 (eval $ac_try) 2>&5
78332 ac_status=$?
78333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78334 (exit $ac_status); }; }; then
78335 ac_header_compiler=yes
78336 else
78337 echo "$as_me: failed program was:" >&5
78338 sed 's/^/| /' conftest.$ac_ext >&5
78340 ac_header_compiler=no
78342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78344 echo "${ECHO_T}$ac_header_compiler" >&6
78346 # Is the header present?
78347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78349 cat >conftest.$ac_ext <<_ACEOF
78350 /* confdefs.h. */
78351 _ACEOF
78352 cat confdefs.h >>conftest.$ac_ext
78353 cat >>conftest.$ac_ext <<_ACEOF
78354 /* end confdefs.h. */
78355 #include <$ac_header>
78356 _ACEOF
78357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78359 ac_status=$?
78360 grep -v '^ *+' conftest.er1 >conftest.err
78361 rm -f conftest.er1
78362 cat conftest.err >&5
78363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78364 (exit $ac_status); } >/dev/null; then
78365 if test -s conftest.err; then
78366 ac_cpp_err=$ac_c_preproc_warn_flag
78367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78368 else
78369 ac_cpp_err=
78371 else
78372 ac_cpp_err=yes
78374 if test -z "$ac_cpp_err"; then
78375 ac_header_preproc=yes
78376 else
78377 echo "$as_me: failed program was:" >&5
78378 sed 's/^/| /' conftest.$ac_ext >&5
78380 ac_header_preproc=no
78382 rm -f conftest.err conftest.$ac_ext
78383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78384 echo "${ECHO_T}$ac_header_preproc" >&6
78386 # So? What about this header?
78387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78388 yes:no: )
78389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78393 ac_header_preproc=yes
78395 no:yes:* )
78396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78409 cat <<\_ASBOX
78410 ## ----------------------------------------- ##
78411 ## Report this to the package-unused lists. ##
78412 ## ----------------------------------------- ##
78413 _ASBOX
78415 sed "s/^/$as_me: WARNING: /" >&2
78417 esac
78418 echo "$as_me:$LINENO: checking for $ac_header" >&5
78419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78421 echo $ECHO_N "(cached) $ECHO_C" >&6
78422 else
78423 eval "$as_ac_Header=\$ac_header_preproc"
78425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78430 cat >>confdefs.h <<_ACEOF
78431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78432 _ACEOF
78433 ac_has_wchar_h=yes
78434 else
78435 ac_has_wchar_h=no
78438 done
78441 for ac_header in wctype.h
78443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78445 echo "$as_me:$LINENO: checking for $ac_header" >&5
78446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78448 echo $ECHO_N "(cached) $ECHO_C" >&6
78450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78452 else
78453 # Is the header compilable?
78454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78456 cat >conftest.$ac_ext <<_ACEOF
78457 /* confdefs.h. */
78458 _ACEOF
78459 cat confdefs.h >>conftest.$ac_ext
78460 cat >>conftest.$ac_ext <<_ACEOF
78461 /* end confdefs.h. */
78462 $ac_includes_default
78463 #include <$ac_header>
78464 _ACEOF
78465 rm -f conftest.$ac_objext
78466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78467 (eval $ac_compile) 2>conftest.er1
78468 ac_status=$?
78469 grep -v '^ *+' conftest.er1 >conftest.err
78470 rm -f conftest.er1
78471 cat conftest.err >&5
78472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473 (exit $ac_status); } &&
78474 { ac_try='test -z "$ac_c_werror_flag"
78475 || test ! -s conftest.err'
78476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78477 (eval $ac_try) 2>&5
78478 ac_status=$?
78479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78480 (exit $ac_status); }; } &&
78481 { ac_try='test -s conftest.$ac_objext'
78482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78483 (eval $ac_try) 2>&5
78484 ac_status=$?
78485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78486 (exit $ac_status); }; }; then
78487 ac_header_compiler=yes
78488 else
78489 echo "$as_me: failed program was:" >&5
78490 sed 's/^/| /' conftest.$ac_ext >&5
78492 ac_header_compiler=no
78494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78496 echo "${ECHO_T}$ac_header_compiler" >&6
78498 # Is the header present?
78499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78501 cat >conftest.$ac_ext <<_ACEOF
78502 /* confdefs.h. */
78503 _ACEOF
78504 cat confdefs.h >>conftest.$ac_ext
78505 cat >>conftest.$ac_ext <<_ACEOF
78506 /* end confdefs.h. */
78507 #include <$ac_header>
78508 _ACEOF
78509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78511 ac_status=$?
78512 grep -v '^ *+' conftest.er1 >conftest.err
78513 rm -f conftest.er1
78514 cat conftest.err >&5
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); } >/dev/null; then
78517 if test -s conftest.err; then
78518 ac_cpp_err=$ac_c_preproc_warn_flag
78519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78520 else
78521 ac_cpp_err=
78523 else
78524 ac_cpp_err=yes
78526 if test -z "$ac_cpp_err"; then
78527 ac_header_preproc=yes
78528 else
78529 echo "$as_me: failed program was:" >&5
78530 sed 's/^/| /' conftest.$ac_ext >&5
78532 ac_header_preproc=no
78534 rm -f conftest.err conftest.$ac_ext
78535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78536 echo "${ECHO_T}$ac_header_preproc" >&6
78538 # So? What about this header?
78539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78540 yes:no: )
78541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78545 ac_header_preproc=yes
78547 no:yes:* )
78548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78561 cat <<\_ASBOX
78562 ## ----------------------------------------- ##
78563 ## Report this to the package-unused lists. ##
78564 ## ----------------------------------------- ##
78565 _ASBOX
78567 sed "s/^/$as_me: WARNING: /" >&2
78569 esac
78570 echo "$as_me:$LINENO: checking for $ac_header" >&5
78571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78573 echo $ECHO_N "(cached) $ECHO_C" >&6
78574 else
78575 eval "$as_ac_Header=\$ac_header_preproc"
78577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78582 cat >>confdefs.h <<_ACEOF
78583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78584 _ACEOF
78585 ac_has_wctype_h=yes
78586 else
78587 ac_has_wctype_h=no
78590 done
78593 # Only continue checking if the ISO C99 headers exist and support is on.
78594 if test x"$ac_has_wchar_h" = xyes &&
78595 test x"$ac_has_wctype_h" = xyes &&
78596 test x"$enable_c_mbchar" != xno; then
78598 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78599 # numeric_limits can instantiate type_traits<wchar_t>
78600 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78601 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78602 cat >conftest.$ac_ext <<_ACEOF
78603 /* confdefs.h. */
78604 _ACEOF
78605 cat confdefs.h >>conftest.$ac_ext
78606 cat >>conftest.$ac_ext <<_ACEOF
78607 /* end confdefs.h. */
78608 #include <wchar.h>
78610 main ()
78612 int i = WCHAR_MIN; int j = WCHAR_MAX;
78614 return 0;
78616 _ACEOF
78617 rm -f conftest.$ac_objext
78618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78619 (eval $ac_compile) 2>conftest.er1
78620 ac_status=$?
78621 grep -v '^ *+' conftest.er1 >conftest.err
78622 rm -f conftest.er1
78623 cat conftest.err >&5
78624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78625 (exit $ac_status); } &&
78626 { ac_try='test -z "$ac_c_werror_flag"
78627 || test ! -s conftest.err'
78628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78629 (eval $ac_try) 2>&5
78630 ac_status=$?
78631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78632 (exit $ac_status); }; } &&
78633 { ac_try='test -s conftest.$ac_objext'
78634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78635 (eval $ac_try) 2>&5
78636 ac_status=$?
78637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78638 (exit $ac_status); }; }; then
78639 has_wchar_minmax=yes
78640 else
78641 echo "$as_me: failed program was:" >&5
78642 sed 's/^/| /' conftest.$ac_ext >&5
78644 has_wchar_minmax=no
78646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78647 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78648 echo "${ECHO_T}$has_wchar_minmax" >&6
78650 # Test wchar.h for WEOF, which is what we use to determine whether
78651 # to specialize for char_traits<wchar_t> or not.
78652 echo "$as_me:$LINENO: checking for WEOF" >&5
78653 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78654 cat >conftest.$ac_ext <<_ACEOF
78655 /* confdefs.h. */
78656 _ACEOF
78657 cat confdefs.h >>conftest.$ac_ext
78658 cat >>conftest.$ac_ext <<_ACEOF
78659 /* end confdefs.h. */
78661 #include <wchar.h>
78662 #include <stddef.h>
78664 main ()
78666 wint_t i = WEOF;
78668 return 0;
78670 _ACEOF
78671 rm -f conftest.$ac_objext
78672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78673 (eval $ac_compile) 2>conftest.er1
78674 ac_status=$?
78675 grep -v '^ *+' conftest.er1 >conftest.err
78676 rm -f conftest.er1
78677 cat conftest.err >&5
78678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78679 (exit $ac_status); } &&
78680 { ac_try='test -z "$ac_c_werror_flag"
78681 || test ! -s conftest.err'
78682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78683 (eval $ac_try) 2>&5
78684 ac_status=$?
78685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78686 (exit $ac_status); }; } &&
78687 { ac_try='test -s conftest.$ac_objext'
78688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78689 (eval $ac_try) 2>&5
78690 ac_status=$?
78691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692 (exit $ac_status); }; }; then
78693 has_weof=yes
78694 else
78695 echo "$as_me: failed program was:" >&5
78696 sed 's/^/| /' conftest.$ac_ext >&5
78698 has_weof=no
78700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78701 echo "$as_me:$LINENO: result: $has_weof" >&5
78702 echo "${ECHO_T}$has_weof" >&6
78704 # Tests for wide character functions used in char_traits<wchar_t>.
78705 ac_wfuncs=yes
78712 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78715 echo "$as_me:$LINENO: checking for $ac_func" >&5
78716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78717 if eval "test \"\${$as_ac_var+set}\" = set"; then
78718 echo $ECHO_N "(cached) $ECHO_C" >&6
78719 else
78720 if test x$gcc_no_link = xyes; then
78721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78723 { (exit 1); exit 1; }; }
78725 cat >conftest.$ac_ext <<_ACEOF
78726 /* confdefs.h. */
78727 _ACEOF
78728 cat confdefs.h >>conftest.$ac_ext
78729 cat >>conftest.$ac_ext <<_ACEOF
78730 /* end confdefs.h. */
78731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78733 #define $ac_func innocuous_$ac_func
78735 /* System header to define __stub macros and hopefully few prototypes,
78736 which can conflict with char $ac_func (); below.
78737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78738 <limits.h> exists even on freestanding compilers. */
78740 #ifdef __STDC__
78741 # include <limits.h>
78742 #else
78743 # include <assert.h>
78744 #endif
78746 #undef $ac_func
78748 /* Override any gcc2 internal prototype to avoid an error. */
78749 #ifdef __cplusplus
78750 extern "C"
78752 #endif
78753 /* We use char because int might match the return type of a gcc2
78754 builtin and then its argument prototype would still apply. */
78755 char $ac_func ();
78756 /* The GNU C library defines this for functions which it implements
78757 to always fail with ENOSYS. Some functions are actually named
78758 something starting with __ and the normal name is an alias. */
78759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78760 choke me
78761 #else
78762 char (*f) () = $ac_func;
78763 #endif
78764 #ifdef __cplusplus
78766 #endif
78769 main ()
78771 return f != $ac_func;
78773 return 0;
78775 _ACEOF
78776 rm -f conftest.$ac_objext conftest$ac_exeext
78777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78778 (eval $ac_link) 2>conftest.er1
78779 ac_status=$?
78780 grep -v '^ *+' conftest.er1 >conftest.err
78781 rm -f conftest.er1
78782 cat conftest.err >&5
78783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78784 (exit $ac_status); } &&
78785 { ac_try='test -z "$ac_c_werror_flag"
78786 || test ! -s conftest.err'
78787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78788 (eval $ac_try) 2>&5
78789 ac_status=$?
78790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78791 (exit $ac_status); }; } &&
78792 { ac_try='test -s conftest$ac_exeext'
78793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794 (eval $ac_try) 2>&5
78795 ac_status=$?
78796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797 (exit $ac_status); }; }; then
78798 eval "$as_ac_var=yes"
78799 else
78800 echo "$as_me: failed program was:" >&5
78801 sed 's/^/| /' conftest.$ac_ext >&5
78803 eval "$as_ac_var=no"
78805 rm -f conftest.err conftest.$ac_objext \
78806 conftest$ac_exeext conftest.$ac_ext
78808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78810 if test `eval echo '${'$as_ac_var'}'` = yes; then
78811 cat >>confdefs.h <<_ACEOF
78812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78813 _ACEOF
78815 else
78816 ac_wfuncs=no
78818 done
78821 # Checks for names injected into std:: by the c_std headers.
78868 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78869 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78870 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78871 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78872 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78873 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78876 echo "$as_me:$LINENO: checking for $ac_func" >&5
78877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78878 if eval "test \"\${$as_ac_var+set}\" = set"; then
78879 echo $ECHO_N "(cached) $ECHO_C" >&6
78880 else
78881 if test x$gcc_no_link = xyes; then
78882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78884 { (exit 1); exit 1; }; }
78886 cat >conftest.$ac_ext <<_ACEOF
78887 /* confdefs.h. */
78888 _ACEOF
78889 cat confdefs.h >>conftest.$ac_ext
78890 cat >>conftest.$ac_ext <<_ACEOF
78891 /* end confdefs.h. */
78892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78894 #define $ac_func innocuous_$ac_func
78896 /* System header to define __stub macros and hopefully few prototypes,
78897 which can conflict with char $ac_func (); below.
78898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78899 <limits.h> exists even on freestanding compilers. */
78901 #ifdef __STDC__
78902 # include <limits.h>
78903 #else
78904 # include <assert.h>
78905 #endif
78907 #undef $ac_func
78909 /* Override any gcc2 internal prototype to avoid an error. */
78910 #ifdef __cplusplus
78911 extern "C"
78913 #endif
78914 /* We use char because int might match the return type of a gcc2
78915 builtin and then its argument prototype would still apply. */
78916 char $ac_func ();
78917 /* The GNU C library defines this for functions which it implements
78918 to always fail with ENOSYS. Some functions are actually named
78919 something starting with __ and the normal name is an alias. */
78920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78921 choke me
78922 #else
78923 char (*f) () = $ac_func;
78924 #endif
78925 #ifdef __cplusplus
78927 #endif
78930 main ()
78932 return f != $ac_func;
78934 return 0;
78936 _ACEOF
78937 rm -f conftest.$ac_objext conftest$ac_exeext
78938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78939 (eval $ac_link) 2>conftest.er1
78940 ac_status=$?
78941 grep -v '^ *+' conftest.er1 >conftest.err
78942 rm -f conftest.er1
78943 cat conftest.err >&5
78944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78945 (exit $ac_status); } &&
78946 { ac_try='test -z "$ac_c_werror_flag"
78947 || test ! -s conftest.err'
78948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78949 (eval $ac_try) 2>&5
78950 ac_status=$?
78951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78952 (exit $ac_status); }; } &&
78953 { ac_try='test -s conftest$ac_exeext'
78954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78955 (eval $ac_try) 2>&5
78956 ac_status=$?
78957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78958 (exit $ac_status); }; }; then
78959 eval "$as_ac_var=yes"
78960 else
78961 echo "$as_me: failed program was:" >&5
78962 sed 's/^/| /' conftest.$ac_ext >&5
78964 eval "$as_ac_var=no"
78966 rm -f conftest.err conftest.$ac_objext \
78967 conftest$ac_exeext conftest.$ac_ext
78969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78971 if test `eval echo '${'$as_ac_var'}'` = yes; then
78972 cat >>confdefs.h <<_ACEOF
78973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78974 _ACEOF
78976 else
78977 ac_wfuncs=no
78979 done
78982 # Checks for wide character functions that are not required
78983 # for basic wchar_t support. Don't disable support if they are missing.
78984 # Injection of these is wrapped with guard macros.
78990 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78993 echo "$as_me:$LINENO: checking for $ac_func" >&5
78994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78995 if eval "test \"\${$as_ac_var+set}\" = set"; then
78996 echo $ECHO_N "(cached) $ECHO_C" >&6
78997 else
78998 if test x$gcc_no_link = xyes; then
78999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79001 { (exit 1); exit 1; }; }
79003 cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h. */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h. */
79009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79011 #define $ac_func innocuous_$ac_func
79013 /* System header to define __stub macros and hopefully few prototypes,
79014 which can conflict with char $ac_func (); below.
79015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79016 <limits.h> exists even on freestanding compilers. */
79018 #ifdef __STDC__
79019 # include <limits.h>
79020 #else
79021 # include <assert.h>
79022 #endif
79024 #undef $ac_func
79026 /* Override any gcc2 internal prototype to avoid an error. */
79027 #ifdef __cplusplus
79028 extern "C"
79030 #endif
79031 /* We use char because int might match the return type of a gcc2
79032 builtin and then its argument prototype would still apply. */
79033 char $ac_func ();
79034 /* The GNU C library defines this for functions which it implements
79035 to always fail with ENOSYS. Some functions are actually named
79036 something starting with __ and the normal name is an alias. */
79037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79038 choke me
79039 #else
79040 char (*f) () = $ac_func;
79041 #endif
79042 #ifdef __cplusplus
79044 #endif
79047 main ()
79049 return f != $ac_func;
79051 return 0;
79053 _ACEOF
79054 rm -f conftest.$ac_objext conftest$ac_exeext
79055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79056 (eval $ac_link) 2>conftest.er1
79057 ac_status=$?
79058 grep -v '^ *+' conftest.er1 >conftest.err
79059 rm -f conftest.er1
79060 cat conftest.err >&5
79061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062 (exit $ac_status); } &&
79063 { ac_try='test -z "$ac_c_werror_flag"
79064 || test ! -s conftest.err'
79065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066 (eval $ac_try) 2>&5
79067 ac_status=$?
79068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069 (exit $ac_status); }; } &&
79070 { ac_try='test -s conftest$ac_exeext'
79071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072 (eval $ac_try) 2>&5
79073 ac_status=$?
79074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075 (exit $ac_status); }; }; then
79076 eval "$as_ac_var=yes"
79077 else
79078 echo "$as_me: failed program was:" >&5
79079 sed 's/^/| /' conftest.$ac_ext >&5
79081 eval "$as_ac_var=no"
79083 rm -f conftest.err conftest.$ac_objext \
79084 conftest$ac_exeext conftest.$ac_ext
79086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79088 if test `eval echo '${'$as_ac_var'}'` = yes; then
79089 cat >>confdefs.h <<_ACEOF
79090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79091 _ACEOF
79094 done
79097 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79098 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79099 if test x"$has_weof" = xyes &&
79100 test x"$has_wchar_minmax" = xyes &&
79101 test x"$ac_wfuncs" = xyes;
79102 then
79103 ac_isoC99_wchar_t=yes
79104 else
79105 ac_isoC99_wchar_t=no
79107 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79108 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79110 # Use iconv for wchar_t to char conversions. As such, check for
79111 # X/Open Portability Guide, version 2 features (XPG2).
79112 if test "${ac_cv_header_iconv_h+set}" = set; then
79113 echo "$as_me:$LINENO: checking for iconv.h" >&5
79114 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79115 if test "${ac_cv_header_iconv_h+set}" = set; then
79116 echo $ECHO_N "(cached) $ECHO_C" >&6
79118 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79119 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79120 else
79121 # Is the header compilable?
79122 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79123 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79124 cat >conftest.$ac_ext <<_ACEOF
79125 /* confdefs.h. */
79126 _ACEOF
79127 cat confdefs.h >>conftest.$ac_ext
79128 cat >>conftest.$ac_ext <<_ACEOF
79129 /* end confdefs.h. */
79130 $ac_includes_default
79131 #include <iconv.h>
79132 _ACEOF
79133 rm -f conftest.$ac_objext
79134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79135 (eval $ac_compile) 2>conftest.er1
79136 ac_status=$?
79137 grep -v '^ *+' conftest.er1 >conftest.err
79138 rm -f conftest.er1
79139 cat conftest.err >&5
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); } &&
79142 { ac_try='test -z "$ac_c_werror_flag"
79143 || test ! -s conftest.err'
79144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145 (eval $ac_try) 2>&5
79146 ac_status=$?
79147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148 (exit $ac_status); }; } &&
79149 { ac_try='test -s conftest.$ac_objext'
79150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79151 (eval $ac_try) 2>&5
79152 ac_status=$?
79153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79154 (exit $ac_status); }; }; then
79155 ac_header_compiler=yes
79156 else
79157 echo "$as_me: failed program was:" >&5
79158 sed 's/^/| /' conftest.$ac_ext >&5
79160 ac_header_compiler=no
79162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79164 echo "${ECHO_T}$ac_header_compiler" >&6
79166 # Is the header present?
79167 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79168 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79169 cat >conftest.$ac_ext <<_ACEOF
79170 /* confdefs.h. */
79171 _ACEOF
79172 cat confdefs.h >>conftest.$ac_ext
79173 cat >>conftest.$ac_ext <<_ACEOF
79174 /* end confdefs.h. */
79175 #include <iconv.h>
79176 _ACEOF
79177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79179 ac_status=$?
79180 grep -v '^ *+' conftest.er1 >conftest.err
79181 rm -f conftest.er1
79182 cat conftest.err >&5
79183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79184 (exit $ac_status); } >/dev/null; then
79185 if test -s conftest.err; then
79186 ac_cpp_err=$ac_c_preproc_warn_flag
79187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79188 else
79189 ac_cpp_err=
79191 else
79192 ac_cpp_err=yes
79194 if test -z "$ac_cpp_err"; then
79195 ac_header_preproc=yes
79196 else
79197 echo "$as_me: failed program was:" >&5
79198 sed 's/^/| /' conftest.$ac_ext >&5
79200 ac_header_preproc=no
79202 rm -f conftest.err conftest.$ac_ext
79203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79204 echo "${ECHO_T}$ac_header_preproc" >&6
79206 # So? What about this header?
79207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79208 yes:no: )
79209 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79210 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79211 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79212 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79213 ac_header_preproc=yes
79215 no:yes:* )
79216 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79217 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79218 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79219 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79220 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79221 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79222 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79223 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79224 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79225 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79226 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79227 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79229 cat <<\_ASBOX
79230 ## ----------------------------------------- ##
79231 ## Report this to the package-unused lists. ##
79232 ## ----------------------------------------- ##
79233 _ASBOX
79235 sed "s/^/$as_me: WARNING: /" >&2
79237 esac
79238 echo "$as_me:$LINENO: checking for iconv.h" >&5
79239 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79240 if test "${ac_cv_header_iconv_h+set}" = set; then
79241 echo $ECHO_N "(cached) $ECHO_C" >&6
79242 else
79243 ac_cv_header_iconv_h=$ac_header_preproc
79245 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79246 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79249 if test $ac_cv_header_iconv_h = yes; then
79250 ac_has_iconv_h=yes
79251 else
79252 ac_has_iconv_h=no
79256 if test "${ac_cv_header_langinfo_h+set}" = set; then
79257 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79258 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79259 if test "${ac_cv_header_langinfo_h+set}" = set; then
79260 echo $ECHO_N "(cached) $ECHO_C" >&6
79262 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79263 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79264 else
79265 # Is the header compilable?
79266 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79267 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79268 cat >conftest.$ac_ext <<_ACEOF
79269 /* confdefs.h. */
79270 _ACEOF
79271 cat confdefs.h >>conftest.$ac_ext
79272 cat >>conftest.$ac_ext <<_ACEOF
79273 /* end confdefs.h. */
79274 $ac_includes_default
79275 #include <langinfo.h>
79276 _ACEOF
79277 rm -f conftest.$ac_objext
79278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79279 (eval $ac_compile) 2>conftest.er1
79280 ac_status=$?
79281 grep -v '^ *+' conftest.er1 >conftest.err
79282 rm -f conftest.er1
79283 cat conftest.err >&5
79284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79285 (exit $ac_status); } &&
79286 { ac_try='test -z "$ac_c_werror_flag"
79287 || test ! -s conftest.err'
79288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79289 (eval $ac_try) 2>&5
79290 ac_status=$?
79291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79292 (exit $ac_status); }; } &&
79293 { ac_try='test -s conftest.$ac_objext'
79294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79295 (eval $ac_try) 2>&5
79296 ac_status=$?
79297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79298 (exit $ac_status); }; }; then
79299 ac_header_compiler=yes
79300 else
79301 echo "$as_me: failed program was:" >&5
79302 sed 's/^/| /' conftest.$ac_ext >&5
79304 ac_header_compiler=no
79306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79308 echo "${ECHO_T}$ac_header_compiler" >&6
79310 # Is the header present?
79311 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79312 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79313 cat >conftest.$ac_ext <<_ACEOF
79314 /* confdefs.h. */
79315 _ACEOF
79316 cat confdefs.h >>conftest.$ac_ext
79317 cat >>conftest.$ac_ext <<_ACEOF
79318 /* end confdefs.h. */
79319 #include <langinfo.h>
79320 _ACEOF
79321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79323 ac_status=$?
79324 grep -v '^ *+' conftest.er1 >conftest.err
79325 rm -f conftest.er1
79326 cat conftest.err >&5
79327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328 (exit $ac_status); } >/dev/null; then
79329 if test -s conftest.err; then
79330 ac_cpp_err=$ac_c_preproc_warn_flag
79331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79332 else
79333 ac_cpp_err=
79335 else
79336 ac_cpp_err=yes
79338 if test -z "$ac_cpp_err"; then
79339 ac_header_preproc=yes
79340 else
79341 echo "$as_me: failed program was:" >&5
79342 sed 's/^/| /' conftest.$ac_ext >&5
79344 ac_header_preproc=no
79346 rm -f conftest.err conftest.$ac_ext
79347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79348 echo "${ECHO_T}$ac_header_preproc" >&6
79350 # So? What about this header?
79351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79352 yes:no: )
79353 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79354 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79355 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79356 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79357 ac_header_preproc=yes
79359 no:yes:* )
79360 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79361 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79362 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79363 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79364 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79365 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79366 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79367 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79368 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79369 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79370 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79371 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79373 cat <<\_ASBOX
79374 ## ----------------------------------------- ##
79375 ## Report this to the package-unused lists. ##
79376 ## ----------------------------------------- ##
79377 _ASBOX
79379 sed "s/^/$as_me: WARNING: /" >&2
79381 esac
79382 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79384 if test "${ac_cv_header_langinfo_h+set}" = set; then
79385 echo $ECHO_N "(cached) $ECHO_C" >&6
79386 else
79387 ac_cv_header_langinfo_h=$ac_header_preproc
79389 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79390 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79393 if test $ac_cv_header_langinfo_h = yes; then
79394 ac_has_langinfo_h=yes
79395 else
79396 ac_has_langinfo_h=no
79401 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79402 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79403 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79404 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79405 echo $ECHO_N "(cached) $ECHO_C" >&6
79406 else
79407 ac_check_lib_save_LIBS=$LIBS
79408 LIBS="-liconv $LIBS"
79409 if test x$gcc_no_link = xyes; then
79410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79412 { (exit 1); exit 1; }; }
79414 cat >conftest.$ac_ext <<_ACEOF
79415 /* confdefs.h. */
79416 _ACEOF
79417 cat confdefs.h >>conftest.$ac_ext
79418 cat >>conftest.$ac_ext <<_ACEOF
79419 /* end confdefs.h. */
79421 /* Override any gcc2 internal prototype to avoid an error. */
79422 #ifdef __cplusplus
79423 extern "C"
79424 #endif
79425 /* We use char because int might match the return type of a gcc2
79426 builtin and then its argument prototype would still apply. */
79427 char iconv ();
79429 main ()
79431 iconv ();
79433 return 0;
79435 _ACEOF
79436 rm -f conftest.$ac_objext conftest$ac_exeext
79437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79438 (eval $ac_link) 2>conftest.er1
79439 ac_status=$?
79440 grep -v '^ *+' conftest.er1 >conftest.err
79441 rm -f conftest.er1
79442 cat conftest.err >&5
79443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444 (exit $ac_status); } &&
79445 { ac_try='test -z "$ac_c_werror_flag"
79446 || test ! -s conftest.err'
79447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79448 (eval $ac_try) 2>&5
79449 ac_status=$?
79450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79451 (exit $ac_status); }; } &&
79452 { ac_try='test -s conftest$ac_exeext'
79453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454 (eval $ac_try) 2>&5
79455 ac_status=$?
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); }; }; then
79458 ac_cv_lib_iconv_iconv=yes
79459 else
79460 echo "$as_me: failed program was:" >&5
79461 sed 's/^/| /' conftest.$ac_ext >&5
79463 ac_cv_lib_iconv_iconv=no
79465 rm -f conftest.err conftest.$ac_objext \
79466 conftest$ac_exeext conftest.$ac_ext
79467 LIBS=$ac_check_lib_save_LIBS
79469 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79470 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79471 if test $ac_cv_lib_iconv_iconv = yes; then
79472 LIBICONV="-liconv"
79475 ac_save_LIBS="$LIBS"
79476 LIBS="$LIBS $LIBICONV"
79483 for ac_func in iconv_open iconv_close iconv nl_langinfo
79485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79486 echo "$as_me:$LINENO: checking for $ac_func" >&5
79487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79488 if eval "test \"\${$as_ac_var+set}\" = set"; then
79489 echo $ECHO_N "(cached) $ECHO_C" >&6
79490 else
79491 if test x$gcc_no_link = xyes; then
79492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79494 { (exit 1); exit 1; }; }
79496 cat >conftest.$ac_ext <<_ACEOF
79497 /* confdefs.h. */
79498 _ACEOF
79499 cat confdefs.h >>conftest.$ac_ext
79500 cat >>conftest.$ac_ext <<_ACEOF
79501 /* end confdefs.h. */
79502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79504 #define $ac_func innocuous_$ac_func
79506 /* System header to define __stub macros and hopefully few prototypes,
79507 which can conflict with char $ac_func (); below.
79508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79509 <limits.h> exists even on freestanding compilers. */
79511 #ifdef __STDC__
79512 # include <limits.h>
79513 #else
79514 # include <assert.h>
79515 #endif
79517 #undef $ac_func
79519 /* Override any gcc2 internal prototype to avoid an error. */
79520 #ifdef __cplusplus
79521 extern "C"
79523 #endif
79524 /* We use char because int might match the return type of a gcc2
79525 builtin and then its argument prototype would still apply. */
79526 char $ac_func ();
79527 /* The GNU C library defines this for functions which it implements
79528 to always fail with ENOSYS. Some functions are actually named
79529 something starting with __ and the normal name is an alias. */
79530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79531 choke me
79532 #else
79533 char (*f) () = $ac_func;
79534 #endif
79535 #ifdef __cplusplus
79537 #endif
79540 main ()
79542 return f != $ac_func;
79544 return 0;
79546 _ACEOF
79547 rm -f conftest.$ac_objext conftest$ac_exeext
79548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79549 (eval $ac_link) 2>conftest.er1
79550 ac_status=$?
79551 grep -v '^ *+' conftest.er1 >conftest.err
79552 rm -f conftest.er1
79553 cat conftest.err >&5
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); } &&
79556 { ac_try='test -z "$ac_c_werror_flag"
79557 || test ! -s conftest.err'
79558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79559 (eval $ac_try) 2>&5
79560 ac_status=$?
79561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79562 (exit $ac_status); }; } &&
79563 { ac_try='test -s conftest$ac_exeext'
79564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79565 (eval $ac_try) 2>&5
79566 ac_status=$?
79567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568 (exit $ac_status); }; }; then
79569 eval "$as_ac_var=yes"
79570 else
79571 echo "$as_me: failed program was:" >&5
79572 sed 's/^/| /' conftest.$ac_ext >&5
79574 eval "$as_ac_var=no"
79576 rm -f conftest.err conftest.$ac_objext \
79577 conftest$ac_exeext conftest.$ac_ext
79579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79581 if test `eval echo '${'$as_ac_var'}'` = yes; then
79582 cat >>confdefs.h <<_ACEOF
79583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79584 _ACEOF
79585 ac_XPG2funcs=yes
79586 else
79587 ac_XPG2funcs=no
79589 done
79592 LIBS="$ac_save_LIBS"
79594 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79595 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79596 if test x"$ac_has_iconv_h" = xyes &&
79597 test x"$ac_has_langinfo_h" = xyes &&
79598 test x"$ac_XPG2funcs" = xyes;
79599 then
79600 ac_XPG2_wchar_t=yes
79601 else
79602 ac_XPG2_wchar_t=no
79604 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79605 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79607 # At the moment, only enable wchar_t specializations if all the
79608 # above support is present.
79609 if test x"$ac_isoC99_wchar_t" = xyes &&
79610 test x"$ac_XPG2_wchar_t" = xyes;
79611 then
79612 cat >>confdefs.h <<\_ACEOF
79613 #define _GLIBCXX_USE_WCHAR_T 1
79614 _ACEOF
79616 enable_wchar_t=yes
79619 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79620 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79621 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79622 echo "${ECHO_T}$enable_wchar_t" >&6
79624 cat >>confdefs.h <<\_ACEOF
79625 #define HAVE_COPYSIGN 1
79626 _ACEOF
79628 cat >>confdefs.h <<\_ACEOF
79629 #define HAVE_COPYSIGNF 1
79630 _ACEOF
79632 cat >>confdefs.h <<\_ACEOF
79633 #define HAVE_FREXPF 1
79634 _ACEOF
79636 cat >>confdefs.h <<\_ACEOF
79637 #define HAVE_HYPOT 1
79638 _ACEOF
79640 case "$target" in
79641 *-hpux10*)
79642 cat >>confdefs.h <<\_ACEOF
79643 #define HAVE_FINITE 1
79644 _ACEOF
79646 cat >>confdefs.h <<\_ACEOF
79647 #define HAVE_FINITEF 1
79648 _ACEOF
79650 cat >>confdefs.h <<\_ACEOF
79651 #define HAVE_ISINF 1
79652 _ACEOF
79654 cat >>confdefs.h <<\_ACEOF
79655 #define HAVE_ISINFF 1
79656 _ACEOF
79658 cat >>confdefs.h <<\_ACEOF
79659 #define HAVE_ISNAN 1
79660 _ACEOF
79662 cat >>confdefs.h <<\_ACEOF
79663 #define HAVE_ISNANF 1
79664 _ACEOF
79667 esac
79669 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79685 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79686 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79687 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79691 echo "$as_me:$LINENO: checking for $ac_header" >&5
79692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79694 echo $ECHO_N "(cached) $ECHO_C" >&6
79696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79698 else
79699 # Is the header compilable?
79700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79702 cat >conftest.$ac_ext <<_ACEOF
79703 /* confdefs.h. */
79704 _ACEOF
79705 cat confdefs.h >>conftest.$ac_ext
79706 cat >>conftest.$ac_ext <<_ACEOF
79707 /* end confdefs.h. */
79708 $ac_includes_default
79709 #include <$ac_header>
79710 _ACEOF
79711 rm -f conftest.$ac_objext
79712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79713 (eval $ac_compile) 2>conftest.er1
79714 ac_status=$?
79715 grep -v '^ *+' conftest.er1 >conftest.err
79716 rm -f conftest.er1
79717 cat conftest.err >&5
79718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79719 (exit $ac_status); } &&
79720 { ac_try='test -z "$ac_c_werror_flag"
79721 || test ! -s conftest.err'
79722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79723 (eval $ac_try) 2>&5
79724 ac_status=$?
79725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79726 (exit $ac_status); }; } &&
79727 { ac_try='test -s conftest.$ac_objext'
79728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79729 (eval $ac_try) 2>&5
79730 ac_status=$?
79731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79732 (exit $ac_status); }; }; then
79733 ac_header_compiler=yes
79734 else
79735 echo "$as_me: failed program was:" >&5
79736 sed 's/^/| /' conftest.$ac_ext >&5
79738 ac_header_compiler=no
79740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79742 echo "${ECHO_T}$ac_header_compiler" >&6
79744 # Is the header present?
79745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79747 cat >conftest.$ac_ext <<_ACEOF
79748 /* confdefs.h. */
79749 _ACEOF
79750 cat confdefs.h >>conftest.$ac_ext
79751 cat >>conftest.$ac_ext <<_ACEOF
79752 /* end confdefs.h. */
79753 #include <$ac_header>
79754 _ACEOF
79755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79757 ac_status=$?
79758 grep -v '^ *+' conftest.er1 >conftest.err
79759 rm -f conftest.er1
79760 cat conftest.err >&5
79761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79762 (exit $ac_status); } >/dev/null; then
79763 if test -s conftest.err; then
79764 ac_cpp_err=$ac_c_preproc_warn_flag
79765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79766 else
79767 ac_cpp_err=
79769 else
79770 ac_cpp_err=yes
79772 if test -z "$ac_cpp_err"; then
79773 ac_header_preproc=yes
79774 else
79775 echo "$as_me: failed program was:" >&5
79776 sed 's/^/| /' conftest.$ac_ext >&5
79778 ac_header_preproc=no
79780 rm -f conftest.err conftest.$ac_ext
79781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79782 echo "${ECHO_T}$ac_header_preproc" >&6
79784 # So? What about this header?
79785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79786 yes:no: )
79787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79791 ac_header_preproc=yes
79793 no:yes:* )
79794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79807 cat <<\_ASBOX
79808 ## ----------------------------------------- ##
79809 ## Report this to the package-unused lists. ##
79810 ## ----------------------------------------- ##
79811 _ASBOX
79813 sed "s/^/$as_me: WARNING: /" >&2
79815 esac
79816 echo "$as_me:$LINENO: checking for $ac_header" >&5
79817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79819 echo $ECHO_N "(cached) $ECHO_C" >&6
79820 else
79821 eval "$as_ac_Header=\$ac_header_preproc"
79823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79828 cat >>confdefs.h <<_ACEOF
79829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79830 _ACEOF
79834 done
79836 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79839 # If we're not using GNU ld, then there's no point in even trying these
79840 # tests. Check for that first. We should have already tested for gld
79841 # by now (in libtool), but require it now just to be safe...
79842 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79843 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79847 # The name set by libtool depends on the version of libtool. Shame on us
79848 # for depending on an impl detail, but c'est la vie. Older versions used
79849 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79850 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79851 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79852 # set (hence we're using an older libtool), then set it.
79853 if test x${with_gnu_ld+set} != xset; then
79854 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79855 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79856 with_gnu_ld=no
79857 else
79858 with_gnu_ld=$ac_cv_prog_gnu_ld
79862 # Start by getting the version number. I think the libtool test already
79863 # does some of this, but throws away the result.
79865 ldver=`$LD --version 2>/dev/null | head -1 | \
79866 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79868 glibcxx_gnu_ld_version=`echo $ldver | \
79869 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79871 # Set --gc-sections.
79872 if test "$with_gnu_ld" = "notbroken"; then
79873 # GNU ld it is! Joy and bunny rabbits!
79875 # All these tests are for C++; save the language and the compiler flags.
79876 # Need to do this so that g++ won't try to link in libstdc++
79877 ac_test_CFLAGS="${CFLAGS+set}"
79878 ac_save_CFLAGS="$CFLAGS"
79879 CFLAGS='-x c++ -Wl,--gc-sections'
79881 # Check for -Wl,--gc-sections
79882 # XXX This test is broken at the moment, as symbols required for linking
79883 # are now in libsupc++ (not built yet). In addition, this test has
79884 # cored on solaris in the past. In addition, --gc-sections doesn't
79885 # really work at the moment (keeps on discarding used sections, first
79886 # .eh_frame and now some of the glibc sections for iconv).
79887 # Bzzzzt. Thanks for playing, maybe next time.
79888 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79889 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79890 if test "$cross_compiling" = yes; then
79891 ac_sectionLDflags=yes
79892 else
79893 cat >conftest.$ac_ext <<_ACEOF
79894 /* confdefs.h. */
79895 _ACEOF
79896 cat confdefs.h >>conftest.$ac_ext
79897 cat >>conftest.$ac_ext <<_ACEOF
79898 /* end confdefs.h. */
79900 int main(void)
79902 try { throw 1; }
79903 catch (...) { };
79904 return 0;
79907 _ACEOF
79908 rm -f conftest$ac_exeext
79909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79910 (eval $ac_link) 2>&5
79911 ac_status=$?
79912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79915 (eval $ac_try) 2>&5
79916 ac_status=$?
79917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79918 (exit $ac_status); }; }; then
79919 ac_sectionLDflags=yes
79920 else
79921 echo "$as_me: program exited with status $ac_status" >&5
79922 echo "$as_me: failed program was:" >&5
79923 sed 's/^/| /' conftest.$ac_ext >&5
79925 ( exit $ac_status )
79926 ac_sectionLDflags=no
79928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79930 if test "$ac_test_CFLAGS" = set; then
79931 CFLAGS="$ac_save_CFLAGS"
79932 else
79933 # this is the suspicious part
79934 CFLAGS=''
79936 if test "$ac_sectionLDflags" = "yes"; then
79937 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79939 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79940 echo "${ECHO_T}$ac_sectionLDflags" >&6
79943 # Set linker optimization flags.
79944 if test x"$with_gnu_ld" = x"yes"; then
79945 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79953 echo "$as_me:$LINENO: checking for main in -lm" >&5
79954 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79955 if test "${ac_cv_lib_m_main+set}" = set; then
79956 echo $ECHO_N "(cached) $ECHO_C" >&6
79957 else
79958 ac_check_lib_save_LIBS=$LIBS
79959 LIBS="-lm $LIBS"
79960 if test x$gcc_no_link = xyes; then
79961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79963 { (exit 1); exit 1; }; }
79965 cat >conftest.$ac_ext <<_ACEOF
79966 /* confdefs.h. */
79967 _ACEOF
79968 cat confdefs.h >>conftest.$ac_ext
79969 cat >>conftest.$ac_ext <<_ACEOF
79970 /* end confdefs.h. */
79974 main ()
79976 main ();
79978 return 0;
79980 _ACEOF
79981 rm -f conftest.$ac_objext conftest$ac_exeext
79982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79983 (eval $ac_link) 2>conftest.er1
79984 ac_status=$?
79985 grep -v '^ *+' conftest.er1 >conftest.err
79986 rm -f conftest.er1
79987 cat conftest.err >&5
79988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989 (exit $ac_status); } &&
79990 { ac_try='test -z "$ac_c_werror_flag"
79991 || test ! -s conftest.err'
79992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79993 (eval $ac_try) 2>&5
79994 ac_status=$?
79995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79996 (exit $ac_status); }; } &&
79997 { ac_try='test -s conftest$ac_exeext'
79998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79999 (eval $ac_try) 2>&5
80000 ac_status=$?
80001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80002 (exit $ac_status); }; }; then
80003 ac_cv_lib_m_main=yes
80004 else
80005 echo "$as_me: failed program was:" >&5
80006 sed 's/^/| /' conftest.$ac_ext >&5
80008 ac_cv_lib_m_main=no
80010 rm -f conftest.err conftest.$ac_objext \
80011 conftest$ac_exeext conftest.$ac_ext
80012 LIBS=$ac_check_lib_save_LIBS
80014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80015 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80016 if test $ac_cv_lib_m_main = yes; then
80017 cat >>confdefs.h <<_ACEOF
80018 #define HAVE_LIBM 1
80019 _ACEOF
80021 LIBS="-lm $LIBS"
80026 for ac_func in copysignf
80028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80029 echo "$as_me:$LINENO: checking for $ac_func" >&5
80030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80031 if eval "test \"\${$as_ac_var+set}\" = set"; then
80032 echo $ECHO_N "(cached) $ECHO_C" >&6
80033 else
80034 if test x$gcc_no_link = xyes; then
80035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80037 { (exit 1); exit 1; }; }
80039 cat >conftest.$ac_ext <<_ACEOF
80040 /* confdefs.h. */
80041 _ACEOF
80042 cat confdefs.h >>conftest.$ac_ext
80043 cat >>conftest.$ac_ext <<_ACEOF
80044 /* end confdefs.h. */
80045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80047 #define $ac_func innocuous_$ac_func
80049 /* System header to define __stub macros and hopefully few prototypes,
80050 which can conflict with char $ac_func (); below.
80051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80052 <limits.h> exists even on freestanding compilers. */
80054 #ifdef __STDC__
80055 # include <limits.h>
80056 #else
80057 # include <assert.h>
80058 #endif
80060 #undef $ac_func
80062 /* Override any gcc2 internal prototype to avoid an error. */
80063 #ifdef __cplusplus
80064 extern "C"
80066 #endif
80067 /* We use char because int might match the return type of a gcc2
80068 builtin and then its argument prototype would still apply. */
80069 char $ac_func ();
80070 /* The GNU C library defines this for functions which it implements
80071 to always fail with ENOSYS. Some functions are actually named
80072 something starting with __ and the normal name is an alias. */
80073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80074 choke me
80075 #else
80076 char (*f) () = $ac_func;
80077 #endif
80078 #ifdef __cplusplus
80080 #endif
80083 main ()
80085 return f != $ac_func;
80087 return 0;
80089 _ACEOF
80090 rm -f conftest.$ac_objext conftest$ac_exeext
80091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80092 (eval $ac_link) 2>conftest.er1
80093 ac_status=$?
80094 grep -v '^ *+' conftest.er1 >conftest.err
80095 rm -f conftest.er1
80096 cat conftest.err >&5
80097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80098 (exit $ac_status); } &&
80099 { ac_try='test -z "$ac_c_werror_flag"
80100 || test ! -s conftest.err'
80101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80102 (eval $ac_try) 2>&5
80103 ac_status=$?
80104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80105 (exit $ac_status); }; } &&
80106 { ac_try='test -s conftest$ac_exeext'
80107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80108 (eval $ac_try) 2>&5
80109 ac_status=$?
80110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80111 (exit $ac_status); }; }; then
80112 eval "$as_ac_var=yes"
80113 else
80114 echo "$as_me: failed program was:" >&5
80115 sed 's/^/| /' conftest.$ac_ext >&5
80117 eval "$as_ac_var=no"
80119 rm -f conftest.err conftest.$ac_objext \
80120 conftest$ac_exeext conftest.$ac_ext
80122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80124 if test `eval echo '${'$as_ac_var'}'` = yes; then
80125 cat >>confdefs.h <<_ACEOF
80126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80127 _ACEOF
80129 else
80130 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80132 done
80136 for ac_func in __signbit
80138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80139 echo "$as_me:$LINENO: checking for $ac_func" >&5
80140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80141 if eval "test \"\${$as_ac_var+set}\" = set"; then
80142 echo $ECHO_N "(cached) $ECHO_C" >&6
80143 else
80144 if test x$gcc_no_link = xyes; then
80145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80147 { (exit 1); exit 1; }; }
80149 cat >conftest.$ac_ext <<_ACEOF
80150 /* confdefs.h. */
80151 _ACEOF
80152 cat confdefs.h >>conftest.$ac_ext
80153 cat >>conftest.$ac_ext <<_ACEOF
80154 /* end confdefs.h. */
80155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80157 #define $ac_func innocuous_$ac_func
80159 /* System header to define __stub macros and hopefully few prototypes,
80160 which can conflict with char $ac_func (); below.
80161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80162 <limits.h> exists even on freestanding compilers. */
80164 #ifdef __STDC__
80165 # include <limits.h>
80166 #else
80167 # include <assert.h>
80168 #endif
80170 #undef $ac_func
80172 /* Override any gcc2 internal prototype to avoid an error. */
80173 #ifdef __cplusplus
80174 extern "C"
80176 #endif
80177 /* We use char because int might match the return type of a gcc2
80178 builtin and then its argument prototype would still apply. */
80179 char $ac_func ();
80180 /* The GNU C library defines this for functions which it implements
80181 to always fail with ENOSYS. Some functions are actually named
80182 something starting with __ and the normal name is an alias. */
80183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80184 choke me
80185 #else
80186 char (*f) () = $ac_func;
80187 #endif
80188 #ifdef __cplusplus
80190 #endif
80193 main ()
80195 return f != $ac_func;
80197 return 0;
80199 _ACEOF
80200 rm -f conftest.$ac_objext conftest$ac_exeext
80201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80202 (eval $ac_link) 2>conftest.er1
80203 ac_status=$?
80204 grep -v '^ *+' conftest.er1 >conftest.err
80205 rm -f conftest.er1
80206 cat conftest.err >&5
80207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80208 (exit $ac_status); } &&
80209 { ac_try='test -z "$ac_c_werror_flag"
80210 || test ! -s conftest.err'
80211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80212 (eval $ac_try) 2>&5
80213 ac_status=$?
80214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215 (exit $ac_status); }; } &&
80216 { ac_try='test -s conftest$ac_exeext'
80217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80218 (eval $ac_try) 2>&5
80219 ac_status=$?
80220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80221 (exit $ac_status); }; }; then
80222 eval "$as_ac_var=yes"
80223 else
80224 echo "$as_me: failed program was:" >&5
80225 sed 's/^/| /' conftest.$ac_ext >&5
80227 eval "$as_ac_var=no"
80229 rm -f conftest.err conftest.$ac_objext \
80230 conftest$ac_exeext conftest.$ac_ext
80232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80234 if test `eval echo '${'$as_ac_var'}'` = yes; then
80235 cat >>confdefs.h <<_ACEOF
80236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80237 _ACEOF
80239 else
80240 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80242 done
80246 for ac_func in __signbitf
80248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80249 echo "$as_me:$LINENO: checking for $ac_func" >&5
80250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80251 if eval "test \"\${$as_ac_var+set}\" = set"; then
80252 echo $ECHO_N "(cached) $ECHO_C" >&6
80253 else
80254 if test x$gcc_no_link = xyes; then
80255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80257 { (exit 1); exit 1; }; }
80259 cat >conftest.$ac_ext <<_ACEOF
80260 /* confdefs.h. */
80261 _ACEOF
80262 cat confdefs.h >>conftest.$ac_ext
80263 cat >>conftest.$ac_ext <<_ACEOF
80264 /* end confdefs.h. */
80265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80267 #define $ac_func innocuous_$ac_func
80269 /* System header to define __stub macros and hopefully few prototypes,
80270 which can conflict with char $ac_func (); below.
80271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80272 <limits.h> exists even on freestanding compilers. */
80274 #ifdef __STDC__
80275 # include <limits.h>
80276 #else
80277 # include <assert.h>
80278 #endif
80280 #undef $ac_func
80282 /* Override any gcc2 internal prototype to avoid an error. */
80283 #ifdef __cplusplus
80284 extern "C"
80286 #endif
80287 /* We use char because int might match the return type of a gcc2
80288 builtin and then its argument prototype would still apply. */
80289 char $ac_func ();
80290 /* The GNU C library defines this for functions which it implements
80291 to always fail with ENOSYS. Some functions are actually named
80292 something starting with __ and the normal name is an alias. */
80293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80294 choke me
80295 #else
80296 char (*f) () = $ac_func;
80297 #endif
80298 #ifdef __cplusplus
80300 #endif
80303 main ()
80305 return f != $ac_func;
80307 return 0;
80309 _ACEOF
80310 rm -f conftest.$ac_objext conftest$ac_exeext
80311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80312 (eval $ac_link) 2>conftest.er1
80313 ac_status=$?
80314 grep -v '^ *+' conftest.er1 >conftest.err
80315 rm -f conftest.er1
80316 cat conftest.err >&5
80317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80318 (exit $ac_status); } &&
80319 { ac_try='test -z "$ac_c_werror_flag"
80320 || test ! -s conftest.err'
80321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80322 (eval $ac_try) 2>&5
80323 ac_status=$?
80324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80325 (exit $ac_status); }; } &&
80326 { ac_try='test -s conftest$ac_exeext'
80327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80328 (eval $ac_try) 2>&5
80329 ac_status=$?
80330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80331 (exit $ac_status); }; }; then
80332 eval "$as_ac_var=yes"
80333 else
80334 echo "$as_me: failed program was:" >&5
80335 sed 's/^/| /' conftest.$ac_ext >&5
80337 eval "$as_ac_var=no"
80339 rm -f conftest.err conftest.$ac_objext \
80340 conftest$ac_exeext conftest.$ac_ext
80342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80344 if test `eval echo '${'$as_ac_var'}'` = yes; then
80345 cat >>confdefs.h <<_ACEOF
80346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80347 _ACEOF
80349 else
80350 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80352 done
80355 if test x$ac_cv_func_copysignl = x"yes"; then
80357 for ac_func in __signbitl
80359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80360 echo "$as_me:$LINENO: checking for $ac_func" >&5
80361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80362 if eval "test \"\${$as_ac_var+set}\" = set"; then
80363 echo $ECHO_N "(cached) $ECHO_C" >&6
80364 else
80365 if test x$gcc_no_link = xyes; then
80366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80368 { (exit 1); exit 1; }; }
80370 cat >conftest.$ac_ext <<_ACEOF
80371 /* confdefs.h. */
80372 _ACEOF
80373 cat confdefs.h >>conftest.$ac_ext
80374 cat >>conftest.$ac_ext <<_ACEOF
80375 /* end confdefs.h. */
80376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80378 #define $ac_func innocuous_$ac_func
80380 /* System header to define __stub macros and hopefully few prototypes,
80381 which can conflict with char $ac_func (); below.
80382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80383 <limits.h> exists even on freestanding compilers. */
80385 #ifdef __STDC__
80386 # include <limits.h>
80387 #else
80388 # include <assert.h>
80389 #endif
80391 #undef $ac_func
80393 /* Override any gcc2 internal prototype to avoid an error. */
80394 #ifdef __cplusplus
80395 extern "C"
80397 #endif
80398 /* We use char because int might match the return type of a gcc2
80399 builtin and then its argument prototype would still apply. */
80400 char $ac_func ();
80401 /* The GNU C library defines this for functions which it implements
80402 to always fail with ENOSYS. Some functions are actually named
80403 something starting with __ and the normal name is an alias. */
80404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80405 choke me
80406 #else
80407 char (*f) () = $ac_func;
80408 #endif
80409 #ifdef __cplusplus
80411 #endif
80414 main ()
80416 return f != $ac_func;
80418 return 0;
80420 _ACEOF
80421 rm -f conftest.$ac_objext conftest$ac_exeext
80422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80423 (eval $ac_link) 2>conftest.er1
80424 ac_status=$?
80425 grep -v '^ *+' conftest.er1 >conftest.err
80426 rm -f conftest.er1
80427 cat conftest.err >&5
80428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80429 (exit $ac_status); } &&
80430 { ac_try='test -z "$ac_c_werror_flag"
80431 || test ! -s conftest.err'
80432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80433 (eval $ac_try) 2>&5
80434 ac_status=$?
80435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80436 (exit $ac_status); }; } &&
80437 { ac_try='test -s conftest$ac_exeext'
80438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80439 (eval $ac_try) 2>&5
80440 ac_status=$?
80441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80442 (exit $ac_status); }; }; then
80443 eval "$as_ac_var=yes"
80444 else
80445 echo "$as_me: failed program was:" >&5
80446 sed 's/^/| /' conftest.$ac_ext >&5
80448 eval "$as_ac_var=no"
80450 rm -f conftest.err conftest.$ac_objext \
80451 conftest$ac_exeext conftest.$ac_ext
80453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80455 if test `eval echo '${'$as_ac_var'}'` = yes; then
80456 cat >>confdefs.h <<_ACEOF
80457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80458 _ACEOF
80460 else
80461 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80463 done
80467 # Used in libmath/Makefile.am.
80468 if test -n "$LIBMATHOBJS"; then
80469 need_libmath=yes
80474 # Test wchar.h for mbstate_t, which is needed for char_traits and
80475 # others even if wchar_t support is not on.
80476 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80477 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80478 cat >conftest.$ac_ext <<_ACEOF
80479 /* confdefs.h. */
80480 _ACEOF
80481 cat confdefs.h >>conftest.$ac_ext
80482 cat >>conftest.$ac_ext <<_ACEOF
80483 /* end confdefs.h. */
80484 #include <wchar.h>
80486 main ()
80488 mbstate_t teststate;
80490 return 0;
80492 _ACEOF
80493 rm -f conftest.$ac_objext
80494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80495 (eval $ac_compile) 2>conftest.er1
80496 ac_status=$?
80497 grep -v '^ *+' conftest.er1 >conftest.err
80498 rm -f conftest.er1
80499 cat conftest.err >&5
80500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501 (exit $ac_status); } &&
80502 { ac_try='test -z "$ac_c_werror_flag"
80503 || test ! -s conftest.err'
80504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80505 (eval $ac_try) 2>&5
80506 ac_status=$?
80507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80508 (exit $ac_status); }; } &&
80509 { ac_try='test -s conftest.$ac_objext'
80510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80511 (eval $ac_try) 2>&5
80512 ac_status=$?
80513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514 (exit $ac_status); }; }; then
80515 have_mbstate_t=yes
80516 else
80517 echo "$as_me: failed program was:" >&5
80518 sed 's/^/| /' conftest.$ac_ext >&5
80520 have_mbstate_t=no
80522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80523 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80524 echo "${ECHO_T}$have_mbstate_t" >&6
80525 if test x"$have_mbstate_t" = xyes; then
80526 cat >>confdefs.h <<\_ACEOF
80527 #define HAVE_MBSTATE_T 1
80528 _ACEOF
80532 # Sanity check for existence of ISO C99 headers for extended encoding.
80534 for ac_header in wchar.h
80536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80538 echo "$as_me:$LINENO: checking for $ac_header" >&5
80539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80541 echo $ECHO_N "(cached) $ECHO_C" >&6
80543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80545 else
80546 # Is the header compilable?
80547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80549 cat >conftest.$ac_ext <<_ACEOF
80550 /* confdefs.h. */
80551 _ACEOF
80552 cat confdefs.h >>conftest.$ac_ext
80553 cat >>conftest.$ac_ext <<_ACEOF
80554 /* end confdefs.h. */
80555 $ac_includes_default
80556 #include <$ac_header>
80557 _ACEOF
80558 rm -f conftest.$ac_objext
80559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80560 (eval $ac_compile) 2>conftest.er1
80561 ac_status=$?
80562 grep -v '^ *+' conftest.er1 >conftest.err
80563 rm -f conftest.er1
80564 cat conftest.err >&5
80565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566 (exit $ac_status); } &&
80567 { ac_try='test -z "$ac_c_werror_flag"
80568 || test ! -s conftest.err'
80569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80570 (eval $ac_try) 2>&5
80571 ac_status=$?
80572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80573 (exit $ac_status); }; } &&
80574 { ac_try='test -s conftest.$ac_objext'
80575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80576 (eval $ac_try) 2>&5
80577 ac_status=$?
80578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80579 (exit $ac_status); }; }; then
80580 ac_header_compiler=yes
80581 else
80582 echo "$as_me: failed program was:" >&5
80583 sed 's/^/| /' conftest.$ac_ext >&5
80585 ac_header_compiler=no
80587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80589 echo "${ECHO_T}$ac_header_compiler" >&6
80591 # Is the header present?
80592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80594 cat >conftest.$ac_ext <<_ACEOF
80595 /* confdefs.h. */
80596 _ACEOF
80597 cat confdefs.h >>conftest.$ac_ext
80598 cat >>conftest.$ac_ext <<_ACEOF
80599 /* end confdefs.h. */
80600 #include <$ac_header>
80601 _ACEOF
80602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80604 ac_status=$?
80605 grep -v '^ *+' conftest.er1 >conftest.err
80606 rm -f conftest.er1
80607 cat conftest.err >&5
80608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80609 (exit $ac_status); } >/dev/null; then
80610 if test -s conftest.err; then
80611 ac_cpp_err=$ac_c_preproc_warn_flag
80612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80613 else
80614 ac_cpp_err=
80616 else
80617 ac_cpp_err=yes
80619 if test -z "$ac_cpp_err"; then
80620 ac_header_preproc=yes
80621 else
80622 echo "$as_me: failed program was:" >&5
80623 sed 's/^/| /' conftest.$ac_ext >&5
80625 ac_header_preproc=no
80627 rm -f conftest.err conftest.$ac_ext
80628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80629 echo "${ECHO_T}$ac_header_preproc" >&6
80631 # So? What about this header?
80632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80633 yes:no: )
80634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80638 ac_header_preproc=yes
80640 no:yes:* )
80641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80654 cat <<\_ASBOX
80655 ## ----------------------------------------- ##
80656 ## Report this to the package-unused lists. ##
80657 ## ----------------------------------------- ##
80658 _ASBOX
80660 sed "s/^/$as_me: WARNING: /" >&2
80662 esac
80663 echo "$as_me:$LINENO: checking for $ac_header" >&5
80664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80666 echo $ECHO_N "(cached) $ECHO_C" >&6
80667 else
80668 eval "$as_ac_Header=\$ac_header_preproc"
80670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80675 cat >>confdefs.h <<_ACEOF
80676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80677 _ACEOF
80678 ac_has_wchar_h=yes
80679 else
80680 ac_has_wchar_h=no
80683 done
80686 for ac_header in wctype.h
80688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80690 echo "$as_me:$LINENO: checking for $ac_header" >&5
80691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80693 echo $ECHO_N "(cached) $ECHO_C" >&6
80695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80697 else
80698 # Is the header compilable?
80699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80701 cat >conftest.$ac_ext <<_ACEOF
80702 /* confdefs.h. */
80703 _ACEOF
80704 cat confdefs.h >>conftest.$ac_ext
80705 cat >>conftest.$ac_ext <<_ACEOF
80706 /* end confdefs.h. */
80707 $ac_includes_default
80708 #include <$ac_header>
80709 _ACEOF
80710 rm -f conftest.$ac_objext
80711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80712 (eval $ac_compile) 2>conftest.er1
80713 ac_status=$?
80714 grep -v '^ *+' conftest.er1 >conftest.err
80715 rm -f conftest.er1
80716 cat conftest.err >&5
80717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80718 (exit $ac_status); } &&
80719 { ac_try='test -z "$ac_c_werror_flag"
80720 || test ! -s conftest.err'
80721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80722 (eval $ac_try) 2>&5
80723 ac_status=$?
80724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80725 (exit $ac_status); }; } &&
80726 { ac_try='test -s conftest.$ac_objext'
80727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80728 (eval $ac_try) 2>&5
80729 ac_status=$?
80730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80731 (exit $ac_status); }; }; then
80732 ac_header_compiler=yes
80733 else
80734 echo "$as_me: failed program was:" >&5
80735 sed 's/^/| /' conftest.$ac_ext >&5
80737 ac_header_compiler=no
80739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80741 echo "${ECHO_T}$ac_header_compiler" >&6
80743 # Is the header present?
80744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80746 cat >conftest.$ac_ext <<_ACEOF
80747 /* confdefs.h. */
80748 _ACEOF
80749 cat confdefs.h >>conftest.$ac_ext
80750 cat >>conftest.$ac_ext <<_ACEOF
80751 /* end confdefs.h. */
80752 #include <$ac_header>
80753 _ACEOF
80754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80756 ac_status=$?
80757 grep -v '^ *+' conftest.er1 >conftest.err
80758 rm -f conftest.er1
80759 cat conftest.err >&5
80760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761 (exit $ac_status); } >/dev/null; then
80762 if test -s conftest.err; then
80763 ac_cpp_err=$ac_c_preproc_warn_flag
80764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80765 else
80766 ac_cpp_err=
80768 else
80769 ac_cpp_err=yes
80771 if test -z "$ac_cpp_err"; then
80772 ac_header_preproc=yes
80773 else
80774 echo "$as_me: failed program was:" >&5
80775 sed 's/^/| /' conftest.$ac_ext >&5
80777 ac_header_preproc=no
80779 rm -f conftest.err conftest.$ac_ext
80780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80781 echo "${ECHO_T}$ac_header_preproc" >&6
80783 # So? What about this header?
80784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80785 yes:no: )
80786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80790 ac_header_preproc=yes
80792 no:yes:* )
80793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80806 cat <<\_ASBOX
80807 ## ----------------------------------------- ##
80808 ## Report this to the package-unused lists. ##
80809 ## ----------------------------------------- ##
80810 _ASBOX
80812 sed "s/^/$as_me: WARNING: /" >&2
80814 esac
80815 echo "$as_me:$LINENO: checking for $ac_header" >&5
80816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80818 echo $ECHO_N "(cached) $ECHO_C" >&6
80819 else
80820 eval "$as_ac_Header=\$ac_header_preproc"
80822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80827 cat >>confdefs.h <<_ACEOF
80828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80829 _ACEOF
80830 ac_has_wctype_h=yes
80831 else
80832 ac_has_wctype_h=no
80835 done
80838 # Only continue checking if the ISO C99 headers exist and support is on.
80839 if test x"$ac_has_wchar_h" = xyes &&
80840 test x"$ac_has_wctype_h" = xyes &&
80841 test x"$enable_c_mbchar" != xno; then
80843 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80844 # numeric_limits can instantiate type_traits<wchar_t>
80845 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80846 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80847 cat >conftest.$ac_ext <<_ACEOF
80848 /* confdefs.h. */
80849 _ACEOF
80850 cat confdefs.h >>conftest.$ac_ext
80851 cat >>conftest.$ac_ext <<_ACEOF
80852 /* end confdefs.h. */
80853 #include <wchar.h>
80855 main ()
80857 int i = WCHAR_MIN; int j = WCHAR_MAX;
80859 return 0;
80861 _ACEOF
80862 rm -f conftest.$ac_objext
80863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80864 (eval $ac_compile) 2>conftest.er1
80865 ac_status=$?
80866 grep -v '^ *+' conftest.er1 >conftest.err
80867 rm -f conftest.er1
80868 cat conftest.err >&5
80869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870 (exit $ac_status); } &&
80871 { ac_try='test -z "$ac_c_werror_flag"
80872 || test ! -s conftest.err'
80873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80874 (eval $ac_try) 2>&5
80875 ac_status=$?
80876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80877 (exit $ac_status); }; } &&
80878 { ac_try='test -s conftest.$ac_objext'
80879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880 (eval $ac_try) 2>&5
80881 ac_status=$?
80882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883 (exit $ac_status); }; }; then
80884 has_wchar_minmax=yes
80885 else
80886 echo "$as_me: failed program was:" >&5
80887 sed 's/^/| /' conftest.$ac_ext >&5
80889 has_wchar_minmax=no
80891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80892 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80893 echo "${ECHO_T}$has_wchar_minmax" >&6
80895 # Test wchar.h for WEOF, which is what we use to determine whether
80896 # to specialize for char_traits<wchar_t> or not.
80897 echo "$as_me:$LINENO: checking for WEOF" >&5
80898 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80899 cat >conftest.$ac_ext <<_ACEOF
80900 /* confdefs.h. */
80901 _ACEOF
80902 cat confdefs.h >>conftest.$ac_ext
80903 cat >>conftest.$ac_ext <<_ACEOF
80904 /* end confdefs.h. */
80906 #include <wchar.h>
80907 #include <stddef.h>
80909 main ()
80911 wint_t i = WEOF;
80913 return 0;
80915 _ACEOF
80916 rm -f conftest.$ac_objext
80917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80918 (eval $ac_compile) 2>conftest.er1
80919 ac_status=$?
80920 grep -v '^ *+' conftest.er1 >conftest.err
80921 rm -f conftest.er1
80922 cat conftest.err >&5
80923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80924 (exit $ac_status); } &&
80925 { ac_try='test -z "$ac_c_werror_flag"
80926 || test ! -s conftest.err'
80927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80928 (eval $ac_try) 2>&5
80929 ac_status=$?
80930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80931 (exit $ac_status); }; } &&
80932 { ac_try='test -s conftest.$ac_objext'
80933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80934 (eval $ac_try) 2>&5
80935 ac_status=$?
80936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80937 (exit $ac_status); }; }; then
80938 has_weof=yes
80939 else
80940 echo "$as_me: failed program was:" >&5
80941 sed 's/^/| /' conftest.$ac_ext >&5
80943 has_weof=no
80945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80946 echo "$as_me:$LINENO: result: $has_weof" >&5
80947 echo "${ECHO_T}$has_weof" >&6
80949 # Tests for wide character functions used in char_traits<wchar_t>.
80950 ac_wfuncs=yes
80957 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80960 echo "$as_me:$LINENO: checking for $ac_func" >&5
80961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80962 if eval "test \"\${$as_ac_var+set}\" = set"; then
80963 echo $ECHO_N "(cached) $ECHO_C" >&6
80964 else
80965 if test x$gcc_no_link = xyes; then
80966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80968 { (exit 1); exit 1; }; }
80970 cat >conftest.$ac_ext <<_ACEOF
80971 /* confdefs.h. */
80972 _ACEOF
80973 cat confdefs.h >>conftest.$ac_ext
80974 cat >>conftest.$ac_ext <<_ACEOF
80975 /* end confdefs.h. */
80976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80978 #define $ac_func innocuous_$ac_func
80980 /* System header to define __stub macros and hopefully few prototypes,
80981 which can conflict with char $ac_func (); below.
80982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80983 <limits.h> exists even on freestanding compilers. */
80985 #ifdef __STDC__
80986 # include <limits.h>
80987 #else
80988 # include <assert.h>
80989 #endif
80991 #undef $ac_func
80993 /* Override any gcc2 internal prototype to avoid an error. */
80994 #ifdef __cplusplus
80995 extern "C"
80997 #endif
80998 /* We use char because int might match the return type of a gcc2
80999 builtin and then its argument prototype would still apply. */
81000 char $ac_func ();
81001 /* The GNU C library defines this for functions which it implements
81002 to always fail with ENOSYS. Some functions are actually named
81003 something starting with __ and the normal name is an alias. */
81004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81005 choke me
81006 #else
81007 char (*f) () = $ac_func;
81008 #endif
81009 #ifdef __cplusplus
81011 #endif
81014 main ()
81016 return f != $ac_func;
81018 return 0;
81020 _ACEOF
81021 rm -f conftest.$ac_objext conftest$ac_exeext
81022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81023 (eval $ac_link) 2>conftest.er1
81024 ac_status=$?
81025 grep -v '^ *+' conftest.er1 >conftest.err
81026 rm -f conftest.er1
81027 cat conftest.err >&5
81028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029 (exit $ac_status); } &&
81030 { ac_try='test -z "$ac_c_werror_flag"
81031 || test ! -s conftest.err'
81032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81033 (eval $ac_try) 2>&5
81034 ac_status=$?
81035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81036 (exit $ac_status); }; } &&
81037 { ac_try='test -s conftest$ac_exeext'
81038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81039 (eval $ac_try) 2>&5
81040 ac_status=$?
81041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81042 (exit $ac_status); }; }; then
81043 eval "$as_ac_var=yes"
81044 else
81045 echo "$as_me: failed program was:" >&5
81046 sed 's/^/| /' conftest.$ac_ext >&5
81048 eval "$as_ac_var=no"
81050 rm -f conftest.err conftest.$ac_objext \
81051 conftest$ac_exeext conftest.$ac_ext
81053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81055 if test `eval echo '${'$as_ac_var'}'` = yes; then
81056 cat >>confdefs.h <<_ACEOF
81057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81058 _ACEOF
81060 else
81061 ac_wfuncs=no
81063 done
81066 # Checks for names injected into std:: by the c_std headers.
81113 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81114 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81115 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81116 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81117 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81118 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81121 echo "$as_me:$LINENO: checking for $ac_func" >&5
81122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81123 if eval "test \"\${$as_ac_var+set}\" = set"; then
81124 echo $ECHO_N "(cached) $ECHO_C" >&6
81125 else
81126 if test x$gcc_no_link = xyes; then
81127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81129 { (exit 1); exit 1; }; }
81131 cat >conftest.$ac_ext <<_ACEOF
81132 /* confdefs.h. */
81133 _ACEOF
81134 cat confdefs.h >>conftest.$ac_ext
81135 cat >>conftest.$ac_ext <<_ACEOF
81136 /* end confdefs.h. */
81137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81139 #define $ac_func innocuous_$ac_func
81141 /* System header to define __stub macros and hopefully few prototypes,
81142 which can conflict with char $ac_func (); below.
81143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81144 <limits.h> exists even on freestanding compilers. */
81146 #ifdef __STDC__
81147 # include <limits.h>
81148 #else
81149 # include <assert.h>
81150 #endif
81152 #undef $ac_func
81154 /* Override any gcc2 internal prototype to avoid an error. */
81155 #ifdef __cplusplus
81156 extern "C"
81158 #endif
81159 /* We use char because int might match the return type of a gcc2
81160 builtin and then its argument prototype would still apply. */
81161 char $ac_func ();
81162 /* The GNU C library defines this for functions which it implements
81163 to always fail with ENOSYS. Some functions are actually named
81164 something starting with __ and the normal name is an alias. */
81165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81166 choke me
81167 #else
81168 char (*f) () = $ac_func;
81169 #endif
81170 #ifdef __cplusplus
81172 #endif
81175 main ()
81177 return f != $ac_func;
81179 return 0;
81181 _ACEOF
81182 rm -f conftest.$ac_objext conftest$ac_exeext
81183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81184 (eval $ac_link) 2>conftest.er1
81185 ac_status=$?
81186 grep -v '^ *+' conftest.er1 >conftest.err
81187 rm -f conftest.er1
81188 cat conftest.err >&5
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); } &&
81191 { ac_try='test -z "$ac_c_werror_flag"
81192 || test ! -s conftest.err'
81193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81194 (eval $ac_try) 2>&5
81195 ac_status=$?
81196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197 (exit $ac_status); }; } &&
81198 { ac_try='test -s conftest$ac_exeext'
81199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81200 (eval $ac_try) 2>&5
81201 ac_status=$?
81202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81203 (exit $ac_status); }; }; then
81204 eval "$as_ac_var=yes"
81205 else
81206 echo "$as_me: failed program was:" >&5
81207 sed 's/^/| /' conftest.$ac_ext >&5
81209 eval "$as_ac_var=no"
81211 rm -f conftest.err conftest.$ac_objext \
81212 conftest$ac_exeext conftest.$ac_ext
81214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81216 if test `eval echo '${'$as_ac_var'}'` = yes; then
81217 cat >>confdefs.h <<_ACEOF
81218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81219 _ACEOF
81221 else
81222 ac_wfuncs=no
81224 done
81227 # Checks for wide character functions that are not required
81228 # for basic wchar_t support. Don't disable support if they are missing.
81229 # Injection of these is wrapped with guard macros.
81235 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81238 echo "$as_me:$LINENO: checking for $ac_func" >&5
81239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81240 if eval "test \"\${$as_ac_var+set}\" = set"; then
81241 echo $ECHO_N "(cached) $ECHO_C" >&6
81242 else
81243 if test x$gcc_no_link = xyes; then
81244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81246 { (exit 1); exit 1; }; }
81248 cat >conftest.$ac_ext <<_ACEOF
81249 /* confdefs.h. */
81250 _ACEOF
81251 cat confdefs.h >>conftest.$ac_ext
81252 cat >>conftest.$ac_ext <<_ACEOF
81253 /* end confdefs.h. */
81254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81256 #define $ac_func innocuous_$ac_func
81258 /* System header to define __stub macros and hopefully few prototypes,
81259 which can conflict with char $ac_func (); below.
81260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81261 <limits.h> exists even on freestanding compilers. */
81263 #ifdef __STDC__
81264 # include <limits.h>
81265 #else
81266 # include <assert.h>
81267 #endif
81269 #undef $ac_func
81271 /* Override any gcc2 internal prototype to avoid an error. */
81272 #ifdef __cplusplus
81273 extern "C"
81275 #endif
81276 /* We use char because int might match the return type of a gcc2
81277 builtin and then its argument prototype would still apply. */
81278 char $ac_func ();
81279 /* The GNU C library defines this for functions which it implements
81280 to always fail with ENOSYS. Some functions are actually named
81281 something starting with __ and the normal name is an alias. */
81282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81283 choke me
81284 #else
81285 char (*f) () = $ac_func;
81286 #endif
81287 #ifdef __cplusplus
81289 #endif
81292 main ()
81294 return f != $ac_func;
81296 return 0;
81298 _ACEOF
81299 rm -f conftest.$ac_objext conftest$ac_exeext
81300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81301 (eval $ac_link) 2>conftest.er1
81302 ac_status=$?
81303 grep -v '^ *+' conftest.er1 >conftest.err
81304 rm -f conftest.er1
81305 cat conftest.err >&5
81306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307 (exit $ac_status); } &&
81308 { ac_try='test -z "$ac_c_werror_flag"
81309 || test ! -s conftest.err'
81310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81311 (eval $ac_try) 2>&5
81312 ac_status=$?
81313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81314 (exit $ac_status); }; } &&
81315 { ac_try='test -s conftest$ac_exeext'
81316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81317 (eval $ac_try) 2>&5
81318 ac_status=$?
81319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320 (exit $ac_status); }; }; then
81321 eval "$as_ac_var=yes"
81322 else
81323 echo "$as_me: failed program was:" >&5
81324 sed 's/^/| /' conftest.$ac_ext >&5
81326 eval "$as_ac_var=no"
81328 rm -f conftest.err conftest.$ac_objext \
81329 conftest$ac_exeext conftest.$ac_ext
81331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81333 if test `eval echo '${'$as_ac_var'}'` = yes; then
81334 cat >>confdefs.h <<_ACEOF
81335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81336 _ACEOF
81339 done
81342 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81343 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81344 if test x"$has_weof" = xyes &&
81345 test x"$has_wchar_minmax" = xyes &&
81346 test x"$ac_wfuncs" = xyes;
81347 then
81348 ac_isoC99_wchar_t=yes
81349 else
81350 ac_isoC99_wchar_t=no
81352 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81353 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81355 # Use iconv for wchar_t to char conversions. As such, check for
81356 # X/Open Portability Guide, version 2 features (XPG2).
81357 if test "${ac_cv_header_iconv_h+set}" = set; then
81358 echo "$as_me:$LINENO: checking for iconv.h" >&5
81359 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81360 if test "${ac_cv_header_iconv_h+set}" = set; then
81361 echo $ECHO_N "(cached) $ECHO_C" >&6
81363 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81364 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81365 else
81366 # Is the header compilable?
81367 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81368 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81369 cat >conftest.$ac_ext <<_ACEOF
81370 /* confdefs.h. */
81371 _ACEOF
81372 cat confdefs.h >>conftest.$ac_ext
81373 cat >>conftest.$ac_ext <<_ACEOF
81374 /* end confdefs.h. */
81375 $ac_includes_default
81376 #include <iconv.h>
81377 _ACEOF
81378 rm -f conftest.$ac_objext
81379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81380 (eval $ac_compile) 2>conftest.er1
81381 ac_status=$?
81382 grep -v '^ *+' conftest.er1 >conftest.err
81383 rm -f conftest.er1
81384 cat conftest.err >&5
81385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81386 (exit $ac_status); } &&
81387 { ac_try='test -z "$ac_c_werror_flag"
81388 || test ! -s conftest.err'
81389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81390 (eval $ac_try) 2>&5
81391 ac_status=$?
81392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81393 (exit $ac_status); }; } &&
81394 { ac_try='test -s conftest.$ac_objext'
81395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81396 (eval $ac_try) 2>&5
81397 ac_status=$?
81398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81399 (exit $ac_status); }; }; then
81400 ac_header_compiler=yes
81401 else
81402 echo "$as_me: failed program was:" >&5
81403 sed 's/^/| /' conftest.$ac_ext >&5
81405 ac_header_compiler=no
81407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81409 echo "${ECHO_T}$ac_header_compiler" >&6
81411 # Is the header present?
81412 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81413 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81414 cat >conftest.$ac_ext <<_ACEOF
81415 /* confdefs.h. */
81416 _ACEOF
81417 cat confdefs.h >>conftest.$ac_ext
81418 cat >>conftest.$ac_ext <<_ACEOF
81419 /* end confdefs.h. */
81420 #include <iconv.h>
81421 _ACEOF
81422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81424 ac_status=$?
81425 grep -v '^ *+' conftest.er1 >conftest.err
81426 rm -f conftest.er1
81427 cat conftest.err >&5
81428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429 (exit $ac_status); } >/dev/null; then
81430 if test -s conftest.err; then
81431 ac_cpp_err=$ac_c_preproc_warn_flag
81432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81433 else
81434 ac_cpp_err=
81436 else
81437 ac_cpp_err=yes
81439 if test -z "$ac_cpp_err"; then
81440 ac_header_preproc=yes
81441 else
81442 echo "$as_me: failed program was:" >&5
81443 sed 's/^/| /' conftest.$ac_ext >&5
81445 ac_header_preproc=no
81447 rm -f conftest.err conftest.$ac_ext
81448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81449 echo "${ECHO_T}$ac_header_preproc" >&6
81451 # So? What about this header?
81452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81453 yes:no: )
81454 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81455 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81456 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81457 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81458 ac_header_preproc=yes
81460 no:yes:* )
81461 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81462 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81463 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81464 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81465 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81466 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81467 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81468 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81469 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81470 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81471 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81472 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81474 cat <<\_ASBOX
81475 ## ----------------------------------------- ##
81476 ## Report this to the package-unused lists. ##
81477 ## ----------------------------------------- ##
81478 _ASBOX
81480 sed "s/^/$as_me: WARNING: /" >&2
81482 esac
81483 echo "$as_me:$LINENO: checking for iconv.h" >&5
81484 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81485 if test "${ac_cv_header_iconv_h+set}" = set; then
81486 echo $ECHO_N "(cached) $ECHO_C" >&6
81487 else
81488 ac_cv_header_iconv_h=$ac_header_preproc
81490 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81491 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81494 if test $ac_cv_header_iconv_h = yes; then
81495 ac_has_iconv_h=yes
81496 else
81497 ac_has_iconv_h=no
81501 if test "${ac_cv_header_langinfo_h+set}" = set; then
81502 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81503 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81504 if test "${ac_cv_header_langinfo_h+set}" = set; then
81505 echo $ECHO_N "(cached) $ECHO_C" >&6
81507 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81508 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81509 else
81510 # Is the header compilable?
81511 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81512 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81513 cat >conftest.$ac_ext <<_ACEOF
81514 /* confdefs.h. */
81515 _ACEOF
81516 cat confdefs.h >>conftest.$ac_ext
81517 cat >>conftest.$ac_ext <<_ACEOF
81518 /* end confdefs.h. */
81519 $ac_includes_default
81520 #include <langinfo.h>
81521 _ACEOF
81522 rm -f conftest.$ac_objext
81523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81524 (eval $ac_compile) 2>conftest.er1
81525 ac_status=$?
81526 grep -v '^ *+' conftest.er1 >conftest.err
81527 rm -f conftest.er1
81528 cat conftest.err >&5
81529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530 (exit $ac_status); } &&
81531 { ac_try='test -z "$ac_c_werror_flag"
81532 || test ! -s conftest.err'
81533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534 (eval $ac_try) 2>&5
81535 ac_status=$?
81536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537 (exit $ac_status); }; } &&
81538 { ac_try='test -s conftest.$ac_objext'
81539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81540 (eval $ac_try) 2>&5
81541 ac_status=$?
81542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81543 (exit $ac_status); }; }; then
81544 ac_header_compiler=yes
81545 else
81546 echo "$as_me: failed program was:" >&5
81547 sed 's/^/| /' conftest.$ac_ext >&5
81549 ac_header_compiler=no
81551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81553 echo "${ECHO_T}$ac_header_compiler" >&6
81555 # Is the header present?
81556 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81557 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81558 cat >conftest.$ac_ext <<_ACEOF
81559 /* confdefs.h. */
81560 _ACEOF
81561 cat confdefs.h >>conftest.$ac_ext
81562 cat >>conftest.$ac_ext <<_ACEOF
81563 /* end confdefs.h. */
81564 #include <langinfo.h>
81565 _ACEOF
81566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81568 ac_status=$?
81569 grep -v '^ *+' conftest.er1 >conftest.err
81570 rm -f conftest.er1
81571 cat conftest.err >&5
81572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81573 (exit $ac_status); } >/dev/null; then
81574 if test -s conftest.err; then
81575 ac_cpp_err=$ac_c_preproc_warn_flag
81576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81577 else
81578 ac_cpp_err=
81580 else
81581 ac_cpp_err=yes
81583 if test -z "$ac_cpp_err"; then
81584 ac_header_preproc=yes
81585 else
81586 echo "$as_me: failed program was:" >&5
81587 sed 's/^/| /' conftest.$ac_ext >&5
81589 ac_header_preproc=no
81591 rm -f conftest.err conftest.$ac_ext
81592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81593 echo "${ECHO_T}$ac_header_preproc" >&6
81595 # So? What about this header?
81596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81597 yes:no: )
81598 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81599 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81600 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81601 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81602 ac_header_preproc=yes
81604 no:yes:* )
81605 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81606 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81607 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81608 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81609 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81610 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81611 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81612 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81613 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81614 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81615 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81616 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81618 cat <<\_ASBOX
81619 ## ----------------------------------------- ##
81620 ## Report this to the package-unused lists. ##
81621 ## ----------------------------------------- ##
81622 _ASBOX
81624 sed "s/^/$as_me: WARNING: /" >&2
81626 esac
81627 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81628 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81629 if test "${ac_cv_header_langinfo_h+set}" = set; then
81630 echo $ECHO_N "(cached) $ECHO_C" >&6
81631 else
81632 ac_cv_header_langinfo_h=$ac_header_preproc
81634 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81635 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81638 if test $ac_cv_header_langinfo_h = yes; then
81639 ac_has_langinfo_h=yes
81640 else
81641 ac_has_langinfo_h=no
81646 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81647 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81648 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81649 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81650 echo $ECHO_N "(cached) $ECHO_C" >&6
81651 else
81652 ac_check_lib_save_LIBS=$LIBS
81653 LIBS="-liconv $LIBS"
81654 if test x$gcc_no_link = xyes; then
81655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81657 { (exit 1); exit 1; }; }
81659 cat >conftest.$ac_ext <<_ACEOF
81660 /* confdefs.h. */
81661 _ACEOF
81662 cat confdefs.h >>conftest.$ac_ext
81663 cat >>conftest.$ac_ext <<_ACEOF
81664 /* end confdefs.h. */
81666 /* Override any gcc2 internal prototype to avoid an error. */
81667 #ifdef __cplusplus
81668 extern "C"
81669 #endif
81670 /* We use char because int might match the return type of a gcc2
81671 builtin and then its argument prototype would still apply. */
81672 char iconv ();
81674 main ()
81676 iconv ();
81678 return 0;
81680 _ACEOF
81681 rm -f conftest.$ac_objext conftest$ac_exeext
81682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81683 (eval $ac_link) 2>conftest.er1
81684 ac_status=$?
81685 grep -v '^ *+' conftest.er1 >conftest.err
81686 rm -f conftest.er1
81687 cat conftest.err >&5
81688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689 (exit $ac_status); } &&
81690 { ac_try='test -z "$ac_c_werror_flag"
81691 || test ! -s conftest.err'
81692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693 (eval $ac_try) 2>&5
81694 ac_status=$?
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); }; } &&
81697 { ac_try='test -s conftest$ac_exeext'
81698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81699 (eval $ac_try) 2>&5
81700 ac_status=$?
81701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81702 (exit $ac_status); }; }; then
81703 ac_cv_lib_iconv_iconv=yes
81704 else
81705 echo "$as_me: failed program was:" >&5
81706 sed 's/^/| /' conftest.$ac_ext >&5
81708 ac_cv_lib_iconv_iconv=no
81710 rm -f conftest.err conftest.$ac_objext \
81711 conftest$ac_exeext conftest.$ac_ext
81712 LIBS=$ac_check_lib_save_LIBS
81714 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81715 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81716 if test $ac_cv_lib_iconv_iconv = yes; then
81717 LIBICONV="-liconv"
81720 ac_save_LIBS="$LIBS"
81721 LIBS="$LIBS $LIBICONV"
81728 for ac_func in iconv_open iconv_close iconv nl_langinfo
81730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81731 echo "$as_me:$LINENO: checking for $ac_func" >&5
81732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81733 if eval "test \"\${$as_ac_var+set}\" = set"; then
81734 echo $ECHO_N "(cached) $ECHO_C" >&6
81735 else
81736 if test x$gcc_no_link = xyes; then
81737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81739 { (exit 1); exit 1; }; }
81741 cat >conftest.$ac_ext <<_ACEOF
81742 /* confdefs.h. */
81743 _ACEOF
81744 cat confdefs.h >>conftest.$ac_ext
81745 cat >>conftest.$ac_ext <<_ACEOF
81746 /* end confdefs.h. */
81747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81749 #define $ac_func innocuous_$ac_func
81751 /* System header to define __stub macros and hopefully few prototypes,
81752 which can conflict with char $ac_func (); below.
81753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81754 <limits.h> exists even on freestanding compilers. */
81756 #ifdef __STDC__
81757 # include <limits.h>
81758 #else
81759 # include <assert.h>
81760 #endif
81762 #undef $ac_func
81764 /* Override any gcc2 internal prototype to avoid an error. */
81765 #ifdef __cplusplus
81766 extern "C"
81768 #endif
81769 /* We use char because int might match the return type of a gcc2
81770 builtin and then its argument prototype would still apply. */
81771 char $ac_func ();
81772 /* The GNU C library defines this for functions which it implements
81773 to always fail with ENOSYS. Some functions are actually named
81774 something starting with __ and the normal name is an alias. */
81775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81776 choke me
81777 #else
81778 char (*f) () = $ac_func;
81779 #endif
81780 #ifdef __cplusplus
81782 #endif
81785 main ()
81787 return f != $ac_func;
81789 return 0;
81791 _ACEOF
81792 rm -f conftest.$ac_objext conftest$ac_exeext
81793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81794 (eval $ac_link) 2>conftest.er1
81795 ac_status=$?
81796 grep -v '^ *+' conftest.er1 >conftest.err
81797 rm -f conftest.er1
81798 cat conftest.err >&5
81799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81800 (exit $ac_status); } &&
81801 { ac_try='test -z "$ac_c_werror_flag"
81802 || test ! -s conftest.err'
81803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81804 (eval $ac_try) 2>&5
81805 ac_status=$?
81806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81807 (exit $ac_status); }; } &&
81808 { ac_try='test -s conftest$ac_exeext'
81809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81810 (eval $ac_try) 2>&5
81811 ac_status=$?
81812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81813 (exit $ac_status); }; }; then
81814 eval "$as_ac_var=yes"
81815 else
81816 echo "$as_me: failed program was:" >&5
81817 sed 's/^/| /' conftest.$ac_ext >&5
81819 eval "$as_ac_var=no"
81821 rm -f conftest.err conftest.$ac_objext \
81822 conftest$ac_exeext conftest.$ac_ext
81824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81826 if test `eval echo '${'$as_ac_var'}'` = yes; then
81827 cat >>confdefs.h <<_ACEOF
81828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81829 _ACEOF
81830 ac_XPG2funcs=yes
81831 else
81832 ac_XPG2funcs=no
81834 done
81837 LIBS="$ac_save_LIBS"
81839 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81840 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81841 if test x"$ac_has_iconv_h" = xyes &&
81842 test x"$ac_has_langinfo_h" = xyes &&
81843 test x"$ac_XPG2funcs" = xyes;
81844 then
81845 ac_XPG2_wchar_t=yes
81846 else
81847 ac_XPG2_wchar_t=no
81849 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81850 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81852 # At the moment, only enable wchar_t specializations if all the
81853 # above support is present.
81854 if test x"$ac_isoC99_wchar_t" = xyes &&
81855 test x"$ac_XPG2_wchar_t" = xyes;
81856 then
81857 cat >>confdefs.h <<\_ACEOF
81858 #define _GLIBCXX_USE_WCHAR_T 1
81859 _ACEOF
81861 enable_wchar_t=yes
81864 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81865 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81866 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81867 echo "${ECHO_T}$enable_wchar_t" >&6
81870 # For LFS.
81871 cat >>confdefs.h <<\_ACEOF
81872 #define HAVE_INT64_T 1
81873 _ACEOF
81875 case "$target" in
81876 *-uclinux*)
81877 # Don't enable LFS with uClibc
81880 cat >>confdefs.h <<\_ACEOF
81881 #define _GLIBCXX_USE_LFS 1
81882 _ACEOF
81884 esac
81886 # For showmanyc_helper().
81889 for ac_header in sys/ioctl.h sys/filio.h
81891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81893 echo "$as_me:$LINENO: checking for $ac_header" >&5
81894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81896 echo $ECHO_N "(cached) $ECHO_C" >&6
81898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81900 else
81901 # Is the header compilable?
81902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81904 cat >conftest.$ac_ext <<_ACEOF
81905 /* confdefs.h. */
81906 _ACEOF
81907 cat confdefs.h >>conftest.$ac_ext
81908 cat >>conftest.$ac_ext <<_ACEOF
81909 /* end confdefs.h. */
81910 $ac_includes_default
81911 #include <$ac_header>
81912 _ACEOF
81913 rm -f conftest.$ac_objext
81914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81915 (eval $ac_compile) 2>conftest.er1
81916 ac_status=$?
81917 grep -v '^ *+' conftest.er1 >conftest.err
81918 rm -f conftest.er1
81919 cat conftest.err >&5
81920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81921 (exit $ac_status); } &&
81922 { ac_try='test -z "$ac_c_werror_flag"
81923 || test ! -s conftest.err'
81924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81925 (eval $ac_try) 2>&5
81926 ac_status=$?
81927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81928 (exit $ac_status); }; } &&
81929 { ac_try='test -s conftest.$ac_objext'
81930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81931 (eval $ac_try) 2>&5
81932 ac_status=$?
81933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81934 (exit $ac_status); }; }; then
81935 ac_header_compiler=yes
81936 else
81937 echo "$as_me: failed program was:" >&5
81938 sed 's/^/| /' conftest.$ac_ext >&5
81940 ac_header_compiler=no
81942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81944 echo "${ECHO_T}$ac_header_compiler" >&6
81946 # Is the header present?
81947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81949 cat >conftest.$ac_ext <<_ACEOF
81950 /* confdefs.h. */
81951 _ACEOF
81952 cat confdefs.h >>conftest.$ac_ext
81953 cat >>conftest.$ac_ext <<_ACEOF
81954 /* end confdefs.h. */
81955 #include <$ac_header>
81956 _ACEOF
81957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81959 ac_status=$?
81960 grep -v '^ *+' conftest.er1 >conftest.err
81961 rm -f conftest.er1
81962 cat conftest.err >&5
81963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81964 (exit $ac_status); } >/dev/null; then
81965 if test -s conftest.err; then
81966 ac_cpp_err=$ac_c_preproc_warn_flag
81967 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81968 else
81969 ac_cpp_err=
81971 else
81972 ac_cpp_err=yes
81974 if test -z "$ac_cpp_err"; then
81975 ac_header_preproc=yes
81976 else
81977 echo "$as_me: failed program was:" >&5
81978 sed 's/^/| /' conftest.$ac_ext >&5
81980 ac_header_preproc=no
81982 rm -f conftest.err conftest.$ac_ext
81983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81984 echo "${ECHO_T}$ac_header_preproc" >&6
81986 # So? What about this header?
81987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81988 yes:no: )
81989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81993 ac_header_preproc=yes
81995 no:yes:* )
81996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82009 cat <<\_ASBOX
82010 ## ----------------------------------------- ##
82011 ## Report this to the package-unused lists. ##
82012 ## ----------------------------------------- ##
82013 _ASBOX
82015 sed "s/^/$as_me: WARNING: /" >&2
82017 esac
82018 echo "$as_me:$LINENO: checking for $ac_header" >&5
82019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82021 echo $ECHO_N "(cached) $ECHO_C" >&6
82022 else
82023 eval "$as_ac_Header=\$ac_header_preproc"
82025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82030 cat >>confdefs.h <<_ACEOF
82031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82032 _ACEOF
82036 done
82039 if test "${glibcxx_cv_POLL+set}" = set; then
82040 echo $ECHO_N "(cached) $ECHO_C" >&6
82041 else
82043 if test x$gcc_no_link = xyes; then
82044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82046 { (exit 1); exit 1; }; }
82048 cat >conftest.$ac_ext <<_ACEOF
82049 /* confdefs.h. */
82050 _ACEOF
82051 cat confdefs.h >>conftest.$ac_ext
82052 cat >>conftest.$ac_ext <<_ACEOF
82053 /* end confdefs.h. */
82054 #include <poll.h>
82056 main ()
82058 struct pollfd pfd[1];
82059 pfd[0].events = POLLIN;
82060 poll(pfd, 1, 0);
82062 return 0;
82064 _ACEOF
82065 rm -f conftest.$ac_objext conftest$ac_exeext
82066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82067 (eval $ac_link) 2>conftest.er1
82068 ac_status=$?
82069 grep -v '^ *+' conftest.er1 >conftest.err
82070 rm -f conftest.er1
82071 cat conftest.err >&5
82072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073 (exit $ac_status); } &&
82074 { ac_try='test -z "$ac_c_werror_flag"
82075 || test ! -s conftest.err'
82076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82077 (eval $ac_try) 2>&5
82078 ac_status=$?
82079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82080 (exit $ac_status); }; } &&
82081 { ac_try='test -s conftest$ac_exeext'
82082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82083 (eval $ac_try) 2>&5
82084 ac_status=$?
82085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82086 (exit $ac_status); }; }; then
82087 glibcxx_cv_POLL=yes
82088 else
82089 echo "$as_me: failed program was:" >&5
82090 sed 's/^/| /' conftest.$ac_ext >&5
82092 glibcxx_cv_POLL=no
82094 rm -f conftest.err conftest.$ac_objext \
82095 conftest$ac_exeext conftest.$ac_ext
82099 if test $glibcxx_cv_POLL = yes; then
82100 cat >>confdefs.h <<\_ACEOF
82101 #define HAVE_POLL 1
82102 _ACEOF
82107 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82108 echo $ECHO_N "(cached) $ECHO_C" >&6
82109 else
82111 if test x$gcc_no_link = xyes; then
82112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82114 { (exit 1); exit 1; }; }
82116 cat >conftest.$ac_ext <<_ACEOF
82117 /* confdefs.h. */
82118 _ACEOF
82119 cat confdefs.h >>conftest.$ac_ext
82120 cat >>conftest.$ac_ext <<_ACEOF
82121 /* end confdefs.h. */
82122 #include <sys/stat.h>
82124 main ()
82126 struct stat buffer;
82127 fstat(0, &buffer);
82128 S_ISREG(buffer.st_mode);
82130 return 0;
82132 _ACEOF
82133 rm -f conftest.$ac_objext conftest$ac_exeext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82135 (eval $ac_link) 2>conftest.er1
82136 ac_status=$?
82137 grep -v '^ *+' conftest.er1 >conftest.err
82138 rm -f conftest.er1
82139 cat conftest.err >&5
82140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141 (exit $ac_status); } &&
82142 { ac_try='test -z "$ac_c_werror_flag"
82143 || test ! -s conftest.err'
82144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145 (eval $ac_try) 2>&5
82146 ac_status=$?
82147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148 (exit $ac_status); }; } &&
82149 { ac_try='test -s conftest$ac_exeext'
82150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82151 (eval $ac_try) 2>&5
82152 ac_status=$?
82153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82154 (exit $ac_status); }; }; then
82155 glibcxx_cv_S_ISREG=yes
82156 else
82157 echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82160 glibcxx_cv_S_ISREG=no
82162 rm -f conftest.err conftest.$ac_objext \
82163 conftest$ac_exeext conftest.$ac_ext
82167 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82168 echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82171 if test x$gcc_no_link = xyes; then
82172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82174 { (exit 1); exit 1; }; }
82176 cat >conftest.$ac_ext <<_ACEOF
82177 /* confdefs.h. */
82178 _ACEOF
82179 cat confdefs.h >>conftest.$ac_ext
82180 cat >>conftest.$ac_ext <<_ACEOF
82181 /* end confdefs.h. */
82182 #include <sys/stat.h>
82184 main ()
82186 struct stat buffer;
82187 fstat(0, &buffer);
82188 S_IFREG & buffer.st_mode;
82190 return 0;
82192 _ACEOF
82193 rm -f conftest.$ac_objext conftest$ac_exeext
82194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82195 (eval $ac_link) 2>conftest.er1
82196 ac_status=$?
82197 grep -v '^ *+' conftest.er1 >conftest.err
82198 rm -f conftest.er1
82199 cat conftest.err >&5
82200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201 (exit $ac_status); } &&
82202 { ac_try='test -z "$ac_c_werror_flag"
82203 || test ! -s conftest.err'
82204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82205 (eval $ac_try) 2>&5
82206 ac_status=$?
82207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208 (exit $ac_status); }; } &&
82209 { ac_try='test -s conftest$ac_exeext'
82210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82211 (eval $ac_try) 2>&5
82212 ac_status=$?
82213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214 (exit $ac_status); }; }; then
82215 glibcxx_cv_S_IFREG=yes
82216 else
82217 echo "$as_me: failed program was:" >&5
82218 sed 's/^/| /' conftest.$ac_ext >&5
82220 glibcxx_cv_S_IFREG=no
82222 rm -f conftest.err conftest.$ac_objext \
82223 conftest$ac_exeext conftest.$ac_ext
82227 if test $glibcxx_cv_S_ISREG = yes; then
82228 cat >>confdefs.h <<\_ACEOF
82229 #define HAVE_S_ISREG 1
82230 _ACEOF
82232 elif test $glibcxx_cv_S_IFREG = yes; then
82233 cat >>confdefs.h <<\_ACEOF
82234 #define HAVE_S_IFREG 1
82235 _ACEOF
82240 # For xsputn_2().
82242 for ac_header in sys/uio.h
82244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82246 echo "$as_me:$LINENO: checking for $ac_header" >&5
82247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82249 echo $ECHO_N "(cached) $ECHO_C" >&6
82251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82253 else
82254 # Is the header compilable?
82255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82257 cat >conftest.$ac_ext <<_ACEOF
82258 /* confdefs.h. */
82259 _ACEOF
82260 cat confdefs.h >>conftest.$ac_ext
82261 cat >>conftest.$ac_ext <<_ACEOF
82262 /* end confdefs.h. */
82263 $ac_includes_default
82264 #include <$ac_header>
82265 _ACEOF
82266 rm -f conftest.$ac_objext
82267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82268 (eval $ac_compile) 2>conftest.er1
82269 ac_status=$?
82270 grep -v '^ *+' conftest.er1 >conftest.err
82271 rm -f conftest.er1
82272 cat conftest.err >&5
82273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82274 (exit $ac_status); } &&
82275 { ac_try='test -z "$ac_c_werror_flag"
82276 || test ! -s conftest.err'
82277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82278 (eval $ac_try) 2>&5
82279 ac_status=$?
82280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82281 (exit $ac_status); }; } &&
82282 { ac_try='test -s conftest.$ac_objext'
82283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82284 (eval $ac_try) 2>&5
82285 ac_status=$?
82286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82287 (exit $ac_status); }; }; then
82288 ac_header_compiler=yes
82289 else
82290 echo "$as_me: failed program was:" >&5
82291 sed 's/^/| /' conftest.$ac_ext >&5
82293 ac_header_compiler=no
82295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82297 echo "${ECHO_T}$ac_header_compiler" >&6
82299 # Is the header present?
82300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82302 cat >conftest.$ac_ext <<_ACEOF
82303 /* confdefs.h. */
82304 _ACEOF
82305 cat confdefs.h >>conftest.$ac_ext
82306 cat >>conftest.$ac_ext <<_ACEOF
82307 /* end confdefs.h. */
82308 #include <$ac_header>
82309 _ACEOF
82310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82312 ac_status=$?
82313 grep -v '^ *+' conftest.er1 >conftest.err
82314 rm -f conftest.er1
82315 cat conftest.err >&5
82316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82317 (exit $ac_status); } >/dev/null; then
82318 if test -s conftest.err; then
82319 ac_cpp_err=$ac_c_preproc_warn_flag
82320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82321 else
82322 ac_cpp_err=
82324 else
82325 ac_cpp_err=yes
82327 if test -z "$ac_cpp_err"; then
82328 ac_header_preproc=yes
82329 else
82330 echo "$as_me: failed program was:" >&5
82331 sed 's/^/| /' conftest.$ac_ext >&5
82333 ac_header_preproc=no
82335 rm -f conftest.err conftest.$ac_ext
82336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82337 echo "${ECHO_T}$ac_header_preproc" >&6
82339 # So? What about this header?
82340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82341 yes:no: )
82342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82346 ac_header_preproc=yes
82348 no:yes:* )
82349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82362 cat <<\_ASBOX
82363 ## ----------------------------------------- ##
82364 ## Report this to the package-unused lists. ##
82365 ## ----------------------------------------- ##
82366 _ASBOX
82368 sed "s/^/$as_me: WARNING: /" >&2
82370 esac
82371 echo "$as_me:$LINENO: checking for $ac_header" >&5
82372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82374 echo $ECHO_N "(cached) $ECHO_C" >&6
82375 else
82376 eval "$as_ac_Header=\$ac_header_preproc"
82378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82383 cat >>confdefs.h <<_ACEOF
82384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82385 _ACEOF
82389 done
82392 if test "${glibcxx_cv_WRITEV+set}" = set; then
82393 echo $ECHO_N "(cached) $ECHO_C" >&6
82394 else
82396 if test x$gcc_no_link = xyes; then
82397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82399 { (exit 1); exit 1; }; }
82401 cat >conftest.$ac_ext <<_ACEOF
82402 /* confdefs.h. */
82403 _ACEOF
82404 cat confdefs.h >>conftest.$ac_ext
82405 cat >>conftest.$ac_ext <<_ACEOF
82406 /* end confdefs.h. */
82407 #include <sys/uio.h>
82409 main ()
82411 struct iovec iov[2];
82412 writev(0, iov, 0);
82414 return 0;
82416 _ACEOF
82417 rm -f conftest.$ac_objext conftest$ac_exeext
82418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82419 (eval $ac_link) 2>conftest.er1
82420 ac_status=$?
82421 grep -v '^ *+' conftest.er1 >conftest.err
82422 rm -f conftest.er1
82423 cat conftest.err >&5
82424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82425 (exit $ac_status); } &&
82426 { ac_try='test -z "$ac_c_werror_flag"
82427 || test ! -s conftest.err'
82428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82429 (eval $ac_try) 2>&5
82430 ac_status=$?
82431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82432 (exit $ac_status); }; } &&
82433 { ac_try='test -s conftest$ac_exeext'
82434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82435 (eval $ac_try) 2>&5
82436 ac_status=$?
82437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82438 (exit $ac_status); }; }; then
82439 glibcxx_cv_WRITEV=yes
82440 else
82441 echo "$as_me: failed program was:" >&5
82442 sed 's/^/| /' conftest.$ac_ext >&5
82444 glibcxx_cv_WRITEV=no
82446 rm -f conftest.err conftest.$ac_objext \
82447 conftest$ac_exeext conftest.$ac_ext
82451 if test $glibcxx_cv_WRITEV = yes; then
82452 cat >>confdefs.h <<\_ACEOF
82453 #define HAVE_WRITEV 1
82454 _ACEOF
82459 cat >>confdefs.h <<\_ACEOF
82460 #define HAVE_ACOSF 1
82461 _ACEOF
82463 cat >>confdefs.h <<\_ACEOF
82464 #define HAVE_ASINF 1
82465 _ACEOF
82467 cat >>confdefs.h <<\_ACEOF
82468 #define HAVE_ATANF 1
82469 _ACEOF
82471 cat >>confdefs.h <<\_ACEOF
82472 #define HAVE_ATAN2F 1
82473 _ACEOF
82475 cat >>confdefs.h <<\_ACEOF
82476 #define HAVE_CEILF 1
82477 _ACEOF
82479 cat >>confdefs.h <<\_ACEOF
82480 #define HAVE_COPYSIGN 1
82481 _ACEOF
82483 cat >>confdefs.h <<\_ACEOF
82484 #define HAVE_COPYSIGNF 1
82485 _ACEOF
82487 cat >>confdefs.h <<\_ACEOF
82488 #define HAVE_COSF 1
82489 _ACEOF
82491 cat >>confdefs.h <<\_ACEOF
82492 #define HAVE_COSHF 1
82493 _ACEOF
82495 cat >>confdefs.h <<\_ACEOF
82496 #define HAVE_EXPF 1
82497 _ACEOF
82499 cat >>confdefs.h <<\_ACEOF
82500 #define HAVE_FABSF 1
82501 _ACEOF
82503 cat >>confdefs.h <<\_ACEOF
82504 #define HAVE_FINITE 1
82505 _ACEOF
82507 cat >>confdefs.h <<\_ACEOF
82508 #define HAVE_FINITEF 1
82509 _ACEOF
82511 cat >>confdefs.h <<\_ACEOF
82512 #define HAVE_FLOORF 1
82513 _ACEOF
82515 cat >>confdefs.h <<\_ACEOF
82516 #define HAVE_FMODF 1
82517 _ACEOF
82519 cat >>confdefs.h <<\_ACEOF
82520 #define HAVE_FREXPF 1
82521 _ACEOF
82523 cat >>confdefs.h <<\_ACEOF
82524 #define HAVE_HYPOT 1
82525 _ACEOF
82527 cat >>confdefs.h <<\_ACEOF
82528 #define HAVE_HYPOTF 1
82529 _ACEOF
82531 cat >>confdefs.h <<\_ACEOF
82532 #define HAVE_ISINF 1
82533 _ACEOF
82535 cat >>confdefs.h <<\_ACEOF
82536 #define HAVE_ISINFF 1
82537 _ACEOF
82539 cat >>confdefs.h <<\_ACEOF
82540 #define HAVE_ISNAN 1
82541 _ACEOF
82543 cat >>confdefs.h <<\_ACEOF
82544 #define HAVE_ISNANF 1
82545 _ACEOF
82547 cat >>confdefs.h <<\_ACEOF
82548 #define HAVE_LOGF 1
82549 _ACEOF
82551 cat >>confdefs.h <<\_ACEOF
82552 #define HAVE_LOG10F 1
82553 _ACEOF
82555 cat >>confdefs.h <<\_ACEOF
82556 #define HAVE_MODFF 1
82557 _ACEOF
82559 cat >>confdefs.h <<\_ACEOF
82560 #define HAVE_SINF 1
82561 _ACEOF
82563 cat >>confdefs.h <<\_ACEOF
82564 #define HAVE_SINHF 1
82565 _ACEOF
82567 cat >>confdefs.h <<\_ACEOF
82568 #define HAVE_SINCOS 1
82569 _ACEOF
82571 cat >>confdefs.h <<\_ACEOF
82572 #define HAVE_SINCOSF 1
82573 _ACEOF
82575 cat >>confdefs.h <<\_ACEOF
82576 #define HAVE_SQRTF 1
82577 _ACEOF
82579 cat >>confdefs.h <<\_ACEOF
82580 #define HAVE_TANF 1
82581 _ACEOF
82583 cat >>confdefs.h <<\_ACEOF
82584 #define HAVE_TANHF 1
82585 _ACEOF
82587 if test x"long_double_math_on_this_cpu" = x"yes"; then
82588 cat >>confdefs.h <<\_ACEOF
82589 #define HAVE_ACOSL 1
82590 _ACEOF
82592 cat >>confdefs.h <<\_ACEOF
82593 #define HAVE_ASINL 1
82594 _ACEOF
82596 cat >>confdefs.h <<\_ACEOF
82597 #define HAVE_ATANL 1
82598 _ACEOF
82600 cat >>confdefs.h <<\_ACEOF
82601 #define HAVE_ATAN2L 1
82602 _ACEOF
82604 cat >>confdefs.h <<\_ACEOF
82605 #define HAVE_CEILL 1
82606 _ACEOF
82608 cat >>confdefs.h <<\_ACEOF
82609 #define HAVE_COPYSIGNL 1
82610 _ACEOF
82612 cat >>confdefs.h <<\_ACEOF
82613 #define HAVE_COSL 1
82614 _ACEOF
82616 cat >>confdefs.h <<\_ACEOF
82617 #define HAVE_COSHL 1
82618 _ACEOF
82620 cat >>confdefs.h <<\_ACEOF
82621 #define HAVE_EXPL 1
82622 _ACEOF
82624 cat >>confdefs.h <<\_ACEOF
82625 #define HAVE_FABSL 1
82626 _ACEOF
82628 cat >>confdefs.h <<\_ACEOF
82629 #define HAVE_FINITEL 1
82630 _ACEOF
82632 cat >>confdefs.h <<\_ACEOF
82633 #define HAVE_FLOORL 1
82634 _ACEOF
82636 cat >>confdefs.h <<\_ACEOF
82637 #define HAVE_FMODL 1
82638 _ACEOF
82640 cat >>confdefs.h <<\_ACEOF
82641 #define HAVE_FREXPL 1
82642 _ACEOF
82644 cat >>confdefs.h <<\_ACEOF
82645 #define HAVE_HYPOTL 1
82646 _ACEOF
82648 cat >>confdefs.h <<\_ACEOF
82649 #define HAVE_ISINFL 1
82650 _ACEOF
82652 cat >>confdefs.h <<\_ACEOF
82653 #define HAVE_ISNANL 1
82654 _ACEOF
82656 cat >>confdefs.h <<\_ACEOF
82657 #define HAVE_LOGL 1
82658 _ACEOF
82660 cat >>confdefs.h <<\_ACEOF
82661 #define HAVE_LOG10L 1
82662 _ACEOF
82664 cat >>confdefs.h <<\_ACEOF
82665 #define HAVE_MODFL 1
82666 _ACEOF
82668 cat >>confdefs.h <<\_ACEOF
82669 #define HAVE_POWL 1
82670 _ACEOF
82672 cat >>confdefs.h <<\_ACEOF
82673 #define HAVE_SINL 1
82674 _ACEOF
82676 cat >>confdefs.h <<\_ACEOF
82677 #define HAVE_SINHL 1
82678 _ACEOF
82680 cat >>confdefs.h <<\_ACEOF
82681 #define HAVE_SINCOSL 1
82682 _ACEOF
82684 cat >>confdefs.h <<\_ACEOF
82685 #define HAVE_SQRTL 1
82686 _ACEOF
82688 cat >>confdefs.h <<\_ACEOF
82689 #define HAVE_TANL 1
82690 _ACEOF
82692 cat >>confdefs.h <<\_ACEOF
82693 #define HAVE_TANHL 1
82694 _ACEOF
82698 *-mingw32*)
82702 for ac_header in sys/types.h locale.h float.h
82704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82706 echo "$as_me:$LINENO: checking for $ac_header" >&5
82707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82709 echo $ECHO_N "(cached) $ECHO_C" >&6
82711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82713 else
82714 # Is the header compilable?
82715 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82717 cat >conftest.$ac_ext <<_ACEOF
82718 /* confdefs.h. */
82719 _ACEOF
82720 cat confdefs.h >>conftest.$ac_ext
82721 cat >>conftest.$ac_ext <<_ACEOF
82722 /* end confdefs.h. */
82723 $ac_includes_default
82724 #include <$ac_header>
82725 _ACEOF
82726 rm -f conftest.$ac_objext
82727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82728 (eval $ac_compile) 2>conftest.er1
82729 ac_status=$?
82730 grep -v '^ *+' conftest.er1 >conftest.err
82731 rm -f conftest.er1
82732 cat conftest.err >&5
82733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734 (exit $ac_status); } &&
82735 { ac_try='test -z "$ac_c_werror_flag"
82736 || test ! -s conftest.err'
82737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82738 (eval $ac_try) 2>&5
82739 ac_status=$?
82740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82741 (exit $ac_status); }; } &&
82742 { ac_try='test -s conftest.$ac_objext'
82743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82744 (eval $ac_try) 2>&5
82745 ac_status=$?
82746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82747 (exit $ac_status); }; }; then
82748 ac_header_compiler=yes
82749 else
82750 echo "$as_me: failed program was:" >&5
82751 sed 's/^/| /' conftest.$ac_ext >&5
82753 ac_header_compiler=no
82755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82757 echo "${ECHO_T}$ac_header_compiler" >&6
82759 # Is the header present?
82760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82762 cat >conftest.$ac_ext <<_ACEOF
82763 /* confdefs.h. */
82764 _ACEOF
82765 cat confdefs.h >>conftest.$ac_ext
82766 cat >>conftest.$ac_ext <<_ACEOF
82767 /* end confdefs.h. */
82768 #include <$ac_header>
82769 _ACEOF
82770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82772 ac_status=$?
82773 grep -v '^ *+' conftest.er1 >conftest.err
82774 rm -f conftest.er1
82775 cat conftest.err >&5
82776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82777 (exit $ac_status); } >/dev/null; then
82778 if test -s conftest.err; then
82779 ac_cpp_err=$ac_c_preproc_warn_flag
82780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82781 else
82782 ac_cpp_err=
82784 else
82785 ac_cpp_err=yes
82787 if test -z "$ac_cpp_err"; then
82788 ac_header_preproc=yes
82789 else
82790 echo "$as_me: failed program was:" >&5
82791 sed 's/^/| /' conftest.$ac_ext >&5
82793 ac_header_preproc=no
82795 rm -f conftest.err conftest.$ac_ext
82796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82797 echo "${ECHO_T}$ac_header_preproc" >&6
82799 # So? What about this header?
82800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82801 yes:no: )
82802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82806 ac_header_preproc=yes
82808 no:yes:* )
82809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82822 cat <<\_ASBOX
82823 ## ----------------------------------------- ##
82824 ## Report this to the package-unused lists. ##
82825 ## ----------------------------------------- ##
82826 _ASBOX
82828 sed "s/^/$as_me: WARNING: /" >&2
82830 esac
82831 echo "$as_me:$LINENO: checking for $ac_header" >&5
82832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82834 echo $ECHO_N "(cached) $ECHO_C" >&6
82835 else
82836 eval "$as_ac_Header=\$ac_header_preproc"
82838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82843 cat >>confdefs.h <<_ACEOF
82844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82845 _ACEOF
82849 done
82852 # If we're not using GNU ld, then there's no point in even trying these
82853 # tests. Check for that first. We should have already tested for gld
82854 # by now (in libtool), but require it now just to be safe...
82855 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82856 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82860 # The name set by libtool depends on the version of libtool. Shame on us
82861 # for depending on an impl detail, but c'est la vie. Older versions used
82862 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82863 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82864 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82865 # set (hence we're using an older libtool), then set it.
82866 if test x${with_gnu_ld+set} != xset; then
82867 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82868 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82869 with_gnu_ld=no
82870 else
82871 with_gnu_ld=$ac_cv_prog_gnu_ld
82875 # Start by getting the version number. I think the libtool test already
82876 # does some of this, but throws away the result.
82878 ldver=`$LD --version 2>/dev/null | head -1 | \
82879 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82881 glibcxx_gnu_ld_version=`echo $ldver | \
82882 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82884 # Set --gc-sections.
82885 if test "$with_gnu_ld" = "notbroken"; then
82886 # GNU ld it is! Joy and bunny rabbits!
82888 # All these tests are for C++; save the language and the compiler flags.
82889 # Need to do this so that g++ won't try to link in libstdc++
82890 ac_test_CFLAGS="${CFLAGS+set}"
82891 ac_save_CFLAGS="$CFLAGS"
82892 CFLAGS='-x c++ -Wl,--gc-sections'
82894 # Check for -Wl,--gc-sections
82895 # XXX This test is broken at the moment, as symbols required for linking
82896 # are now in libsupc++ (not built yet). In addition, this test has
82897 # cored on solaris in the past. In addition, --gc-sections doesn't
82898 # really work at the moment (keeps on discarding used sections, first
82899 # .eh_frame and now some of the glibc sections for iconv).
82900 # Bzzzzt. Thanks for playing, maybe next time.
82901 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82902 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82903 if test "$cross_compiling" = yes; then
82904 ac_sectionLDflags=yes
82905 else
82906 cat >conftest.$ac_ext <<_ACEOF
82907 /* confdefs.h. */
82908 _ACEOF
82909 cat confdefs.h >>conftest.$ac_ext
82910 cat >>conftest.$ac_ext <<_ACEOF
82911 /* end confdefs.h. */
82913 int main(void)
82915 try { throw 1; }
82916 catch (...) { };
82917 return 0;
82920 _ACEOF
82921 rm -f conftest$ac_exeext
82922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82923 (eval $ac_link) 2>&5
82924 ac_status=$?
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82928 (eval $ac_try) 2>&5
82929 ac_status=$?
82930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931 (exit $ac_status); }; }; then
82932 ac_sectionLDflags=yes
82933 else
82934 echo "$as_me: program exited with status $ac_status" >&5
82935 echo "$as_me: failed program was:" >&5
82936 sed 's/^/| /' conftest.$ac_ext >&5
82938 ( exit $ac_status )
82939 ac_sectionLDflags=no
82941 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82943 if test "$ac_test_CFLAGS" = set; then
82944 CFLAGS="$ac_save_CFLAGS"
82945 else
82946 # this is the suspicious part
82947 CFLAGS=''
82949 if test "$ac_sectionLDflags" = "yes"; then
82950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82952 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82953 echo "${ECHO_T}$ac_sectionLDflags" >&6
82956 # Set linker optimization flags.
82957 if test x"$with_gnu_ld" = x"yes"; then
82958 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82966 echo "$as_me:$LINENO: checking for main in -lm" >&5
82967 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82968 if test "${ac_cv_lib_m_main+set}" = set; then
82969 echo $ECHO_N "(cached) $ECHO_C" >&6
82970 else
82971 ac_check_lib_save_LIBS=$LIBS
82972 LIBS="-lm $LIBS"
82973 if test x$gcc_no_link = xyes; then
82974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82976 { (exit 1); exit 1; }; }
82978 cat >conftest.$ac_ext <<_ACEOF
82979 /* confdefs.h. */
82980 _ACEOF
82981 cat confdefs.h >>conftest.$ac_ext
82982 cat >>conftest.$ac_ext <<_ACEOF
82983 /* end confdefs.h. */
82987 main ()
82989 main ();
82991 return 0;
82993 _ACEOF
82994 rm -f conftest.$ac_objext conftest$ac_exeext
82995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82996 (eval $ac_link) 2>conftest.er1
82997 ac_status=$?
82998 grep -v '^ *+' conftest.er1 >conftest.err
82999 rm -f conftest.er1
83000 cat conftest.err >&5
83001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002 (exit $ac_status); } &&
83003 { ac_try='test -z "$ac_c_werror_flag"
83004 || test ! -s conftest.err'
83005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83006 (eval $ac_try) 2>&5
83007 ac_status=$?
83008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83009 (exit $ac_status); }; } &&
83010 { ac_try='test -s conftest$ac_exeext'
83011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83012 (eval $ac_try) 2>&5
83013 ac_status=$?
83014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83015 (exit $ac_status); }; }; then
83016 ac_cv_lib_m_main=yes
83017 else
83018 echo "$as_me: failed program was:" >&5
83019 sed 's/^/| /' conftest.$ac_ext >&5
83021 ac_cv_lib_m_main=no
83023 rm -f conftest.err conftest.$ac_objext \
83024 conftest$ac_exeext conftest.$ac_ext
83025 LIBS=$ac_check_lib_save_LIBS
83027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83028 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83029 if test $ac_cv_lib_m_main = yes; then
83030 cat >>confdefs.h <<_ACEOF
83031 #define HAVE_LIBM 1
83032 _ACEOF
83034 LIBS="-lm $LIBS"
83039 for ac_func in copysignf
83041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83042 echo "$as_me:$LINENO: checking for $ac_func" >&5
83043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83044 if eval "test \"\${$as_ac_var+set}\" = set"; then
83045 echo $ECHO_N "(cached) $ECHO_C" >&6
83046 else
83047 if test x$gcc_no_link = xyes; then
83048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83050 { (exit 1); exit 1; }; }
83052 cat >conftest.$ac_ext <<_ACEOF
83053 /* confdefs.h. */
83054 _ACEOF
83055 cat confdefs.h >>conftest.$ac_ext
83056 cat >>conftest.$ac_ext <<_ACEOF
83057 /* end confdefs.h. */
83058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83060 #define $ac_func innocuous_$ac_func
83062 /* System header to define __stub macros and hopefully few prototypes,
83063 which can conflict with char $ac_func (); below.
83064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83065 <limits.h> exists even on freestanding compilers. */
83067 #ifdef __STDC__
83068 # include <limits.h>
83069 #else
83070 # include <assert.h>
83071 #endif
83073 #undef $ac_func
83075 /* Override any gcc2 internal prototype to avoid an error. */
83076 #ifdef __cplusplus
83077 extern "C"
83079 #endif
83080 /* We use char because int might match the return type of a gcc2
83081 builtin and then its argument prototype would still apply. */
83082 char $ac_func ();
83083 /* The GNU C library defines this for functions which it implements
83084 to always fail with ENOSYS. Some functions are actually named
83085 something starting with __ and the normal name is an alias. */
83086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83087 choke me
83088 #else
83089 char (*f) () = $ac_func;
83090 #endif
83091 #ifdef __cplusplus
83093 #endif
83096 main ()
83098 return f != $ac_func;
83100 return 0;
83102 _ACEOF
83103 rm -f conftest.$ac_objext conftest$ac_exeext
83104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83105 (eval $ac_link) 2>conftest.er1
83106 ac_status=$?
83107 grep -v '^ *+' conftest.er1 >conftest.err
83108 rm -f conftest.er1
83109 cat conftest.err >&5
83110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83111 (exit $ac_status); } &&
83112 { ac_try='test -z "$ac_c_werror_flag"
83113 || test ! -s conftest.err'
83114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83115 (eval $ac_try) 2>&5
83116 ac_status=$?
83117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83118 (exit $ac_status); }; } &&
83119 { ac_try='test -s conftest$ac_exeext'
83120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83121 (eval $ac_try) 2>&5
83122 ac_status=$?
83123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83124 (exit $ac_status); }; }; then
83125 eval "$as_ac_var=yes"
83126 else
83127 echo "$as_me: failed program was:" >&5
83128 sed 's/^/| /' conftest.$ac_ext >&5
83130 eval "$as_ac_var=no"
83132 rm -f conftest.err conftest.$ac_objext \
83133 conftest$ac_exeext conftest.$ac_ext
83135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83137 if test `eval echo '${'$as_ac_var'}'` = yes; then
83138 cat >>confdefs.h <<_ACEOF
83139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83140 _ACEOF
83142 else
83143 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83145 done
83149 for ac_func in __signbit
83151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83152 echo "$as_me:$LINENO: checking for $ac_func" >&5
83153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83154 if eval "test \"\${$as_ac_var+set}\" = set"; then
83155 echo $ECHO_N "(cached) $ECHO_C" >&6
83156 else
83157 if test x$gcc_no_link = xyes; then
83158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83160 { (exit 1); exit 1; }; }
83162 cat >conftest.$ac_ext <<_ACEOF
83163 /* confdefs.h. */
83164 _ACEOF
83165 cat confdefs.h >>conftest.$ac_ext
83166 cat >>conftest.$ac_ext <<_ACEOF
83167 /* end confdefs.h. */
83168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83170 #define $ac_func innocuous_$ac_func
83172 /* System header to define __stub macros and hopefully few prototypes,
83173 which can conflict with char $ac_func (); below.
83174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83175 <limits.h> exists even on freestanding compilers. */
83177 #ifdef __STDC__
83178 # include <limits.h>
83179 #else
83180 # include <assert.h>
83181 #endif
83183 #undef $ac_func
83185 /* Override any gcc2 internal prototype to avoid an error. */
83186 #ifdef __cplusplus
83187 extern "C"
83189 #endif
83190 /* We use char because int might match the return type of a gcc2
83191 builtin and then its argument prototype would still apply. */
83192 char $ac_func ();
83193 /* The GNU C library defines this for functions which it implements
83194 to always fail with ENOSYS. Some functions are actually named
83195 something starting with __ and the normal name is an alias. */
83196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83197 choke me
83198 #else
83199 char (*f) () = $ac_func;
83200 #endif
83201 #ifdef __cplusplus
83203 #endif
83206 main ()
83208 return f != $ac_func;
83210 return 0;
83212 _ACEOF
83213 rm -f conftest.$ac_objext conftest$ac_exeext
83214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83215 (eval $ac_link) 2>conftest.er1
83216 ac_status=$?
83217 grep -v '^ *+' conftest.er1 >conftest.err
83218 rm -f conftest.er1
83219 cat conftest.err >&5
83220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221 (exit $ac_status); } &&
83222 { ac_try='test -z "$ac_c_werror_flag"
83223 || test ! -s conftest.err'
83224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225 (eval $ac_try) 2>&5
83226 ac_status=$?
83227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228 (exit $ac_status); }; } &&
83229 { ac_try='test -s conftest$ac_exeext'
83230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83231 (eval $ac_try) 2>&5
83232 ac_status=$?
83233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234 (exit $ac_status); }; }; then
83235 eval "$as_ac_var=yes"
83236 else
83237 echo "$as_me: failed program was:" >&5
83238 sed 's/^/| /' conftest.$ac_ext >&5
83240 eval "$as_ac_var=no"
83242 rm -f conftest.err conftest.$ac_objext \
83243 conftest$ac_exeext conftest.$ac_ext
83245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83247 if test `eval echo '${'$as_ac_var'}'` = yes; then
83248 cat >>confdefs.h <<_ACEOF
83249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83250 _ACEOF
83252 else
83253 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83255 done
83259 for ac_func in __signbitf
83261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83262 echo "$as_me:$LINENO: checking for $ac_func" >&5
83263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83264 if eval "test \"\${$as_ac_var+set}\" = set"; then
83265 echo $ECHO_N "(cached) $ECHO_C" >&6
83266 else
83267 if test x$gcc_no_link = xyes; then
83268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83270 { (exit 1); exit 1; }; }
83272 cat >conftest.$ac_ext <<_ACEOF
83273 /* confdefs.h. */
83274 _ACEOF
83275 cat confdefs.h >>conftest.$ac_ext
83276 cat >>conftest.$ac_ext <<_ACEOF
83277 /* end confdefs.h. */
83278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83280 #define $ac_func innocuous_$ac_func
83282 /* System header to define __stub macros and hopefully few prototypes,
83283 which can conflict with char $ac_func (); below.
83284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83285 <limits.h> exists even on freestanding compilers. */
83287 #ifdef __STDC__
83288 # include <limits.h>
83289 #else
83290 # include <assert.h>
83291 #endif
83293 #undef $ac_func
83295 /* Override any gcc2 internal prototype to avoid an error. */
83296 #ifdef __cplusplus
83297 extern "C"
83299 #endif
83300 /* We use char because int might match the return type of a gcc2
83301 builtin and then its argument prototype would still apply. */
83302 char $ac_func ();
83303 /* The GNU C library defines this for functions which it implements
83304 to always fail with ENOSYS. Some functions are actually named
83305 something starting with __ and the normal name is an alias. */
83306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83307 choke me
83308 #else
83309 char (*f) () = $ac_func;
83310 #endif
83311 #ifdef __cplusplus
83313 #endif
83316 main ()
83318 return f != $ac_func;
83320 return 0;
83322 _ACEOF
83323 rm -f conftest.$ac_objext conftest$ac_exeext
83324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83325 (eval $ac_link) 2>conftest.er1
83326 ac_status=$?
83327 grep -v '^ *+' conftest.er1 >conftest.err
83328 rm -f conftest.er1
83329 cat conftest.err >&5
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); } &&
83332 { ac_try='test -z "$ac_c_werror_flag"
83333 || test ! -s conftest.err'
83334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83335 (eval $ac_try) 2>&5
83336 ac_status=$?
83337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338 (exit $ac_status); }; } &&
83339 { ac_try='test -s conftest$ac_exeext'
83340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83341 (eval $ac_try) 2>&5
83342 ac_status=$?
83343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83344 (exit $ac_status); }; }; then
83345 eval "$as_ac_var=yes"
83346 else
83347 echo "$as_me: failed program was:" >&5
83348 sed 's/^/| /' conftest.$ac_ext >&5
83350 eval "$as_ac_var=no"
83352 rm -f conftest.err conftest.$ac_objext \
83353 conftest$ac_exeext conftest.$ac_ext
83355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83357 if test `eval echo '${'$as_ac_var'}'` = yes; then
83358 cat >>confdefs.h <<_ACEOF
83359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83360 _ACEOF
83362 else
83363 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83365 done
83368 if test x$ac_cv_func_copysignl = x"yes"; then
83370 for ac_func in __signbitl
83372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83373 echo "$as_me:$LINENO: checking for $ac_func" >&5
83374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83375 if eval "test \"\${$as_ac_var+set}\" = set"; then
83376 echo $ECHO_N "(cached) $ECHO_C" >&6
83377 else
83378 if test x$gcc_no_link = xyes; then
83379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83381 { (exit 1); exit 1; }; }
83383 cat >conftest.$ac_ext <<_ACEOF
83384 /* confdefs.h. */
83385 _ACEOF
83386 cat confdefs.h >>conftest.$ac_ext
83387 cat >>conftest.$ac_ext <<_ACEOF
83388 /* end confdefs.h. */
83389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83391 #define $ac_func innocuous_$ac_func
83393 /* System header to define __stub macros and hopefully few prototypes,
83394 which can conflict with char $ac_func (); below.
83395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83396 <limits.h> exists even on freestanding compilers. */
83398 #ifdef __STDC__
83399 # include <limits.h>
83400 #else
83401 # include <assert.h>
83402 #endif
83404 #undef $ac_func
83406 /* Override any gcc2 internal prototype to avoid an error. */
83407 #ifdef __cplusplus
83408 extern "C"
83410 #endif
83411 /* We use char because int might match the return type of a gcc2
83412 builtin and then its argument prototype would still apply. */
83413 char $ac_func ();
83414 /* The GNU C library defines this for functions which it implements
83415 to always fail with ENOSYS. Some functions are actually named
83416 something starting with __ and the normal name is an alias. */
83417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83418 choke me
83419 #else
83420 char (*f) () = $ac_func;
83421 #endif
83422 #ifdef __cplusplus
83424 #endif
83427 main ()
83429 return f != $ac_func;
83431 return 0;
83433 _ACEOF
83434 rm -f conftest.$ac_objext conftest$ac_exeext
83435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83436 (eval $ac_link) 2>conftest.er1
83437 ac_status=$?
83438 grep -v '^ *+' conftest.er1 >conftest.err
83439 rm -f conftest.er1
83440 cat conftest.err >&5
83441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442 (exit $ac_status); } &&
83443 { ac_try='test -z "$ac_c_werror_flag"
83444 || test ! -s conftest.err'
83445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83446 (eval $ac_try) 2>&5
83447 ac_status=$?
83448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83449 (exit $ac_status); }; } &&
83450 { ac_try='test -s conftest$ac_exeext'
83451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83452 (eval $ac_try) 2>&5
83453 ac_status=$?
83454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83455 (exit $ac_status); }; }; then
83456 eval "$as_ac_var=yes"
83457 else
83458 echo "$as_me: failed program was:" >&5
83459 sed 's/^/| /' conftest.$ac_ext >&5
83461 eval "$as_ac_var=no"
83463 rm -f conftest.err conftest.$ac_objext \
83464 conftest$ac_exeext conftest.$ac_ext
83466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83468 if test `eval echo '${'$as_ac_var'}'` = yes; then
83469 cat >>confdefs.h <<_ACEOF
83470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83471 _ACEOF
83473 else
83474 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83476 done
83480 # Used in libmath/Makefile.am.
83481 if test -n "$LIBMATHOBJS"; then
83482 need_libmath=yes
83487 # Test wchar.h for mbstate_t, which is needed for char_traits and
83488 # others even if wchar_t support is not on.
83489 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83490 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83491 cat >conftest.$ac_ext <<_ACEOF
83492 /* confdefs.h. */
83493 _ACEOF
83494 cat confdefs.h >>conftest.$ac_ext
83495 cat >>conftest.$ac_ext <<_ACEOF
83496 /* end confdefs.h. */
83497 #include <wchar.h>
83499 main ()
83501 mbstate_t teststate;
83503 return 0;
83505 _ACEOF
83506 rm -f conftest.$ac_objext
83507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83508 (eval $ac_compile) 2>conftest.er1
83509 ac_status=$?
83510 grep -v '^ *+' conftest.er1 >conftest.err
83511 rm -f conftest.er1
83512 cat conftest.err >&5
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); } &&
83515 { ac_try='test -z "$ac_c_werror_flag"
83516 || test ! -s conftest.err'
83517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83518 (eval $ac_try) 2>&5
83519 ac_status=$?
83520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521 (exit $ac_status); }; } &&
83522 { ac_try='test -s conftest.$ac_objext'
83523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83524 (eval $ac_try) 2>&5
83525 ac_status=$?
83526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527 (exit $ac_status); }; }; then
83528 have_mbstate_t=yes
83529 else
83530 echo "$as_me: failed program was:" >&5
83531 sed 's/^/| /' conftest.$ac_ext >&5
83533 have_mbstate_t=no
83535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83536 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83537 echo "${ECHO_T}$have_mbstate_t" >&6
83538 if test x"$have_mbstate_t" = xyes; then
83539 cat >>confdefs.h <<\_ACEOF
83540 #define HAVE_MBSTATE_T 1
83541 _ACEOF
83545 # Sanity check for existence of ISO C99 headers for extended encoding.
83547 for ac_header in wchar.h
83549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83551 echo "$as_me:$LINENO: checking for $ac_header" >&5
83552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83554 echo $ECHO_N "(cached) $ECHO_C" >&6
83556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83558 else
83559 # Is the header compilable?
83560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83562 cat >conftest.$ac_ext <<_ACEOF
83563 /* confdefs.h. */
83564 _ACEOF
83565 cat confdefs.h >>conftest.$ac_ext
83566 cat >>conftest.$ac_ext <<_ACEOF
83567 /* end confdefs.h. */
83568 $ac_includes_default
83569 #include <$ac_header>
83570 _ACEOF
83571 rm -f conftest.$ac_objext
83572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83573 (eval $ac_compile) 2>conftest.er1
83574 ac_status=$?
83575 grep -v '^ *+' conftest.er1 >conftest.err
83576 rm -f conftest.er1
83577 cat conftest.err >&5
83578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579 (exit $ac_status); } &&
83580 { ac_try='test -z "$ac_c_werror_flag"
83581 || test ! -s conftest.err'
83582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83583 (eval $ac_try) 2>&5
83584 ac_status=$?
83585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83586 (exit $ac_status); }; } &&
83587 { ac_try='test -s conftest.$ac_objext'
83588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83589 (eval $ac_try) 2>&5
83590 ac_status=$?
83591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83592 (exit $ac_status); }; }; then
83593 ac_header_compiler=yes
83594 else
83595 echo "$as_me: failed program was:" >&5
83596 sed 's/^/| /' conftest.$ac_ext >&5
83598 ac_header_compiler=no
83600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83602 echo "${ECHO_T}$ac_header_compiler" >&6
83604 # Is the header present?
83605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83607 cat >conftest.$ac_ext <<_ACEOF
83608 /* confdefs.h. */
83609 _ACEOF
83610 cat confdefs.h >>conftest.$ac_ext
83611 cat >>conftest.$ac_ext <<_ACEOF
83612 /* end confdefs.h. */
83613 #include <$ac_header>
83614 _ACEOF
83615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83617 ac_status=$?
83618 grep -v '^ *+' conftest.er1 >conftest.err
83619 rm -f conftest.er1
83620 cat conftest.err >&5
83621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83622 (exit $ac_status); } >/dev/null; then
83623 if test -s conftest.err; then
83624 ac_cpp_err=$ac_c_preproc_warn_flag
83625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83626 else
83627 ac_cpp_err=
83629 else
83630 ac_cpp_err=yes
83632 if test -z "$ac_cpp_err"; then
83633 ac_header_preproc=yes
83634 else
83635 echo "$as_me: failed program was:" >&5
83636 sed 's/^/| /' conftest.$ac_ext >&5
83638 ac_header_preproc=no
83640 rm -f conftest.err conftest.$ac_ext
83641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83642 echo "${ECHO_T}$ac_header_preproc" >&6
83644 # So? What about this header?
83645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83646 yes:no: )
83647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83651 ac_header_preproc=yes
83653 no:yes:* )
83654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83667 cat <<\_ASBOX
83668 ## ----------------------------------------- ##
83669 ## Report this to the package-unused lists. ##
83670 ## ----------------------------------------- ##
83671 _ASBOX
83673 sed "s/^/$as_me: WARNING: /" >&2
83675 esac
83676 echo "$as_me:$LINENO: checking for $ac_header" >&5
83677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83679 echo $ECHO_N "(cached) $ECHO_C" >&6
83680 else
83681 eval "$as_ac_Header=\$ac_header_preproc"
83683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83688 cat >>confdefs.h <<_ACEOF
83689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83690 _ACEOF
83691 ac_has_wchar_h=yes
83692 else
83693 ac_has_wchar_h=no
83696 done
83699 for ac_header in wctype.h
83701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83703 echo "$as_me:$LINENO: checking for $ac_header" >&5
83704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83706 echo $ECHO_N "(cached) $ECHO_C" >&6
83708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83710 else
83711 # Is the header compilable?
83712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83714 cat >conftest.$ac_ext <<_ACEOF
83715 /* confdefs.h. */
83716 _ACEOF
83717 cat confdefs.h >>conftest.$ac_ext
83718 cat >>conftest.$ac_ext <<_ACEOF
83719 /* end confdefs.h. */
83720 $ac_includes_default
83721 #include <$ac_header>
83722 _ACEOF
83723 rm -f conftest.$ac_objext
83724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83725 (eval $ac_compile) 2>conftest.er1
83726 ac_status=$?
83727 grep -v '^ *+' conftest.er1 >conftest.err
83728 rm -f conftest.er1
83729 cat conftest.err >&5
83730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731 (exit $ac_status); } &&
83732 { ac_try='test -z "$ac_c_werror_flag"
83733 || test ! -s conftest.err'
83734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83735 (eval $ac_try) 2>&5
83736 ac_status=$?
83737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83738 (exit $ac_status); }; } &&
83739 { ac_try='test -s conftest.$ac_objext'
83740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83741 (eval $ac_try) 2>&5
83742 ac_status=$?
83743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744 (exit $ac_status); }; }; then
83745 ac_header_compiler=yes
83746 else
83747 echo "$as_me: failed program was:" >&5
83748 sed 's/^/| /' conftest.$ac_ext >&5
83750 ac_header_compiler=no
83752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83754 echo "${ECHO_T}$ac_header_compiler" >&6
83756 # Is the header present?
83757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83759 cat >conftest.$ac_ext <<_ACEOF
83760 /* confdefs.h. */
83761 _ACEOF
83762 cat confdefs.h >>conftest.$ac_ext
83763 cat >>conftest.$ac_ext <<_ACEOF
83764 /* end confdefs.h. */
83765 #include <$ac_header>
83766 _ACEOF
83767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83769 ac_status=$?
83770 grep -v '^ *+' conftest.er1 >conftest.err
83771 rm -f conftest.er1
83772 cat conftest.err >&5
83773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83774 (exit $ac_status); } >/dev/null; then
83775 if test -s conftest.err; then
83776 ac_cpp_err=$ac_c_preproc_warn_flag
83777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83778 else
83779 ac_cpp_err=
83781 else
83782 ac_cpp_err=yes
83784 if test -z "$ac_cpp_err"; then
83785 ac_header_preproc=yes
83786 else
83787 echo "$as_me: failed program was:" >&5
83788 sed 's/^/| /' conftest.$ac_ext >&5
83790 ac_header_preproc=no
83792 rm -f conftest.err conftest.$ac_ext
83793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83794 echo "${ECHO_T}$ac_header_preproc" >&6
83796 # So? What about this header?
83797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83798 yes:no: )
83799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83803 ac_header_preproc=yes
83805 no:yes:* )
83806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83819 cat <<\_ASBOX
83820 ## ----------------------------------------- ##
83821 ## Report this to the package-unused lists. ##
83822 ## ----------------------------------------- ##
83823 _ASBOX
83825 sed "s/^/$as_me: WARNING: /" >&2
83827 esac
83828 echo "$as_me:$LINENO: checking for $ac_header" >&5
83829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83831 echo $ECHO_N "(cached) $ECHO_C" >&6
83832 else
83833 eval "$as_ac_Header=\$ac_header_preproc"
83835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83840 cat >>confdefs.h <<_ACEOF
83841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83842 _ACEOF
83843 ac_has_wctype_h=yes
83844 else
83845 ac_has_wctype_h=no
83848 done
83851 # Only continue checking if the ISO C99 headers exist and support is on.
83852 if test x"$ac_has_wchar_h" = xyes &&
83853 test x"$ac_has_wctype_h" = xyes &&
83854 test x"$enable_c_mbchar" != xno; then
83856 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83857 # numeric_limits can instantiate type_traits<wchar_t>
83858 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83859 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83860 cat >conftest.$ac_ext <<_ACEOF
83861 /* confdefs.h. */
83862 _ACEOF
83863 cat confdefs.h >>conftest.$ac_ext
83864 cat >>conftest.$ac_ext <<_ACEOF
83865 /* end confdefs.h. */
83866 #include <wchar.h>
83868 main ()
83870 int i = WCHAR_MIN; int j = WCHAR_MAX;
83872 return 0;
83874 _ACEOF
83875 rm -f conftest.$ac_objext
83876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83877 (eval $ac_compile) 2>conftest.er1
83878 ac_status=$?
83879 grep -v '^ *+' conftest.er1 >conftest.err
83880 rm -f conftest.er1
83881 cat conftest.err >&5
83882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83883 (exit $ac_status); } &&
83884 { ac_try='test -z "$ac_c_werror_flag"
83885 || test ! -s conftest.err'
83886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83887 (eval $ac_try) 2>&5
83888 ac_status=$?
83889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83890 (exit $ac_status); }; } &&
83891 { ac_try='test -s conftest.$ac_objext'
83892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83893 (eval $ac_try) 2>&5
83894 ac_status=$?
83895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83896 (exit $ac_status); }; }; then
83897 has_wchar_minmax=yes
83898 else
83899 echo "$as_me: failed program was:" >&5
83900 sed 's/^/| /' conftest.$ac_ext >&5
83902 has_wchar_minmax=no
83904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83905 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83906 echo "${ECHO_T}$has_wchar_minmax" >&6
83908 # Test wchar.h for WEOF, which is what we use to determine whether
83909 # to specialize for char_traits<wchar_t> or not.
83910 echo "$as_me:$LINENO: checking for WEOF" >&5
83911 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83912 cat >conftest.$ac_ext <<_ACEOF
83913 /* confdefs.h. */
83914 _ACEOF
83915 cat confdefs.h >>conftest.$ac_ext
83916 cat >>conftest.$ac_ext <<_ACEOF
83917 /* end confdefs.h. */
83919 #include <wchar.h>
83920 #include <stddef.h>
83922 main ()
83924 wint_t i = WEOF;
83926 return 0;
83928 _ACEOF
83929 rm -f conftest.$ac_objext
83930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83931 (eval $ac_compile) 2>conftest.er1
83932 ac_status=$?
83933 grep -v '^ *+' conftest.er1 >conftest.err
83934 rm -f conftest.er1
83935 cat conftest.err >&5
83936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83937 (exit $ac_status); } &&
83938 { ac_try='test -z "$ac_c_werror_flag"
83939 || test ! -s conftest.err'
83940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83941 (eval $ac_try) 2>&5
83942 ac_status=$?
83943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83944 (exit $ac_status); }; } &&
83945 { ac_try='test -s conftest.$ac_objext'
83946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83947 (eval $ac_try) 2>&5
83948 ac_status=$?
83949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83950 (exit $ac_status); }; }; then
83951 has_weof=yes
83952 else
83953 echo "$as_me: failed program was:" >&5
83954 sed 's/^/| /' conftest.$ac_ext >&5
83956 has_weof=no
83958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83959 echo "$as_me:$LINENO: result: $has_weof" >&5
83960 echo "${ECHO_T}$has_weof" >&6
83962 # Tests for wide character functions used in char_traits<wchar_t>.
83963 ac_wfuncs=yes
83970 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83973 echo "$as_me:$LINENO: checking for $ac_func" >&5
83974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83975 if eval "test \"\${$as_ac_var+set}\" = set"; then
83976 echo $ECHO_N "(cached) $ECHO_C" >&6
83977 else
83978 if test x$gcc_no_link = xyes; then
83979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83981 { (exit 1); exit 1; }; }
83983 cat >conftest.$ac_ext <<_ACEOF
83984 /* confdefs.h. */
83985 _ACEOF
83986 cat confdefs.h >>conftest.$ac_ext
83987 cat >>conftest.$ac_ext <<_ACEOF
83988 /* end confdefs.h. */
83989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83991 #define $ac_func innocuous_$ac_func
83993 /* System header to define __stub macros and hopefully few prototypes,
83994 which can conflict with char $ac_func (); below.
83995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83996 <limits.h> exists even on freestanding compilers. */
83998 #ifdef __STDC__
83999 # include <limits.h>
84000 #else
84001 # include <assert.h>
84002 #endif
84004 #undef $ac_func
84006 /* Override any gcc2 internal prototype to avoid an error. */
84007 #ifdef __cplusplus
84008 extern "C"
84010 #endif
84011 /* We use char because int might match the return type of a gcc2
84012 builtin and then its argument prototype would still apply. */
84013 char $ac_func ();
84014 /* The GNU C library defines this for functions which it implements
84015 to always fail with ENOSYS. Some functions are actually named
84016 something starting with __ and the normal name is an alias. */
84017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84018 choke me
84019 #else
84020 char (*f) () = $ac_func;
84021 #endif
84022 #ifdef __cplusplus
84024 #endif
84027 main ()
84029 return f != $ac_func;
84031 return 0;
84033 _ACEOF
84034 rm -f conftest.$ac_objext conftest$ac_exeext
84035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84036 (eval $ac_link) 2>conftest.er1
84037 ac_status=$?
84038 grep -v '^ *+' conftest.er1 >conftest.err
84039 rm -f conftest.er1
84040 cat conftest.err >&5
84041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84042 (exit $ac_status); } &&
84043 { ac_try='test -z "$ac_c_werror_flag"
84044 || test ! -s conftest.err'
84045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84046 (eval $ac_try) 2>&5
84047 ac_status=$?
84048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84049 (exit $ac_status); }; } &&
84050 { ac_try='test -s conftest$ac_exeext'
84051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84052 (eval $ac_try) 2>&5
84053 ac_status=$?
84054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84055 (exit $ac_status); }; }; then
84056 eval "$as_ac_var=yes"
84057 else
84058 echo "$as_me: failed program was:" >&5
84059 sed 's/^/| /' conftest.$ac_ext >&5
84061 eval "$as_ac_var=no"
84063 rm -f conftest.err conftest.$ac_objext \
84064 conftest$ac_exeext conftest.$ac_ext
84066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84068 if test `eval echo '${'$as_ac_var'}'` = yes; then
84069 cat >>confdefs.h <<_ACEOF
84070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84071 _ACEOF
84073 else
84074 ac_wfuncs=no
84076 done
84079 # Checks for names injected into std:: by the c_std headers.
84126 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84127 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84128 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84129 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84130 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84131 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84134 echo "$as_me:$LINENO: checking for $ac_func" >&5
84135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84136 if eval "test \"\${$as_ac_var+set}\" = set"; then
84137 echo $ECHO_N "(cached) $ECHO_C" >&6
84138 else
84139 if test x$gcc_no_link = xyes; then
84140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84142 { (exit 1); exit 1; }; }
84144 cat >conftest.$ac_ext <<_ACEOF
84145 /* confdefs.h. */
84146 _ACEOF
84147 cat confdefs.h >>conftest.$ac_ext
84148 cat >>conftest.$ac_ext <<_ACEOF
84149 /* end confdefs.h. */
84150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84152 #define $ac_func innocuous_$ac_func
84154 /* System header to define __stub macros and hopefully few prototypes,
84155 which can conflict with char $ac_func (); below.
84156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84157 <limits.h> exists even on freestanding compilers. */
84159 #ifdef __STDC__
84160 # include <limits.h>
84161 #else
84162 # include <assert.h>
84163 #endif
84165 #undef $ac_func
84167 /* Override any gcc2 internal prototype to avoid an error. */
84168 #ifdef __cplusplus
84169 extern "C"
84171 #endif
84172 /* We use char because int might match the return type of a gcc2
84173 builtin and then its argument prototype would still apply. */
84174 char $ac_func ();
84175 /* The GNU C library defines this for functions which it implements
84176 to always fail with ENOSYS. Some functions are actually named
84177 something starting with __ and the normal name is an alias. */
84178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84179 choke me
84180 #else
84181 char (*f) () = $ac_func;
84182 #endif
84183 #ifdef __cplusplus
84185 #endif
84188 main ()
84190 return f != $ac_func;
84192 return 0;
84194 _ACEOF
84195 rm -f conftest.$ac_objext conftest$ac_exeext
84196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84197 (eval $ac_link) 2>conftest.er1
84198 ac_status=$?
84199 grep -v '^ *+' conftest.er1 >conftest.err
84200 rm -f conftest.er1
84201 cat conftest.err >&5
84202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84203 (exit $ac_status); } &&
84204 { ac_try='test -z "$ac_c_werror_flag"
84205 || test ! -s conftest.err'
84206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84207 (eval $ac_try) 2>&5
84208 ac_status=$?
84209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84210 (exit $ac_status); }; } &&
84211 { ac_try='test -s conftest$ac_exeext'
84212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84213 (eval $ac_try) 2>&5
84214 ac_status=$?
84215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84216 (exit $ac_status); }; }; then
84217 eval "$as_ac_var=yes"
84218 else
84219 echo "$as_me: failed program was:" >&5
84220 sed 's/^/| /' conftest.$ac_ext >&5
84222 eval "$as_ac_var=no"
84224 rm -f conftest.err conftest.$ac_objext \
84225 conftest$ac_exeext conftest.$ac_ext
84227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84229 if test `eval echo '${'$as_ac_var'}'` = yes; then
84230 cat >>confdefs.h <<_ACEOF
84231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84232 _ACEOF
84234 else
84235 ac_wfuncs=no
84237 done
84240 # Checks for wide character functions that are not required
84241 # for basic wchar_t support. Don't disable support if they are missing.
84242 # Injection of these is wrapped with guard macros.
84248 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84251 echo "$as_me:$LINENO: checking for $ac_func" >&5
84252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84253 if eval "test \"\${$as_ac_var+set}\" = set"; then
84254 echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256 if test x$gcc_no_link = xyes; then
84257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84259 { (exit 1); exit 1; }; }
84261 cat >conftest.$ac_ext <<_ACEOF
84262 /* confdefs.h. */
84263 _ACEOF
84264 cat confdefs.h >>conftest.$ac_ext
84265 cat >>conftest.$ac_ext <<_ACEOF
84266 /* end confdefs.h. */
84267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84269 #define $ac_func innocuous_$ac_func
84271 /* System header to define __stub macros and hopefully few prototypes,
84272 which can conflict with char $ac_func (); below.
84273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84274 <limits.h> exists even on freestanding compilers. */
84276 #ifdef __STDC__
84277 # include <limits.h>
84278 #else
84279 # include <assert.h>
84280 #endif
84282 #undef $ac_func
84284 /* Override any gcc2 internal prototype to avoid an error. */
84285 #ifdef __cplusplus
84286 extern "C"
84288 #endif
84289 /* We use char because int might match the return type of a gcc2
84290 builtin and then its argument prototype would still apply. */
84291 char $ac_func ();
84292 /* The GNU C library defines this for functions which it implements
84293 to always fail with ENOSYS. Some functions are actually named
84294 something starting with __ and the normal name is an alias. */
84295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84296 choke me
84297 #else
84298 char (*f) () = $ac_func;
84299 #endif
84300 #ifdef __cplusplus
84302 #endif
84305 main ()
84307 return f != $ac_func;
84309 return 0;
84311 _ACEOF
84312 rm -f conftest.$ac_objext conftest$ac_exeext
84313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84314 (eval $ac_link) 2>conftest.er1
84315 ac_status=$?
84316 grep -v '^ *+' conftest.er1 >conftest.err
84317 rm -f conftest.er1
84318 cat conftest.err >&5
84319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320 (exit $ac_status); } &&
84321 { ac_try='test -z "$ac_c_werror_flag"
84322 || test ! -s conftest.err'
84323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84324 (eval $ac_try) 2>&5
84325 ac_status=$?
84326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84327 (exit $ac_status); }; } &&
84328 { ac_try='test -s conftest$ac_exeext'
84329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84330 (eval $ac_try) 2>&5
84331 ac_status=$?
84332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84333 (exit $ac_status); }; }; then
84334 eval "$as_ac_var=yes"
84335 else
84336 echo "$as_me: failed program was:" >&5
84337 sed 's/^/| /' conftest.$ac_ext >&5
84339 eval "$as_ac_var=no"
84341 rm -f conftest.err conftest.$ac_objext \
84342 conftest$ac_exeext conftest.$ac_ext
84344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84346 if test `eval echo '${'$as_ac_var'}'` = yes; then
84347 cat >>confdefs.h <<_ACEOF
84348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84349 _ACEOF
84352 done
84355 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84356 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84357 if test x"$has_weof" = xyes &&
84358 test x"$has_wchar_minmax" = xyes &&
84359 test x"$ac_wfuncs" = xyes;
84360 then
84361 ac_isoC99_wchar_t=yes
84362 else
84363 ac_isoC99_wchar_t=no
84365 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84366 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84368 # Use iconv for wchar_t to char conversions. As such, check for
84369 # X/Open Portability Guide, version 2 features (XPG2).
84370 if test "${ac_cv_header_iconv_h+set}" = set; then
84371 echo "$as_me:$LINENO: checking for iconv.h" >&5
84372 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84373 if test "${ac_cv_header_iconv_h+set}" = set; then
84374 echo $ECHO_N "(cached) $ECHO_C" >&6
84376 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84377 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84378 else
84379 # Is the header compilable?
84380 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84381 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84382 cat >conftest.$ac_ext <<_ACEOF
84383 /* confdefs.h. */
84384 _ACEOF
84385 cat confdefs.h >>conftest.$ac_ext
84386 cat >>conftest.$ac_ext <<_ACEOF
84387 /* end confdefs.h. */
84388 $ac_includes_default
84389 #include <iconv.h>
84390 _ACEOF
84391 rm -f conftest.$ac_objext
84392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84393 (eval $ac_compile) 2>conftest.er1
84394 ac_status=$?
84395 grep -v '^ *+' conftest.er1 >conftest.err
84396 rm -f conftest.er1
84397 cat conftest.err >&5
84398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399 (exit $ac_status); } &&
84400 { ac_try='test -z "$ac_c_werror_flag"
84401 || test ! -s conftest.err'
84402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84403 (eval $ac_try) 2>&5
84404 ac_status=$?
84405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84406 (exit $ac_status); }; } &&
84407 { ac_try='test -s conftest.$ac_objext'
84408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84409 (eval $ac_try) 2>&5
84410 ac_status=$?
84411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84412 (exit $ac_status); }; }; then
84413 ac_header_compiler=yes
84414 else
84415 echo "$as_me: failed program was:" >&5
84416 sed 's/^/| /' conftest.$ac_ext >&5
84418 ac_header_compiler=no
84420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84422 echo "${ECHO_T}$ac_header_compiler" >&6
84424 # Is the header present?
84425 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84426 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84427 cat >conftest.$ac_ext <<_ACEOF
84428 /* confdefs.h. */
84429 _ACEOF
84430 cat confdefs.h >>conftest.$ac_ext
84431 cat >>conftest.$ac_ext <<_ACEOF
84432 /* end confdefs.h. */
84433 #include <iconv.h>
84434 _ACEOF
84435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84437 ac_status=$?
84438 grep -v '^ *+' conftest.er1 >conftest.err
84439 rm -f conftest.er1
84440 cat conftest.err >&5
84441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84442 (exit $ac_status); } >/dev/null; then
84443 if test -s conftest.err; then
84444 ac_cpp_err=$ac_c_preproc_warn_flag
84445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84446 else
84447 ac_cpp_err=
84449 else
84450 ac_cpp_err=yes
84452 if test -z "$ac_cpp_err"; then
84453 ac_header_preproc=yes
84454 else
84455 echo "$as_me: failed program was:" >&5
84456 sed 's/^/| /' conftest.$ac_ext >&5
84458 ac_header_preproc=no
84460 rm -f conftest.err conftest.$ac_ext
84461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84462 echo "${ECHO_T}$ac_header_preproc" >&6
84464 # So? What about this header?
84465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84466 yes:no: )
84467 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84468 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84469 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84470 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84471 ac_header_preproc=yes
84473 no:yes:* )
84474 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84475 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84476 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84477 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84478 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84479 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84480 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84481 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84482 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84483 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84484 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84485 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84487 cat <<\_ASBOX
84488 ## ----------------------------------------- ##
84489 ## Report this to the package-unused lists. ##
84490 ## ----------------------------------------- ##
84491 _ASBOX
84493 sed "s/^/$as_me: WARNING: /" >&2
84495 esac
84496 echo "$as_me:$LINENO: checking for iconv.h" >&5
84497 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84498 if test "${ac_cv_header_iconv_h+set}" = set; then
84499 echo $ECHO_N "(cached) $ECHO_C" >&6
84500 else
84501 ac_cv_header_iconv_h=$ac_header_preproc
84503 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84504 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84507 if test $ac_cv_header_iconv_h = yes; then
84508 ac_has_iconv_h=yes
84509 else
84510 ac_has_iconv_h=no
84514 if test "${ac_cv_header_langinfo_h+set}" = set; then
84515 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84516 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84517 if test "${ac_cv_header_langinfo_h+set}" = set; then
84518 echo $ECHO_N "(cached) $ECHO_C" >&6
84520 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84521 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84522 else
84523 # Is the header compilable?
84524 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84525 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84526 cat >conftest.$ac_ext <<_ACEOF
84527 /* confdefs.h. */
84528 _ACEOF
84529 cat confdefs.h >>conftest.$ac_ext
84530 cat >>conftest.$ac_ext <<_ACEOF
84531 /* end confdefs.h. */
84532 $ac_includes_default
84533 #include <langinfo.h>
84534 _ACEOF
84535 rm -f conftest.$ac_objext
84536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84537 (eval $ac_compile) 2>conftest.er1
84538 ac_status=$?
84539 grep -v '^ *+' conftest.er1 >conftest.err
84540 rm -f conftest.er1
84541 cat conftest.err >&5
84542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84543 (exit $ac_status); } &&
84544 { ac_try='test -z "$ac_c_werror_flag"
84545 || test ! -s conftest.err'
84546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84547 (eval $ac_try) 2>&5
84548 ac_status=$?
84549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84550 (exit $ac_status); }; } &&
84551 { ac_try='test -s conftest.$ac_objext'
84552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84553 (eval $ac_try) 2>&5
84554 ac_status=$?
84555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84556 (exit $ac_status); }; }; then
84557 ac_header_compiler=yes
84558 else
84559 echo "$as_me: failed program was:" >&5
84560 sed 's/^/| /' conftest.$ac_ext >&5
84562 ac_header_compiler=no
84564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84566 echo "${ECHO_T}$ac_header_compiler" >&6
84568 # Is the header present?
84569 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84570 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84571 cat >conftest.$ac_ext <<_ACEOF
84572 /* confdefs.h. */
84573 _ACEOF
84574 cat confdefs.h >>conftest.$ac_ext
84575 cat >>conftest.$ac_ext <<_ACEOF
84576 /* end confdefs.h. */
84577 #include <langinfo.h>
84578 _ACEOF
84579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84581 ac_status=$?
84582 grep -v '^ *+' conftest.er1 >conftest.err
84583 rm -f conftest.er1
84584 cat conftest.err >&5
84585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84586 (exit $ac_status); } >/dev/null; then
84587 if test -s conftest.err; then
84588 ac_cpp_err=$ac_c_preproc_warn_flag
84589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84590 else
84591 ac_cpp_err=
84593 else
84594 ac_cpp_err=yes
84596 if test -z "$ac_cpp_err"; then
84597 ac_header_preproc=yes
84598 else
84599 echo "$as_me: failed program was:" >&5
84600 sed 's/^/| /' conftest.$ac_ext >&5
84602 ac_header_preproc=no
84604 rm -f conftest.err conftest.$ac_ext
84605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84606 echo "${ECHO_T}$ac_header_preproc" >&6
84608 # So? What about this header?
84609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84610 yes:no: )
84611 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84612 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84613 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84614 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84615 ac_header_preproc=yes
84617 no:yes:* )
84618 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84619 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84620 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84621 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84622 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84623 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84624 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84625 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84626 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84627 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84628 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84629 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84631 cat <<\_ASBOX
84632 ## ----------------------------------------- ##
84633 ## Report this to the package-unused lists. ##
84634 ## ----------------------------------------- ##
84635 _ASBOX
84637 sed "s/^/$as_me: WARNING: /" >&2
84639 esac
84640 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84641 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84642 if test "${ac_cv_header_langinfo_h+set}" = set; then
84643 echo $ECHO_N "(cached) $ECHO_C" >&6
84644 else
84645 ac_cv_header_langinfo_h=$ac_header_preproc
84647 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84648 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84651 if test $ac_cv_header_langinfo_h = yes; then
84652 ac_has_langinfo_h=yes
84653 else
84654 ac_has_langinfo_h=no
84659 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84660 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84661 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84662 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84663 echo $ECHO_N "(cached) $ECHO_C" >&6
84664 else
84665 ac_check_lib_save_LIBS=$LIBS
84666 LIBS="-liconv $LIBS"
84667 if test x$gcc_no_link = xyes; then
84668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84670 { (exit 1); exit 1; }; }
84672 cat >conftest.$ac_ext <<_ACEOF
84673 /* confdefs.h. */
84674 _ACEOF
84675 cat confdefs.h >>conftest.$ac_ext
84676 cat >>conftest.$ac_ext <<_ACEOF
84677 /* end confdefs.h. */
84679 /* Override any gcc2 internal prototype to avoid an error. */
84680 #ifdef __cplusplus
84681 extern "C"
84682 #endif
84683 /* We use char because int might match the return type of a gcc2
84684 builtin and then its argument prototype would still apply. */
84685 char iconv ();
84687 main ()
84689 iconv ();
84691 return 0;
84693 _ACEOF
84694 rm -f conftest.$ac_objext conftest$ac_exeext
84695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84696 (eval $ac_link) 2>conftest.er1
84697 ac_status=$?
84698 grep -v '^ *+' conftest.er1 >conftest.err
84699 rm -f conftest.er1
84700 cat conftest.err >&5
84701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84702 (exit $ac_status); } &&
84703 { ac_try='test -z "$ac_c_werror_flag"
84704 || test ! -s conftest.err'
84705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84706 (eval $ac_try) 2>&5
84707 ac_status=$?
84708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84709 (exit $ac_status); }; } &&
84710 { ac_try='test -s conftest$ac_exeext'
84711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84712 (eval $ac_try) 2>&5
84713 ac_status=$?
84714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84715 (exit $ac_status); }; }; then
84716 ac_cv_lib_iconv_iconv=yes
84717 else
84718 echo "$as_me: failed program was:" >&5
84719 sed 's/^/| /' conftest.$ac_ext >&5
84721 ac_cv_lib_iconv_iconv=no
84723 rm -f conftest.err conftest.$ac_objext \
84724 conftest$ac_exeext conftest.$ac_ext
84725 LIBS=$ac_check_lib_save_LIBS
84727 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84728 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84729 if test $ac_cv_lib_iconv_iconv = yes; then
84730 LIBICONV="-liconv"
84733 ac_save_LIBS="$LIBS"
84734 LIBS="$LIBS $LIBICONV"
84741 for ac_func in iconv_open iconv_close iconv nl_langinfo
84743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84744 echo "$as_me:$LINENO: checking for $ac_func" >&5
84745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84746 if eval "test \"\${$as_ac_var+set}\" = set"; then
84747 echo $ECHO_N "(cached) $ECHO_C" >&6
84748 else
84749 if test x$gcc_no_link = xyes; then
84750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84752 { (exit 1); exit 1; }; }
84754 cat >conftest.$ac_ext <<_ACEOF
84755 /* confdefs.h. */
84756 _ACEOF
84757 cat confdefs.h >>conftest.$ac_ext
84758 cat >>conftest.$ac_ext <<_ACEOF
84759 /* end confdefs.h. */
84760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84762 #define $ac_func innocuous_$ac_func
84764 /* System header to define __stub macros and hopefully few prototypes,
84765 which can conflict with char $ac_func (); below.
84766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84767 <limits.h> exists even on freestanding compilers. */
84769 #ifdef __STDC__
84770 # include <limits.h>
84771 #else
84772 # include <assert.h>
84773 #endif
84775 #undef $ac_func
84777 /* Override any gcc2 internal prototype to avoid an error. */
84778 #ifdef __cplusplus
84779 extern "C"
84781 #endif
84782 /* We use char because int might match the return type of a gcc2
84783 builtin and then its argument prototype would still apply. */
84784 char $ac_func ();
84785 /* The GNU C library defines this for functions which it implements
84786 to always fail with ENOSYS. Some functions are actually named
84787 something starting with __ and the normal name is an alias. */
84788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84789 choke me
84790 #else
84791 char (*f) () = $ac_func;
84792 #endif
84793 #ifdef __cplusplus
84795 #endif
84798 main ()
84800 return f != $ac_func;
84802 return 0;
84804 _ACEOF
84805 rm -f conftest.$ac_objext conftest$ac_exeext
84806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84807 (eval $ac_link) 2>conftest.er1
84808 ac_status=$?
84809 grep -v '^ *+' conftest.er1 >conftest.err
84810 rm -f conftest.er1
84811 cat conftest.err >&5
84812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84813 (exit $ac_status); } &&
84814 { ac_try='test -z "$ac_c_werror_flag"
84815 || test ! -s conftest.err'
84816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84817 (eval $ac_try) 2>&5
84818 ac_status=$?
84819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84820 (exit $ac_status); }; } &&
84821 { ac_try='test -s conftest$ac_exeext'
84822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84823 (eval $ac_try) 2>&5
84824 ac_status=$?
84825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84826 (exit $ac_status); }; }; then
84827 eval "$as_ac_var=yes"
84828 else
84829 echo "$as_me: failed program was:" >&5
84830 sed 's/^/| /' conftest.$ac_ext >&5
84832 eval "$as_ac_var=no"
84834 rm -f conftest.err conftest.$ac_objext \
84835 conftest$ac_exeext conftest.$ac_ext
84837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84839 if test `eval echo '${'$as_ac_var'}'` = yes; then
84840 cat >>confdefs.h <<_ACEOF
84841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84842 _ACEOF
84843 ac_XPG2funcs=yes
84844 else
84845 ac_XPG2funcs=no
84847 done
84850 LIBS="$ac_save_LIBS"
84852 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84853 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84854 if test x"$ac_has_iconv_h" = xyes &&
84855 test x"$ac_has_langinfo_h" = xyes &&
84856 test x"$ac_XPG2funcs" = xyes;
84857 then
84858 ac_XPG2_wchar_t=yes
84859 else
84860 ac_XPG2_wchar_t=no
84862 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84863 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84865 # At the moment, only enable wchar_t specializations if all the
84866 # above support is present.
84867 if test x"$ac_isoC99_wchar_t" = xyes &&
84868 test x"$ac_XPG2_wchar_t" = xyes;
84869 then
84870 cat >>confdefs.h <<\_ACEOF
84871 #define _GLIBCXX_USE_WCHAR_T 1
84872 _ACEOF
84874 enable_wchar_t=yes
84877 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84878 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84879 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84880 echo "${ECHO_T}$enable_wchar_t" >&6
84883 *-netbsd*)
84896 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84897 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84898 fp.h locale.h float.h inttypes.h
84900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84902 echo "$as_me:$LINENO: checking for $ac_header" >&5
84903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84905 echo $ECHO_N "(cached) $ECHO_C" >&6
84907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84909 else
84910 # Is the header compilable?
84911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84913 cat >conftest.$ac_ext <<_ACEOF
84914 /* confdefs.h. */
84915 _ACEOF
84916 cat confdefs.h >>conftest.$ac_ext
84917 cat >>conftest.$ac_ext <<_ACEOF
84918 /* end confdefs.h. */
84919 $ac_includes_default
84920 #include <$ac_header>
84921 _ACEOF
84922 rm -f conftest.$ac_objext
84923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84924 (eval $ac_compile) 2>conftest.er1
84925 ac_status=$?
84926 grep -v '^ *+' conftest.er1 >conftest.err
84927 rm -f conftest.er1
84928 cat conftest.err >&5
84929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930 (exit $ac_status); } &&
84931 { ac_try='test -z "$ac_c_werror_flag"
84932 || test ! -s conftest.err'
84933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84934 (eval $ac_try) 2>&5
84935 ac_status=$?
84936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84937 (exit $ac_status); }; } &&
84938 { ac_try='test -s conftest.$ac_objext'
84939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84940 (eval $ac_try) 2>&5
84941 ac_status=$?
84942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84943 (exit $ac_status); }; }; then
84944 ac_header_compiler=yes
84945 else
84946 echo "$as_me: failed program was:" >&5
84947 sed 's/^/| /' conftest.$ac_ext >&5
84949 ac_header_compiler=no
84951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84953 echo "${ECHO_T}$ac_header_compiler" >&6
84955 # Is the header present?
84956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84958 cat >conftest.$ac_ext <<_ACEOF
84959 /* confdefs.h. */
84960 _ACEOF
84961 cat confdefs.h >>conftest.$ac_ext
84962 cat >>conftest.$ac_ext <<_ACEOF
84963 /* end confdefs.h. */
84964 #include <$ac_header>
84965 _ACEOF
84966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84968 ac_status=$?
84969 grep -v '^ *+' conftest.er1 >conftest.err
84970 rm -f conftest.er1
84971 cat conftest.err >&5
84972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973 (exit $ac_status); } >/dev/null; then
84974 if test -s conftest.err; then
84975 ac_cpp_err=$ac_c_preproc_warn_flag
84976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84977 else
84978 ac_cpp_err=
84980 else
84981 ac_cpp_err=yes
84983 if test -z "$ac_cpp_err"; then
84984 ac_header_preproc=yes
84985 else
84986 echo "$as_me: failed program was:" >&5
84987 sed 's/^/| /' conftest.$ac_ext >&5
84989 ac_header_preproc=no
84991 rm -f conftest.err conftest.$ac_ext
84992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84993 echo "${ECHO_T}$ac_header_preproc" >&6
84995 # So? What about this header?
84996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84997 yes:no: )
84998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85002 ac_header_preproc=yes
85004 no:yes:* )
85005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85018 cat <<\_ASBOX
85019 ## ----------------------------------------- ##
85020 ## Report this to the package-unused lists. ##
85021 ## ----------------------------------------- ##
85022 _ASBOX
85024 sed "s/^/$as_me: WARNING: /" >&2
85026 esac
85027 echo "$as_me:$LINENO: checking for $ac_header" >&5
85028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85030 echo $ECHO_N "(cached) $ECHO_C" >&6
85031 else
85032 eval "$as_ac_Header=\$ac_header_preproc"
85034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85039 cat >>confdefs.h <<_ACEOF
85040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85041 _ACEOF
85045 done
85047 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85050 # If we're not using GNU ld, then there's no point in even trying these
85051 # tests. Check for that first. We should have already tested for gld
85052 # by now (in libtool), but require it now just to be safe...
85053 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85054 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85058 # The name set by libtool depends on the version of libtool. Shame on us
85059 # for depending on an impl detail, but c'est la vie. Older versions used
85060 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85061 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85062 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85063 # set (hence we're using an older libtool), then set it.
85064 if test x${with_gnu_ld+set} != xset; then
85065 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85066 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85067 with_gnu_ld=no
85068 else
85069 with_gnu_ld=$ac_cv_prog_gnu_ld
85073 # Start by getting the version number. I think the libtool test already
85074 # does some of this, but throws away the result.
85076 ldver=`$LD --version 2>/dev/null | head -1 | \
85077 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85079 glibcxx_gnu_ld_version=`echo $ldver | \
85080 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85082 # Set --gc-sections.
85083 if test "$with_gnu_ld" = "notbroken"; then
85084 # GNU ld it is! Joy and bunny rabbits!
85086 # All these tests are for C++; save the language and the compiler flags.
85087 # Need to do this so that g++ won't try to link in libstdc++
85088 ac_test_CFLAGS="${CFLAGS+set}"
85089 ac_save_CFLAGS="$CFLAGS"
85090 CFLAGS='-x c++ -Wl,--gc-sections'
85092 # Check for -Wl,--gc-sections
85093 # XXX This test is broken at the moment, as symbols required for linking
85094 # are now in libsupc++ (not built yet). In addition, this test has
85095 # cored on solaris in the past. In addition, --gc-sections doesn't
85096 # really work at the moment (keeps on discarding used sections, first
85097 # .eh_frame and now some of the glibc sections for iconv).
85098 # Bzzzzt. Thanks for playing, maybe next time.
85099 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85100 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85101 if test "$cross_compiling" = yes; then
85102 ac_sectionLDflags=yes
85103 else
85104 cat >conftest.$ac_ext <<_ACEOF
85105 /* confdefs.h. */
85106 _ACEOF
85107 cat confdefs.h >>conftest.$ac_ext
85108 cat >>conftest.$ac_ext <<_ACEOF
85109 /* end confdefs.h. */
85111 int main(void)
85113 try { throw 1; }
85114 catch (...) { };
85115 return 0;
85118 _ACEOF
85119 rm -f conftest$ac_exeext
85120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85121 (eval $ac_link) 2>&5
85122 ac_status=$?
85123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85124 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85126 (eval $ac_try) 2>&5
85127 ac_status=$?
85128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85129 (exit $ac_status); }; }; then
85130 ac_sectionLDflags=yes
85131 else
85132 echo "$as_me: program exited with status $ac_status" >&5
85133 echo "$as_me: failed program was:" >&5
85134 sed 's/^/| /' conftest.$ac_ext >&5
85136 ( exit $ac_status )
85137 ac_sectionLDflags=no
85139 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85141 if test "$ac_test_CFLAGS" = set; then
85142 CFLAGS="$ac_save_CFLAGS"
85143 else
85144 # this is the suspicious part
85145 CFLAGS=''
85147 if test "$ac_sectionLDflags" = "yes"; then
85148 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85150 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85151 echo "${ECHO_T}$ac_sectionLDflags" >&6
85154 # Set linker optimization flags.
85155 if test x"$with_gnu_ld" = x"yes"; then
85156 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85164 echo "$as_me:$LINENO: checking for main in -lm" >&5
85165 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85166 if test "${ac_cv_lib_m_main+set}" = set; then
85167 echo $ECHO_N "(cached) $ECHO_C" >&6
85168 else
85169 ac_check_lib_save_LIBS=$LIBS
85170 LIBS="-lm $LIBS"
85171 if test x$gcc_no_link = xyes; then
85172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85174 { (exit 1); exit 1; }; }
85176 cat >conftest.$ac_ext <<_ACEOF
85177 /* confdefs.h. */
85178 _ACEOF
85179 cat confdefs.h >>conftest.$ac_ext
85180 cat >>conftest.$ac_ext <<_ACEOF
85181 /* end confdefs.h. */
85185 main ()
85187 main ();
85189 return 0;
85191 _ACEOF
85192 rm -f conftest.$ac_objext conftest$ac_exeext
85193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85194 (eval $ac_link) 2>conftest.er1
85195 ac_status=$?
85196 grep -v '^ *+' conftest.er1 >conftest.err
85197 rm -f conftest.er1
85198 cat conftest.err >&5
85199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85200 (exit $ac_status); } &&
85201 { ac_try='test -z "$ac_c_werror_flag"
85202 || test ! -s conftest.err'
85203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85204 (eval $ac_try) 2>&5
85205 ac_status=$?
85206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85207 (exit $ac_status); }; } &&
85208 { ac_try='test -s conftest$ac_exeext'
85209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85210 (eval $ac_try) 2>&5
85211 ac_status=$?
85212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85213 (exit $ac_status); }; }; then
85214 ac_cv_lib_m_main=yes
85215 else
85216 echo "$as_me: failed program was:" >&5
85217 sed 's/^/| /' conftest.$ac_ext >&5
85219 ac_cv_lib_m_main=no
85221 rm -f conftest.err conftest.$ac_objext \
85222 conftest$ac_exeext conftest.$ac_ext
85223 LIBS=$ac_check_lib_save_LIBS
85225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85226 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85227 if test $ac_cv_lib_m_main = yes; then
85228 cat >>confdefs.h <<_ACEOF
85229 #define HAVE_LIBM 1
85230 _ACEOF
85232 LIBS="-lm $LIBS"
85237 for ac_func in copysignf
85239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85240 echo "$as_me:$LINENO: checking for $ac_func" >&5
85241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85242 if eval "test \"\${$as_ac_var+set}\" = set"; then
85243 echo $ECHO_N "(cached) $ECHO_C" >&6
85244 else
85245 if test x$gcc_no_link = xyes; then
85246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85248 { (exit 1); exit 1; }; }
85250 cat >conftest.$ac_ext <<_ACEOF
85251 /* confdefs.h. */
85252 _ACEOF
85253 cat confdefs.h >>conftest.$ac_ext
85254 cat >>conftest.$ac_ext <<_ACEOF
85255 /* end confdefs.h. */
85256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85258 #define $ac_func innocuous_$ac_func
85260 /* System header to define __stub macros and hopefully few prototypes,
85261 which can conflict with char $ac_func (); below.
85262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85263 <limits.h> exists even on freestanding compilers. */
85265 #ifdef __STDC__
85266 # include <limits.h>
85267 #else
85268 # include <assert.h>
85269 #endif
85271 #undef $ac_func
85273 /* Override any gcc2 internal prototype to avoid an error. */
85274 #ifdef __cplusplus
85275 extern "C"
85277 #endif
85278 /* We use char because int might match the return type of a gcc2
85279 builtin and then its argument prototype would still apply. */
85280 char $ac_func ();
85281 /* The GNU C library defines this for functions which it implements
85282 to always fail with ENOSYS. Some functions are actually named
85283 something starting with __ and the normal name is an alias. */
85284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85285 choke me
85286 #else
85287 char (*f) () = $ac_func;
85288 #endif
85289 #ifdef __cplusplus
85291 #endif
85294 main ()
85296 return f != $ac_func;
85298 return 0;
85300 _ACEOF
85301 rm -f conftest.$ac_objext conftest$ac_exeext
85302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85303 (eval $ac_link) 2>conftest.er1
85304 ac_status=$?
85305 grep -v '^ *+' conftest.er1 >conftest.err
85306 rm -f conftest.er1
85307 cat conftest.err >&5
85308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85309 (exit $ac_status); } &&
85310 { ac_try='test -z "$ac_c_werror_flag"
85311 || test ! -s conftest.err'
85312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85313 (eval $ac_try) 2>&5
85314 ac_status=$?
85315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85316 (exit $ac_status); }; } &&
85317 { ac_try='test -s conftest$ac_exeext'
85318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85319 (eval $ac_try) 2>&5
85320 ac_status=$?
85321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85322 (exit $ac_status); }; }; then
85323 eval "$as_ac_var=yes"
85324 else
85325 echo "$as_me: failed program was:" >&5
85326 sed 's/^/| /' conftest.$ac_ext >&5
85328 eval "$as_ac_var=no"
85330 rm -f conftest.err conftest.$ac_objext \
85331 conftest$ac_exeext conftest.$ac_ext
85333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85335 if test `eval echo '${'$as_ac_var'}'` = yes; then
85336 cat >>confdefs.h <<_ACEOF
85337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85338 _ACEOF
85340 else
85341 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85343 done
85347 for ac_func in __signbit
85349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85350 echo "$as_me:$LINENO: checking for $ac_func" >&5
85351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85352 if eval "test \"\${$as_ac_var+set}\" = set"; then
85353 echo $ECHO_N "(cached) $ECHO_C" >&6
85354 else
85355 if test x$gcc_no_link = xyes; then
85356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85358 { (exit 1); exit 1; }; }
85360 cat >conftest.$ac_ext <<_ACEOF
85361 /* confdefs.h. */
85362 _ACEOF
85363 cat confdefs.h >>conftest.$ac_ext
85364 cat >>conftest.$ac_ext <<_ACEOF
85365 /* end confdefs.h. */
85366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85368 #define $ac_func innocuous_$ac_func
85370 /* System header to define __stub macros and hopefully few prototypes,
85371 which can conflict with char $ac_func (); below.
85372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85373 <limits.h> exists even on freestanding compilers. */
85375 #ifdef __STDC__
85376 # include <limits.h>
85377 #else
85378 # include <assert.h>
85379 #endif
85381 #undef $ac_func
85383 /* Override any gcc2 internal prototype to avoid an error. */
85384 #ifdef __cplusplus
85385 extern "C"
85387 #endif
85388 /* We use char because int might match the return type of a gcc2
85389 builtin and then its argument prototype would still apply. */
85390 char $ac_func ();
85391 /* The GNU C library defines this for functions which it implements
85392 to always fail with ENOSYS. Some functions are actually named
85393 something starting with __ and the normal name is an alias. */
85394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85395 choke me
85396 #else
85397 char (*f) () = $ac_func;
85398 #endif
85399 #ifdef __cplusplus
85401 #endif
85404 main ()
85406 return f != $ac_func;
85408 return 0;
85410 _ACEOF
85411 rm -f conftest.$ac_objext conftest$ac_exeext
85412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85413 (eval $ac_link) 2>conftest.er1
85414 ac_status=$?
85415 grep -v '^ *+' conftest.er1 >conftest.err
85416 rm -f conftest.er1
85417 cat conftest.err >&5
85418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419 (exit $ac_status); } &&
85420 { ac_try='test -z "$ac_c_werror_flag"
85421 || test ! -s conftest.err'
85422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85423 (eval $ac_try) 2>&5
85424 ac_status=$?
85425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85426 (exit $ac_status); }; } &&
85427 { ac_try='test -s conftest$ac_exeext'
85428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85429 (eval $ac_try) 2>&5
85430 ac_status=$?
85431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85432 (exit $ac_status); }; }; then
85433 eval "$as_ac_var=yes"
85434 else
85435 echo "$as_me: failed program was:" >&5
85436 sed 's/^/| /' conftest.$ac_ext >&5
85438 eval "$as_ac_var=no"
85440 rm -f conftest.err conftest.$ac_objext \
85441 conftest$ac_exeext conftest.$ac_ext
85443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85445 if test `eval echo '${'$as_ac_var'}'` = yes; then
85446 cat >>confdefs.h <<_ACEOF
85447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85448 _ACEOF
85450 else
85451 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85453 done
85457 for ac_func in __signbitf
85459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85460 echo "$as_me:$LINENO: checking for $ac_func" >&5
85461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85462 if eval "test \"\${$as_ac_var+set}\" = set"; then
85463 echo $ECHO_N "(cached) $ECHO_C" >&6
85464 else
85465 if test x$gcc_no_link = xyes; then
85466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85468 { (exit 1); exit 1; }; }
85470 cat >conftest.$ac_ext <<_ACEOF
85471 /* confdefs.h. */
85472 _ACEOF
85473 cat confdefs.h >>conftest.$ac_ext
85474 cat >>conftest.$ac_ext <<_ACEOF
85475 /* end confdefs.h. */
85476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85478 #define $ac_func innocuous_$ac_func
85480 /* System header to define __stub macros and hopefully few prototypes,
85481 which can conflict with char $ac_func (); below.
85482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85483 <limits.h> exists even on freestanding compilers. */
85485 #ifdef __STDC__
85486 # include <limits.h>
85487 #else
85488 # include <assert.h>
85489 #endif
85491 #undef $ac_func
85493 /* Override any gcc2 internal prototype to avoid an error. */
85494 #ifdef __cplusplus
85495 extern "C"
85497 #endif
85498 /* We use char because int might match the return type of a gcc2
85499 builtin and then its argument prototype would still apply. */
85500 char $ac_func ();
85501 /* The GNU C library defines this for functions which it implements
85502 to always fail with ENOSYS. Some functions are actually named
85503 something starting with __ and the normal name is an alias. */
85504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85505 choke me
85506 #else
85507 char (*f) () = $ac_func;
85508 #endif
85509 #ifdef __cplusplus
85511 #endif
85514 main ()
85516 return f != $ac_func;
85518 return 0;
85520 _ACEOF
85521 rm -f conftest.$ac_objext conftest$ac_exeext
85522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85523 (eval $ac_link) 2>conftest.er1
85524 ac_status=$?
85525 grep -v '^ *+' conftest.er1 >conftest.err
85526 rm -f conftest.er1
85527 cat conftest.err >&5
85528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85529 (exit $ac_status); } &&
85530 { ac_try='test -z "$ac_c_werror_flag"
85531 || test ! -s conftest.err'
85532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533 (eval $ac_try) 2>&5
85534 ac_status=$?
85535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536 (exit $ac_status); }; } &&
85537 { ac_try='test -s conftest$ac_exeext'
85538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85539 (eval $ac_try) 2>&5
85540 ac_status=$?
85541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85542 (exit $ac_status); }; }; then
85543 eval "$as_ac_var=yes"
85544 else
85545 echo "$as_me: failed program was:" >&5
85546 sed 's/^/| /' conftest.$ac_ext >&5
85548 eval "$as_ac_var=no"
85550 rm -f conftest.err conftest.$ac_objext \
85551 conftest$ac_exeext conftest.$ac_ext
85553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85555 if test `eval echo '${'$as_ac_var'}'` = yes; then
85556 cat >>confdefs.h <<_ACEOF
85557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85558 _ACEOF
85560 else
85561 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85563 done
85566 if test x$ac_cv_func_copysignl = x"yes"; then
85568 for ac_func in __signbitl
85570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85571 echo "$as_me:$LINENO: checking for $ac_func" >&5
85572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85573 if eval "test \"\${$as_ac_var+set}\" = set"; then
85574 echo $ECHO_N "(cached) $ECHO_C" >&6
85575 else
85576 if test x$gcc_no_link = xyes; then
85577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85579 { (exit 1); exit 1; }; }
85581 cat >conftest.$ac_ext <<_ACEOF
85582 /* confdefs.h. */
85583 _ACEOF
85584 cat confdefs.h >>conftest.$ac_ext
85585 cat >>conftest.$ac_ext <<_ACEOF
85586 /* end confdefs.h. */
85587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85589 #define $ac_func innocuous_$ac_func
85591 /* System header to define __stub macros and hopefully few prototypes,
85592 which can conflict with char $ac_func (); below.
85593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85594 <limits.h> exists even on freestanding compilers. */
85596 #ifdef __STDC__
85597 # include <limits.h>
85598 #else
85599 # include <assert.h>
85600 #endif
85602 #undef $ac_func
85604 /* Override any gcc2 internal prototype to avoid an error. */
85605 #ifdef __cplusplus
85606 extern "C"
85608 #endif
85609 /* We use char because int might match the return type of a gcc2
85610 builtin and then its argument prototype would still apply. */
85611 char $ac_func ();
85612 /* The GNU C library defines this for functions which it implements
85613 to always fail with ENOSYS. Some functions are actually named
85614 something starting with __ and the normal name is an alias. */
85615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85616 choke me
85617 #else
85618 char (*f) () = $ac_func;
85619 #endif
85620 #ifdef __cplusplus
85622 #endif
85625 main ()
85627 return f != $ac_func;
85629 return 0;
85631 _ACEOF
85632 rm -f conftest.$ac_objext conftest$ac_exeext
85633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85634 (eval $ac_link) 2>conftest.er1
85635 ac_status=$?
85636 grep -v '^ *+' conftest.er1 >conftest.err
85637 rm -f conftest.er1
85638 cat conftest.err >&5
85639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85640 (exit $ac_status); } &&
85641 { ac_try='test -z "$ac_c_werror_flag"
85642 || test ! -s conftest.err'
85643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85644 (eval $ac_try) 2>&5
85645 ac_status=$?
85646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85647 (exit $ac_status); }; } &&
85648 { ac_try='test -s conftest$ac_exeext'
85649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85650 (eval $ac_try) 2>&5
85651 ac_status=$?
85652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85653 (exit $ac_status); }; }; then
85654 eval "$as_ac_var=yes"
85655 else
85656 echo "$as_me: failed program was:" >&5
85657 sed 's/^/| /' conftest.$ac_ext >&5
85659 eval "$as_ac_var=no"
85661 rm -f conftest.err conftest.$ac_objext \
85662 conftest$ac_exeext conftest.$ac_ext
85664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85666 if test `eval echo '${'$as_ac_var'}'` = yes; then
85667 cat >>confdefs.h <<_ACEOF
85668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85669 _ACEOF
85671 else
85672 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85674 done
85678 # Used in libmath/Makefile.am.
85679 if test -n "$LIBMATHOBJS"; then
85680 need_libmath=yes
85685 # Test wchar.h for mbstate_t, which is needed for char_traits and
85686 # others even if wchar_t support is not on.
85687 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85688 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85689 cat >conftest.$ac_ext <<_ACEOF
85690 /* confdefs.h. */
85691 _ACEOF
85692 cat confdefs.h >>conftest.$ac_ext
85693 cat >>conftest.$ac_ext <<_ACEOF
85694 /* end confdefs.h. */
85695 #include <wchar.h>
85697 main ()
85699 mbstate_t teststate;
85701 return 0;
85703 _ACEOF
85704 rm -f conftest.$ac_objext
85705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85706 (eval $ac_compile) 2>conftest.er1
85707 ac_status=$?
85708 grep -v '^ *+' conftest.er1 >conftest.err
85709 rm -f conftest.er1
85710 cat conftest.err >&5
85711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712 (exit $ac_status); } &&
85713 { ac_try='test -z "$ac_c_werror_flag"
85714 || test ! -s conftest.err'
85715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85716 (eval $ac_try) 2>&5
85717 ac_status=$?
85718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85719 (exit $ac_status); }; } &&
85720 { ac_try='test -s conftest.$ac_objext'
85721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85722 (eval $ac_try) 2>&5
85723 ac_status=$?
85724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725 (exit $ac_status); }; }; then
85726 have_mbstate_t=yes
85727 else
85728 echo "$as_me: failed program was:" >&5
85729 sed 's/^/| /' conftest.$ac_ext >&5
85731 have_mbstate_t=no
85733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85734 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85735 echo "${ECHO_T}$have_mbstate_t" >&6
85736 if test x"$have_mbstate_t" = xyes; then
85737 cat >>confdefs.h <<\_ACEOF
85738 #define HAVE_MBSTATE_T 1
85739 _ACEOF
85743 # Sanity check for existence of ISO C99 headers for extended encoding.
85745 for ac_header in wchar.h
85747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85749 echo "$as_me:$LINENO: checking for $ac_header" >&5
85750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85752 echo $ECHO_N "(cached) $ECHO_C" >&6
85754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85756 else
85757 # Is the header compilable?
85758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85760 cat >conftest.$ac_ext <<_ACEOF
85761 /* confdefs.h. */
85762 _ACEOF
85763 cat confdefs.h >>conftest.$ac_ext
85764 cat >>conftest.$ac_ext <<_ACEOF
85765 /* end confdefs.h. */
85766 $ac_includes_default
85767 #include <$ac_header>
85768 _ACEOF
85769 rm -f conftest.$ac_objext
85770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85771 (eval $ac_compile) 2>conftest.er1
85772 ac_status=$?
85773 grep -v '^ *+' conftest.er1 >conftest.err
85774 rm -f conftest.er1
85775 cat conftest.err >&5
85776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85777 (exit $ac_status); } &&
85778 { ac_try='test -z "$ac_c_werror_flag"
85779 || test ! -s conftest.err'
85780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85781 (eval $ac_try) 2>&5
85782 ac_status=$?
85783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85784 (exit $ac_status); }; } &&
85785 { ac_try='test -s conftest.$ac_objext'
85786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85787 (eval $ac_try) 2>&5
85788 ac_status=$?
85789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85790 (exit $ac_status); }; }; then
85791 ac_header_compiler=yes
85792 else
85793 echo "$as_me: failed program was:" >&5
85794 sed 's/^/| /' conftest.$ac_ext >&5
85796 ac_header_compiler=no
85798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85800 echo "${ECHO_T}$ac_header_compiler" >&6
85802 # Is the header present?
85803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85805 cat >conftest.$ac_ext <<_ACEOF
85806 /* confdefs.h. */
85807 _ACEOF
85808 cat confdefs.h >>conftest.$ac_ext
85809 cat >>conftest.$ac_ext <<_ACEOF
85810 /* end confdefs.h. */
85811 #include <$ac_header>
85812 _ACEOF
85813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85815 ac_status=$?
85816 grep -v '^ *+' conftest.er1 >conftest.err
85817 rm -f conftest.er1
85818 cat conftest.err >&5
85819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85820 (exit $ac_status); } >/dev/null; then
85821 if test -s conftest.err; then
85822 ac_cpp_err=$ac_c_preproc_warn_flag
85823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85824 else
85825 ac_cpp_err=
85827 else
85828 ac_cpp_err=yes
85830 if test -z "$ac_cpp_err"; then
85831 ac_header_preproc=yes
85832 else
85833 echo "$as_me: failed program was:" >&5
85834 sed 's/^/| /' conftest.$ac_ext >&5
85836 ac_header_preproc=no
85838 rm -f conftest.err conftest.$ac_ext
85839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85840 echo "${ECHO_T}$ac_header_preproc" >&6
85842 # So? What about this header?
85843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85844 yes:no: )
85845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85849 ac_header_preproc=yes
85851 no:yes:* )
85852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85865 cat <<\_ASBOX
85866 ## ----------------------------------------- ##
85867 ## Report this to the package-unused lists. ##
85868 ## ----------------------------------------- ##
85869 _ASBOX
85871 sed "s/^/$as_me: WARNING: /" >&2
85873 esac
85874 echo "$as_me:$LINENO: checking for $ac_header" >&5
85875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85877 echo $ECHO_N "(cached) $ECHO_C" >&6
85878 else
85879 eval "$as_ac_Header=\$ac_header_preproc"
85881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85886 cat >>confdefs.h <<_ACEOF
85887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85888 _ACEOF
85889 ac_has_wchar_h=yes
85890 else
85891 ac_has_wchar_h=no
85894 done
85897 for ac_header in wctype.h
85899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85901 echo "$as_me:$LINENO: checking for $ac_header" >&5
85902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85904 echo $ECHO_N "(cached) $ECHO_C" >&6
85906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85908 else
85909 # Is the header compilable?
85910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85912 cat >conftest.$ac_ext <<_ACEOF
85913 /* confdefs.h. */
85914 _ACEOF
85915 cat confdefs.h >>conftest.$ac_ext
85916 cat >>conftest.$ac_ext <<_ACEOF
85917 /* end confdefs.h. */
85918 $ac_includes_default
85919 #include <$ac_header>
85920 _ACEOF
85921 rm -f conftest.$ac_objext
85922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85923 (eval $ac_compile) 2>conftest.er1
85924 ac_status=$?
85925 grep -v '^ *+' conftest.er1 >conftest.err
85926 rm -f conftest.er1
85927 cat conftest.err >&5
85928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85929 (exit $ac_status); } &&
85930 { ac_try='test -z "$ac_c_werror_flag"
85931 || test ! -s conftest.err'
85932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85933 (eval $ac_try) 2>&5
85934 ac_status=$?
85935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936 (exit $ac_status); }; } &&
85937 { ac_try='test -s conftest.$ac_objext'
85938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85939 (eval $ac_try) 2>&5
85940 ac_status=$?
85941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85942 (exit $ac_status); }; }; then
85943 ac_header_compiler=yes
85944 else
85945 echo "$as_me: failed program was:" >&5
85946 sed 's/^/| /' conftest.$ac_ext >&5
85948 ac_header_compiler=no
85950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85952 echo "${ECHO_T}$ac_header_compiler" >&6
85954 # Is the header present?
85955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85957 cat >conftest.$ac_ext <<_ACEOF
85958 /* confdefs.h. */
85959 _ACEOF
85960 cat confdefs.h >>conftest.$ac_ext
85961 cat >>conftest.$ac_ext <<_ACEOF
85962 /* end confdefs.h. */
85963 #include <$ac_header>
85964 _ACEOF
85965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85967 ac_status=$?
85968 grep -v '^ *+' conftest.er1 >conftest.err
85969 rm -f conftest.er1
85970 cat conftest.err >&5
85971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85972 (exit $ac_status); } >/dev/null; then
85973 if test -s conftest.err; then
85974 ac_cpp_err=$ac_c_preproc_warn_flag
85975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85976 else
85977 ac_cpp_err=
85979 else
85980 ac_cpp_err=yes
85982 if test -z "$ac_cpp_err"; then
85983 ac_header_preproc=yes
85984 else
85985 echo "$as_me: failed program was:" >&5
85986 sed 's/^/| /' conftest.$ac_ext >&5
85988 ac_header_preproc=no
85990 rm -f conftest.err conftest.$ac_ext
85991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85992 echo "${ECHO_T}$ac_header_preproc" >&6
85994 # So? What about this header?
85995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85996 yes:no: )
85997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86001 ac_header_preproc=yes
86003 no:yes:* )
86004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86008 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86010 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86011 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86017 cat <<\_ASBOX
86018 ## ----------------------------------------- ##
86019 ## Report this to the package-unused lists. ##
86020 ## ----------------------------------------- ##
86021 _ASBOX
86023 sed "s/^/$as_me: WARNING: /" >&2
86025 esac
86026 echo "$as_me:$LINENO: checking for $ac_header" >&5
86027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86029 echo $ECHO_N "(cached) $ECHO_C" >&6
86030 else
86031 eval "$as_ac_Header=\$ac_header_preproc"
86033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86038 cat >>confdefs.h <<_ACEOF
86039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86040 _ACEOF
86041 ac_has_wctype_h=yes
86042 else
86043 ac_has_wctype_h=no
86046 done
86049 # Only continue checking if the ISO C99 headers exist and support is on.
86050 if test x"$ac_has_wchar_h" = xyes &&
86051 test x"$ac_has_wctype_h" = xyes &&
86052 test x"$enable_c_mbchar" != xno; then
86054 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86055 # numeric_limits can instantiate type_traits<wchar_t>
86056 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86057 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86058 cat >conftest.$ac_ext <<_ACEOF
86059 /* confdefs.h. */
86060 _ACEOF
86061 cat confdefs.h >>conftest.$ac_ext
86062 cat >>conftest.$ac_ext <<_ACEOF
86063 /* end confdefs.h. */
86064 #include <wchar.h>
86066 main ()
86068 int i = WCHAR_MIN; int j = WCHAR_MAX;
86070 return 0;
86072 _ACEOF
86073 rm -f conftest.$ac_objext
86074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86075 (eval $ac_compile) 2>conftest.er1
86076 ac_status=$?
86077 grep -v '^ *+' conftest.er1 >conftest.err
86078 rm -f conftest.er1
86079 cat conftest.err >&5
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); } &&
86082 { ac_try='test -z "$ac_c_werror_flag"
86083 || test ! -s conftest.err'
86084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86085 (eval $ac_try) 2>&5
86086 ac_status=$?
86087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86088 (exit $ac_status); }; } &&
86089 { ac_try='test -s conftest.$ac_objext'
86090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86091 (eval $ac_try) 2>&5
86092 ac_status=$?
86093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86094 (exit $ac_status); }; }; then
86095 has_wchar_minmax=yes
86096 else
86097 echo "$as_me: failed program was:" >&5
86098 sed 's/^/| /' conftest.$ac_ext >&5
86100 has_wchar_minmax=no
86102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86103 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86104 echo "${ECHO_T}$has_wchar_minmax" >&6
86106 # Test wchar.h for WEOF, which is what we use to determine whether
86107 # to specialize for char_traits<wchar_t> or not.
86108 echo "$as_me:$LINENO: checking for WEOF" >&5
86109 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86110 cat >conftest.$ac_ext <<_ACEOF
86111 /* confdefs.h. */
86112 _ACEOF
86113 cat confdefs.h >>conftest.$ac_ext
86114 cat >>conftest.$ac_ext <<_ACEOF
86115 /* end confdefs.h. */
86117 #include <wchar.h>
86118 #include <stddef.h>
86120 main ()
86122 wint_t i = WEOF;
86124 return 0;
86126 _ACEOF
86127 rm -f conftest.$ac_objext
86128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86129 (eval $ac_compile) 2>conftest.er1
86130 ac_status=$?
86131 grep -v '^ *+' conftest.er1 >conftest.err
86132 rm -f conftest.er1
86133 cat conftest.err >&5
86134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135 (exit $ac_status); } &&
86136 { ac_try='test -z "$ac_c_werror_flag"
86137 || test ! -s conftest.err'
86138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86139 (eval $ac_try) 2>&5
86140 ac_status=$?
86141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142 (exit $ac_status); }; } &&
86143 { ac_try='test -s conftest.$ac_objext'
86144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86145 (eval $ac_try) 2>&5
86146 ac_status=$?
86147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86148 (exit $ac_status); }; }; then
86149 has_weof=yes
86150 else
86151 echo "$as_me: failed program was:" >&5
86152 sed 's/^/| /' conftest.$ac_ext >&5
86154 has_weof=no
86156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86157 echo "$as_me:$LINENO: result: $has_weof" >&5
86158 echo "${ECHO_T}$has_weof" >&6
86160 # Tests for wide character functions used in char_traits<wchar_t>.
86161 ac_wfuncs=yes
86168 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86171 echo "$as_me:$LINENO: checking for $ac_func" >&5
86172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86173 if eval "test \"\${$as_ac_var+set}\" = set"; then
86174 echo $ECHO_N "(cached) $ECHO_C" >&6
86175 else
86176 if test x$gcc_no_link = xyes; then
86177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86179 { (exit 1); exit 1; }; }
86181 cat >conftest.$ac_ext <<_ACEOF
86182 /* confdefs.h. */
86183 _ACEOF
86184 cat confdefs.h >>conftest.$ac_ext
86185 cat >>conftest.$ac_ext <<_ACEOF
86186 /* end confdefs.h. */
86187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86189 #define $ac_func innocuous_$ac_func
86191 /* System header to define __stub macros and hopefully few prototypes,
86192 which can conflict with char $ac_func (); below.
86193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86194 <limits.h> exists even on freestanding compilers. */
86196 #ifdef __STDC__
86197 # include <limits.h>
86198 #else
86199 # include <assert.h>
86200 #endif
86202 #undef $ac_func
86204 /* Override any gcc2 internal prototype to avoid an error. */
86205 #ifdef __cplusplus
86206 extern "C"
86208 #endif
86209 /* We use char because int might match the return type of a gcc2
86210 builtin and then its argument prototype would still apply. */
86211 char $ac_func ();
86212 /* The GNU C library defines this for functions which it implements
86213 to always fail with ENOSYS. Some functions are actually named
86214 something starting with __ and the normal name is an alias. */
86215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86216 choke me
86217 #else
86218 char (*f) () = $ac_func;
86219 #endif
86220 #ifdef __cplusplus
86222 #endif
86225 main ()
86227 return f != $ac_func;
86229 return 0;
86231 _ACEOF
86232 rm -f conftest.$ac_objext conftest$ac_exeext
86233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86234 (eval $ac_link) 2>conftest.er1
86235 ac_status=$?
86236 grep -v '^ *+' conftest.er1 >conftest.err
86237 rm -f conftest.er1
86238 cat conftest.err >&5
86239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86240 (exit $ac_status); } &&
86241 { ac_try='test -z "$ac_c_werror_flag"
86242 || test ! -s conftest.err'
86243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86244 (eval $ac_try) 2>&5
86245 ac_status=$?
86246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86247 (exit $ac_status); }; } &&
86248 { ac_try='test -s conftest$ac_exeext'
86249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86250 (eval $ac_try) 2>&5
86251 ac_status=$?
86252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86253 (exit $ac_status); }; }; then
86254 eval "$as_ac_var=yes"
86255 else
86256 echo "$as_me: failed program was:" >&5
86257 sed 's/^/| /' conftest.$ac_ext >&5
86259 eval "$as_ac_var=no"
86261 rm -f conftest.err conftest.$ac_objext \
86262 conftest$ac_exeext conftest.$ac_ext
86264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86266 if test `eval echo '${'$as_ac_var'}'` = yes; then
86267 cat >>confdefs.h <<_ACEOF
86268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86269 _ACEOF
86271 else
86272 ac_wfuncs=no
86274 done
86277 # Checks for names injected into std:: by the c_std headers.
86324 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86325 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86326 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86327 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86328 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86329 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86332 echo "$as_me:$LINENO: checking for $ac_func" >&5
86333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86334 if eval "test \"\${$as_ac_var+set}\" = set"; then
86335 echo $ECHO_N "(cached) $ECHO_C" >&6
86336 else
86337 if test x$gcc_no_link = xyes; then
86338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86340 { (exit 1); exit 1; }; }
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h. */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h. */
86348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86350 #define $ac_func innocuous_$ac_func
86352 /* System header to define __stub macros and hopefully few prototypes,
86353 which can conflict with char $ac_func (); below.
86354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86355 <limits.h> exists even on freestanding compilers. */
86357 #ifdef __STDC__
86358 # include <limits.h>
86359 #else
86360 # include <assert.h>
86361 #endif
86363 #undef $ac_func
86365 /* Override any gcc2 internal prototype to avoid an error. */
86366 #ifdef __cplusplus
86367 extern "C"
86369 #endif
86370 /* We use char because int might match the return type of a gcc2
86371 builtin and then its argument prototype would still apply. */
86372 char $ac_func ();
86373 /* The GNU C library defines this for functions which it implements
86374 to always fail with ENOSYS. Some functions are actually named
86375 something starting with __ and the normal name is an alias. */
86376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86377 choke me
86378 #else
86379 char (*f) () = $ac_func;
86380 #endif
86381 #ifdef __cplusplus
86383 #endif
86386 main ()
86388 return f != $ac_func;
86390 return 0;
86392 _ACEOF
86393 rm -f conftest.$ac_objext conftest$ac_exeext
86394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86395 (eval $ac_link) 2>conftest.er1
86396 ac_status=$?
86397 grep -v '^ *+' conftest.er1 >conftest.err
86398 rm -f conftest.er1
86399 cat conftest.err >&5
86400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86401 (exit $ac_status); } &&
86402 { ac_try='test -z "$ac_c_werror_flag"
86403 || test ! -s conftest.err'
86404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86405 (eval $ac_try) 2>&5
86406 ac_status=$?
86407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86408 (exit $ac_status); }; } &&
86409 { ac_try='test -s conftest$ac_exeext'
86410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86411 (eval $ac_try) 2>&5
86412 ac_status=$?
86413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86414 (exit $ac_status); }; }; then
86415 eval "$as_ac_var=yes"
86416 else
86417 echo "$as_me: failed program was:" >&5
86418 sed 's/^/| /' conftest.$ac_ext >&5
86420 eval "$as_ac_var=no"
86422 rm -f conftest.err conftest.$ac_objext \
86423 conftest$ac_exeext conftest.$ac_ext
86425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86427 if test `eval echo '${'$as_ac_var'}'` = yes; then
86428 cat >>confdefs.h <<_ACEOF
86429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86430 _ACEOF
86432 else
86433 ac_wfuncs=no
86435 done
86438 # Checks for wide character functions that are not required
86439 # for basic wchar_t support. Don't disable support if they are missing.
86440 # Injection of these is wrapped with guard macros.
86446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86449 echo "$as_me:$LINENO: checking for $ac_func" >&5
86450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86451 if eval "test \"\${$as_ac_var+set}\" = set"; then
86452 echo $ECHO_N "(cached) $ECHO_C" >&6
86453 else
86454 if test x$gcc_no_link = xyes; then
86455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86457 { (exit 1); exit 1; }; }
86459 cat >conftest.$ac_ext <<_ACEOF
86460 /* confdefs.h. */
86461 _ACEOF
86462 cat confdefs.h >>conftest.$ac_ext
86463 cat >>conftest.$ac_ext <<_ACEOF
86464 /* end confdefs.h. */
86465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86467 #define $ac_func innocuous_$ac_func
86469 /* System header to define __stub macros and hopefully few prototypes,
86470 which can conflict with char $ac_func (); below.
86471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86472 <limits.h> exists even on freestanding compilers. */
86474 #ifdef __STDC__
86475 # include <limits.h>
86476 #else
86477 # include <assert.h>
86478 #endif
86480 #undef $ac_func
86482 /* Override any gcc2 internal prototype to avoid an error. */
86483 #ifdef __cplusplus
86484 extern "C"
86486 #endif
86487 /* We use char because int might match the return type of a gcc2
86488 builtin and then its argument prototype would still apply. */
86489 char $ac_func ();
86490 /* The GNU C library defines this for functions which it implements
86491 to always fail with ENOSYS. Some functions are actually named
86492 something starting with __ and the normal name is an alias. */
86493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86494 choke me
86495 #else
86496 char (*f) () = $ac_func;
86497 #endif
86498 #ifdef __cplusplus
86500 #endif
86503 main ()
86505 return f != $ac_func;
86507 return 0;
86509 _ACEOF
86510 rm -f conftest.$ac_objext conftest$ac_exeext
86511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86512 (eval $ac_link) 2>conftest.er1
86513 ac_status=$?
86514 grep -v '^ *+' conftest.er1 >conftest.err
86515 rm -f conftest.er1
86516 cat conftest.err >&5
86517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86518 (exit $ac_status); } &&
86519 { ac_try='test -z "$ac_c_werror_flag"
86520 || test ! -s conftest.err'
86521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86522 (eval $ac_try) 2>&5
86523 ac_status=$?
86524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525 (exit $ac_status); }; } &&
86526 { ac_try='test -s conftest$ac_exeext'
86527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86528 (eval $ac_try) 2>&5
86529 ac_status=$?
86530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86531 (exit $ac_status); }; }; then
86532 eval "$as_ac_var=yes"
86533 else
86534 echo "$as_me: failed program was:" >&5
86535 sed 's/^/| /' conftest.$ac_ext >&5
86537 eval "$as_ac_var=no"
86539 rm -f conftest.err conftest.$ac_objext \
86540 conftest$ac_exeext conftest.$ac_ext
86542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86544 if test `eval echo '${'$as_ac_var'}'` = yes; then
86545 cat >>confdefs.h <<_ACEOF
86546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86547 _ACEOF
86550 done
86553 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86554 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86555 if test x"$has_weof" = xyes &&
86556 test x"$has_wchar_minmax" = xyes &&
86557 test x"$ac_wfuncs" = xyes;
86558 then
86559 ac_isoC99_wchar_t=yes
86560 else
86561 ac_isoC99_wchar_t=no
86563 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86564 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86566 # Use iconv for wchar_t to char conversions. As such, check for
86567 # X/Open Portability Guide, version 2 features (XPG2).
86568 if test "${ac_cv_header_iconv_h+set}" = set; then
86569 echo "$as_me:$LINENO: checking for iconv.h" >&5
86570 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86571 if test "${ac_cv_header_iconv_h+set}" = set; then
86572 echo $ECHO_N "(cached) $ECHO_C" >&6
86574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86576 else
86577 # Is the header compilable?
86578 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86579 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86580 cat >conftest.$ac_ext <<_ACEOF
86581 /* confdefs.h. */
86582 _ACEOF
86583 cat confdefs.h >>conftest.$ac_ext
86584 cat >>conftest.$ac_ext <<_ACEOF
86585 /* end confdefs.h. */
86586 $ac_includes_default
86587 #include <iconv.h>
86588 _ACEOF
86589 rm -f conftest.$ac_objext
86590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86591 (eval $ac_compile) 2>conftest.er1
86592 ac_status=$?
86593 grep -v '^ *+' conftest.er1 >conftest.err
86594 rm -f conftest.er1
86595 cat conftest.err >&5
86596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86597 (exit $ac_status); } &&
86598 { ac_try='test -z "$ac_c_werror_flag"
86599 || test ! -s conftest.err'
86600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86601 (eval $ac_try) 2>&5
86602 ac_status=$?
86603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86604 (exit $ac_status); }; } &&
86605 { ac_try='test -s conftest.$ac_objext'
86606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86607 (eval $ac_try) 2>&5
86608 ac_status=$?
86609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86610 (exit $ac_status); }; }; then
86611 ac_header_compiler=yes
86612 else
86613 echo "$as_me: failed program was:" >&5
86614 sed 's/^/| /' conftest.$ac_ext >&5
86616 ac_header_compiler=no
86618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86620 echo "${ECHO_T}$ac_header_compiler" >&6
86622 # Is the header present?
86623 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86624 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86625 cat >conftest.$ac_ext <<_ACEOF
86626 /* confdefs.h. */
86627 _ACEOF
86628 cat confdefs.h >>conftest.$ac_ext
86629 cat >>conftest.$ac_ext <<_ACEOF
86630 /* end confdefs.h. */
86631 #include <iconv.h>
86632 _ACEOF
86633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86635 ac_status=$?
86636 grep -v '^ *+' conftest.er1 >conftest.err
86637 rm -f conftest.er1
86638 cat conftest.err >&5
86639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86640 (exit $ac_status); } >/dev/null; then
86641 if test -s conftest.err; then
86642 ac_cpp_err=$ac_c_preproc_warn_flag
86643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86644 else
86645 ac_cpp_err=
86647 else
86648 ac_cpp_err=yes
86650 if test -z "$ac_cpp_err"; then
86651 ac_header_preproc=yes
86652 else
86653 echo "$as_me: failed program was:" >&5
86654 sed 's/^/| /' conftest.$ac_ext >&5
86656 ac_header_preproc=no
86658 rm -f conftest.err conftest.$ac_ext
86659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86660 echo "${ECHO_T}$ac_header_preproc" >&6
86662 # So? What about this header?
86663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86664 yes:no: )
86665 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86666 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86667 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86668 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86669 ac_header_preproc=yes
86671 no:yes:* )
86672 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86673 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86674 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86675 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86676 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86677 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86678 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86679 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86680 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86681 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86682 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86683 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86685 cat <<\_ASBOX
86686 ## ----------------------------------------- ##
86687 ## Report this to the package-unused lists. ##
86688 ## ----------------------------------------- ##
86689 _ASBOX
86691 sed "s/^/$as_me: WARNING: /" >&2
86693 esac
86694 echo "$as_me:$LINENO: checking for iconv.h" >&5
86695 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86696 if test "${ac_cv_header_iconv_h+set}" = set; then
86697 echo $ECHO_N "(cached) $ECHO_C" >&6
86698 else
86699 ac_cv_header_iconv_h=$ac_header_preproc
86701 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86702 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86705 if test $ac_cv_header_iconv_h = yes; then
86706 ac_has_iconv_h=yes
86707 else
86708 ac_has_iconv_h=no
86712 if test "${ac_cv_header_langinfo_h+set}" = set; then
86713 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86714 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86715 if test "${ac_cv_header_langinfo_h+set}" = set; then
86716 echo $ECHO_N "(cached) $ECHO_C" >&6
86718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86720 else
86721 # Is the header compilable?
86722 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86723 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86724 cat >conftest.$ac_ext <<_ACEOF
86725 /* confdefs.h. */
86726 _ACEOF
86727 cat confdefs.h >>conftest.$ac_ext
86728 cat >>conftest.$ac_ext <<_ACEOF
86729 /* end confdefs.h. */
86730 $ac_includes_default
86731 #include <langinfo.h>
86732 _ACEOF
86733 rm -f conftest.$ac_objext
86734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86735 (eval $ac_compile) 2>conftest.er1
86736 ac_status=$?
86737 grep -v '^ *+' conftest.er1 >conftest.err
86738 rm -f conftest.er1
86739 cat conftest.err >&5
86740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741 (exit $ac_status); } &&
86742 { ac_try='test -z "$ac_c_werror_flag"
86743 || test ! -s conftest.err'
86744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86745 (eval $ac_try) 2>&5
86746 ac_status=$?
86747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86748 (exit $ac_status); }; } &&
86749 { ac_try='test -s conftest.$ac_objext'
86750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86751 (eval $ac_try) 2>&5
86752 ac_status=$?
86753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86754 (exit $ac_status); }; }; then
86755 ac_header_compiler=yes
86756 else
86757 echo "$as_me: failed program was:" >&5
86758 sed 's/^/| /' conftest.$ac_ext >&5
86760 ac_header_compiler=no
86762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86764 echo "${ECHO_T}$ac_header_compiler" >&6
86766 # Is the header present?
86767 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86768 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86769 cat >conftest.$ac_ext <<_ACEOF
86770 /* confdefs.h. */
86771 _ACEOF
86772 cat confdefs.h >>conftest.$ac_ext
86773 cat >>conftest.$ac_ext <<_ACEOF
86774 /* end confdefs.h. */
86775 #include <langinfo.h>
86776 _ACEOF
86777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86779 ac_status=$?
86780 grep -v '^ *+' conftest.er1 >conftest.err
86781 rm -f conftest.er1
86782 cat conftest.err >&5
86783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86784 (exit $ac_status); } >/dev/null; then
86785 if test -s conftest.err; then
86786 ac_cpp_err=$ac_c_preproc_warn_flag
86787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86788 else
86789 ac_cpp_err=
86791 else
86792 ac_cpp_err=yes
86794 if test -z "$ac_cpp_err"; then
86795 ac_header_preproc=yes
86796 else
86797 echo "$as_me: failed program was:" >&5
86798 sed 's/^/| /' conftest.$ac_ext >&5
86800 ac_header_preproc=no
86802 rm -f conftest.err conftest.$ac_ext
86803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86804 echo "${ECHO_T}$ac_header_preproc" >&6
86806 # So? What about this header?
86807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86808 yes:no: )
86809 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86810 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86811 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86812 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86813 ac_header_preproc=yes
86815 no:yes:* )
86816 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86817 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86818 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86819 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86820 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86821 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86822 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86823 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86824 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86825 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86826 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86827 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86829 cat <<\_ASBOX
86830 ## ----------------------------------------- ##
86831 ## Report this to the package-unused lists. ##
86832 ## ----------------------------------------- ##
86833 _ASBOX
86835 sed "s/^/$as_me: WARNING: /" >&2
86837 esac
86838 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86839 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86840 if test "${ac_cv_header_langinfo_h+set}" = set; then
86841 echo $ECHO_N "(cached) $ECHO_C" >&6
86842 else
86843 ac_cv_header_langinfo_h=$ac_header_preproc
86845 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86846 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86849 if test $ac_cv_header_langinfo_h = yes; then
86850 ac_has_langinfo_h=yes
86851 else
86852 ac_has_langinfo_h=no
86857 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86858 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86859 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86860 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86861 echo $ECHO_N "(cached) $ECHO_C" >&6
86862 else
86863 ac_check_lib_save_LIBS=$LIBS
86864 LIBS="-liconv $LIBS"
86865 if test x$gcc_no_link = xyes; then
86866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86868 { (exit 1); exit 1; }; }
86870 cat >conftest.$ac_ext <<_ACEOF
86871 /* confdefs.h. */
86872 _ACEOF
86873 cat confdefs.h >>conftest.$ac_ext
86874 cat >>conftest.$ac_ext <<_ACEOF
86875 /* end confdefs.h. */
86877 /* Override any gcc2 internal prototype to avoid an error. */
86878 #ifdef __cplusplus
86879 extern "C"
86880 #endif
86881 /* We use char because int might match the return type of a gcc2
86882 builtin and then its argument prototype would still apply. */
86883 char iconv ();
86885 main ()
86887 iconv ();
86889 return 0;
86891 _ACEOF
86892 rm -f conftest.$ac_objext conftest$ac_exeext
86893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86894 (eval $ac_link) 2>conftest.er1
86895 ac_status=$?
86896 grep -v '^ *+' conftest.er1 >conftest.err
86897 rm -f conftest.er1
86898 cat conftest.err >&5
86899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86900 (exit $ac_status); } &&
86901 { ac_try='test -z "$ac_c_werror_flag"
86902 || test ! -s conftest.err'
86903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86904 (eval $ac_try) 2>&5
86905 ac_status=$?
86906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86907 (exit $ac_status); }; } &&
86908 { ac_try='test -s conftest$ac_exeext'
86909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86910 (eval $ac_try) 2>&5
86911 ac_status=$?
86912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86913 (exit $ac_status); }; }; then
86914 ac_cv_lib_iconv_iconv=yes
86915 else
86916 echo "$as_me: failed program was:" >&5
86917 sed 's/^/| /' conftest.$ac_ext >&5
86919 ac_cv_lib_iconv_iconv=no
86921 rm -f conftest.err conftest.$ac_objext \
86922 conftest$ac_exeext conftest.$ac_ext
86923 LIBS=$ac_check_lib_save_LIBS
86925 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86926 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86927 if test $ac_cv_lib_iconv_iconv = yes; then
86928 LIBICONV="-liconv"
86931 ac_save_LIBS="$LIBS"
86932 LIBS="$LIBS $LIBICONV"
86939 for ac_func in iconv_open iconv_close iconv nl_langinfo
86941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86942 echo "$as_me:$LINENO: checking for $ac_func" >&5
86943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86944 if eval "test \"\${$as_ac_var+set}\" = set"; then
86945 echo $ECHO_N "(cached) $ECHO_C" >&6
86946 else
86947 if test x$gcc_no_link = xyes; then
86948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86950 { (exit 1); exit 1; }; }
86952 cat >conftest.$ac_ext <<_ACEOF
86953 /* confdefs.h. */
86954 _ACEOF
86955 cat confdefs.h >>conftest.$ac_ext
86956 cat >>conftest.$ac_ext <<_ACEOF
86957 /* end confdefs.h. */
86958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86960 #define $ac_func innocuous_$ac_func
86962 /* System header to define __stub macros and hopefully few prototypes,
86963 which can conflict with char $ac_func (); below.
86964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86965 <limits.h> exists even on freestanding compilers. */
86967 #ifdef __STDC__
86968 # include <limits.h>
86969 #else
86970 # include <assert.h>
86971 #endif
86973 #undef $ac_func
86975 /* Override any gcc2 internal prototype to avoid an error. */
86976 #ifdef __cplusplus
86977 extern "C"
86979 #endif
86980 /* We use char because int might match the return type of a gcc2
86981 builtin and then its argument prototype would still apply. */
86982 char $ac_func ();
86983 /* The GNU C library defines this for functions which it implements
86984 to always fail with ENOSYS. Some functions are actually named
86985 something starting with __ and the normal name is an alias. */
86986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86987 choke me
86988 #else
86989 char (*f) () = $ac_func;
86990 #endif
86991 #ifdef __cplusplus
86993 #endif
86996 main ()
86998 return f != $ac_func;
87000 return 0;
87002 _ACEOF
87003 rm -f conftest.$ac_objext conftest$ac_exeext
87004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87005 (eval $ac_link) 2>conftest.er1
87006 ac_status=$?
87007 grep -v '^ *+' conftest.er1 >conftest.err
87008 rm -f conftest.er1
87009 cat conftest.err >&5
87010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87011 (exit $ac_status); } &&
87012 { ac_try='test -z "$ac_c_werror_flag"
87013 || test ! -s conftest.err'
87014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87015 (eval $ac_try) 2>&5
87016 ac_status=$?
87017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87018 (exit $ac_status); }; } &&
87019 { ac_try='test -s conftest$ac_exeext'
87020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87021 (eval $ac_try) 2>&5
87022 ac_status=$?
87023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87024 (exit $ac_status); }; }; then
87025 eval "$as_ac_var=yes"
87026 else
87027 echo "$as_me: failed program was:" >&5
87028 sed 's/^/| /' conftest.$ac_ext >&5
87030 eval "$as_ac_var=no"
87032 rm -f conftest.err conftest.$ac_objext \
87033 conftest$ac_exeext conftest.$ac_ext
87035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87037 if test `eval echo '${'$as_ac_var'}'` = yes; then
87038 cat >>confdefs.h <<_ACEOF
87039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87040 _ACEOF
87041 ac_XPG2funcs=yes
87042 else
87043 ac_XPG2funcs=no
87045 done
87048 LIBS="$ac_save_LIBS"
87050 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87051 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87052 if test x"$ac_has_iconv_h" = xyes &&
87053 test x"$ac_has_langinfo_h" = xyes &&
87054 test x"$ac_XPG2funcs" = xyes;
87055 then
87056 ac_XPG2_wchar_t=yes
87057 else
87058 ac_XPG2_wchar_t=no
87060 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87061 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87063 # At the moment, only enable wchar_t specializations if all the
87064 # above support is present.
87065 if test x"$ac_isoC99_wchar_t" = xyes &&
87066 test x"$ac_XPG2_wchar_t" = xyes;
87067 then
87068 cat >>confdefs.h <<\_ACEOF
87069 #define _GLIBCXX_USE_WCHAR_T 1
87070 _ACEOF
87072 enable_wchar_t=yes
87075 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87076 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87077 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87078 echo "${ECHO_T}$enable_wchar_t" >&6
87080 cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_COPYSIGN 1
87082 _ACEOF
87084 cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_COPYSIGNF 1
87086 _ACEOF
87088 cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_FINITEF 1
87090 _ACEOF
87092 cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_FINITE 1
87094 _ACEOF
87096 cat >>confdefs.h <<\_ACEOF
87097 #define HAVE_FREXPF 1
87098 _ACEOF
87100 cat >>confdefs.h <<\_ACEOF
87101 #define HAVE_HYPOTF 1
87102 _ACEOF
87104 cat >>confdefs.h <<\_ACEOF
87105 #define HAVE_ISINF 1
87106 _ACEOF
87108 cat >>confdefs.h <<\_ACEOF
87109 #define HAVE_ISINFF 1
87110 _ACEOF
87112 cat >>confdefs.h <<\_ACEOF
87113 #define HAVE_ISNAN 1
87114 _ACEOF
87116 cat >>confdefs.h <<\_ACEOF
87117 #define HAVE_ISNANF 1
87118 _ACEOF
87120 if test x"long_double_math_on_this_cpu" = x"yes"; then
87121 cat >>confdefs.h <<\_ACEOF
87122 #define HAVE_FINITEL 1
87123 _ACEOF
87125 cat >>confdefs.h <<\_ACEOF
87126 #define HAVE_ISINFL 1
87127 _ACEOF
87129 cat >>confdefs.h <<\_ACEOF
87130 #define HAVE_ISNANL 1
87131 _ACEOF
87135 *-netware)
87144 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87145 sys/types.h locale.h float.h inttypes.h
87147 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87149 echo "$as_me:$LINENO: checking for $ac_header" >&5
87150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87152 echo $ECHO_N "(cached) $ECHO_C" >&6
87154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87156 else
87157 # Is the header compilable?
87158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87160 cat >conftest.$ac_ext <<_ACEOF
87161 /* confdefs.h. */
87162 _ACEOF
87163 cat confdefs.h >>conftest.$ac_ext
87164 cat >>conftest.$ac_ext <<_ACEOF
87165 /* end confdefs.h. */
87166 $ac_includes_default
87167 #include <$ac_header>
87168 _ACEOF
87169 rm -f conftest.$ac_objext
87170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87171 (eval $ac_compile) 2>conftest.er1
87172 ac_status=$?
87173 grep -v '^ *+' conftest.er1 >conftest.err
87174 rm -f conftest.er1
87175 cat conftest.err >&5
87176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87177 (exit $ac_status); } &&
87178 { ac_try='test -z "$ac_c_werror_flag"
87179 || test ! -s conftest.err'
87180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87181 (eval $ac_try) 2>&5
87182 ac_status=$?
87183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87184 (exit $ac_status); }; } &&
87185 { ac_try='test -s conftest.$ac_objext'
87186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87187 (eval $ac_try) 2>&5
87188 ac_status=$?
87189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87190 (exit $ac_status); }; }; then
87191 ac_header_compiler=yes
87192 else
87193 echo "$as_me: failed program was:" >&5
87194 sed 's/^/| /' conftest.$ac_ext >&5
87196 ac_header_compiler=no
87198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87200 echo "${ECHO_T}$ac_header_compiler" >&6
87202 # Is the header present?
87203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87205 cat >conftest.$ac_ext <<_ACEOF
87206 /* confdefs.h. */
87207 _ACEOF
87208 cat confdefs.h >>conftest.$ac_ext
87209 cat >>conftest.$ac_ext <<_ACEOF
87210 /* end confdefs.h. */
87211 #include <$ac_header>
87212 _ACEOF
87213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87215 ac_status=$?
87216 grep -v '^ *+' conftest.er1 >conftest.err
87217 rm -f conftest.er1
87218 cat conftest.err >&5
87219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87220 (exit $ac_status); } >/dev/null; then
87221 if test -s conftest.err; then
87222 ac_cpp_err=$ac_c_preproc_warn_flag
87223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87224 else
87225 ac_cpp_err=
87227 else
87228 ac_cpp_err=yes
87230 if test -z "$ac_cpp_err"; then
87231 ac_header_preproc=yes
87232 else
87233 echo "$as_me: failed program was:" >&5
87234 sed 's/^/| /' conftest.$ac_ext >&5
87236 ac_header_preproc=no
87238 rm -f conftest.err conftest.$ac_ext
87239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87240 echo "${ECHO_T}$ac_header_preproc" >&6
87242 # So? What about this header?
87243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87244 yes:no: )
87245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87249 ac_header_preproc=yes
87251 no:yes:* )
87252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87265 cat <<\_ASBOX
87266 ## ----------------------------------------- ##
87267 ## Report this to the package-unused lists. ##
87268 ## ----------------------------------------- ##
87269 _ASBOX
87271 sed "s/^/$as_me: WARNING: /" >&2
87273 esac
87274 echo "$as_me:$LINENO: checking for $ac_header" >&5
87275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87277 echo $ECHO_N "(cached) $ECHO_C" >&6
87278 else
87279 eval "$as_ac_Header=\$ac_header_preproc"
87281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87286 cat >>confdefs.h <<_ACEOF
87287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87288 _ACEOF
87292 done
87294 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87297 # If we're not using GNU ld, then there's no point in even trying these
87298 # tests. Check for that first. We should have already tested for gld
87299 # by now (in libtool), but require it now just to be safe...
87300 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87301 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87305 # The name set by libtool depends on the version of libtool. Shame on us
87306 # for depending on an impl detail, but c'est la vie. Older versions used
87307 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87308 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87309 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87310 # set (hence we're using an older libtool), then set it.
87311 if test x${with_gnu_ld+set} != xset; then
87312 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87313 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87314 with_gnu_ld=no
87315 else
87316 with_gnu_ld=$ac_cv_prog_gnu_ld
87320 # Start by getting the version number. I think the libtool test already
87321 # does some of this, but throws away the result.
87323 ldver=`$LD --version 2>/dev/null | head -1 | \
87324 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87326 glibcxx_gnu_ld_version=`echo $ldver | \
87327 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87329 # Set --gc-sections.
87330 if test "$with_gnu_ld" = "notbroken"; then
87331 # GNU ld it is! Joy and bunny rabbits!
87333 # All these tests are for C++; save the language and the compiler flags.
87334 # Need to do this so that g++ won't try to link in libstdc++
87335 ac_test_CFLAGS="${CFLAGS+set}"
87336 ac_save_CFLAGS="$CFLAGS"
87337 CFLAGS='-x c++ -Wl,--gc-sections'
87339 # Check for -Wl,--gc-sections
87340 # XXX This test is broken at the moment, as symbols required for linking
87341 # are now in libsupc++ (not built yet). In addition, this test has
87342 # cored on solaris in the past. In addition, --gc-sections doesn't
87343 # really work at the moment (keeps on discarding used sections, first
87344 # .eh_frame and now some of the glibc sections for iconv).
87345 # Bzzzzt. Thanks for playing, maybe next time.
87346 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87347 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87348 if test "$cross_compiling" = yes; then
87349 ac_sectionLDflags=yes
87350 else
87351 cat >conftest.$ac_ext <<_ACEOF
87352 /* confdefs.h. */
87353 _ACEOF
87354 cat confdefs.h >>conftest.$ac_ext
87355 cat >>conftest.$ac_ext <<_ACEOF
87356 /* end confdefs.h. */
87358 int main(void)
87360 try { throw 1; }
87361 catch (...) { };
87362 return 0;
87365 _ACEOF
87366 rm -f conftest$ac_exeext
87367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87368 (eval $ac_link) 2>&5
87369 ac_status=$?
87370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87373 (eval $ac_try) 2>&5
87374 ac_status=$?
87375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87376 (exit $ac_status); }; }; then
87377 ac_sectionLDflags=yes
87378 else
87379 echo "$as_me: program exited with status $ac_status" >&5
87380 echo "$as_me: failed program was:" >&5
87381 sed 's/^/| /' conftest.$ac_ext >&5
87383 ( exit $ac_status )
87384 ac_sectionLDflags=no
87386 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87388 if test "$ac_test_CFLAGS" = set; then
87389 CFLAGS="$ac_save_CFLAGS"
87390 else
87391 # this is the suspicious part
87392 CFLAGS=''
87394 if test "$ac_sectionLDflags" = "yes"; then
87395 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87397 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87398 echo "${ECHO_T}$ac_sectionLDflags" >&6
87401 # Set linker optimization flags.
87402 if test x"$with_gnu_ld" = x"yes"; then
87403 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87411 echo "$as_me:$LINENO: checking for main in -lm" >&5
87412 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87413 if test "${ac_cv_lib_m_main+set}" = set; then
87414 echo $ECHO_N "(cached) $ECHO_C" >&6
87415 else
87416 ac_check_lib_save_LIBS=$LIBS
87417 LIBS="-lm $LIBS"
87418 if test x$gcc_no_link = xyes; then
87419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87421 { (exit 1); exit 1; }; }
87423 cat >conftest.$ac_ext <<_ACEOF
87424 /* confdefs.h. */
87425 _ACEOF
87426 cat confdefs.h >>conftest.$ac_ext
87427 cat >>conftest.$ac_ext <<_ACEOF
87428 /* end confdefs.h. */
87432 main ()
87434 main ();
87436 return 0;
87438 _ACEOF
87439 rm -f conftest.$ac_objext conftest$ac_exeext
87440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87441 (eval $ac_link) 2>conftest.er1
87442 ac_status=$?
87443 grep -v '^ *+' conftest.er1 >conftest.err
87444 rm -f conftest.er1
87445 cat conftest.err >&5
87446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87447 (exit $ac_status); } &&
87448 { ac_try='test -z "$ac_c_werror_flag"
87449 || test ! -s conftest.err'
87450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87451 (eval $ac_try) 2>&5
87452 ac_status=$?
87453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87454 (exit $ac_status); }; } &&
87455 { ac_try='test -s conftest$ac_exeext'
87456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87457 (eval $ac_try) 2>&5
87458 ac_status=$?
87459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87460 (exit $ac_status); }; }; then
87461 ac_cv_lib_m_main=yes
87462 else
87463 echo "$as_me: failed program was:" >&5
87464 sed 's/^/| /' conftest.$ac_ext >&5
87466 ac_cv_lib_m_main=no
87468 rm -f conftest.err conftest.$ac_objext \
87469 conftest$ac_exeext conftest.$ac_ext
87470 LIBS=$ac_check_lib_save_LIBS
87472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87473 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87474 if test $ac_cv_lib_m_main = yes; then
87475 cat >>confdefs.h <<_ACEOF
87476 #define HAVE_LIBM 1
87477 _ACEOF
87479 LIBS="-lm $LIBS"
87484 for ac_func in copysignf
87486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87487 echo "$as_me:$LINENO: checking for $ac_func" >&5
87488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87489 if eval "test \"\${$as_ac_var+set}\" = set"; then
87490 echo $ECHO_N "(cached) $ECHO_C" >&6
87491 else
87492 if test x$gcc_no_link = xyes; then
87493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87495 { (exit 1); exit 1; }; }
87497 cat >conftest.$ac_ext <<_ACEOF
87498 /* confdefs.h. */
87499 _ACEOF
87500 cat confdefs.h >>conftest.$ac_ext
87501 cat >>conftest.$ac_ext <<_ACEOF
87502 /* end confdefs.h. */
87503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87505 #define $ac_func innocuous_$ac_func
87507 /* System header to define __stub macros and hopefully few prototypes,
87508 which can conflict with char $ac_func (); below.
87509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87510 <limits.h> exists even on freestanding compilers. */
87512 #ifdef __STDC__
87513 # include <limits.h>
87514 #else
87515 # include <assert.h>
87516 #endif
87518 #undef $ac_func
87520 /* Override any gcc2 internal prototype to avoid an error. */
87521 #ifdef __cplusplus
87522 extern "C"
87524 #endif
87525 /* We use char because int might match the return type of a gcc2
87526 builtin and then its argument prototype would still apply. */
87527 char $ac_func ();
87528 /* The GNU C library defines this for functions which it implements
87529 to always fail with ENOSYS. Some functions are actually named
87530 something starting with __ and the normal name is an alias. */
87531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87532 choke me
87533 #else
87534 char (*f) () = $ac_func;
87535 #endif
87536 #ifdef __cplusplus
87538 #endif
87541 main ()
87543 return f != $ac_func;
87545 return 0;
87547 _ACEOF
87548 rm -f conftest.$ac_objext conftest$ac_exeext
87549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87550 (eval $ac_link) 2>conftest.er1
87551 ac_status=$?
87552 grep -v '^ *+' conftest.er1 >conftest.err
87553 rm -f conftest.er1
87554 cat conftest.err >&5
87555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556 (exit $ac_status); } &&
87557 { ac_try='test -z "$ac_c_werror_flag"
87558 || test ! -s conftest.err'
87559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87560 (eval $ac_try) 2>&5
87561 ac_status=$?
87562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563 (exit $ac_status); }; } &&
87564 { ac_try='test -s conftest$ac_exeext'
87565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87566 (eval $ac_try) 2>&5
87567 ac_status=$?
87568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87569 (exit $ac_status); }; }; then
87570 eval "$as_ac_var=yes"
87571 else
87572 echo "$as_me: failed program was:" >&5
87573 sed 's/^/| /' conftest.$ac_ext >&5
87575 eval "$as_ac_var=no"
87577 rm -f conftest.err conftest.$ac_objext \
87578 conftest$ac_exeext conftest.$ac_ext
87580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87582 if test `eval echo '${'$as_ac_var'}'` = yes; then
87583 cat >>confdefs.h <<_ACEOF
87584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87585 _ACEOF
87587 else
87588 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87590 done
87594 for ac_func in __signbit
87596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87597 echo "$as_me:$LINENO: checking for $ac_func" >&5
87598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87599 if eval "test \"\${$as_ac_var+set}\" = set"; then
87600 echo $ECHO_N "(cached) $ECHO_C" >&6
87601 else
87602 if test x$gcc_no_link = xyes; then
87603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87605 { (exit 1); exit 1; }; }
87607 cat >conftest.$ac_ext <<_ACEOF
87608 /* confdefs.h. */
87609 _ACEOF
87610 cat confdefs.h >>conftest.$ac_ext
87611 cat >>conftest.$ac_ext <<_ACEOF
87612 /* end confdefs.h. */
87613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87615 #define $ac_func innocuous_$ac_func
87617 /* System header to define __stub macros and hopefully few prototypes,
87618 which can conflict with char $ac_func (); below.
87619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87620 <limits.h> exists even on freestanding compilers. */
87622 #ifdef __STDC__
87623 # include <limits.h>
87624 #else
87625 # include <assert.h>
87626 #endif
87628 #undef $ac_func
87630 /* Override any gcc2 internal prototype to avoid an error. */
87631 #ifdef __cplusplus
87632 extern "C"
87634 #endif
87635 /* We use char because int might match the return type of a gcc2
87636 builtin and then its argument prototype would still apply. */
87637 char $ac_func ();
87638 /* The GNU C library defines this for functions which it implements
87639 to always fail with ENOSYS. Some functions are actually named
87640 something starting with __ and the normal name is an alias. */
87641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87642 choke me
87643 #else
87644 char (*f) () = $ac_func;
87645 #endif
87646 #ifdef __cplusplus
87648 #endif
87651 main ()
87653 return f != $ac_func;
87655 return 0;
87657 _ACEOF
87658 rm -f conftest.$ac_objext conftest$ac_exeext
87659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87660 (eval $ac_link) 2>conftest.er1
87661 ac_status=$?
87662 grep -v '^ *+' conftest.er1 >conftest.err
87663 rm -f conftest.er1
87664 cat conftest.err >&5
87665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87666 (exit $ac_status); } &&
87667 { ac_try='test -z "$ac_c_werror_flag"
87668 || test ! -s conftest.err'
87669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87670 (eval $ac_try) 2>&5
87671 ac_status=$?
87672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87673 (exit $ac_status); }; } &&
87674 { ac_try='test -s conftest$ac_exeext'
87675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87676 (eval $ac_try) 2>&5
87677 ac_status=$?
87678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87679 (exit $ac_status); }; }; then
87680 eval "$as_ac_var=yes"
87681 else
87682 echo "$as_me: failed program was:" >&5
87683 sed 's/^/| /' conftest.$ac_ext >&5
87685 eval "$as_ac_var=no"
87687 rm -f conftest.err conftest.$ac_objext \
87688 conftest$ac_exeext conftest.$ac_ext
87690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87692 if test `eval echo '${'$as_ac_var'}'` = yes; then
87693 cat >>confdefs.h <<_ACEOF
87694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87695 _ACEOF
87697 else
87698 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87700 done
87704 for ac_func in __signbitf
87706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87707 echo "$as_me:$LINENO: checking for $ac_func" >&5
87708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87709 if eval "test \"\${$as_ac_var+set}\" = set"; then
87710 echo $ECHO_N "(cached) $ECHO_C" >&6
87711 else
87712 if test x$gcc_no_link = xyes; then
87713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87715 { (exit 1); exit 1; }; }
87717 cat >conftest.$ac_ext <<_ACEOF
87718 /* confdefs.h. */
87719 _ACEOF
87720 cat confdefs.h >>conftest.$ac_ext
87721 cat >>conftest.$ac_ext <<_ACEOF
87722 /* end confdefs.h. */
87723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87725 #define $ac_func innocuous_$ac_func
87727 /* System header to define __stub macros and hopefully few prototypes,
87728 which can conflict with char $ac_func (); below.
87729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87730 <limits.h> exists even on freestanding compilers. */
87732 #ifdef __STDC__
87733 # include <limits.h>
87734 #else
87735 # include <assert.h>
87736 #endif
87738 #undef $ac_func
87740 /* Override any gcc2 internal prototype to avoid an error. */
87741 #ifdef __cplusplus
87742 extern "C"
87744 #endif
87745 /* We use char because int might match the return type of a gcc2
87746 builtin and then its argument prototype would still apply. */
87747 char $ac_func ();
87748 /* The GNU C library defines this for functions which it implements
87749 to always fail with ENOSYS. Some functions are actually named
87750 something starting with __ and the normal name is an alias. */
87751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87752 choke me
87753 #else
87754 char (*f) () = $ac_func;
87755 #endif
87756 #ifdef __cplusplus
87758 #endif
87761 main ()
87763 return f != $ac_func;
87765 return 0;
87767 _ACEOF
87768 rm -f conftest.$ac_objext conftest$ac_exeext
87769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87770 (eval $ac_link) 2>conftest.er1
87771 ac_status=$?
87772 grep -v '^ *+' conftest.er1 >conftest.err
87773 rm -f conftest.er1
87774 cat conftest.err >&5
87775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87776 (exit $ac_status); } &&
87777 { ac_try='test -z "$ac_c_werror_flag"
87778 || test ! -s conftest.err'
87779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87780 (eval $ac_try) 2>&5
87781 ac_status=$?
87782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87783 (exit $ac_status); }; } &&
87784 { ac_try='test -s conftest$ac_exeext'
87785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87786 (eval $ac_try) 2>&5
87787 ac_status=$?
87788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87789 (exit $ac_status); }; }; then
87790 eval "$as_ac_var=yes"
87791 else
87792 echo "$as_me: failed program was:" >&5
87793 sed 's/^/| /' conftest.$ac_ext >&5
87795 eval "$as_ac_var=no"
87797 rm -f conftest.err conftest.$ac_objext \
87798 conftest$ac_exeext conftest.$ac_ext
87800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87802 if test `eval echo '${'$as_ac_var'}'` = yes; then
87803 cat >>confdefs.h <<_ACEOF
87804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87805 _ACEOF
87807 else
87808 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87810 done
87813 if test x$ac_cv_func_copysignl = x"yes"; then
87815 for ac_func in __signbitl
87817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87818 echo "$as_me:$LINENO: checking for $ac_func" >&5
87819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87820 if eval "test \"\${$as_ac_var+set}\" = set"; then
87821 echo $ECHO_N "(cached) $ECHO_C" >&6
87822 else
87823 if test x$gcc_no_link = xyes; then
87824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87826 { (exit 1); exit 1; }; }
87828 cat >conftest.$ac_ext <<_ACEOF
87829 /* confdefs.h. */
87830 _ACEOF
87831 cat confdefs.h >>conftest.$ac_ext
87832 cat >>conftest.$ac_ext <<_ACEOF
87833 /* end confdefs.h. */
87834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87836 #define $ac_func innocuous_$ac_func
87838 /* System header to define __stub macros and hopefully few prototypes,
87839 which can conflict with char $ac_func (); below.
87840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87841 <limits.h> exists even on freestanding compilers. */
87843 #ifdef __STDC__
87844 # include <limits.h>
87845 #else
87846 # include <assert.h>
87847 #endif
87849 #undef $ac_func
87851 /* Override any gcc2 internal prototype to avoid an error. */
87852 #ifdef __cplusplus
87853 extern "C"
87855 #endif
87856 /* We use char because int might match the return type of a gcc2
87857 builtin and then its argument prototype would still apply. */
87858 char $ac_func ();
87859 /* The GNU C library defines this for functions which it implements
87860 to always fail with ENOSYS. Some functions are actually named
87861 something starting with __ and the normal name is an alias. */
87862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87863 choke me
87864 #else
87865 char (*f) () = $ac_func;
87866 #endif
87867 #ifdef __cplusplus
87869 #endif
87872 main ()
87874 return f != $ac_func;
87876 return 0;
87878 _ACEOF
87879 rm -f conftest.$ac_objext conftest$ac_exeext
87880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87881 (eval $ac_link) 2>conftest.er1
87882 ac_status=$?
87883 grep -v '^ *+' conftest.er1 >conftest.err
87884 rm -f conftest.er1
87885 cat conftest.err >&5
87886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87887 (exit $ac_status); } &&
87888 { ac_try='test -z "$ac_c_werror_flag"
87889 || test ! -s conftest.err'
87890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87891 (eval $ac_try) 2>&5
87892 ac_status=$?
87893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87894 (exit $ac_status); }; } &&
87895 { ac_try='test -s conftest$ac_exeext'
87896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87897 (eval $ac_try) 2>&5
87898 ac_status=$?
87899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87900 (exit $ac_status); }; }; then
87901 eval "$as_ac_var=yes"
87902 else
87903 echo "$as_me: failed program was:" >&5
87904 sed 's/^/| /' conftest.$ac_ext >&5
87906 eval "$as_ac_var=no"
87908 rm -f conftest.err conftest.$ac_objext \
87909 conftest$ac_exeext conftest.$ac_ext
87911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87913 if test `eval echo '${'$as_ac_var'}'` = yes; then
87914 cat >>confdefs.h <<_ACEOF
87915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87916 _ACEOF
87918 else
87919 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87921 done
87925 # Used in libmath/Makefile.am.
87926 if test -n "$LIBMATHOBJS"; then
87927 need_libmath=yes
87932 # Test wchar.h for mbstate_t, which is needed for char_traits and
87933 # others even if wchar_t support is not on.
87934 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87935 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87936 cat >conftest.$ac_ext <<_ACEOF
87937 /* confdefs.h. */
87938 _ACEOF
87939 cat confdefs.h >>conftest.$ac_ext
87940 cat >>conftest.$ac_ext <<_ACEOF
87941 /* end confdefs.h. */
87942 #include <wchar.h>
87944 main ()
87946 mbstate_t teststate;
87948 return 0;
87950 _ACEOF
87951 rm -f conftest.$ac_objext
87952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87953 (eval $ac_compile) 2>conftest.er1
87954 ac_status=$?
87955 grep -v '^ *+' conftest.er1 >conftest.err
87956 rm -f conftest.er1
87957 cat conftest.err >&5
87958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87959 (exit $ac_status); } &&
87960 { ac_try='test -z "$ac_c_werror_flag"
87961 || test ! -s conftest.err'
87962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87963 (eval $ac_try) 2>&5
87964 ac_status=$?
87965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87966 (exit $ac_status); }; } &&
87967 { ac_try='test -s conftest.$ac_objext'
87968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87969 (eval $ac_try) 2>&5
87970 ac_status=$?
87971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87972 (exit $ac_status); }; }; then
87973 have_mbstate_t=yes
87974 else
87975 echo "$as_me: failed program was:" >&5
87976 sed 's/^/| /' conftest.$ac_ext >&5
87978 have_mbstate_t=no
87980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87981 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87982 echo "${ECHO_T}$have_mbstate_t" >&6
87983 if test x"$have_mbstate_t" = xyes; then
87984 cat >>confdefs.h <<\_ACEOF
87985 #define HAVE_MBSTATE_T 1
87986 _ACEOF
87990 # Sanity check for existence of ISO C99 headers for extended encoding.
87992 for ac_header in wchar.h
87994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87996 echo "$as_me:$LINENO: checking for $ac_header" >&5
87997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87999 echo $ECHO_N "(cached) $ECHO_C" >&6
88001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88003 else
88004 # Is the header compilable?
88005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88007 cat >conftest.$ac_ext <<_ACEOF
88008 /* confdefs.h. */
88009 _ACEOF
88010 cat confdefs.h >>conftest.$ac_ext
88011 cat >>conftest.$ac_ext <<_ACEOF
88012 /* end confdefs.h. */
88013 $ac_includes_default
88014 #include <$ac_header>
88015 _ACEOF
88016 rm -f conftest.$ac_objext
88017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88018 (eval $ac_compile) 2>conftest.er1
88019 ac_status=$?
88020 grep -v '^ *+' conftest.er1 >conftest.err
88021 rm -f conftest.er1
88022 cat conftest.err >&5
88023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88024 (exit $ac_status); } &&
88025 { ac_try='test -z "$ac_c_werror_flag"
88026 || test ! -s conftest.err'
88027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88028 (eval $ac_try) 2>&5
88029 ac_status=$?
88030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88031 (exit $ac_status); }; } &&
88032 { ac_try='test -s conftest.$ac_objext'
88033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88034 (eval $ac_try) 2>&5
88035 ac_status=$?
88036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88037 (exit $ac_status); }; }; then
88038 ac_header_compiler=yes
88039 else
88040 echo "$as_me: failed program was:" >&5
88041 sed 's/^/| /' conftest.$ac_ext >&5
88043 ac_header_compiler=no
88045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88047 echo "${ECHO_T}$ac_header_compiler" >&6
88049 # Is the header present?
88050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88052 cat >conftest.$ac_ext <<_ACEOF
88053 /* confdefs.h. */
88054 _ACEOF
88055 cat confdefs.h >>conftest.$ac_ext
88056 cat >>conftest.$ac_ext <<_ACEOF
88057 /* end confdefs.h. */
88058 #include <$ac_header>
88059 _ACEOF
88060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88062 ac_status=$?
88063 grep -v '^ *+' conftest.er1 >conftest.err
88064 rm -f conftest.er1
88065 cat conftest.err >&5
88066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88067 (exit $ac_status); } >/dev/null; then
88068 if test -s conftest.err; then
88069 ac_cpp_err=$ac_c_preproc_warn_flag
88070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88071 else
88072 ac_cpp_err=
88074 else
88075 ac_cpp_err=yes
88077 if test -z "$ac_cpp_err"; then
88078 ac_header_preproc=yes
88079 else
88080 echo "$as_me: failed program was:" >&5
88081 sed 's/^/| /' conftest.$ac_ext >&5
88083 ac_header_preproc=no
88085 rm -f conftest.err conftest.$ac_ext
88086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88087 echo "${ECHO_T}$ac_header_preproc" >&6
88089 # So? What about this header?
88090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88091 yes:no: )
88092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88096 ac_header_preproc=yes
88098 no:yes:* )
88099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88112 cat <<\_ASBOX
88113 ## ----------------------------------------- ##
88114 ## Report this to the package-unused lists. ##
88115 ## ----------------------------------------- ##
88116 _ASBOX
88118 sed "s/^/$as_me: WARNING: /" >&2
88120 esac
88121 echo "$as_me:$LINENO: checking for $ac_header" >&5
88122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88124 echo $ECHO_N "(cached) $ECHO_C" >&6
88125 else
88126 eval "$as_ac_Header=\$ac_header_preproc"
88128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88133 cat >>confdefs.h <<_ACEOF
88134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88135 _ACEOF
88136 ac_has_wchar_h=yes
88137 else
88138 ac_has_wchar_h=no
88141 done
88144 for ac_header in wctype.h
88146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88148 echo "$as_me:$LINENO: checking for $ac_header" >&5
88149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88151 echo $ECHO_N "(cached) $ECHO_C" >&6
88153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88155 else
88156 # Is the header compilable?
88157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88159 cat >conftest.$ac_ext <<_ACEOF
88160 /* confdefs.h. */
88161 _ACEOF
88162 cat confdefs.h >>conftest.$ac_ext
88163 cat >>conftest.$ac_ext <<_ACEOF
88164 /* end confdefs.h. */
88165 $ac_includes_default
88166 #include <$ac_header>
88167 _ACEOF
88168 rm -f conftest.$ac_objext
88169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88170 (eval $ac_compile) 2>conftest.er1
88171 ac_status=$?
88172 grep -v '^ *+' conftest.er1 >conftest.err
88173 rm -f conftest.er1
88174 cat conftest.err >&5
88175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176 (exit $ac_status); } &&
88177 { ac_try='test -z "$ac_c_werror_flag"
88178 || test ! -s conftest.err'
88179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88180 (eval $ac_try) 2>&5
88181 ac_status=$?
88182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88183 (exit $ac_status); }; } &&
88184 { ac_try='test -s conftest.$ac_objext'
88185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88186 (eval $ac_try) 2>&5
88187 ac_status=$?
88188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88189 (exit $ac_status); }; }; then
88190 ac_header_compiler=yes
88191 else
88192 echo "$as_me: failed program was:" >&5
88193 sed 's/^/| /' conftest.$ac_ext >&5
88195 ac_header_compiler=no
88197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88199 echo "${ECHO_T}$ac_header_compiler" >&6
88201 # Is the header present?
88202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88204 cat >conftest.$ac_ext <<_ACEOF
88205 /* confdefs.h. */
88206 _ACEOF
88207 cat confdefs.h >>conftest.$ac_ext
88208 cat >>conftest.$ac_ext <<_ACEOF
88209 /* end confdefs.h. */
88210 #include <$ac_header>
88211 _ACEOF
88212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88214 ac_status=$?
88215 grep -v '^ *+' conftest.er1 >conftest.err
88216 rm -f conftest.er1
88217 cat conftest.err >&5
88218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88219 (exit $ac_status); } >/dev/null; then
88220 if test -s conftest.err; then
88221 ac_cpp_err=$ac_c_preproc_warn_flag
88222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88223 else
88224 ac_cpp_err=
88226 else
88227 ac_cpp_err=yes
88229 if test -z "$ac_cpp_err"; then
88230 ac_header_preproc=yes
88231 else
88232 echo "$as_me: failed program was:" >&5
88233 sed 's/^/| /' conftest.$ac_ext >&5
88235 ac_header_preproc=no
88237 rm -f conftest.err conftest.$ac_ext
88238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88239 echo "${ECHO_T}$ac_header_preproc" >&6
88241 # So? What about this header?
88242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88243 yes:no: )
88244 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88247 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88248 ac_header_preproc=yes
88250 no:yes:* )
88251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88255 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88256 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88257 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88258 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88261 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88262 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88264 cat <<\_ASBOX
88265 ## ----------------------------------------- ##
88266 ## Report this to the package-unused lists. ##
88267 ## ----------------------------------------- ##
88268 _ASBOX
88270 sed "s/^/$as_me: WARNING: /" >&2
88272 esac
88273 echo "$as_me:$LINENO: checking for $ac_header" >&5
88274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88276 echo $ECHO_N "(cached) $ECHO_C" >&6
88277 else
88278 eval "$as_ac_Header=\$ac_header_preproc"
88280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88285 cat >>confdefs.h <<_ACEOF
88286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88287 _ACEOF
88288 ac_has_wctype_h=yes
88289 else
88290 ac_has_wctype_h=no
88293 done
88296 # Only continue checking if the ISO C99 headers exist and support is on.
88297 if test x"$ac_has_wchar_h" = xyes &&
88298 test x"$ac_has_wctype_h" = xyes &&
88299 test x"$enable_c_mbchar" != xno; then
88301 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88302 # numeric_limits can instantiate type_traits<wchar_t>
88303 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88304 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88305 cat >conftest.$ac_ext <<_ACEOF
88306 /* confdefs.h. */
88307 _ACEOF
88308 cat confdefs.h >>conftest.$ac_ext
88309 cat >>conftest.$ac_ext <<_ACEOF
88310 /* end confdefs.h. */
88311 #include <wchar.h>
88313 main ()
88315 int i = WCHAR_MIN; int j = WCHAR_MAX;
88317 return 0;
88319 _ACEOF
88320 rm -f conftest.$ac_objext
88321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88322 (eval $ac_compile) 2>conftest.er1
88323 ac_status=$?
88324 grep -v '^ *+' conftest.er1 >conftest.err
88325 rm -f conftest.er1
88326 cat conftest.err >&5
88327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88328 (exit $ac_status); } &&
88329 { ac_try='test -z "$ac_c_werror_flag"
88330 || test ! -s conftest.err'
88331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88332 (eval $ac_try) 2>&5
88333 ac_status=$?
88334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88335 (exit $ac_status); }; } &&
88336 { ac_try='test -s conftest.$ac_objext'
88337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88338 (eval $ac_try) 2>&5
88339 ac_status=$?
88340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88341 (exit $ac_status); }; }; then
88342 has_wchar_minmax=yes
88343 else
88344 echo "$as_me: failed program was:" >&5
88345 sed 's/^/| /' conftest.$ac_ext >&5
88347 has_wchar_minmax=no
88349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88350 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88351 echo "${ECHO_T}$has_wchar_minmax" >&6
88353 # Test wchar.h for WEOF, which is what we use to determine whether
88354 # to specialize for char_traits<wchar_t> or not.
88355 echo "$as_me:$LINENO: checking for WEOF" >&5
88356 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88357 cat >conftest.$ac_ext <<_ACEOF
88358 /* confdefs.h. */
88359 _ACEOF
88360 cat confdefs.h >>conftest.$ac_ext
88361 cat >>conftest.$ac_ext <<_ACEOF
88362 /* end confdefs.h. */
88364 #include <wchar.h>
88365 #include <stddef.h>
88367 main ()
88369 wint_t i = WEOF;
88371 return 0;
88373 _ACEOF
88374 rm -f conftest.$ac_objext
88375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88376 (eval $ac_compile) 2>conftest.er1
88377 ac_status=$?
88378 grep -v '^ *+' conftest.er1 >conftest.err
88379 rm -f conftest.er1
88380 cat conftest.err >&5
88381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88382 (exit $ac_status); } &&
88383 { ac_try='test -z "$ac_c_werror_flag"
88384 || test ! -s conftest.err'
88385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88386 (eval $ac_try) 2>&5
88387 ac_status=$?
88388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88389 (exit $ac_status); }; } &&
88390 { ac_try='test -s conftest.$ac_objext'
88391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88392 (eval $ac_try) 2>&5
88393 ac_status=$?
88394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88395 (exit $ac_status); }; }; then
88396 has_weof=yes
88397 else
88398 echo "$as_me: failed program was:" >&5
88399 sed 's/^/| /' conftest.$ac_ext >&5
88401 has_weof=no
88403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88404 echo "$as_me:$LINENO: result: $has_weof" >&5
88405 echo "${ECHO_T}$has_weof" >&6
88407 # Tests for wide character functions used in char_traits<wchar_t>.
88408 ac_wfuncs=yes
88415 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88418 echo "$as_me:$LINENO: checking for $ac_func" >&5
88419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88420 if eval "test \"\${$as_ac_var+set}\" = set"; then
88421 echo $ECHO_N "(cached) $ECHO_C" >&6
88422 else
88423 if test x$gcc_no_link = xyes; then
88424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88426 { (exit 1); exit 1; }; }
88428 cat >conftest.$ac_ext <<_ACEOF
88429 /* confdefs.h. */
88430 _ACEOF
88431 cat confdefs.h >>conftest.$ac_ext
88432 cat >>conftest.$ac_ext <<_ACEOF
88433 /* end confdefs.h. */
88434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88436 #define $ac_func innocuous_$ac_func
88438 /* System header to define __stub macros and hopefully few prototypes,
88439 which can conflict with char $ac_func (); below.
88440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88441 <limits.h> exists even on freestanding compilers. */
88443 #ifdef __STDC__
88444 # include <limits.h>
88445 #else
88446 # include <assert.h>
88447 #endif
88449 #undef $ac_func
88451 /* Override any gcc2 internal prototype to avoid an error. */
88452 #ifdef __cplusplus
88453 extern "C"
88455 #endif
88456 /* We use char because int might match the return type of a gcc2
88457 builtin and then its argument prototype would still apply. */
88458 char $ac_func ();
88459 /* The GNU C library defines this for functions which it implements
88460 to always fail with ENOSYS. Some functions are actually named
88461 something starting with __ and the normal name is an alias. */
88462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88463 choke me
88464 #else
88465 char (*f) () = $ac_func;
88466 #endif
88467 #ifdef __cplusplus
88469 #endif
88472 main ()
88474 return f != $ac_func;
88476 return 0;
88478 _ACEOF
88479 rm -f conftest.$ac_objext conftest$ac_exeext
88480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88481 (eval $ac_link) 2>conftest.er1
88482 ac_status=$?
88483 grep -v '^ *+' conftest.er1 >conftest.err
88484 rm -f conftest.er1
88485 cat conftest.err >&5
88486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88487 (exit $ac_status); } &&
88488 { ac_try='test -z "$ac_c_werror_flag"
88489 || test ! -s conftest.err'
88490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491 (eval $ac_try) 2>&5
88492 ac_status=$?
88493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494 (exit $ac_status); }; } &&
88495 { ac_try='test -s conftest$ac_exeext'
88496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88497 (eval $ac_try) 2>&5
88498 ac_status=$?
88499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500 (exit $ac_status); }; }; then
88501 eval "$as_ac_var=yes"
88502 else
88503 echo "$as_me: failed program was:" >&5
88504 sed 's/^/| /' conftest.$ac_ext >&5
88506 eval "$as_ac_var=no"
88508 rm -f conftest.err conftest.$ac_objext \
88509 conftest$ac_exeext conftest.$ac_ext
88511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88513 if test `eval echo '${'$as_ac_var'}'` = yes; then
88514 cat >>confdefs.h <<_ACEOF
88515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88516 _ACEOF
88518 else
88519 ac_wfuncs=no
88521 done
88524 # Checks for names injected into std:: by the c_std headers.
88571 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88572 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88573 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88574 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88575 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88576 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88579 echo "$as_me:$LINENO: checking for $ac_func" >&5
88580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88581 if eval "test \"\${$as_ac_var+set}\" = set"; then
88582 echo $ECHO_N "(cached) $ECHO_C" >&6
88583 else
88584 if test x$gcc_no_link = xyes; then
88585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88587 { (exit 1); exit 1; }; }
88589 cat >conftest.$ac_ext <<_ACEOF
88590 /* confdefs.h. */
88591 _ACEOF
88592 cat confdefs.h >>conftest.$ac_ext
88593 cat >>conftest.$ac_ext <<_ACEOF
88594 /* end confdefs.h. */
88595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88597 #define $ac_func innocuous_$ac_func
88599 /* System header to define __stub macros and hopefully few prototypes,
88600 which can conflict with char $ac_func (); below.
88601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88602 <limits.h> exists even on freestanding compilers. */
88604 #ifdef __STDC__
88605 # include <limits.h>
88606 #else
88607 # include <assert.h>
88608 #endif
88610 #undef $ac_func
88612 /* Override any gcc2 internal prototype to avoid an error. */
88613 #ifdef __cplusplus
88614 extern "C"
88616 #endif
88617 /* We use char because int might match the return type of a gcc2
88618 builtin and then its argument prototype would still apply. */
88619 char $ac_func ();
88620 /* The GNU C library defines this for functions which it implements
88621 to always fail with ENOSYS. Some functions are actually named
88622 something starting with __ and the normal name is an alias. */
88623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88624 choke me
88625 #else
88626 char (*f) () = $ac_func;
88627 #endif
88628 #ifdef __cplusplus
88630 #endif
88633 main ()
88635 return f != $ac_func;
88637 return 0;
88639 _ACEOF
88640 rm -f conftest.$ac_objext conftest$ac_exeext
88641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88642 (eval $ac_link) 2>conftest.er1
88643 ac_status=$?
88644 grep -v '^ *+' conftest.er1 >conftest.err
88645 rm -f conftest.er1
88646 cat conftest.err >&5
88647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88648 (exit $ac_status); } &&
88649 { ac_try='test -z "$ac_c_werror_flag"
88650 || test ! -s conftest.err'
88651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88652 (eval $ac_try) 2>&5
88653 ac_status=$?
88654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88655 (exit $ac_status); }; } &&
88656 { ac_try='test -s conftest$ac_exeext'
88657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88658 (eval $ac_try) 2>&5
88659 ac_status=$?
88660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88661 (exit $ac_status); }; }; then
88662 eval "$as_ac_var=yes"
88663 else
88664 echo "$as_me: failed program was:" >&5
88665 sed 's/^/| /' conftest.$ac_ext >&5
88667 eval "$as_ac_var=no"
88669 rm -f conftest.err conftest.$ac_objext \
88670 conftest$ac_exeext conftest.$ac_ext
88672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88674 if test `eval echo '${'$as_ac_var'}'` = yes; then
88675 cat >>confdefs.h <<_ACEOF
88676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88677 _ACEOF
88679 else
88680 ac_wfuncs=no
88682 done
88685 # Checks for wide character functions that are not required
88686 # for basic wchar_t support. Don't disable support if they are missing.
88687 # Injection of these is wrapped with guard macros.
88693 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88696 echo "$as_me:$LINENO: checking for $ac_func" >&5
88697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88698 if eval "test \"\${$as_ac_var+set}\" = set"; then
88699 echo $ECHO_N "(cached) $ECHO_C" >&6
88700 else
88701 if test x$gcc_no_link = xyes; then
88702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88704 { (exit 1); exit 1; }; }
88706 cat >conftest.$ac_ext <<_ACEOF
88707 /* confdefs.h. */
88708 _ACEOF
88709 cat confdefs.h >>conftest.$ac_ext
88710 cat >>conftest.$ac_ext <<_ACEOF
88711 /* end confdefs.h. */
88712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88714 #define $ac_func innocuous_$ac_func
88716 /* System header to define __stub macros and hopefully few prototypes,
88717 which can conflict with char $ac_func (); below.
88718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88719 <limits.h> exists even on freestanding compilers. */
88721 #ifdef __STDC__
88722 # include <limits.h>
88723 #else
88724 # include <assert.h>
88725 #endif
88727 #undef $ac_func
88729 /* Override any gcc2 internal prototype to avoid an error. */
88730 #ifdef __cplusplus
88731 extern "C"
88733 #endif
88734 /* We use char because int might match the return type of a gcc2
88735 builtin and then its argument prototype would still apply. */
88736 char $ac_func ();
88737 /* The GNU C library defines this for functions which it implements
88738 to always fail with ENOSYS. Some functions are actually named
88739 something starting with __ and the normal name is an alias. */
88740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88741 choke me
88742 #else
88743 char (*f) () = $ac_func;
88744 #endif
88745 #ifdef __cplusplus
88747 #endif
88750 main ()
88752 return f != $ac_func;
88754 return 0;
88756 _ACEOF
88757 rm -f conftest.$ac_objext conftest$ac_exeext
88758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88759 (eval $ac_link) 2>conftest.er1
88760 ac_status=$?
88761 grep -v '^ *+' conftest.er1 >conftest.err
88762 rm -f conftest.er1
88763 cat conftest.err >&5
88764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765 (exit $ac_status); } &&
88766 { ac_try='test -z "$ac_c_werror_flag"
88767 || test ! -s conftest.err'
88768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88769 (eval $ac_try) 2>&5
88770 ac_status=$?
88771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88772 (exit $ac_status); }; } &&
88773 { ac_try='test -s conftest$ac_exeext'
88774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88775 (eval $ac_try) 2>&5
88776 ac_status=$?
88777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778 (exit $ac_status); }; }; then
88779 eval "$as_ac_var=yes"
88780 else
88781 echo "$as_me: failed program was:" >&5
88782 sed 's/^/| /' conftest.$ac_ext >&5
88784 eval "$as_ac_var=no"
88786 rm -f conftest.err conftest.$ac_objext \
88787 conftest$ac_exeext conftest.$ac_ext
88789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88791 if test `eval echo '${'$as_ac_var'}'` = yes; then
88792 cat >>confdefs.h <<_ACEOF
88793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88794 _ACEOF
88797 done
88800 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88801 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88802 if test x"$has_weof" = xyes &&
88803 test x"$has_wchar_minmax" = xyes &&
88804 test x"$ac_wfuncs" = xyes;
88805 then
88806 ac_isoC99_wchar_t=yes
88807 else
88808 ac_isoC99_wchar_t=no
88810 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88811 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88813 # Use iconv for wchar_t to char conversions. As such, check for
88814 # X/Open Portability Guide, version 2 features (XPG2).
88815 if test "${ac_cv_header_iconv_h+set}" = set; then
88816 echo "$as_me:$LINENO: checking for iconv.h" >&5
88817 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88818 if test "${ac_cv_header_iconv_h+set}" = set; then
88819 echo $ECHO_N "(cached) $ECHO_C" >&6
88821 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88822 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88823 else
88824 # Is the header compilable?
88825 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88826 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88827 cat >conftest.$ac_ext <<_ACEOF
88828 /* confdefs.h. */
88829 _ACEOF
88830 cat confdefs.h >>conftest.$ac_ext
88831 cat >>conftest.$ac_ext <<_ACEOF
88832 /* end confdefs.h. */
88833 $ac_includes_default
88834 #include <iconv.h>
88835 _ACEOF
88836 rm -f conftest.$ac_objext
88837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88838 (eval $ac_compile) 2>conftest.er1
88839 ac_status=$?
88840 grep -v '^ *+' conftest.er1 >conftest.err
88841 rm -f conftest.er1
88842 cat conftest.err >&5
88843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88844 (exit $ac_status); } &&
88845 { ac_try='test -z "$ac_c_werror_flag"
88846 || test ! -s conftest.err'
88847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88848 (eval $ac_try) 2>&5
88849 ac_status=$?
88850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88851 (exit $ac_status); }; } &&
88852 { ac_try='test -s conftest.$ac_objext'
88853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88854 (eval $ac_try) 2>&5
88855 ac_status=$?
88856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88857 (exit $ac_status); }; }; then
88858 ac_header_compiler=yes
88859 else
88860 echo "$as_me: failed program was:" >&5
88861 sed 's/^/| /' conftest.$ac_ext >&5
88863 ac_header_compiler=no
88865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88867 echo "${ECHO_T}$ac_header_compiler" >&6
88869 # Is the header present?
88870 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88871 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88872 cat >conftest.$ac_ext <<_ACEOF
88873 /* confdefs.h. */
88874 _ACEOF
88875 cat confdefs.h >>conftest.$ac_ext
88876 cat >>conftest.$ac_ext <<_ACEOF
88877 /* end confdefs.h. */
88878 #include <iconv.h>
88879 _ACEOF
88880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88882 ac_status=$?
88883 grep -v '^ *+' conftest.er1 >conftest.err
88884 rm -f conftest.er1
88885 cat conftest.err >&5
88886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887 (exit $ac_status); } >/dev/null; then
88888 if test -s conftest.err; then
88889 ac_cpp_err=$ac_c_preproc_warn_flag
88890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88891 else
88892 ac_cpp_err=
88894 else
88895 ac_cpp_err=yes
88897 if test -z "$ac_cpp_err"; then
88898 ac_header_preproc=yes
88899 else
88900 echo "$as_me: failed program was:" >&5
88901 sed 's/^/| /' conftest.$ac_ext >&5
88903 ac_header_preproc=no
88905 rm -f conftest.err conftest.$ac_ext
88906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88907 echo "${ECHO_T}$ac_header_preproc" >&6
88909 # So? What about this header?
88910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88911 yes:no: )
88912 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88913 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88914 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88915 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88916 ac_header_preproc=yes
88918 no:yes:* )
88919 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88920 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88921 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88922 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88923 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88924 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88925 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88926 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88927 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88928 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88929 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88930 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88932 cat <<\_ASBOX
88933 ## ----------------------------------------- ##
88934 ## Report this to the package-unused lists. ##
88935 ## ----------------------------------------- ##
88936 _ASBOX
88938 sed "s/^/$as_me: WARNING: /" >&2
88940 esac
88941 echo "$as_me:$LINENO: checking for iconv.h" >&5
88942 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88943 if test "${ac_cv_header_iconv_h+set}" = set; then
88944 echo $ECHO_N "(cached) $ECHO_C" >&6
88945 else
88946 ac_cv_header_iconv_h=$ac_header_preproc
88948 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88949 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88952 if test $ac_cv_header_iconv_h = yes; then
88953 ac_has_iconv_h=yes
88954 else
88955 ac_has_iconv_h=no
88959 if test "${ac_cv_header_langinfo_h+set}" = set; then
88960 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88961 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88962 if test "${ac_cv_header_langinfo_h+set}" = set; then
88963 echo $ECHO_N "(cached) $ECHO_C" >&6
88965 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88966 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88967 else
88968 # Is the header compilable?
88969 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88970 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88971 cat >conftest.$ac_ext <<_ACEOF
88972 /* confdefs.h. */
88973 _ACEOF
88974 cat confdefs.h >>conftest.$ac_ext
88975 cat >>conftest.$ac_ext <<_ACEOF
88976 /* end confdefs.h. */
88977 $ac_includes_default
88978 #include <langinfo.h>
88979 _ACEOF
88980 rm -f conftest.$ac_objext
88981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88982 (eval $ac_compile) 2>conftest.er1
88983 ac_status=$?
88984 grep -v '^ *+' conftest.er1 >conftest.err
88985 rm -f conftest.er1
88986 cat conftest.err >&5
88987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88988 (exit $ac_status); } &&
88989 { ac_try='test -z "$ac_c_werror_flag"
88990 || test ! -s conftest.err'
88991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88992 (eval $ac_try) 2>&5
88993 ac_status=$?
88994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88995 (exit $ac_status); }; } &&
88996 { ac_try='test -s conftest.$ac_objext'
88997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88998 (eval $ac_try) 2>&5
88999 ac_status=$?
89000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89001 (exit $ac_status); }; }; then
89002 ac_header_compiler=yes
89003 else
89004 echo "$as_me: failed program was:" >&5
89005 sed 's/^/| /' conftest.$ac_ext >&5
89007 ac_header_compiler=no
89009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89011 echo "${ECHO_T}$ac_header_compiler" >&6
89013 # Is the header present?
89014 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
89015 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
89016 cat >conftest.$ac_ext <<_ACEOF
89017 /* confdefs.h. */
89018 _ACEOF
89019 cat confdefs.h >>conftest.$ac_ext
89020 cat >>conftest.$ac_ext <<_ACEOF
89021 /* end confdefs.h. */
89022 #include <langinfo.h>
89023 _ACEOF
89024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89026 ac_status=$?
89027 grep -v '^ *+' conftest.er1 >conftest.err
89028 rm -f conftest.er1
89029 cat conftest.err >&5
89030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89031 (exit $ac_status); } >/dev/null; then
89032 if test -s conftest.err; then
89033 ac_cpp_err=$ac_c_preproc_warn_flag
89034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89035 else
89036 ac_cpp_err=
89038 else
89039 ac_cpp_err=yes
89041 if test -z "$ac_cpp_err"; then
89042 ac_header_preproc=yes
89043 else
89044 echo "$as_me: failed program was:" >&5
89045 sed 's/^/| /' conftest.$ac_ext >&5
89047 ac_header_preproc=no
89049 rm -f conftest.err conftest.$ac_ext
89050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89051 echo "${ECHO_T}$ac_header_preproc" >&6
89053 # So? What about this header?
89054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89055 yes:no: )
89056 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89057 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89058 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89059 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89060 ac_header_preproc=yes
89062 no:yes:* )
89063 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89064 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89065 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89066 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89067 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89068 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89069 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89070 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89071 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89072 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89073 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89074 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89076 cat <<\_ASBOX
89077 ## ----------------------------------------- ##
89078 ## Report this to the package-unused lists. ##
89079 ## ----------------------------------------- ##
89080 _ASBOX
89082 sed "s/^/$as_me: WARNING: /" >&2
89084 esac
89085 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89086 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89087 if test "${ac_cv_header_langinfo_h+set}" = set; then
89088 echo $ECHO_N "(cached) $ECHO_C" >&6
89089 else
89090 ac_cv_header_langinfo_h=$ac_header_preproc
89092 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89093 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89096 if test $ac_cv_header_langinfo_h = yes; then
89097 ac_has_langinfo_h=yes
89098 else
89099 ac_has_langinfo_h=no
89104 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89105 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89106 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89107 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89108 echo $ECHO_N "(cached) $ECHO_C" >&6
89109 else
89110 ac_check_lib_save_LIBS=$LIBS
89111 LIBS="-liconv $LIBS"
89112 if test x$gcc_no_link = xyes; then
89113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89115 { (exit 1); exit 1; }; }
89117 cat >conftest.$ac_ext <<_ACEOF
89118 /* confdefs.h. */
89119 _ACEOF
89120 cat confdefs.h >>conftest.$ac_ext
89121 cat >>conftest.$ac_ext <<_ACEOF
89122 /* end confdefs.h. */
89124 /* Override any gcc2 internal prototype to avoid an error. */
89125 #ifdef __cplusplus
89126 extern "C"
89127 #endif
89128 /* We use char because int might match the return type of a gcc2
89129 builtin and then its argument prototype would still apply. */
89130 char iconv ();
89132 main ()
89134 iconv ();
89136 return 0;
89138 _ACEOF
89139 rm -f conftest.$ac_objext conftest$ac_exeext
89140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89141 (eval $ac_link) 2>conftest.er1
89142 ac_status=$?
89143 grep -v '^ *+' conftest.er1 >conftest.err
89144 rm -f conftest.er1
89145 cat conftest.err >&5
89146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89147 (exit $ac_status); } &&
89148 { ac_try='test -z "$ac_c_werror_flag"
89149 || test ! -s conftest.err'
89150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89151 (eval $ac_try) 2>&5
89152 ac_status=$?
89153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89154 (exit $ac_status); }; } &&
89155 { ac_try='test -s conftest$ac_exeext'
89156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89157 (eval $ac_try) 2>&5
89158 ac_status=$?
89159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89160 (exit $ac_status); }; }; then
89161 ac_cv_lib_iconv_iconv=yes
89162 else
89163 echo "$as_me: failed program was:" >&5
89164 sed 's/^/| /' conftest.$ac_ext >&5
89166 ac_cv_lib_iconv_iconv=no
89168 rm -f conftest.err conftest.$ac_objext \
89169 conftest$ac_exeext conftest.$ac_ext
89170 LIBS=$ac_check_lib_save_LIBS
89172 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89173 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89174 if test $ac_cv_lib_iconv_iconv = yes; then
89175 LIBICONV="-liconv"
89178 ac_save_LIBS="$LIBS"
89179 LIBS="$LIBS $LIBICONV"
89186 for ac_func in iconv_open iconv_close iconv nl_langinfo
89188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89189 echo "$as_me:$LINENO: checking for $ac_func" >&5
89190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89191 if eval "test \"\${$as_ac_var+set}\" = set"; then
89192 echo $ECHO_N "(cached) $ECHO_C" >&6
89193 else
89194 if test x$gcc_no_link = xyes; then
89195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89197 { (exit 1); exit 1; }; }
89199 cat >conftest.$ac_ext <<_ACEOF
89200 /* confdefs.h. */
89201 _ACEOF
89202 cat confdefs.h >>conftest.$ac_ext
89203 cat >>conftest.$ac_ext <<_ACEOF
89204 /* end confdefs.h. */
89205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89207 #define $ac_func innocuous_$ac_func
89209 /* System header to define __stub macros and hopefully few prototypes,
89210 which can conflict with char $ac_func (); below.
89211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89212 <limits.h> exists even on freestanding compilers. */
89214 #ifdef __STDC__
89215 # include <limits.h>
89216 #else
89217 # include <assert.h>
89218 #endif
89220 #undef $ac_func
89222 /* Override any gcc2 internal prototype to avoid an error. */
89223 #ifdef __cplusplus
89224 extern "C"
89226 #endif
89227 /* We use char because int might match the return type of a gcc2
89228 builtin and then its argument prototype would still apply. */
89229 char $ac_func ();
89230 /* The GNU C library defines this for functions which it implements
89231 to always fail with ENOSYS. Some functions are actually named
89232 something starting with __ and the normal name is an alias. */
89233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89234 choke me
89235 #else
89236 char (*f) () = $ac_func;
89237 #endif
89238 #ifdef __cplusplus
89240 #endif
89243 main ()
89245 return f != $ac_func;
89247 return 0;
89249 _ACEOF
89250 rm -f conftest.$ac_objext conftest$ac_exeext
89251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89252 (eval $ac_link) 2>conftest.er1
89253 ac_status=$?
89254 grep -v '^ *+' conftest.er1 >conftest.err
89255 rm -f conftest.er1
89256 cat conftest.err >&5
89257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89258 (exit $ac_status); } &&
89259 { ac_try='test -z "$ac_c_werror_flag"
89260 || test ! -s conftest.err'
89261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89262 (eval $ac_try) 2>&5
89263 ac_status=$?
89264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89265 (exit $ac_status); }; } &&
89266 { ac_try='test -s conftest$ac_exeext'
89267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89268 (eval $ac_try) 2>&5
89269 ac_status=$?
89270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89271 (exit $ac_status); }; }; then
89272 eval "$as_ac_var=yes"
89273 else
89274 echo "$as_me: failed program was:" >&5
89275 sed 's/^/| /' conftest.$ac_ext >&5
89277 eval "$as_ac_var=no"
89279 rm -f conftest.err conftest.$ac_objext \
89280 conftest$ac_exeext conftest.$ac_ext
89282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89284 if test `eval echo '${'$as_ac_var'}'` = yes; then
89285 cat >>confdefs.h <<_ACEOF
89286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89287 _ACEOF
89288 ac_XPG2funcs=yes
89289 else
89290 ac_XPG2funcs=no
89292 done
89295 LIBS="$ac_save_LIBS"
89297 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89298 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89299 if test x"$ac_has_iconv_h" = xyes &&
89300 test x"$ac_has_langinfo_h" = xyes &&
89301 test x"$ac_XPG2funcs" = xyes;
89302 then
89303 ac_XPG2_wchar_t=yes
89304 else
89305 ac_XPG2_wchar_t=no
89307 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89308 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89310 # At the moment, only enable wchar_t specializations if all the
89311 # above support is present.
89312 if test x"$ac_isoC99_wchar_t" = xyes &&
89313 test x"$ac_XPG2_wchar_t" = xyes;
89314 then
89315 cat >>confdefs.h <<\_ACEOF
89316 #define _GLIBCXX_USE_WCHAR_T 1
89317 _ACEOF
89319 enable_wchar_t=yes
89322 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89323 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89324 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89325 echo "${ECHO_T}$enable_wchar_t" >&6
89328 # For showmanyc_helper().
89331 for ac_header in sys/ioctl.h sys/filio.h
89333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89335 echo "$as_me:$LINENO: checking for $ac_header" >&5
89336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89338 echo $ECHO_N "(cached) $ECHO_C" >&6
89340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89342 else
89343 # Is the header compilable?
89344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89346 cat >conftest.$ac_ext <<_ACEOF
89347 /* confdefs.h. */
89348 _ACEOF
89349 cat confdefs.h >>conftest.$ac_ext
89350 cat >>conftest.$ac_ext <<_ACEOF
89351 /* end confdefs.h. */
89352 $ac_includes_default
89353 #include <$ac_header>
89354 _ACEOF
89355 rm -f conftest.$ac_objext
89356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89357 (eval $ac_compile) 2>conftest.er1
89358 ac_status=$?
89359 grep -v '^ *+' conftest.er1 >conftest.err
89360 rm -f conftest.er1
89361 cat conftest.err >&5
89362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89363 (exit $ac_status); } &&
89364 { ac_try='test -z "$ac_c_werror_flag"
89365 || test ! -s conftest.err'
89366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89367 (eval $ac_try) 2>&5
89368 ac_status=$?
89369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89370 (exit $ac_status); }; } &&
89371 { ac_try='test -s conftest.$ac_objext'
89372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89373 (eval $ac_try) 2>&5
89374 ac_status=$?
89375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89376 (exit $ac_status); }; }; then
89377 ac_header_compiler=yes
89378 else
89379 echo "$as_me: failed program was:" >&5
89380 sed 's/^/| /' conftest.$ac_ext >&5
89382 ac_header_compiler=no
89384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89386 echo "${ECHO_T}$ac_header_compiler" >&6
89388 # Is the header present?
89389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89391 cat >conftest.$ac_ext <<_ACEOF
89392 /* confdefs.h. */
89393 _ACEOF
89394 cat confdefs.h >>conftest.$ac_ext
89395 cat >>conftest.$ac_ext <<_ACEOF
89396 /* end confdefs.h. */
89397 #include <$ac_header>
89398 _ACEOF
89399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89401 ac_status=$?
89402 grep -v '^ *+' conftest.er1 >conftest.err
89403 rm -f conftest.er1
89404 cat conftest.err >&5
89405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89406 (exit $ac_status); } >/dev/null; then
89407 if test -s conftest.err; then
89408 ac_cpp_err=$ac_c_preproc_warn_flag
89409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89410 else
89411 ac_cpp_err=
89413 else
89414 ac_cpp_err=yes
89416 if test -z "$ac_cpp_err"; then
89417 ac_header_preproc=yes
89418 else
89419 echo "$as_me: failed program was:" >&5
89420 sed 's/^/| /' conftest.$ac_ext >&5
89422 ac_header_preproc=no
89424 rm -f conftest.err conftest.$ac_ext
89425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89426 echo "${ECHO_T}$ac_header_preproc" >&6
89428 # So? What about this header?
89429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89430 yes:no: )
89431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89435 ac_header_preproc=yes
89437 no:yes:* )
89438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89451 cat <<\_ASBOX
89452 ## ----------------------------------------- ##
89453 ## Report this to the package-unused lists. ##
89454 ## ----------------------------------------- ##
89455 _ASBOX
89457 sed "s/^/$as_me: WARNING: /" >&2
89459 esac
89460 echo "$as_me:$LINENO: checking for $ac_header" >&5
89461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89463 echo $ECHO_N "(cached) $ECHO_C" >&6
89464 else
89465 eval "$as_ac_Header=\$ac_header_preproc"
89467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89472 cat >>confdefs.h <<_ACEOF
89473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89474 _ACEOF
89478 done
89481 if test "${glibcxx_cv_POLL+set}" = set; then
89482 echo $ECHO_N "(cached) $ECHO_C" >&6
89483 else
89485 if test x$gcc_no_link = xyes; then
89486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89488 { (exit 1); exit 1; }; }
89490 cat >conftest.$ac_ext <<_ACEOF
89491 /* confdefs.h. */
89492 _ACEOF
89493 cat confdefs.h >>conftest.$ac_ext
89494 cat >>conftest.$ac_ext <<_ACEOF
89495 /* end confdefs.h. */
89496 #include <poll.h>
89498 main ()
89500 struct pollfd pfd[1];
89501 pfd[0].events = POLLIN;
89502 poll(pfd, 1, 0);
89504 return 0;
89506 _ACEOF
89507 rm -f conftest.$ac_objext conftest$ac_exeext
89508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89509 (eval $ac_link) 2>conftest.er1
89510 ac_status=$?
89511 grep -v '^ *+' conftest.er1 >conftest.err
89512 rm -f conftest.er1
89513 cat conftest.err >&5
89514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515 (exit $ac_status); } &&
89516 { ac_try='test -z "$ac_c_werror_flag"
89517 || test ! -s conftest.err'
89518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519 (eval $ac_try) 2>&5
89520 ac_status=$?
89521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522 (exit $ac_status); }; } &&
89523 { ac_try='test -s conftest$ac_exeext'
89524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89525 (eval $ac_try) 2>&5
89526 ac_status=$?
89527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89528 (exit $ac_status); }; }; then
89529 glibcxx_cv_POLL=yes
89530 else
89531 echo "$as_me: failed program was:" >&5
89532 sed 's/^/| /' conftest.$ac_ext >&5
89534 glibcxx_cv_POLL=no
89536 rm -f conftest.err conftest.$ac_objext \
89537 conftest$ac_exeext conftest.$ac_ext
89541 if test $glibcxx_cv_POLL = yes; then
89542 cat >>confdefs.h <<\_ACEOF
89543 #define HAVE_POLL 1
89544 _ACEOF
89549 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89550 echo $ECHO_N "(cached) $ECHO_C" >&6
89551 else
89553 if test x$gcc_no_link = xyes; then
89554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89556 { (exit 1); exit 1; }; }
89558 cat >conftest.$ac_ext <<_ACEOF
89559 /* confdefs.h. */
89560 _ACEOF
89561 cat confdefs.h >>conftest.$ac_ext
89562 cat >>conftest.$ac_ext <<_ACEOF
89563 /* end confdefs.h. */
89564 #include <sys/stat.h>
89566 main ()
89568 struct stat buffer;
89569 fstat(0, &buffer);
89570 S_ISREG(buffer.st_mode);
89572 return 0;
89574 _ACEOF
89575 rm -f conftest.$ac_objext conftest$ac_exeext
89576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89577 (eval $ac_link) 2>conftest.er1
89578 ac_status=$?
89579 grep -v '^ *+' conftest.er1 >conftest.err
89580 rm -f conftest.er1
89581 cat conftest.err >&5
89582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89583 (exit $ac_status); } &&
89584 { ac_try='test -z "$ac_c_werror_flag"
89585 || test ! -s conftest.err'
89586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89587 (eval $ac_try) 2>&5
89588 ac_status=$?
89589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89590 (exit $ac_status); }; } &&
89591 { ac_try='test -s conftest$ac_exeext'
89592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89593 (eval $ac_try) 2>&5
89594 ac_status=$?
89595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596 (exit $ac_status); }; }; then
89597 glibcxx_cv_S_ISREG=yes
89598 else
89599 echo "$as_me: failed program was:" >&5
89600 sed 's/^/| /' conftest.$ac_ext >&5
89602 glibcxx_cv_S_ISREG=no
89604 rm -f conftest.err conftest.$ac_objext \
89605 conftest$ac_exeext conftest.$ac_ext
89609 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89610 echo $ECHO_N "(cached) $ECHO_C" >&6
89611 else
89613 if test x$gcc_no_link = xyes; then
89614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89616 { (exit 1); exit 1; }; }
89618 cat >conftest.$ac_ext <<_ACEOF
89619 /* confdefs.h. */
89620 _ACEOF
89621 cat confdefs.h >>conftest.$ac_ext
89622 cat >>conftest.$ac_ext <<_ACEOF
89623 /* end confdefs.h. */
89624 #include <sys/stat.h>
89626 main ()
89628 struct stat buffer;
89629 fstat(0, &buffer);
89630 S_IFREG & buffer.st_mode;
89632 return 0;
89634 _ACEOF
89635 rm -f conftest.$ac_objext conftest$ac_exeext
89636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89637 (eval $ac_link) 2>conftest.er1
89638 ac_status=$?
89639 grep -v '^ *+' conftest.er1 >conftest.err
89640 rm -f conftest.er1
89641 cat conftest.err >&5
89642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89643 (exit $ac_status); } &&
89644 { ac_try='test -z "$ac_c_werror_flag"
89645 || test ! -s conftest.err'
89646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89647 (eval $ac_try) 2>&5
89648 ac_status=$?
89649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89650 (exit $ac_status); }; } &&
89651 { ac_try='test -s conftest$ac_exeext'
89652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89653 (eval $ac_try) 2>&5
89654 ac_status=$?
89655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89656 (exit $ac_status); }; }; then
89657 glibcxx_cv_S_IFREG=yes
89658 else
89659 echo "$as_me: failed program was:" >&5
89660 sed 's/^/| /' conftest.$ac_ext >&5
89662 glibcxx_cv_S_IFREG=no
89664 rm -f conftest.err conftest.$ac_objext \
89665 conftest$ac_exeext conftest.$ac_ext
89669 if test $glibcxx_cv_S_ISREG = yes; then
89670 cat >>confdefs.h <<\_ACEOF
89671 #define HAVE_S_ISREG 1
89672 _ACEOF
89674 elif test $glibcxx_cv_S_IFREG = yes; then
89675 cat >>confdefs.h <<\_ACEOF
89676 #define HAVE_S_IFREG 1
89677 _ACEOF
89682 # For xsputn_2().
89684 for ac_header in sys/uio.h
89686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89688 echo "$as_me:$LINENO: checking for $ac_header" >&5
89689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89691 echo $ECHO_N "(cached) $ECHO_C" >&6
89693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89695 else
89696 # Is the header compilable?
89697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89699 cat >conftest.$ac_ext <<_ACEOF
89700 /* confdefs.h. */
89701 _ACEOF
89702 cat confdefs.h >>conftest.$ac_ext
89703 cat >>conftest.$ac_ext <<_ACEOF
89704 /* end confdefs.h. */
89705 $ac_includes_default
89706 #include <$ac_header>
89707 _ACEOF
89708 rm -f conftest.$ac_objext
89709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89710 (eval $ac_compile) 2>conftest.er1
89711 ac_status=$?
89712 grep -v '^ *+' conftest.er1 >conftest.err
89713 rm -f conftest.er1
89714 cat conftest.err >&5
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); } &&
89717 { ac_try='test -z "$ac_c_werror_flag"
89718 || test ! -s conftest.err'
89719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89720 (eval $ac_try) 2>&5
89721 ac_status=$?
89722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89723 (exit $ac_status); }; } &&
89724 { ac_try='test -s conftest.$ac_objext'
89725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89726 (eval $ac_try) 2>&5
89727 ac_status=$?
89728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89729 (exit $ac_status); }; }; then
89730 ac_header_compiler=yes
89731 else
89732 echo "$as_me: failed program was:" >&5
89733 sed 's/^/| /' conftest.$ac_ext >&5
89735 ac_header_compiler=no
89737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89739 echo "${ECHO_T}$ac_header_compiler" >&6
89741 # Is the header present?
89742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89744 cat >conftest.$ac_ext <<_ACEOF
89745 /* confdefs.h. */
89746 _ACEOF
89747 cat confdefs.h >>conftest.$ac_ext
89748 cat >>conftest.$ac_ext <<_ACEOF
89749 /* end confdefs.h. */
89750 #include <$ac_header>
89751 _ACEOF
89752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89754 ac_status=$?
89755 grep -v '^ *+' conftest.er1 >conftest.err
89756 rm -f conftest.er1
89757 cat conftest.err >&5
89758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89759 (exit $ac_status); } >/dev/null; then
89760 if test -s conftest.err; then
89761 ac_cpp_err=$ac_c_preproc_warn_flag
89762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89763 else
89764 ac_cpp_err=
89766 else
89767 ac_cpp_err=yes
89769 if test -z "$ac_cpp_err"; then
89770 ac_header_preproc=yes
89771 else
89772 echo "$as_me: failed program was:" >&5
89773 sed 's/^/| /' conftest.$ac_ext >&5
89775 ac_header_preproc=no
89777 rm -f conftest.err conftest.$ac_ext
89778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89779 echo "${ECHO_T}$ac_header_preproc" >&6
89781 # So? What about this header?
89782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89783 yes:no: )
89784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89788 ac_header_preproc=yes
89790 no:yes:* )
89791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89804 cat <<\_ASBOX
89805 ## ----------------------------------------- ##
89806 ## Report this to the package-unused lists. ##
89807 ## ----------------------------------------- ##
89808 _ASBOX
89810 sed "s/^/$as_me: WARNING: /" >&2
89812 esac
89813 echo "$as_me:$LINENO: checking for $ac_header" >&5
89814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89816 echo $ECHO_N "(cached) $ECHO_C" >&6
89817 else
89818 eval "$as_ac_Header=\$ac_header_preproc"
89820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89825 cat >>confdefs.h <<_ACEOF
89826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89827 _ACEOF
89831 done
89834 if test "${glibcxx_cv_WRITEV+set}" = set; then
89835 echo $ECHO_N "(cached) $ECHO_C" >&6
89836 else
89838 if test x$gcc_no_link = xyes; then
89839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89841 { (exit 1); exit 1; }; }
89843 cat >conftest.$ac_ext <<_ACEOF
89844 /* confdefs.h. */
89845 _ACEOF
89846 cat confdefs.h >>conftest.$ac_ext
89847 cat >>conftest.$ac_ext <<_ACEOF
89848 /* end confdefs.h. */
89849 #include <sys/uio.h>
89851 main ()
89853 struct iovec iov[2];
89854 writev(0, iov, 0);
89856 return 0;
89858 _ACEOF
89859 rm -f conftest.$ac_objext conftest$ac_exeext
89860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89861 (eval $ac_link) 2>conftest.er1
89862 ac_status=$?
89863 grep -v '^ *+' conftest.er1 >conftest.err
89864 rm -f conftest.er1
89865 cat conftest.err >&5
89866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867 (exit $ac_status); } &&
89868 { ac_try='test -z "$ac_c_werror_flag"
89869 || test ! -s conftest.err'
89870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89871 (eval $ac_try) 2>&5
89872 ac_status=$?
89873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89874 (exit $ac_status); }; } &&
89875 { ac_try='test -s conftest$ac_exeext'
89876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89877 (eval $ac_try) 2>&5
89878 ac_status=$?
89879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89880 (exit $ac_status); }; }; then
89881 glibcxx_cv_WRITEV=yes
89882 else
89883 echo "$as_me: failed program was:" >&5
89884 sed 's/^/| /' conftest.$ac_ext >&5
89886 glibcxx_cv_WRITEV=no
89888 rm -f conftest.err conftest.$ac_objext \
89889 conftest$ac_exeext conftest.$ac_ext
89893 if test $glibcxx_cv_WRITEV = yes; then
89894 cat >>confdefs.h <<\_ACEOF
89895 #define HAVE_WRITEV 1
89896 _ACEOF
89901 *-qnx6.1* | *-qnx6.2*)
89902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89905 # If we're not using GNU ld, then there's no point in even trying these
89906 # tests. Check for that first. We should have already tested for gld
89907 # by now (in libtool), but require it now just to be safe...
89908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89913 # The name set by libtool depends on the version of libtool. Shame on us
89914 # for depending on an impl detail, but c'est la vie. Older versions used
89915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89918 # set (hence we're using an older libtool), then set it.
89919 if test x${with_gnu_ld+set} != xset; then
89920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89922 with_gnu_ld=no
89923 else
89924 with_gnu_ld=$ac_cv_prog_gnu_ld
89928 # Start by getting the version number. I think the libtool test already
89929 # does some of this, but throws away the result.
89931 ldver=`$LD --version 2>/dev/null | head -1 | \
89932 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89934 glibcxx_gnu_ld_version=`echo $ldver | \
89935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89937 # Set --gc-sections.
89938 if test "$with_gnu_ld" = "notbroken"; then
89939 # GNU ld it is! Joy and bunny rabbits!
89941 # All these tests are for C++; save the language and the compiler flags.
89942 # Need to do this so that g++ won't try to link in libstdc++
89943 ac_test_CFLAGS="${CFLAGS+set}"
89944 ac_save_CFLAGS="$CFLAGS"
89945 CFLAGS='-x c++ -Wl,--gc-sections'
89947 # Check for -Wl,--gc-sections
89948 # XXX This test is broken at the moment, as symbols required for linking
89949 # are now in libsupc++ (not built yet). In addition, this test has
89950 # cored on solaris in the past. In addition, --gc-sections doesn't
89951 # really work at the moment (keeps on discarding used sections, first
89952 # .eh_frame and now some of the glibc sections for iconv).
89953 # Bzzzzt. Thanks for playing, maybe next time.
89954 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89955 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89956 if test "$cross_compiling" = yes; then
89957 ac_sectionLDflags=yes
89958 else
89959 cat >conftest.$ac_ext <<_ACEOF
89960 /* confdefs.h. */
89961 _ACEOF
89962 cat confdefs.h >>conftest.$ac_ext
89963 cat >>conftest.$ac_ext <<_ACEOF
89964 /* end confdefs.h. */
89966 int main(void)
89968 try { throw 1; }
89969 catch (...) { };
89970 return 0;
89973 _ACEOF
89974 rm -f conftest$ac_exeext
89975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89976 (eval $ac_link) 2>&5
89977 ac_status=$?
89978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89981 (eval $ac_try) 2>&5
89982 ac_status=$?
89983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89984 (exit $ac_status); }; }; then
89985 ac_sectionLDflags=yes
89986 else
89987 echo "$as_me: program exited with status $ac_status" >&5
89988 echo "$as_me: failed program was:" >&5
89989 sed 's/^/| /' conftest.$ac_ext >&5
89991 ( exit $ac_status )
89992 ac_sectionLDflags=no
89994 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89996 if test "$ac_test_CFLAGS" = set; then
89997 CFLAGS="$ac_save_CFLAGS"
89998 else
89999 # this is the suspicious part
90000 CFLAGS=''
90002 if test "$ac_sectionLDflags" = "yes"; then
90003 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90005 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
90006 echo "${ECHO_T}$ac_sectionLDflags" >&6
90009 # Set linker optimization flags.
90010 if test x"$with_gnu_ld" = x"yes"; then
90011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90019 echo "$as_me:$LINENO: checking for main in -lm" >&5
90020 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90021 if test "${ac_cv_lib_m_main+set}" = set; then
90022 echo $ECHO_N "(cached) $ECHO_C" >&6
90023 else
90024 ac_check_lib_save_LIBS=$LIBS
90025 LIBS="-lm $LIBS"
90026 if test x$gcc_no_link = xyes; then
90027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90029 { (exit 1); exit 1; }; }
90031 cat >conftest.$ac_ext <<_ACEOF
90032 /* confdefs.h. */
90033 _ACEOF
90034 cat confdefs.h >>conftest.$ac_ext
90035 cat >>conftest.$ac_ext <<_ACEOF
90036 /* end confdefs.h. */
90040 main ()
90042 main ();
90044 return 0;
90046 _ACEOF
90047 rm -f conftest.$ac_objext conftest$ac_exeext
90048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90049 (eval $ac_link) 2>conftest.er1
90050 ac_status=$?
90051 grep -v '^ *+' conftest.er1 >conftest.err
90052 rm -f conftest.er1
90053 cat conftest.err >&5
90054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90055 (exit $ac_status); } &&
90056 { ac_try='test -z "$ac_c_werror_flag"
90057 || test ! -s conftest.err'
90058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90059 (eval $ac_try) 2>&5
90060 ac_status=$?
90061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90062 (exit $ac_status); }; } &&
90063 { ac_try='test -s conftest$ac_exeext'
90064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90065 (eval $ac_try) 2>&5
90066 ac_status=$?
90067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90068 (exit $ac_status); }; }; then
90069 ac_cv_lib_m_main=yes
90070 else
90071 echo "$as_me: failed program was:" >&5
90072 sed 's/^/| /' conftest.$ac_ext >&5
90074 ac_cv_lib_m_main=no
90076 rm -f conftest.err conftest.$ac_objext \
90077 conftest$ac_exeext conftest.$ac_ext
90078 LIBS=$ac_check_lib_save_LIBS
90080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90081 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90082 if test $ac_cv_lib_m_main = yes; then
90083 cat >>confdefs.h <<_ACEOF
90084 #define HAVE_LIBM 1
90085 _ACEOF
90087 LIBS="-lm $LIBS"
90092 for ac_func in copysignf
90094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90095 echo "$as_me:$LINENO: checking for $ac_func" >&5
90096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90097 if eval "test \"\${$as_ac_var+set}\" = set"; then
90098 echo $ECHO_N "(cached) $ECHO_C" >&6
90099 else
90100 if test x$gcc_no_link = xyes; then
90101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90103 { (exit 1); exit 1; }; }
90105 cat >conftest.$ac_ext <<_ACEOF
90106 /* confdefs.h. */
90107 _ACEOF
90108 cat confdefs.h >>conftest.$ac_ext
90109 cat >>conftest.$ac_ext <<_ACEOF
90110 /* end confdefs.h. */
90111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90113 #define $ac_func innocuous_$ac_func
90115 /* System header to define __stub macros and hopefully few prototypes,
90116 which can conflict with char $ac_func (); below.
90117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90118 <limits.h> exists even on freestanding compilers. */
90120 #ifdef __STDC__
90121 # include <limits.h>
90122 #else
90123 # include <assert.h>
90124 #endif
90126 #undef $ac_func
90128 /* Override any gcc2 internal prototype to avoid an error. */
90129 #ifdef __cplusplus
90130 extern "C"
90132 #endif
90133 /* We use char because int might match the return type of a gcc2
90134 builtin and then its argument prototype would still apply. */
90135 char $ac_func ();
90136 /* The GNU C library defines this for functions which it implements
90137 to always fail with ENOSYS. Some functions are actually named
90138 something starting with __ and the normal name is an alias. */
90139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90140 choke me
90141 #else
90142 char (*f) () = $ac_func;
90143 #endif
90144 #ifdef __cplusplus
90146 #endif
90149 main ()
90151 return f != $ac_func;
90153 return 0;
90155 _ACEOF
90156 rm -f conftest.$ac_objext conftest$ac_exeext
90157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90158 (eval $ac_link) 2>conftest.er1
90159 ac_status=$?
90160 grep -v '^ *+' conftest.er1 >conftest.err
90161 rm -f conftest.er1
90162 cat conftest.err >&5
90163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90164 (exit $ac_status); } &&
90165 { ac_try='test -z "$ac_c_werror_flag"
90166 || test ! -s conftest.err'
90167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90168 (eval $ac_try) 2>&5
90169 ac_status=$?
90170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90171 (exit $ac_status); }; } &&
90172 { ac_try='test -s conftest$ac_exeext'
90173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90174 (eval $ac_try) 2>&5
90175 ac_status=$?
90176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90177 (exit $ac_status); }; }; then
90178 eval "$as_ac_var=yes"
90179 else
90180 echo "$as_me: failed program was:" >&5
90181 sed 's/^/| /' conftest.$ac_ext >&5
90183 eval "$as_ac_var=no"
90185 rm -f conftest.err conftest.$ac_objext \
90186 conftest$ac_exeext conftest.$ac_ext
90188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90190 if test `eval echo '${'$as_ac_var'}'` = yes; then
90191 cat >>confdefs.h <<_ACEOF
90192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90193 _ACEOF
90195 else
90196 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90198 done
90202 for ac_func in __signbit
90204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90205 echo "$as_me:$LINENO: checking for $ac_func" >&5
90206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90207 if eval "test \"\${$as_ac_var+set}\" = set"; then
90208 echo $ECHO_N "(cached) $ECHO_C" >&6
90209 else
90210 if test x$gcc_no_link = xyes; then
90211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90213 { (exit 1); exit 1; }; }
90215 cat >conftest.$ac_ext <<_ACEOF
90216 /* confdefs.h. */
90217 _ACEOF
90218 cat confdefs.h >>conftest.$ac_ext
90219 cat >>conftest.$ac_ext <<_ACEOF
90220 /* end confdefs.h. */
90221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90223 #define $ac_func innocuous_$ac_func
90225 /* System header to define __stub macros and hopefully few prototypes,
90226 which can conflict with char $ac_func (); below.
90227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90228 <limits.h> exists even on freestanding compilers. */
90230 #ifdef __STDC__
90231 # include <limits.h>
90232 #else
90233 # include <assert.h>
90234 #endif
90236 #undef $ac_func
90238 /* Override any gcc2 internal prototype to avoid an error. */
90239 #ifdef __cplusplus
90240 extern "C"
90242 #endif
90243 /* We use char because int might match the return type of a gcc2
90244 builtin and then its argument prototype would still apply. */
90245 char $ac_func ();
90246 /* The GNU C library defines this for functions which it implements
90247 to always fail with ENOSYS. Some functions are actually named
90248 something starting with __ and the normal name is an alias. */
90249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90250 choke me
90251 #else
90252 char (*f) () = $ac_func;
90253 #endif
90254 #ifdef __cplusplus
90256 #endif
90259 main ()
90261 return f != $ac_func;
90263 return 0;
90265 _ACEOF
90266 rm -f conftest.$ac_objext conftest$ac_exeext
90267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90268 (eval $ac_link) 2>conftest.er1
90269 ac_status=$?
90270 grep -v '^ *+' conftest.er1 >conftest.err
90271 rm -f conftest.er1
90272 cat conftest.err >&5
90273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90274 (exit $ac_status); } &&
90275 { ac_try='test -z "$ac_c_werror_flag"
90276 || test ! -s conftest.err'
90277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90278 (eval $ac_try) 2>&5
90279 ac_status=$?
90280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90281 (exit $ac_status); }; } &&
90282 { ac_try='test -s conftest$ac_exeext'
90283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90284 (eval $ac_try) 2>&5
90285 ac_status=$?
90286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287 (exit $ac_status); }; }; then
90288 eval "$as_ac_var=yes"
90289 else
90290 echo "$as_me: failed program was:" >&5
90291 sed 's/^/| /' conftest.$ac_ext >&5
90293 eval "$as_ac_var=no"
90295 rm -f conftest.err conftest.$ac_objext \
90296 conftest$ac_exeext conftest.$ac_ext
90298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90300 if test `eval echo '${'$as_ac_var'}'` = yes; then
90301 cat >>confdefs.h <<_ACEOF
90302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90303 _ACEOF
90305 else
90306 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90308 done
90312 for ac_func in __signbitf
90314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90315 echo "$as_me:$LINENO: checking for $ac_func" >&5
90316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90317 if eval "test \"\${$as_ac_var+set}\" = set"; then
90318 echo $ECHO_N "(cached) $ECHO_C" >&6
90319 else
90320 if test x$gcc_no_link = xyes; then
90321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90323 { (exit 1); exit 1; }; }
90325 cat >conftest.$ac_ext <<_ACEOF
90326 /* confdefs.h. */
90327 _ACEOF
90328 cat confdefs.h >>conftest.$ac_ext
90329 cat >>conftest.$ac_ext <<_ACEOF
90330 /* end confdefs.h. */
90331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90333 #define $ac_func innocuous_$ac_func
90335 /* System header to define __stub macros and hopefully few prototypes,
90336 which can conflict with char $ac_func (); below.
90337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90338 <limits.h> exists even on freestanding compilers. */
90340 #ifdef __STDC__
90341 # include <limits.h>
90342 #else
90343 # include <assert.h>
90344 #endif
90346 #undef $ac_func
90348 /* Override any gcc2 internal prototype to avoid an error. */
90349 #ifdef __cplusplus
90350 extern "C"
90352 #endif
90353 /* We use char because int might match the return type of a gcc2
90354 builtin and then its argument prototype would still apply. */
90355 char $ac_func ();
90356 /* The GNU C library defines this for functions which it implements
90357 to always fail with ENOSYS. Some functions are actually named
90358 something starting with __ and the normal name is an alias. */
90359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90360 choke me
90361 #else
90362 char (*f) () = $ac_func;
90363 #endif
90364 #ifdef __cplusplus
90366 #endif
90369 main ()
90371 return f != $ac_func;
90373 return 0;
90375 _ACEOF
90376 rm -f conftest.$ac_objext conftest$ac_exeext
90377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90378 (eval $ac_link) 2>conftest.er1
90379 ac_status=$?
90380 grep -v '^ *+' conftest.er1 >conftest.err
90381 rm -f conftest.er1
90382 cat conftest.err >&5
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); } &&
90385 { ac_try='test -z "$ac_c_werror_flag"
90386 || test ! -s conftest.err'
90387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90388 (eval $ac_try) 2>&5
90389 ac_status=$?
90390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391 (exit $ac_status); }; } &&
90392 { ac_try='test -s conftest$ac_exeext'
90393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90394 (eval $ac_try) 2>&5
90395 ac_status=$?
90396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90397 (exit $ac_status); }; }; then
90398 eval "$as_ac_var=yes"
90399 else
90400 echo "$as_me: failed program was:" >&5
90401 sed 's/^/| /' conftest.$ac_ext >&5
90403 eval "$as_ac_var=no"
90405 rm -f conftest.err conftest.$ac_objext \
90406 conftest$ac_exeext conftest.$ac_ext
90408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90410 if test `eval echo '${'$as_ac_var'}'` = yes; then
90411 cat >>confdefs.h <<_ACEOF
90412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90413 _ACEOF
90415 else
90416 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90418 done
90421 if test x$ac_cv_func_copysignl = x"yes"; then
90423 for ac_func in __signbitl
90425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90426 echo "$as_me:$LINENO: checking for $ac_func" >&5
90427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90428 if eval "test \"\${$as_ac_var+set}\" = set"; then
90429 echo $ECHO_N "(cached) $ECHO_C" >&6
90430 else
90431 if test x$gcc_no_link = xyes; then
90432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90434 { (exit 1); exit 1; }; }
90436 cat >conftest.$ac_ext <<_ACEOF
90437 /* confdefs.h. */
90438 _ACEOF
90439 cat confdefs.h >>conftest.$ac_ext
90440 cat >>conftest.$ac_ext <<_ACEOF
90441 /* end confdefs.h. */
90442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90444 #define $ac_func innocuous_$ac_func
90446 /* System header to define __stub macros and hopefully few prototypes,
90447 which can conflict with char $ac_func (); below.
90448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90449 <limits.h> exists even on freestanding compilers. */
90451 #ifdef __STDC__
90452 # include <limits.h>
90453 #else
90454 # include <assert.h>
90455 #endif
90457 #undef $ac_func
90459 /* Override any gcc2 internal prototype to avoid an error. */
90460 #ifdef __cplusplus
90461 extern "C"
90463 #endif
90464 /* We use char because int might match the return type of a gcc2
90465 builtin and then its argument prototype would still apply. */
90466 char $ac_func ();
90467 /* The GNU C library defines this for functions which it implements
90468 to always fail with ENOSYS. Some functions are actually named
90469 something starting with __ and the normal name is an alias. */
90470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90471 choke me
90472 #else
90473 char (*f) () = $ac_func;
90474 #endif
90475 #ifdef __cplusplus
90477 #endif
90480 main ()
90482 return f != $ac_func;
90484 return 0;
90486 _ACEOF
90487 rm -f conftest.$ac_objext conftest$ac_exeext
90488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90489 (eval $ac_link) 2>conftest.er1
90490 ac_status=$?
90491 grep -v '^ *+' conftest.er1 >conftest.err
90492 rm -f conftest.er1
90493 cat conftest.err >&5
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); } &&
90496 { ac_try='test -z "$ac_c_werror_flag"
90497 || test ! -s conftest.err'
90498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90499 (eval $ac_try) 2>&5
90500 ac_status=$?
90501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502 (exit $ac_status); }; } &&
90503 { ac_try='test -s conftest$ac_exeext'
90504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90505 (eval $ac_try) 2>&5
90506 ac_status=$?
90507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90508 (exit $ac_status); }; }; then
90509 eval "$as_ac_var=yes"
90510 else
90511 echo "$as_me: failed program was:" >&5
90512 sed 's/^/| /' conftest.$ac_ext >&5
90514 eval "$as_ac_var=no"
90516 rm -f conftest.err conftest.$ac_objext \
90517 conftest$ac_exeext conftest.$ac_ext
90519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90521 if test `eval echo '${'$as_ac_var'}'` = yes; then
90522 cat >>confdefs.h <<_ACEOF
90523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90524 _ACEOF
90526 else
90527 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90529 done
90533 # Used in libmath/Makefile.am.
90534 if test -n "$LIBMATHOBJS"; then
90535 need_libmath=yes
90540 # Test wchar.h for mbstate_t, which is needed for char_traits and
90541 # others even if wchar_t support is not on.
90542 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90543 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90544 cat >conftest.$ac_ext <<_ACEOF
90545 /* confdefs.h. */
90546 _ACEOF
90547 cat confdefs.h >>conftest.$ac_ext
90548 cat >>conftest.$ac_ext <<_ACEOF
90549 /* end confdefs.h. */
90550 #include <wchar.h>
90552 main ()
90554 mbstate_t teststate;
90556 return 0;
90558 _ACEOF
90559 rm -f conftest.$ac_objext
90560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90561 (eval $ac_compile) 2>conftest.er1
90562 ac_status=$?
90563 grep -v '^ *+' conftest.er1 >conftest.err
90564 rm -f conftest.er1
90565 cat conftest.err >&5
90566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90567 (exit $ac_status); } &&
90568 { ac_try='test -z "$ac_c_werror_flag"
90569 || test ! -s conftest.err'
90570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90571 (eval $ac_try) 2>&5
90572 ac_status=$?
90573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90574 (exit $ac_status); }; } &&
90575 { ac_try='test -s conftest.$ac_objext'
90576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90577 (eval $ac_try) 2>&5
90578 ac_status=$?
90579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90580 (exit $ac_status); }; }; then
90581 have_mbstate_t=yes
90582 else
90583 echo "$as_me: failed program was:" >&5
90584 sed 's/^/| /' conftest.$ac_ext >&5
90586 have_mbstate_t=no
90588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90589 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90590 echo "${ECHO_T}$have_mbstate_t" >&6
90591 if test x"$have_mbstate_t" = xyes; then
90592 cat >>confdefs.h <<\_ACEOF
90593 #define HAVE_MBSTATE_T 1
90594 _ACEOF
90598 # Sanity check for existence of ISO C99 headers for extended encoding.
90600 for ac_header in wchar.h
90602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90604 echo "$as_me:$LINENO: checking for $ac_header" >&5
90605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90607 echo $ECHO_N "(cached) $ECHO_C" >&6
90609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90611 else
90612 # Is the header compilable?
90613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90615 cat >conftest.$ac_ext <<_ACEOF
90616 /* confdefs.h. */
90617 _ACEOF
90618 cat confdefs.h >>conftest.$ac_ext
90619 cat >>conftest.$ac_ext <<_ACEOF
90620 /* end confdefs.h. */
90621 $ac_includes_default
90622 #include <$ac_header>
90623 _ACEOF
90624 rm -f conftest.$ac_objext
90625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90626 (eval $ac_compile) 2>conftest.er1
90627 ac_status=$?
90628 grep -v '^ *+' conftest.er1 >conftest.err
90629 rm -f conftest.er1
90630 cat conftest.err >&5
90631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90632 (exit $ac_status); } &&
90633 { ac_try='test -z "$ac_c_werror_flag"
90634 || test ! -s conftest.err'
90635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90636 (eval $ac_try) 2>&5
90637 ac_status=$?
90638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90639 (exit $ac_status); }; } &&
90640 { ac_try='test -s conftest.$ac_objext'
90641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90642 (eval $ac_try) 2>&5
90643 ac_status=$?
90644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90645 (exit $ac_status); }; }; then
90646 ac_header_compiler=yes
90647 else
90648 echo "$as_me: failed program was:" >&5
90649 sed 's/^/| /' conftest.$ac_ext >&5
90651 ac_header_compiler=no
90653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90655 echo "${ECHO_T}$ac_header_compiler" >&6
90657 # Is the header present?
90658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90660 cat >conftest.$ac_ext <<_ACEOF
90661 /* confdefs.h. */
90662 _ACEOF
90663 cat confdefs.h >>conftest.$ac_ext
90664 cat >>conftest.$ac_ext <<_ACEOF
90665 /* end confdefs.h. */
90666 #include <$ac_header>
90667 _ACEOF
90668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90670 ac_status=$?
90671 grep -v '^ *+' conftest.er1 >conftest.err
90672 rm -f conftest.er1
90673 cat conftest.err >&5
90674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90675 (exit $ac_status); } >/dev/null; then
90676 if test -s conftest.err; then
90677 ac_cpp_err=$ac_c_preproc_warn_flag
90678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90679 else
90680 ac_cpp_err=
90682 else
90683 ac_cpp_err=yes
90685 if test -z "$ac_cpp_err"; then
90686 ac_header_preproc=yes
90687 else
90688 echo "$as_me: failed program was:" >&5
90689 sed 's/^/| /' conftest.$ac_ext >&5
90691 ac_header_preproc=no
90693 rm -f conftest.err conftest.$ac_ext
90694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90695 echo "${ECHO_T}$ac_header_preproc" >&6
90697 # So? What about this header?
90698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90699 yes:no: )
90700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90704 ac_header_preproc=yes
90706 no:yes:* )
90707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90720 cat <<\_ASBOX
90721 ## ----------------------------------------- ##
90722 ## Report this to the package-unused lists. ##
90723 ## ----------------------------------------- ##
90724 _ASBOX
90726 sed "s/^/$as_me: WARNING: /" >&2
90728 esac
90729 echo "$as_me:$LINENO: checking for $ac_header" >&5
90730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90732 echo $ECHO_N "(cached) $ECHO_C" >&6
90733 else
90734 eval "$as_ac_Header=\$ac_header_preproc"
90736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90741 cat >>confdefs.h <<_ACEOF
90742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90743 _ACEOF
90744 ac_has_wchar_h=yes
90745 else
90746 ac_has_wchar_h=no
90749 done
90752 for ac_header in wctype.h
90754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90756 echo "$as_me:$LINENO: checking for $ac_header" >&5
90757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90759 echo $ECHO_N "(cached) $ECHO_C" >&6
90761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90763 else
90764 # Is the header compilable?
90765 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90767 cat >conftest.$ac_ext <<_ACEOF
90768 /* confdefs.h. */
90769 _ACEOF
90770 cat confdefs.h >>conftest.$ac_ext
90771 cat >>conftest.$ac_ext <<_ACEOF
90772 /* end confdefs.h. */
90773 $ac_includes_default
90774 #include <$ac_header>
90775 _ACEOF
90776 rm -f conftest.$ac_objext
90777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90778 (eval $ac_compile) 2>conftest.er1
90779 ac_status=$?
90780 grep -v '^ *+' conftest.er1 >conftest.err
90781 rm -f conftest.er1
90782 cat conftest.err >&5
90783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90784 (exit $ac_status); } &&
90785 { ac_try='test -z "$ac_c_werror_flag"
90786 || test ! -s conftest.err'
90787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90788 (eval $ac_try) 2>&5
90789 ac_status=$?
90790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90791 (exit $ac_status); }; } &&
90792 { ac_try='test -s conftest.$ac_objext'
90793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90794 (eval $ac_try) 2>&5
90795 ac_status=$?
90796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90797 (exit $ac_status); }; }; then
90798 ac_header_compiler=yes
90799 else
90800 echo "$as_me: failed program was:" >&5
90801 sed 's/^/| /' conftest.$ac_ext >&5
90803 ac_header_compiler=no
90805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90807 echo "${ECHO_T}$ac_header_compiler" >&6
90809 # Is the header present?
90810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90812 cat >conftest.$ac_ext <<_ACEOF
90813 /* confdefs.h. */
90814 _ACEOF
90815 cat confdefs.h >>conftest.$ac_ext
90816 cat >>conftest.$ac_ext <<_ACEOF
90817 /* end confdefs.h. */
90818 #include <$ac_header>
90819 _ACEOF
90820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90822 ac_status=$?
90823 grep -v '^ *+' conftest.er1 >conftest.err
90824 rm -f conftest.er1
90825 cat conftest.err >&5
90826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90827 (exit $ac_status); } >/dev/null; then
90828 if test -s conftest.err; then
90829 ac_cpp_err=$ac_c_preproc_warn_flag
90830 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90831 else
90832 ac_cpp_err=
90834 else
90835 ac_cpp_err=yes
90837 if test -z "$ac_cpp_err"; then
90838 ac_header_preproc=yes
90839 else
90840 echo "$as_me: failed program was:" >&5
90841 sed 's/^/| /' conftest.$ac_ext >&5
90843 ac_header_preproc=no
90845 rm -f conftest.err conftest.$ac_ext
90846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90847 echo "${ECHO_T}$ac_header_preproc" >&6
90849 # So? What about this header?
90850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90851 yes:no: )
90852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90856 ac_header_preproc=yes
90858 no:yes:* )
90859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90872 cat <<\_ASBOX
90873 ## ----------------------------------------- ##
90874 ## Report this to the package-unused lists. ##
90875 ## ----------------------------------------- ##
90876 _ASBOX
90878 sed "s/^/$as_me: WARNING: /" >&2
90880 esac
90881 echo "$as_me:$LINENO: checking for $ac_header" >&5
90882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90884 echo $ECHO_N "(cached) $ECHO_C" >&6
90885 else
90886 eval "$as_ac_Header=\$ac_header_preproc"
90888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90893 cat >>confdefs.h <<_ACEOF
90894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90895 _ACEOF
90896 ac_has_wctype_h=yes
90897 else
90898 ac_has_wctype_h=no
90901 done
90904 # Only continue checking if the ISO C99 headers exist and support is on.
90905 if test x"$ac_has_wchar_h" = xyes &&
90906 test x"$ac_has_wctype_h" = xyes &&
90907 test x"$enable_c_mbchar" != xno; then
90909 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90910 # numeric_limits can instantiate type_traits<wchar_t>
90911 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90912 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90913 cat >conftest.$ac_ext <<_ACEOF
90914 /* confdefs.h. */
90915 _ACEOF
90916 cat confdefs.h >>conftest.$ac_ext
90917 cat >>conftest.$ac_ext <<_ACEOF
90918 /* end confdefs.h. */
90919 #include <wchar.h>
90921 main ()
90923 int i = WCHAR_MIN; int j = WCHAR_MAX;
90925 return 0;
90927 _ACEOF
90928 rm -f conftest.$ac_objext
90929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90930 (eval $ac_compile) 2>conftest.er1
90931 ac_status=$?
90932 grep -v '^ *+' conftest.er1 >conftest.err
90933 rm -f conftest.er1
90934 cat conftest.err >&5
90935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936 (exit $ac_status); } &&
90937 { ac_try='test -z "$ac_c_werror_flag"
90938 || test ! -s conftest.err'
90939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940 (eval $ac_try) 2>&5
90941 ac_status=$?
90942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943 (exit $ac_status); }; } &&
90944 { ac_try='test -s conftest.$ac_objext'
90945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90946 (eval $ac_try) 2>&5
90947 ac_status=$?
90948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949 (exit $ac_status); }; }; then
90950 has_wchar_minmax=yes
90951 else
90952 echo "$as_me: failed program was:" >&5
90953 sed 's/^/| /' conftest.$ac_ext >&5
90955 has_wchar_minmax=no
90957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90958 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90959 echo "${ECHO_T}$has_wchar_minmax" >&6
90961 # Test wchar.h for WEOF, which is what we use to determine whether
90962 # to specialize for char_traits<wchar_t> or not.
90963 echo "$as_me:$LINENO: checking for WEOF" >&5
90964 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90965 cat >conftest.$ac_ext <<_ACEOF
90966 /* confdefs.h. */
90967 _ACEOF
90968 cat confdefs.h >>conftest.$ac_ext
90969 cat >>conftest.$ac_ext <<_ACEOF
90970 /* end confdefs.h. */
90972 #include <wchar.h>
90973 #include <stddef.h>
90975 main ()
90977 wint_t i = WEOF;
90979 return 0;
90981 _ACEOF
90982 rm -f conftest.$ac_objext
90983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90984 (eval $ac_compile) 2>conftest.er1
90985 ac_status=$?
90986 grep -v '^ *+' conftest.er1 >conftest.err
90987 rm -f conftest.er1
90988 cat conftest.err >&5
90989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90990 (exit $ac_status); } &&
90991 { ac_try='test -z "$ac_c_werror_flag"
90992 || test ! -s conftest.err'
90993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90994 (eval $ac_try) 2>&5
90995 ac_status=$?
90996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90997 (exit $ac_status); }; } &&
90998 { ac_try='test -s conftest.$ac_objext'
90999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91000 (eval $ac_try) 2>&5
91001 ac_status=$?
91002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91003 (exit $ac_status); }; }; then
91004 has_weof=yes
91005 else
91006 echo "$as_me: failed program was:" >&5
91007 sed 's/^/| /' conftest.$ac_ext >&5
91009 has_weof=no
91011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91012 echo "$as_me:$LINENO: result: $has_weof" >&5
91013 echo "${ECHO_T}$has_weof" >&6
91015 # Tests for wide character functions used in char_traits<wchar_t>.
91016 ac_wfuncs=yes
91023 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91026 echo "$as_me:$LINENO: checking for $ac_func" >&5
91027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91028 if eval "test \"\${$as_ac_var+set}\" = set"; then
91029 echo $ECHO_N "(cached) $ECHO_C" >&6
91030 else
91031 if test x$gcc_no_link = xyes; then
91032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91034 { (exit 1); exit 1; }; }
91036 cat >conftest.$ac_ext <<_ACEOF
91037 /* confdefs.h. */
91038 _ACEOF
91039 cat confdefs.h >>conftest.$ac_ext
91040 cat >>conftest.$ac_ext <<_ACEOF
91041 /* end confdefs.h. */
91042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91044 #define $ac_func innocuous_$ac_func
91046 /* System header to define __stub macros and hopefully few prototypes,
91047 which can conflict with char $ac_func (); below.
91048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91049 <limits.h> exists even on freestanding compilers. */
91051 #ifdef __STDC__
91052 # include <limits.h>
91053 #else
91054 # include <assert.h>
91055 #endif
91057 #undef $ac_func
91059 /* Override any gcc2 internal prototype to avoid an error. */
91060 #ifdef __cplusplus
91061 extern "C"
91063 #endif
91064 /* We use char because int might match the return type of a gcc2
91065 builtin and then its argument prototype would still apply. */
91066 char $ac_func ();
91067 /* The GNU C library defines this for functions which it implements
91068 to always fail with ENOSYS. Some functions are actually named
91069 something starting with __ and the normal name is an alias. */
91070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91071 choke me
91072 #else
91073 char (*f) () = $ac_func;
91074 #endif
91075 #ifdef __cplusplus
91077 #endif
91080 main ()
91082 return f != $ac_func;
91084 return 0;
91086 _ACEOF
91087 rm -f conftest.$ac_objext conftest$ac_exeext
91088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91089 (eval $ac_link) 2>conftest.er1
91090 ac_status=$?
91091 grep -v '^ *+' conftest.er1 >conftest.err
91092 rm -f conftest.er1
91093 cat conftest.err >&5
91094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91095 (exit $ac_status); } &&
91096 { ac_try='test -z "$ac_c_werror_flag"
91097 || test ! -s conftest.err'
91098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91099 (eval $ac_try) 2>&5
91100 ac_status=$?
91101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91102 (exit $ac_status); }; } &&
91103 { ac_try='test -s conftest$ac_exeext'
91104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91105 (eval $ac_try) 2>&5
91106 ac_status=$?
91107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91108 (exit $ac_status); }; }; then
91109 eval "$as_ac_var=yes"
91110 else
91111 echo "$as_me: failed program was:" >&5
91112 sed 's/^/| /' conftest.$ac_ext >&5
91114 eval "$as_ac_var=no"
91116 rm -f conftest.err conftest.$ac_objext \
91117 conftest$ac_exeext conftest.$ac_ext
91119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91121 if test `eval echo '${'$as_ac_var'}'` = yes; then
91122 cat >>confdefs.h <<_ACEOF
91123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91124 _ACEOF
91126 else
91127 ac_wfuncs=no
91129 done
91132 # Checks for names injected into std:: by the c_std headers.
91179 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91180 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91181 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91182 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91183 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91184 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91187 echo "$as_me:$LINENO: checking for $ac_func" >&5
91188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91189 if eval "test \"\${$as_ac_var+set}\" = set"; then
91190 echo $ECHO_N "(cached) $ECHO_C" >&6
91191 else
91192 if test x$gcc_no_link = xyes; then
91193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91195 { (exit 1); exit 1; }; }
91197 cat >conftest.$ac_ext <<_ACEOF
91198 /* confdefs.h. */
91199 _ACEOF
91200 cat confdefs.h >>conftest.$ac_ext
91201 cat >>conftest.$ac_ext <<_ACEOF
91202 /* end confdefs.h. */
91203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91205 #define $ac_func innocuous_$ac_func
91207 /* System header to define __stub macros and hopefully few prototypes,
91208 which can conflict with char $ac_func (); below.
91209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91210 <limits.h> exists even on freestanding compilers. */
91212 #ifdef __STDC__
91213 # include <limits.h>
91214 #else
91215 # include <assert.h>
91216 #endif
91218 #undef $ac_func
91220 /* Override any gcc2 internal prototype to avoid an error. */
91221 #ifdef __cplusplus
91222 extern "C"
91224 #endif
91225 /* We use char because int might match the return type of a gcc2
91226 builtin and then its argument prototype would still apply. */
91227 char $ac_func ();
91228 /* The GNU C library defines this for functions which it implements
91229 to always fail with ENOSYS. Some functions are actually named
91230 something starting with __ and the normal name is an alias. */
91231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91232 choke me
91233 #else
91234 char (*f) () = $ac_func;
91235 #endif
91236 #ifdef __cplusplus
91238 #endif
91241 main ()
91243 return f != $ac_func;
91245 return 0;
91247 _ACEOF
91248 rm -f conftest.$ac_objext conftest$ac_exeext
91249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91250 (eval $ac_link) 2>conftest.er1
91251 ac_status=$?
91252 grep -v '^ *+' conftest.er1 >conftest.err
91253 rm -f conftest.er1
91254 cat conftest.err >&5
91255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91256 (exit $ac_status); } &&
91257 { ac_try='test -z "$ac_c_werror_flag"
91258 || test ! -s conftest.err'
91259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91260 (eval $ac_try) 2>&5
91261 ac_status=$?
91262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91263 (exit $ac_status); }; } &&
91264 { ac_try='test -s conftest$ac_exeext'
91265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91266 (eval $ac_try) 2>&5
91267 ac_status=$?
91268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91269 (exit $ac_status); }; }; then
91270 eval "$as_ac_var=yes"
91271 else
91272 echo "$as_me: failed program was:" >&5
91273 sed 's/^/| /' conftest.$ac_ext >&5
91275 eval "$as_ac_var=no"
91277 rm -f conftest.err conftest.$ac_objext \
91278 conftest$ac_exeext conftest.$ac_ext
91280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91282 if test `eval echo '${'$as_ac_var'}'` = yes; then
91283 cat >>confdefs.h <<_ACEOF
91284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91285 _ACEOF
91287 else
91288 ac_wfuncs=no
91290 done
91293 # Checks for wide character functions that are not required
91294 # for basic wchar_t support. Don't disable support if they are missing.
91295 # Injection of these is wrapped with guard macros.
91301 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91304 echo "$as_me:$LINENO: checking for $ac_func" >&5
91305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91306 if eval "test \"\${$as_ac_var+set}\" = set"; then
91307 echo $ECHO_N "(cached) $ECHO_C" >&6
91308 else
91309 if test x$gcc_no_link = xyes; then
91310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91312 { (exit 1); exit 1; }; }
91314 cat >conftest.$ac_ext <<_ACEOF
91315 /* confdefs.h. */
91316 _ACEOF
91317 cat confdefs.h >>conftest.$ac_ext
91318 cat >>conftest.$ac_ext <<_ACEOF
91319 /* end confdefs.h. */
91320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91322 #define $ac_func innocuous_$ac_func
91324 /* System header to define __stub macros and hopefully few prototypes,
91325 which can conflict with char $ac_func (); below.
91326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91327 <limits.h> exists even on freestanding compilers. */
91329 #ifdef __STDC__
91330 # include <limits.h>
91331 #else
91332 # include <assert.h>
91333 #endif
91335 #undef $ac_func
91337 /* Override any gcc2 internal prototype to avoid an error. */
91338 #ifdef __cplusplus
91339 extern "C"
91341 #endif
91342 /* We use char because int might match the return type of a gcc2
91343 builtin and then its argument prototype would still apply. */
91344 char $ac_func ();
91345 /* The GNU C library defines this for functions which it implements
91346 to always fail with ENOSYS. Some functions are actually named
91347 something starting with __ and the normal name is an alias. */
91348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91349 choke me
91350 #else
91351 char (*f) () = $ac_func;
91352 #endif
91353 #ifdef __cplusplus
91355 #endif
91358 main ()
91360 return f != $ac_func;
91362 return 0;
91364 _ACEOF
91365 rm -f conftest.$ac_objext conftest$ac_exeext
91366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91367 (eval $ac_link) 2>conftest.er1
91368 ac_status=$?
91369 grep -v '^ *+' conftest.er1 >conftest.err
91370 rm -f conftest.er1
91371 cat conftest.err >&5
91372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91373 (exit $ac_status); } &&
91374 { ac_try='test -z "$ac_c_werror_flag"
91375 || test ! -s conftest.err'
91376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91377 (eval $ac_try) 2>&5
91378 ac_status=$?
91379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91380 (exit $ac_status); }; } &&
91381 { ac_try='test -s conftest$ac_exeext'
91382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91383 (eval $ac_try) 2>&5
91384 ac_status=$?
91385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91386 (exit $ac_status); }; }; then
91387 eval "$as_ac_var=yes"
91388 else
91389 echo "$as_me: failed program was:" >&5
91390 sed 's/^/| /' conftest.$ac_ext >&5
91392 eval "$as_ac_var=no"
91394 rm -f conftest.err conftest.$ac_objext \
91395 conftest$ac_exeext conftest.$ac_ext
91397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91399 if test `eval echo '${'$as_ac_var'}'` = yes; then
91400 cat >>confdefs.h <<_ACEOF
91401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91402 _ACEOF
91405 done
91408 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91409 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91410 if test x"$has_weof" = xyes &&
91411 test x"$has_wchar_minmax" = xyes &&
91412 test x"$ac_wfuncs" = xyes;
91413 then
91414 ac_isoC99_wchar_t=yes
91415 else
91416 ac_isoC99_wchar_t=no
91418 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91419 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91421 # Use iconv for wchar_t to char conversions. As such, check for
91422 # X/Open Portability Guide, version 2 features (XPG2).
91423 if test "${ac_cv_header_iconv_h+set}" = set; then
91424 echo "$as_me:$LINENO: checking for iconv.h" >&5
91425 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91426 if test "${ac_cv_header_iconv_h+set}" = set; then
91427 echo $ECHO_N "(cached) $ECHO_C" >&6
91429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91431 else
91432 # Is the header compilable?
91433 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91434 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91435 cat >conftest.$ac_ext <<_ACEOF
91436 /* confdefs.h. */
91437 _ACEOF
91438 cat confdefs.h >>conftest.$ac_ext
91439 cat >>conftest.$ac_ext <<_ACEOF
91440 /* end confdefs.h. */
91441 $ac_includes_default
91442 #include <iconv.h>
91443 _ACEOF
91444 rm -f conftest.$ac_objext
91445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91446 (eval $ac_compile) 2>conftest.er1
91447 ac_status=$?
91448 grep -v '^ *+' conftest.er1 >conftest.err
91449 rm -f conftest.er1
91450 cat conftest.err >&5
91451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91452 (exit $ac_status); } &&
91453 { ac_try='test -z "$ac_c_werror_flag"
91454 || test ! -s conftest.err'
91455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91456 (eval $ac_try) 2>&5
91457 ac_status=$?
91458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91459 (exit $ac_status); }; } &&
91460 { ac_try='test -s conftest.$ac_objext'
91461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91462 (eval $ac_try) 2>&5
91463 ac_status=$?
91464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91465 (exit $ac_status); }; }; then
91466 ac_header_compiler=yes
91467 else
91468 echo "$as_me: failed program was:" >&5
91469 sed 's/^/| /' conftest.$ac_ext >&5
91471 ac_header_compiler=no
91473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91475 echo "${ECHO_T}$ac_header_compiler" >&6
91477 # Is the header present?
91478 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91479 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91480 cat >conftest.$ac_ext <<_ACEOF
91481 /* confdefs.h. */
91482 _ACEOF
91483 cat confdefs.h >>conftest.$ac_ext
91484 cat >>conftest.$ac_ext <<_ACEOF
91485 /* end confdefs.h. */
91486 #include <iconv.h>
91487 _ACEOF
91488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91490 ac_status=$?
91491 grep -v '^ *+' conftest.er1 >conftest.err
91492 rm -f conftest.er1
91493 cat conftest.err >&5
91494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495 (exit $ac_status); } >/dev/null; then
91496 if test -s conftest.err; then
91497 ac_cpp_err=$ac_c_preproc_warn_flag
91498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91499 else
91500 ac_cpp_err=
91502 else
91503 ac_cpp_err=yes
91505 if test -z "$ac_cpp_err"; then
91506 ac_header_preproc=yes
91507 else
91508 echo "$as_me: failed program was:" >&5
91509 sed 's/^/| /' conftest.$ac_ext >&5
91511 ac_header_preproc=no
91513 rm -f conftest.err conftest.$ac_ext
91514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91515 echo "${ECHO_T}$ac_header_preproc" >&6
91517 # So? What about this header?
91518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91519 yes:no: )
91520 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91521 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91522 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91523 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91524 ac_header_preproc=yes
91526 no:yes:* )
91527 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91528 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91529 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91530 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91531 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91532 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91533 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91534 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91535 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91536 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91537 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91538 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91540 cat <<\_ASBOX
91541 ## ----------------------------------------- ##
91542 ## Report this to the package-unused lists. ##
91543 ## ----------------------------------------- ##
91544 _ASBOX
91546 sed "s/^/$as_me: WARNING: /" >&2
91548 esac
91549 echo "$as_me:$LINENO: checking for iconv.h" >&5
91550 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91551 if test "${ac_cv_header_iconv_h+set}" = set; then
91552 echo $ECHO_N "(cached) $ECHO_C" >&6
91553 else
91554 ac_cv_header_iconv_h=$ac_header_preproc
91556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91560 if test $ac_cv_header_iconv_h = yes; then
91561 ac_has_iconv_h=yes
91562 else
91563 ac_has_iconv_h=no
91567 if test "${ac_cv_header_langinfo_h+set}" = set; then
91568 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91569 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91570 if test "${ac_cv_header_langinfo_h+set}" = set; then
91571 echo $ECHO_N "(cached) $ECHO_C" >&6
91573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91575 else
91576 # Is the header compilable?
91577 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91578 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91579 cat >conftest.$ac_ext <<_ACEOF
91580 /* confdefs.h. */
91581 _ACEOF
91582 cat confdefs.h >>conftest.$ac_ext
91583 cat >>conftest.$ac_ext <<_ACEOF
91584 /* end confdefs.h. */
91585 $ac_includes_default
91586 #include <langinfo.h>
91587 _ACEOF
91588 rm -f conftest.$ac_objext
91589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91590 (eval $ac_compile) 2>conftest.er1
91591 ac_status=$?
91592 grep -v '^ *+' conftest.er1 >conftest.err
91593 rm -f conftest.er1
91594 cat conftest.err >&5
91595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596 (exit $ac_status); } &&
91597 { ac_try='test -z "$ac_c_werror_flag"
91598 || test ! -s conftest.err'
91599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91600 (eval $ac_try) 2>&5
91601 ac_status=$?
91602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91603 (exit $ac_status); }; } &&
91604 { ac_try='test -s conftest.$ac_objext'
91605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91606 (eval $ac_try) 2>&5
91607 ac_status=$?
91608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91609 (exit $ac_status); }; }; then
91610 ac_header_compiler=yes
91611 else
91612 echo "$as_me: failed program was:" >&5
91613 sed 's/^/| /' conftest.$ac_ext >&5
91615 ac_header_compiler=no
91617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91619 echo "${ECHO_T}$ac_header_compiler" >&6
91621 # Is the header present?
91622 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91623 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91624 cat >conftest.$ac_ext <<_ACEOF
91625 /* confdefs.h. */
91626 _ACEOF
91627 cat confdefs.h >>conftest.$ac_ext
91628 cat >>conftest.$ac_ext <<_ACEOF
91629 /* end confdefs.h. */
91630 #include <langinfo.h>
91631 _ACEOF
91632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91634 ac_status=$?
91635 grep -v '^ *+' conftest.er1 >conftest.err
91636 rm -f conftest.er1
91637 cat conftest.err >&5
91638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91639 (exit $ac_status); } >/dev/null; then
91640 if test -s conftest.err; then
91641 ac_cpp_err=$ac_c_preproc_warn_flag
91642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91643 else
91644 ac_cpp_err=
91646 else
91647 ac_cpp_err=yes
91649 if test -z "$ac_cpp_err"; then
91650 ac_header_preproc=yes
91651 else
91652 echo "$as_me: failed program was:" >&5
91653 sed 's/^/| /' conftest.$ac_ext >&5
91655 ac_header_preproc=no
91657 rm -f conftest.err conftest.$ac_ext
91658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91659 echo "${ECHO_T}$ac_header_preproc" >&6
91661 # So? What about this header?
91662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91663 yes:no: )
91664 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91665 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91666 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91667 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91668 ac_header_preproc=yes
91670 no:yes:* )
91671 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91672 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91673 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91674 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91675 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91676 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91677 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91678 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91679 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91680 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91681 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91682 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91684 cat <<\_ASBOX
91685 ## ----------------------------------------- ##
91686 ## Report this to the package-unused lists. ##
91687 ## ----------------------------------------- ##
91688 _ASBOX
91690 sed "s/^/$as_me: WARNING: /" >&2
91692 esac
91693 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91694 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91695 if test "${ac_cv_header_langinfo_h+set}" = set; then
91696 echo $ECHO_N "(cached) $ECHO_C" >&6
91697 else
91698 ac_cv_header_langinfo_h=$ac_header_preproc
91700 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91701 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91704 if test $ac_cv_header_langinfo_h = yes; then
91705 ac_has_langinfo_h=yes
91706 else
91707 ac_has_langinfo_h=no
91712 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91713 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91714 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91715 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91716 echo $ECHO_N "(cached) $ECHO_C" >&6
91717 else
91718 ac_check_lib_save_LIBS=$LIBS
91719 LIBS="-liconv $LIBS"
91720 if test x$gcc_no_link = xyes; then
91721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91723 { (exit 1); exit 1; }; }
91725 cat >conftest.$ac_ext <<_ACEOF
91726 /* confdefs.h. */
91727 _ACEOF
91728 cat confdefs.h >>conftest.$ac_ext
91729 cat >>conftest.$ac_ext <<_ACEOF
91730 /* end confdefs.h. */
91732 /* Override any gcc2 internal prototype to avoid an error. */
91733 #ifdef __cplusplus
91734 extern "C"
91735 #endif
91736 /* We use char because int might match the return type of a gcc2
91737 builtin and then its argument prototype would still apply. */
91738 char iconv ();
91740 main ()
91742 iconv ();
91744 return 0;
91746 _ACEOF
91747 rm -f conftest.$ac_objext conftest$ac_exeext
91748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91749 (eval $ac_link) 2>conftest.er1
91750 ac_status=$?
91751 grep -v '^ *+' conftest.er1 >conftest.err
91752 rm -f conftest.er1
91753 cat conftest.err >&5
91754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91755 (exit $ac_status); } &&
91756 { ac_try='test -z "$ac_c_werror_flag"
91757 || test ! -s conftest.err'
91758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91759 (eval $ac_try) 2>&5
91760 ac_status=$?
91761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91762 (exit $ac_status); }; } &&
91763 { ac_try='test -s conftest$ac_exeext'
91764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91765 (eval $ac_try) 2>&5
91766 ac_status=$?
91767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768 (exit $ac_status); }; }; then
91769 ac_cv_lib_iconv_iconv=yes
91770 else
91771 echo "$as_me: failed program was:" >&5
91772 sed 's/^/| /' conftest.$ac_ext >&5
91774 ac_cv_lib_iconv_iconv=no
91776 rm -f conftest.err conftest.$ac_objext \
91777 conftest$ac_exeext conftest.$ac_ext
91778 LIBS=$ac_check_lib_save_LIBS
91780 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91781 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91782 if test $ac_cv_lib_iconv_iconv = yes; then
91783 LIBICONV="-liconv"
91786 ac_save_LIBS="$LIBS"
91787 LIBS="$LIBS $LIBICONV"
91794 for ac_func in iconv_open iconv_close iconv nl_langinfo
91796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91797 echo "$as_me:$LINENO: checking for $ac_func" >&5
91798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91799 if eval "test \"\${$as_ac_var+set}\" = set"; then
91800 echo $ECHO_N "(cached) $ECHO_C" >&6
91801 else
91802 if test x$gcc_no_link = xyes; then
91803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91805 { (exit 1); exit 1; }; }
91807 cat >conftest.$ac_ext <<_ACEOF
91808 /* confdefs.h. */
91809 _ACEOF
91810 cat confdefs.h >>conftest.$ac_ext
91811 cat >>conftest.$ac_ext <<_ACEOF
91812 /* end confdefs.h. */
91813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91815 #define $ac_func innocuous_$ac_func
91817 /* System header to define __stub macros and hopefully few prototypes,
91818 which can conflict with char $ac_func (); below.
91819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91820 <limits.h> exists even on freestanding compilers. */
91822 #ifdef __STDC__
91823 # include <limits.h>
91824 #else
91825 # include <assert.h>
91826 #endif
91828 #undef $ac_func
91830 /* Override any gcc2 internal prototype to avoid an error. */
91831 #ifdef __cplusplus
91832 extern "C"
91834 #endif
91835 /* We use char because int might match the return type of a gcc2
91836 builtin and then its argument prototype would still apply. */
91837 char $ac_func ();
91838 /* The GNU C library defines this for functions which it implements
91839 to always fail with ENOSYS. Some functions are actually named
91840 something starting with __ and the normal name is an alias. */
91841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91842 choke me
91843 #else
91844 char (*f) () = $ac_func;
91845 #endif
91846 #ifdef __cplusplus
91848 #endif
91851 main ()
91853 return f != $ac_func;
91855 return 0;
91857 _ACEOF
91858 rm -f conftest.$ac_objext conftest$ac_exeext
91859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91860 (eval $ac_link) 2>conftest.er1
91861 ac_status=$?
91862 grep -v '^ *+' conftest.er1 >conftest.err
91863 rm -f conftest.er1
91864 cat conftest.err >&5
91865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866 (exit $ac_status); } &&
91867 { ac_try='test -z "$ac_c_werror_flag"
91868 || test ! -s conftest.err'
91869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870 (eval $ac_try) 2>&5
91871 ac_status=$?
91872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873 (exit $ac_status); }; } &&
91874 { ac_try='test -s conftest$ac_exeext'
91875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91876 (eval $ac_try) 2>&5
91877 ac_status=$?
91878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91879 (exit $ac_status); }; }; then
91880 eval "$as_ac_var=yes"
91881 else
91882 echo "$as_me: failed program was:" >&5
91883 sed 's/^/| /' conftest.$ac_ext >&5
91885 eval "$as_ac_var=no"
91887 rm -f conftest.err conftest.$ac_objext \
91888 conftest$ac_exeext conftest.$ac_ext
91890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91892 if test `eval echo '${'$as_ac_var'}'` = yes; then
91893 cat >>confdefs.h <<_ACEOF
91894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91895 _ACEOF
91896 ac_XPG2funcs=yes
91897 else
91898 ac_XPG2funcs=no
91900 done
91903 LIBS="$ac_save_LIBS"
91905 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91906 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91907 if test x"$ac_has_iconv_h" = xyes &&
91908 test x"$ac_has_langinfo_h" = xyes &&
91909 test x"$ac_XPG2funcs" = xyes;
91910 then
91911 ac_XPG2_wchar_t=yes
91912 else
91913 ac_XPG2_wchar_t=no
91915 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91916 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91918 # At the moment, only enable wchar_t specializations if all the
91919 # above support is present.
91920 if test x"$ac_isoC99_wchar_t" = xyes &&
91921 test x"$ac_XPG2_wchar_t" = xyes;
91922 then
91923 cat >>confdefs.h <<\_ACEOF
91924 #define _GLIBCXX_USE_WCHAR_T 1
91925 _ACEOF
91927 enable_wchar_t=yes
91930 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91931 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91932 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91933 echo "${ECHO_T}$enable_wchar_t" >&6
91935 cat >>confdefs.h <<\_ACEOF
91936 #define HAVE_COSF 1
91937 _ACEOF
91939 cat >>confdefs.h <<\_ACEOF
91940 #define HAVE_COSL 1
91941 _ACEOF
91943 cat >>confdefs.h <<\_ACEOF
91944 #define HAVE_COSHF 1
91945 _ACEOF
91947 cat >>confdefs.h <<\_ACEOF
91948 #define HAVE_COSHL 1
91949 _ACEOF
91951 cat >>confdefs.h <<\_ACEOF
91952 #define HAVE_LOGF 1
91953 _ACEOF
91955 cat >>confdefs.h <<\_ACEOF
91956 #define HAVE_LOGL 1
91957 _ACEOF
91959 cat >>confdefs.h <<\_ACEOF
91960 #define HAVE_LOG10F 1
91961 _ACEOF
91963 cat >>confdefs.h <<\_ACEOF
91964 #define HAVE_LOG10L 1
91965 _ACEOF
91967 cat >>confdefs.h <<\_ACEOF
91968 #define HAVE_SINF 1
91969 _ACEOF
91971 cat >>confdefs.h <<\_ACEOF
91972 #define HAVE_SINL 1
91973 _ACEOF
91975 cat >>confdefs.h <<\_ACEOF
91976 #define HAVE_SINHF 1
91977 _ACEOF
91979 cat >>confdefs.h <<\_ACEOF
91980 #define HAVE_SINHL 1
91981 _ACEOF
91984 *-solaris*)
91985 case "$target" in
91986 # *-solaris2.5)
91987 # os_include_dir="os/solaris/solaris2.5"
91988 # ;;
91989 # *-solaris2.6)
91990 # os_include_dir="os/solaris/solaris2.6"
91991 # ;;
91992 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91993 cat >>confdefs.h <<\_ACEOF
91994 #define HAVE_GETPAGESIZE 1
91995 _ACEOF
91997 cat >>confdefs.h <<\_ACEOF
91998 #define HAVE_SIGSETJMP 1
91999 _ACEOF
92001 cat >>confdefs.h <<\_ACEOF
92002 #define HAVE_MBSTATE_T 1
92003 _ACEOF
92005 cat >>confdefs.h <<\_ACEOF
92006 #define HAVE_POLL 1
92007 _ACEOF
92009 cat >>confdefs.h <<\_ACEOF
92010 #define HAVE_S_ISREG 1
92011 _ACEOF
92013 cat >>confdefs.h <<\_ACEOF
92014 #define HAVE_LC_MESSAGES 1
92015 _ACEOF
92017 cat >>confdefs.h <<\_ACEOF
92018 #define HAVE_BTOWC 1
92019 _ACEOF
92021 cat >>confdefs.h <<\_ACEOF
92022 #define HAVE_FGETWC 1
92023 _ACEOF
92025 cat >>confdefs.h <<\_ACEOF
92026 #define HAVE_FGETWS 1
92027 _ACEOF
92029 cat >>confdefs.h <<\_ACEOF
92030 #define HAVE_FINITE 1
92031 _ACEOF
92033 cat >>confdefs.h <<\_ACEOF
92034 #define HAVE_FPCLASS 1
92035 _ACEOF
92037 cat >>confdefs.h <<\_ACEOF
92038 #define HAVE_FPUTWC 1
92039 _ACEOF
92041 cat >>confdefs.h <<\_ACEOF
92042 #define HAVE_FPUTWS 1
92043 _ACEOF
92045 cat >>confdefs.h <<\_ACEOF
92046 #define HAVE_FWIDE 1
92047 _ACEOF
92049 cat >>confdefs.h <<\_ACEOF
92050 #define HAVE_FWPRINTF 1
92051 _ACEOF
92053 cat >>confdefs.h <<\_ACEOF
92054 #define HAVE_FWSCANF 1
92055 _ACEOF
92057 cat >>confdefs.h <<\_ACEOF
92058 #define HAVE_GETPAGESIZE 1
92059 _ACEOF
92061 cat >>confdefs.h <<\_ACEOF
92062 #define HAVE_GETWC 1
92063 _ACEOF
92065 cat >>confdefs.h <<\_ACEOF
92066 #define HAVE_GETWCHAR 1
92067 _ACEOF
92069 cat >>confdefs.h <<\_ACEOF
92070 #define HAVE_MBRLEN 1
92071 _ACEOF
92073 cat >>confdefs.h <<\_ACEOF
92074 #define HAVE_MBRTOWC 1
92075 _ACEOF
92077 cat >>confdefs.h <<\_ACEOF
92078 #define HAVE_MBSINIT 1
92079 _ACEOF
92081 cat >>confdefs.h <<\_ACEOF
92082 #define HAVE_MBSRTOWCS 1
92083 _ACEOF
92085 cat >>confdefs.h <<\_ACEOF
92086 #define HAVE_NL_LANGINFO 1
92087 _ACEOF
92089 cat >>confdefs.h <<\_ACEOF
92090 #define HAVE_PUTWC 1
92091 _ACEOF
92093 cat >>confdefs.h <<\_ACEOF
92094 #define HAVE_PUTWCHAR 1
92095 _ACEOF
92097 cat >>confdefs.h <<\_ACEOF
92098 #define HAVE_SWPRINTF 1
92099 _ACEOF
92101 cat >>confdefs.h <<\_ACEOF
92102 #define HAVE_SWSCANF 1
92103 _ACEOF
92105 cat >>confdefs.h <<\_ACEOF
92106 #define HAVE_UNGETWC 1
92107 _ACEOF
92109 cat >>confdefs.h <<\_ACEOF
92110 #define HAVE_VFWPRINTF 1
92111 _ACEOF
92113 cat >>confdefs.h <<\_ACEOF
92114 #define HAVE_VSWPRINTF 1
92115 _ACEOF
92117 cat >>confdefs.h <<\_ACEOF
92118 #define HAVE_VWPRINTF 1
92119 _ACEOF
92121 cat >>confdefs.h <<\_ACEOF
92122 #define HAVE_WCRTOMB 1
92123 _ACEOF
92125 cat >>confdefs.h <<\_ACEOF
92126 #define HAVE_WCSCAT 1
92127 _ACEOF
92129 cat >>confdefs.h <<\_ACEOF
92130 #define HAVE_WCSCHR 1
92131 _ACEOF
92133 cat >>confdefs.h <<\_ACEOF
92134 #define HAVE_WCSCMP 1
92135 _ACEOF
92137 cat >>confdefs.h <<\_ACEOF
92138 #define HAVE_WCSCOLL 1
92139 _ACEOF
92141 cat >>confdefs.h <<\_ACEOF
92142 #define HAVE_WCSCPY 1
92143 _ACEOF
92145 cat >>confdefs.h <<\_ACEOF
92146 #define HAVE_WCSCSPN 1
92147 _ACEOF
92149 cat >>confdefs.h <<\_ACEOF
92150 #define HAVE_WCSFTIME 1
92151 _ACEOF
92153 cat >>confdefs.h <<\_ACEOF
92154 #define HAVE_WCSLEN 1
92155 _ACEOF
92157 cat >>confdefs.h <<\_ACEOF
92158 #define HAVE_WCSNCAT 1
92159 _ACEOF
92161 cat >>confdefs.h <<\_ACEOF
92162 #define HAVE_WCSNCMP 1
92163 _ACEOF
92165 cat >>confdefs.h <<\_ACEOF
92166 #define HAVE_WCSNCPY 1
92167 _ACEOF
92169 cat >>confdefs.h <<\_ACEOF
92170 #define HAVE_WCSPBRK 1
92171 _ACEOF
92173 cat >>confdefs.h <<\_ACEOF
92174 #define HAVE_WCSRCHR 1
92175 _ACEOF
92177 cat >>confdefs.h <<\_ACEOF
92178 #define HAVE_WCSRTOMBS 1
92179 _ACEOF
92181 cat >>confdefs.h <<\_ACEOF
92182 #define HAVE_WCSSPN 1
92183 _ACEOF
92185 cat >>confdefs.h <<\_ACEOF
92186 #define HAVE_WCSSTR 1
92187 _ACEOF
92189 cat >>confdefs.h <<\_ACEOF
92190 #define HAVE_WCSTOD 1
92191 _ACEOF
92193 cat >>confdefs.h <<\_ACEOF
92194 #define HAVE_WCSTOK 1
92195 _ACEOF
92197 cat >>confdefs.h <<\_ACEOF
92198 #define HAVE_WCSTOL 1
92199 _ACEOF
92201 cat >>confdefs.h <<\_ACEOF
92202 #define HAVE_WCSTOUL 1
92203 _ACEOF
92205 cat >>confdefs.h <<\_ACEOF
92206 #define HAVE_WCSXFRM 1
92207 _ACEOF
92209 cat >>confdefs.h <<\_ACEOF
92210 #define HAVE_WCTOB 1
92211 _ACEOF
92213 cat >>confdefs.h <<\_ACEOF
92214 #define HAVE_WMEMCHR 1
92215 _ACEOF
92217 cat >>confdefs.h <<\_ACEOF
92218 #define HAVE_WMEMCMP 1
92219 _ACEOF
92221 cat >>confdefs.h <<\_ACEOF
92222 #define HAVE_WMEMCPY 1
92223 _ACEOF
92225 cat >>confdefs.h <<\_ACEOF
92226 #define HAVE_WMEMMOVE 1
92227 _ACEOF
92229 cat >>confdefs.h <<\_ACEOF
92230 #define HAVE_WMEMSET 1
92231 _ACEOF
92233 cat >>confdefs.h <<\_ACEOF
92234 #define HAVE_WPRINTF 1
92235 _ACEOF
92237 cat >>confdefs.h <<\_ACEOF
92238 #define HAVE_WSCANF 1
92239 _ACEOF
92241 cat >>confdefs.h <<\_ACEOF
92242 #define HAVE_ICONV 1
92243 _ACEOF
92245 cat >>confdefs.h <<\_ACEOF
92246 #define HAVE_ICONV_CLOSE 1
92247 _ACEOF
92249 cat >>confdefs.h <<\_ACEOF
92250 #define HAVE_ICONV_OPEN 1
92251 _ACEOF
92253 # Look for the pieces required for wchar_t support in order to
92254 # get all the right HAVE_* macros defined.
92256 # Test wchar.h for mbstate_t, which is needed for char_traits and
92257 # others even if wchar_t support is not on.
92258 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92259 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92260 cat >conftest.$ac_ext <<_ACEOF
92261 /* confdefs.h. */
92262 _ACEOF
92263 cat confdefs.h >>conftest.$ac_ext
92264 cat >>conftest.$ac_ext <<_ACEOF
92265 /* end confdefs.h. */
92266 #include <wchar.h>
92268 main ()
92270 mbstate_t teststate;
92272 return 0;
92274 _ACEOF
92275 rm -f conftest.$ac_objext
92276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92277 (eval $ac_compile) 2>conftest.er1
92278 ac_status=$?
92279 grep -v '^ *+' conftest.er1 >conftest.err
92280 rm -f conftest.er1
92281 cat conftest.err >&5
92282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92283 (exit $ac_status); } &&
92284 { ac_try='test -z "$ac_c_werror_flag"
92285 || test ! -s conftest.err'
92286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92287 (eval $ac_try) 2>&5
92288 ac_status=$?
92289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92290 (exit $ac_status); }; } &&
92291 { ac_try='test -s conftest.$ac_objext'
92292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92293 (eval $ac_try) 2>&5
92294 ac_status=$?
92295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92296 (exit $ac_status); }; }; then
92297 have_mbstate_t=yes
92298 else
92299 echo "$as_me: failed program was:" >&5
92300 sed 's/^/| /' conftest.$ac_ext >&5
92302 have_mbstate_t=no
92304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92305 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92306 echo "${ECHO_T}$have_mbstate_t" >&6
92307 if test x"$have_mbstate_t" = xyes; then
92308 cat >>confdefs.h <<\_ACEOF
92309 #define HAVE_MBSTATE_T 1
92310 _ACEOF
92314 # Sanity check for existence of ISO C99 headers for extended encoding.
92316 for ac_header in wchar.h
92318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92320 echo "$as_me:$LINENO: checking for $ac_header" >&5
92321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92323 echo $ECHO_N "(cached) $ECHO_C" >&6
92325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92327 else
92328 # Is the header compilable?
92329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92331 cat >conftest.$ac_ext <<_ACEOF
92332 /* confdefs.h. */
92333 _ACEOF
92334 cat confdefs.h >>conftest.$ac_ext
92335 cat >>conftest.$ac_ext <<_ACEOF
92336 /* end confdefs.h. */
92337 $ac_includes_default
92338 #include <$ac_header>
92339 _ACEOF
92340 rm -f conftest.$ac_objext
92341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92342 (eval $ac_compile) 2>conftest.er1
92343 ac_status=$?
92344 grep -v '^ *+' conftest.er1 >conftest.err
92345 rm -f conftest.er1
92346 cat conftest.err >&5
92347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348 (exit $ac_status); } &&
92349 { ac_try='test -z "$ac_c_werror_flag"
92350 || test ! -s conftest.err'
92351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92352 (eval $ac_try) 2>&5
92353 ac_status=$?
92354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92355 (exit $ac_status); }; } &&
92356 { ac_try='test -s conftest.$ac_objext'
92357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92358 (eval $ac_try) 2>&5
92359 ac_status=$?
92360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92361 (exit $ac_status); }; }; then
92362 ac_header_compiler=yes
92363 else
92364 echo "$as_me: failed program was:" >&5
92365 sed 's/^/| /' conftest.$ac_ext >&5
92367 ac_header_compiler=no
92369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92371 echo "${ECHO_T}$ac_header_compiler" >&6
92373 # Is the header present?
92374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92376 cat >conftest.$ac_ext <<_ACEOF
92377 /* confdefs.h. */
92378 _ACEOF
92379 cat confdefs.h >>conftest.$ac_ext
92380 cat >>conftest.$ac_ext <<_ACEOF
92381 /* end confdefs.h. */
92382 #include <$ac_header>
92383 _ACEOF
92384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92386 ac_status=$?
92387 grep -v '^ *+' conftest.er1 >conftest.err
92388 rm -f conftest.er1
92389 cat conftest.err >&5
92390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92391 (exit $ac_status); } >/dev/null; then
92392 if test -s conftest.err; then
92393 ac_cpp_err=$ac_c_preproc_warn_flag
92394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92395 else
92396 ac_cpp_err=
92398 else
92399 ac_cpp_err=yes
92401 if test -z "$ac_cpp_err"; then
92402 ac_header_preproc=yes
92403 else
92404 echo "$as_me: failed program was:" >&5
92405 sed 's/^/| /' conftest.$ac_ext >&5
92407 ac_header_preproc=no
92409 rm -f conftest.err conftest.$ac_ext
92410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92411 echo "${ECHO_T}$ac_header_preproc" >&6
92413 # So? What about this header?
92414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92415 yes:no: )
92416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92420 ac_header_preproc=yes
92422 no:yes:* )
92423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92436 cat <<\_ASBOX
92437 ## ----------------------------------------- ##
92438 ## Report this to the package-unused lists. ##
92439 ## ----------------------------------------- ##
92440 _ASBOX
92442 sed "s/^/$as_me: WARNING: /" >&2
92444 esac
92445 echo "$as_me:$LINENO: checking for $ac_header" >&5
92446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92448 echo $ECHO_N "(cached) $ECHO_C" >&6
92449 else
92450 eval "$as_ac_Header=\$ac_header_preproc"
92452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92457 cat >>confdefs.h <<_ACEOF
92458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92459 _ACEOF
92460 ac_has_wchar_h=yes
92461 else
92462 ac_has_wchar_h=no
92465 done
92468 for ac_header in wctype.h
92470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92472 echo "$as_me:$LINENO: checking for $ac_header" >&5
92473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92475 echo $ECHO_N "(cached) $ECHO_C" >&6
92477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92479 else
92480 # Is the header compilable?
92481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92483 cat >conftest.$ac_ext <<_ACEOF
92484 /* confdefs.h. */
92485 _ACEOF
92486 cat confdefs.h >>conftest.$ac_ext
92487 cat >>conftest.$ac_ext <<_ACEOF
92488 /* end confdefs.h. */
92489 $ac_includes_default
92490 #include <$ac_header>
92491 _ACEOF
92492 rm -f conftest.$ac_objext
92493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92494 (eval $ac_compile) 2>conftest.er1
92495 ac_status=$?
92496 grep -v '^ *+' conftest.er1 >conftest.err
92497 rm -f conftest.er1
92498 cat conftest.err >&5
92499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92500 (exit $ac_status); } &&
92501 { ac_try='test -z "$ac_c_werror_flag"
92502 || test ! -s conftest.err'
92503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92504 (eval $ac_try) 2>&5
92505 ac_status=$?
92506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92507 (exit $ac_status); }; } &&
92508 { ac_try='test -s conftest.$ac_objext'
92509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92510 (eval $ac_try) 2>&5
92511 ac_status=$?
92512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92513 (exit $ac_status); }; }; then
92514 ac_header_compiler=yes
92515 else
92516 echo "$as_me: failed program was:" >&5
92517 sed 's/^/| /' conftest.$ac_ext >&5
92519 ac_header_compiler=no
92521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92523 echo "${ECHO_T}$ac_header_compiler" >&6
92525 # Is the header present?
92526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92528 cat >conftest.$ac_ext <<_ACEOF
92529 /* confdefs.h. */
92530 _ACEOF
92531 cat confdefs.h >>conftest.$ac_ext
92532 cat >>conftest.$ac_ext <<_ACEOF
92533 /* end confdefs.h. */
92534 #include <$ac_header>
92535 _ACEOF
92536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92538 ac_status=$?
92539 grep -v '^ *+' conftest.er1 >conftest.err
92540 rm -f conftest.er1
92541 cat conftest.err >&5
92542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543 (exit $ac_status); } >/dev/null; then
92544 if test -s conftest.err; then
92545 ac_cpp_err=$ac_c_preproc_warn_flag
92546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92547 else
92548 ac_cpp_err=
92550 else
92551 ac_cpp_err=yes
92553 if test -z "$ac_cpp_err"; then
92554 ac_header_preproc=yes
92555 else
92556 echo "$as_me: failed program was:" >&5
92557 sed 's/^/| /' conftest.$ac_ext >&5
92559 ac_header_preproc=no
92561 rm -f conftest.err conftest.$ac_ext
92562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92563 echo "${ECHO_T}$ac_header_preproc" >&6
92565 # So? What about this header?
92566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92567 yes:no: )
92568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92572 ac_header_preproc=yes
92574 no:yes:* )
92575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92588 cat <<\_ASBOX
92589 ## ----------------------------------------- ##
92590 ## Report this to the package-unused lists. ##
92591 ## ----------------------------------------- ##
92592 _ASBOX
92594 sed "s/^/$as_me: WARNING: /" >&2
92596 esac
92597 echo "$as_me:$LINENO: checking for $ac_header" >&5
92598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92600 echo $ECHO_N "(cached) $ECHO_C" >&6
92601 else
92602 eval "$as_ac_Header=\$ac_header_preproc"
92604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92609 cat >>confdefs.h <<_ACEOF
92610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92611 _ACEOF
92612 ac_has_wctype_h=yes
92613 else
92614 ac_has_wctype_h=no
92617 done
92620 # Only continue checking if the ISO C99 headers exist and support is on.
92621 if test x"$ac_has_wchar_h" = xyes &&
92622 test x"$ac_has_wctype_h" = xyes &&
92623 test x"$enable_c_mbchar" != xno; then
92625 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92626 # numeric_limits can instantiate type_traits<wchar_t>
92627 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92628 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92629 cat >conftest.$ac_ext <<_ACEOF
92630 /* confdefs.h. */
92631 _ACEOF
92632 cat confdefs.h >>conftest.$ac_ext
92633 cat >>conftest.$ac_ext <<_ACEOF
92634 /* end confdefs.h. */
92635 #include <wchar.h>
92637 main ()
92639 int i = WCHAR_MIN; int j = WCHAR_MAX;
92641 return 0;
92643 _ACEOF
92644 rm -f conftest.$ac_objext
92645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92646 (eval $ac_compile) 2>conftest.er1
92647 ac_status=$?
92648 grep -v '^ *+' conftest.er1 >conftest.err
92649 rm -f conftest.er1
92650 cat conftest.err >&5
92651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652 (exit $ac_status); } &&
92653 { ac_try='test -z "$ac_c_werror_flag"
92654 || test ! -s conftest.err'
92655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92656 (eval $ac_try) 2>&5
92657 ac_status=$?
92658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92659 (exit $ac_status); }; } &&
92660 { ac_try='test -s conftest.$ac_objext'
92661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92662 (eval $ac_try) 2>&5
92663 ac_status=$?
92664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665 (exit $ac_status); }; }; then
92666 has_wchar_minmax=yes
92667 else
92668 echo "$as_me: failed program was:" >&5
92669 sed 's/^/| /' conftest.$ac_ext >&5
92671 has_wchar_minmax=no
92673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92674 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92675 echo "${ECHO_T}$has_wchar_minmax" >&6
92677 # Test wchar.h for WEOF, which is what we use to determine whether
92678 # to specialize for char_traits<wchar_t> or not.
92679 echo "$as_me:$LINENO: checking for WEOF" >&5
92680 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92681 cat >conftest.$ac_ext <<_ACEOF
92682 /* confdefs.h. */
92683 _ACEOF
92684 cat confdefs.h >>conftest.$ac_ext
92685 cat >>conftest.$ac_ext <<_ACEOF
92686 /* end confdefs.h. */
92688 #include <wchar.h>
92689 #include <stddef.h>
92691 main ()
92693 wint_t i = WEOF;
92695 return 0;
92697 _ACEOF
92698 rm -f conftest.$ac_objext
92699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92700 (eval $ac_compile) 2>conftest.er1
92701 ac_status=$?
92702 grep -v '^ *+' conftest.er1 >conftest.err
92703 rm -f conftest.er1
92704 cat conftest.err >&5
92705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706 (exit $ac_status); } &&
92707 { ac_try='test -z "$ac_c_werror_flag"
92708 || test ! -s conftest.err'
92709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92710 (eval $ac_try) 2>&5
92711 ac_status=$?
92712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92713 (exit $ac_status); }; } &&
92714 { ac_try='test -s conftest.$ac_objext'
92715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92716 (eval $ac_try) 2>&5
92717 ac_status=$?
92718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92719 (exit $ac_status); }; }; then
92720 has_weof=yes
92721 else
92722 echo "$as_me: failed program was:" >&5
92723 sed 's/^/| /' conftest.$ac_ext >&5
92725 has_weof=no
92727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92728 echo "$as_me:$LINENO: result: $has_weof" >&5
92729 echo "${ECHO_T}$has_weof" >&6
92731 # Tests for wide character functions used in char_traits<wchar_t>.
92732 ac_wfuncs=yes
92739 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92742 echo "$as_me:$LINENO: checking for $ac_func" >&5
92743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92744 if eval "test \"\${$as_ac_var+set}\" = set"; then
92745 echo $ECHO_N "(cached) $ECHO_C" >&6
92746 else
92747 if test x$gcc_no_link = xyes; then
92748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92750 { (exit 1); exit 1; }; }
92752 cat >conftest.$ac_ext <<_ACEOF
92753 /* confdefs.h. */
92754 _ACEOF
92755 cat confdefs.h >>conftest.$ac_ext
92756 cat >>conftest.$ac_ext <<_ACEOF
92757 /* end confdefs.h. */
92758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92760 #define $ac_func innocuous_$ac_func
92762 /* System header to define __stub macros and hopefully few prototypes,
92763 which can conflict with char $ac_func (); below.
92764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92765 <limits.h> exists even on freestanding compilers. */
92767 #ifdef __STDC__
92768 # include <limits.h>
92769 #else
92770 # include <assert.h>
92771 #endif
92773 #undef $ac_func
92775 /* Override any gcc2 internal prototype to avoid an error. */
92776 #ifdef __cplusplus
92777 extern "C"
92779 #endif
92780 /* We use char because int might match the return type of a gcc2
92781 builtin and then its argument prototype would still apply. */
92782 char $ac_func ();
92783 /* The GNU C library defines this for functions which it implements
92784 to always fail with ENOSYS. Some functions are actually named
92785 something starting with __ and the normal name is an alias. */
92786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92787 choke me
92788 #else
92789 char (*f) () = $ac_func;
92790 #endif
92791 #ifdef __cplusplus
92793 #endif
92796 main ()
92798 return f != $ac_func;
92800 return 0;
92802 _ACEOF
92803 rm -f conftest.$ac_objext conftest$ac_exeext
92804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92805 (eval $ac_link) 2>conftest.er1
92806 ac_status=$?
92807 grep -v '^ *+' conftest.er1 >conftest.err
92808 rm -f conftest.er1
92809 cat conftest.err >&5
92810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811 (exit $ac_status); } &&
92812 { ac_try='test -z "$ac_c_werror_flag"
92813 || test ! -s conftest.err'
92814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92815 (eval $ac_try) 2>&5
92816 ac_status=$?
92817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92818 (exit $ac_status); }; } &&
92819 { ac_try='test -s conftest$ac_exeext'
92820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92821 (eval $ac_try) 2>&5
92822 ac_status=$?
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); }; }; then
92825 eval "$as_ac_var=yes"
92826 else
92827 echo "$as_me: failed program was:" >&5
92828 sed 's/^/| /' conftest.$ac_ext >&5
92830 eval "$as_ac_var=no"
92832 rm -f conftest.err conftest.$ac_objext \
92833 conftest$ac_exeext conftest.$ac_ext
92835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92837 if test `eval echo '${'$as_ac_var'}'` = yes; then
92838 cat >>confdefs.h <<_ACEOF
92839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92840 _ACEOF
92842 else
92843 ac_wfuncs=no
92845 done
92848 # Checks for names injected into std:: by the c_std headers.
92895 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92896 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92897 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92898 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92899 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92900 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92903 echo "$as_me:$LINENO: checking for $ac_func" >&5
92904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92905 if eval "test \"\${$as_ac_var+set}\" = set"; then
92906 echo $ECHO_N "(cached) $ECHO_C" >&6
92907 else
92908 if test x$gcc_no_link = xyes; then
92909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92911 { (exit 1); exit 1; }; }
92913 cat >conftest.$ac_ext <<_ACEOF
92914 /* confdefs.h. */
92915 _ACEOF
92916 cat confdefs.h >>conftest.$ac_ext
92917 cat >>conftest.$ac_ext <<_ACEOF
92918 /* end confdefs.h. */
92919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92921 #define $ac_func innocuous_$ac_func
92923 /* System header to define __stub macros and hopefully few prototypes,
92924 which can conflict with char $ac_func (); below.
92925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92926 <limits.h> exists even on freestanding compilers. */
92928 #ifdef __STDC__
92929 # include <limits.h>
92930 #else
92931 # include <assert.h>
92932 #endif
92934 #undef $ac_func
92936 /* Override any gcc2 internal prototype to avoid an error. */
92937 #ifdef __cplusplus
92938 extern "C"
92940 #endif
92941 /* We use char because int might match the return type of a gcc2
92942 builtin and then its argument prototype would still apply. */
92943 char $ac_func ();
92944 /* The GNU C library defines this for functions which it implements
92945 to always fail with ENOSYS. Some functions are actually named
92946 something starting with __ and the normal name is an alias. */
92947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92948 choke me
92949 #else
92950 char (*f) () = $ac_func;
92951 #endif
92952 #ifdef __cplusplus
92954 #endif
92957 main ()
92959 return f != $ac_func;
92961 return 0;
92963 _ACEOF
92964 rm -f conftest.$ac_objext conftest$ac_exeext
92965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92966 (eval $ac_link) 2>conftest.er1
92967 ac_status=$?
92968 grep -v '^ *+' conftest.er1 >conftest.err
92969 rm -f conftest.er1
92970 cat conftest.err >&5
92971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92972 (exit $ac_status); } &&
92973 { ac_try='test -z "$ac_c_werror_flag"
92974 || test ! -s conftest.err'
92975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92976 (eval $ac_try) 2>&5
92977 ac_status=$?
92978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92979 (exit $ac_status); }; } &&
92980 { ac_try='test -s conftest$ac_exeext'
92981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92982 (eval $ac_try) 2>&5
92983 ac_status=$?
92984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92985 (exit $ac_status); }; }; then
92986 eval "$as_ac_var=yes"
92987 else
92988 echo "$as_me: failed program was:" >&5
92989 sed 's/^/| /' conftest.$ac_ext >&5
92991 eval "$as_ac_var=no"
92993 rm -f conftest.err conftest.$ac_objext \
92994 conftest$ac_exeext conftest.$ac_ext
92996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92998 if test `eval echo '${'$as_ac_var'}'` = yes; then
92999 cat >>confdefs.h <<_ACEOF
93000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93001 _ACEOF
93003 else
93004 ac_wfuncs=no
93006 done
93009 # Checks for wide character functions that are not required
93010 # for basic wchar_t support. Don't disable support if they are missing.
93011 # Injection of these is wrapped with guard macros.
93017 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
93019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93020 echo "$as_me:$LINENO: checking for $ac_func" >&5
93021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93022 if eval "test \"\${$as_ac_var+set}\" = set"; then
93023 echo $ECHO_N "(cached) $ECHO_C" >&6
93024 else
93025 if test x$gcc_no_link = xyes; then
93026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93028 { (exit 1); exit 1; }; }
93030 cat >conftest.$ac_ext <<_ACEOF
93031 /* confdefs.h. */
93032 _ACEOF
93033 cat confdefs.h >>conftest.$ac_ext
93034 cat >>conftest.$ac_ext <<_ACEOF
93035 /* end confdefs.h. */
93036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93038 #define $ac_func innocuous_$ac_func
93040 /* System header to define __stub macros and hopefully few prototypes,
93041 which can conflict with char $ac_func (); below.
93042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93043 <limits.h> exists even on freestanding compilers. */
93045 #ifdef __STDC__
93046 # include <limits.h>
93047 #else
93048 # include <assert.h>
93049 #endif
93051 #undef $ac_func
93053 /* Override any gcc2 internal prototype to avoid an error. */
93054 #ifdef __cplusplus
93055 extern "C"
93057 #endif
93058 /* We use char because int might match the return type of a gcc2
93059 builtin and then its argument prototype would still apply. */
93060 char $ac_func ();
93061 /* The GNU C library defines this for functions which it implements
93062 to always fail with ENOSYS. Some functions are actually named
93063 something starting with __ and the normal name is an alias. */
93064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93065 choke me
93066 #else
93067 char (*f) () = $ac_func;
93068 #endif
93069 #ifdef __cplusplus
93071 #endif
93074 main ()
93076 return f != $ac_func;
93078 return 0;
93080 _ACEOF
93081 rm -f conftest.$ac_objext conftest$ac_exeext
93082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93083 (eval $ac_link) 2>conftest.er1
93084 ac_status=$?
93085 grep -v '^ *+' conftest.er1 >conftest.err
93086 rm -f conftest.er1
93087 cat conftest.err >&5
93088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93089 (exit $ac_status); } &&
93090 { ac_try='test -z "$ac_c_werror_flag"
93091 || test ! -s conftest.err'
93092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93093 (eval $ac_try) 2>&5
93094 ac_status=$?
93095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93096 (exit $ac_status); }; } &&
93097 { ac_try='test -s conftest$ac_exeext'
93098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93099 (eval $ac_try) 2>&5
93100 ac_status=$?
93101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93102 (exit $ac_status); }; }; then
93103 eval "$as_ac_var=yes"
93104 else
93105 echo "$as_me: failed program was:" >&5
93106 sed 's/^/| /' conftest.$ac_ext >&5
93108 eval "$as_ac_var=no"
93110 rm -f conftest.err conftest.$ac_objext \
93111 conftest$ac_exeext conftest.$ac_ext
93113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93115 if test `eval echo '${'$as_ac_var'}'` = yes; then
93116 cat >>confdefs.h <<_ACEOF
93117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93118 _ACEOF
93121 done
93124 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93125 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93126 if test x"$has_weof" = xyes &&
93127 test x"$has_wchar_minmax" = xyes &&
93128 test x"$ac_wfuncs" = xyes;
93129 then
93130 ac_isoC99_wchar_t=yes
93131 else
93132 ac_isoC99_wchar_t=no
93134 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93135 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93137 # Use iconv for wchar_t to char conversions. As such, check for
93138 # X/Open Portability Guide, version 2 features (XPG2).
93139 if test "${ac_cv_header_iconv_h+set}" = set; then
93140 echo "$as_me:$LINENO: checking for iconv.h" >&5
93141 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93142 if test "${ac_cv_header_iconv_h+set}" = set; then
93143 echo $ECHO_N "(cached) $ECHO_C" >&6
93145 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93146 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93147 else
93148 # Is the header compilable?
93149 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93150 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93151 cat >conftest.$ac_ext <<_ACEOF
93152 /* confdefs.h. */
93153 _ACEOF
93154 cat confdefs.h >>conftest.$ac_ext
93155 cat >>conftest.$ac_ext <<_ACEOF
93156 /* end confdefs.h. */
93157 $ac_includes_default
93158 #include <iconv.h>
93159 _ACEOF
93160 rm -f conftest.$ac_objext
93161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93162 (eval $ac_compile) 2>conftest.er1
93163 ac_status=$?
93164 grep -v '^ *+' conftest.er1 >conftest.err
93165 rm -f conftest.er1
93166 cat conftest.err >&5
93167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93168 (exit $ac_status); } &&
93169 { ac_try='test -z "$ac_c_werror_flag"
93170 || test ! -s conftest.err'
93171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93172 (eval $ac_try) 2>&5
93173 ac_status=$?
93174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93175 (exit $ac_status); }; } &&
93176 { ac_try='test -s conftest.$ac_objext'
93177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93178 (eval $ac_try) 2>&5
93179 ac_status=$?
93180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93181 (exit $ac_status); }; }; then
93182 ac_header_compiler=yes
93183 else
93184 echo "$as_me: failed program was:" >&5
93185 sed 's/^/| /' conftest.$ac_ext >&5
93187 ac_header_compiler=no
93189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93191 echo "${ECHO_T}$ac_header_compiler" >&6
93193 # Is the header present?
93194 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93195 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93196 cat >conftest.$ac_ext <<_ACEOF
93197 /* confdefs.h. */
93198 _ACEOF
93199 cat confdefs.h >>conftest.$ac_ext
93200 cat >>conftest.$ac_ext <<_ACEOF
93201 /* end confdefs.h. */
93202 #include <iconv.h>
93203 _ACEOF
93204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93206 ac_status=$?
93207 grep -v '^ *+' conftest.er1 >conftest.err
93208 rm -f conftest.er1
93209 cat conftest.err >&5
93210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93211 (exit $ac_status); } >/dev/null; then
93212 if test -s conftest.err; then
93213 ac_cpp_err=$ac_c_preproc_warn_flag
93214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93215 else
93216 ac_cpp_err=
93218 else
93219 ac_cpp_err=yes
93221 if test -z "$ac_cpp_err"; then
93222 ac_header_preproc=yes
93223 else
93224 echo "$as_me: failed program was:" >&5
93225 sed 's/^/| /' conftest.$ac_ext >&5
93227 ac_header_preproc=no
93229 rm -f conftest.err conftest.$ac_ext
93230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93231 echo "${ECHO_T}$ac_header_preproc" >&6
93233 # So? What about this header?
93234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93235 yes:no: )
93236 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93237 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93238 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93239 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93240 ac_header_preproc=yes
93242 no:yes:* )
93243 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93244 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93245 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93246 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93247 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93248 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93249 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93250 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93251 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93252 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93253 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93254 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93256 cat <<\_ASBOX
93257 ## ----------------------------------------- ##
93258 ## Report this to the package-unused lists. ##
93259 ## ----------------------------------------- ##
93260 _ASBOX
93262 sed "s/^/$as_me: WARNING: /" >&2
93264 esac
93265 echo "$as_me:$LINENO: checking for iconv.h" >&5
93266 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93267 if test "${ac_cv_header_iconv_h+set}" = set; then
93268 echo $ECHO_N "(cached) $ECHO_C" >&6
93269 else
93270 ac_cv_header_iconv_h=$ac_header_preproc
93272 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93273 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93276 if test $ac_cv_header_iconv_h = yes; then
93277 ac_has_iconv_h=yes
93278 else
93279 ac_has_iconv_h=no
93283 if test "${ac_cv_header_langinfo_h+set}" = set; then
93284 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93285 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93286 if test "${ac_cv_header_langinfo_h+set}" = set; then
93287 echo $ECHO_N "(cached) $ECHO_C" >&6
93289 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93290 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93291 else
93292 # Is the header compilable?
93293 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93294 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93295 cat >conftest.$ac_ext <<_ACEOF
93296 /* confdefs.h. */
93297 _ACEOF
93298 cat confdefs.h >>conftest.$ac_ext
93299 cat >>conftest.$ac_ext <<_ACEOF
93300 /* end confdefs.h. */
93301 $ac_includes_default
93302 #include <langinfo.h>
93303 _ACEOF
93304 rm -f conftest.$ac_objext
93305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93306 (eval $ac_compile) 2>conftest.er1
93307 ac_status=$?
93308 grep -v '^ *+' conftest.er1 >conftest.err
93309 rm -f conftest.er1
93310 cat conftest.err >&5
93311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93312 (exit $ac_status); } &&
93313 { ac_try='test -z "$ac_c_werror_flag"
93314 || test ! -s conftest.err'
93315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93316 (eval $ac_try) 2>&5
93317 ac_status=$?
93318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93319 (exit $ac_status); }; } &&
93320 { ac_try='test -s conftest.$ac_objext'
93321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93322 (eval $ac_try) 2>&5
93323 ac_status=$?
93324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93325 (exit $ac_status); }; }; then
93326 ac_header_compiler=yes
93327 else
93328 echo "$as_me: failed program was:" >&5
93329 sed 's/^/| /' conftest.$ac_ext >&5
93331 ac_header_compiler=no
93333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93335 echo "${ECHO_T}$ac_header_compiler" >&6
93337 # Is the header present?
93338 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93339 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93340 cat >conftest.$ac_ext <<_ACEOF
93341 /* confdefs.h. */
93342 _ACEOF
93343 cat confdefs.h >>conftest.$ac_ext
93344 cat >>conftest.$ac_ext <<_ACEOF
93345 /* end confdefs.h. */
93346 #include <langinfo.h>
93347 _ACEOF
93348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93350 ac_status=$?
93351 grep -v '^ *+' conftest.er1 >conftest.err
93352 rm -f conftest.er1
93353 cat conftest.err >&5
93354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93355 (exit $ac_status); } >/dev/null; then
93356 if test -s conftest.err; then
93357 ac_cpp_err=$ac_c_preproc_warn_flag
93358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93359 else
93360 ac_cpp_err=
93362 else
93363 ac_cpp_err=yes
93365 if test -z "$ac_cpp_err"; then
93366 ac_header_preproc=yes
93367 else
93368 echo "$as_me: failed program was:" >&5
93369 sed 's/^/| /' conftest.$ac_ext >&5
93371 ac_header_preproc=no
93373 rm -f conftest.err conftest.$ac_ext
93374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93375 echo "${ECHO_T}$ac_header_preproc" >&6
93377 # So? What about this header?
93378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93379 yes:no: )
93380 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93381 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93382 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93383 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93384 ac_header_preproc=yes
93386 no:yes:* )
93387 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93388 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93389 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93390 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93391 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93392 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93393 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93394 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93395 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93396 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93397 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93398 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93400 cat <<\_ASBOX
93401 ## ----------------------------------------- ##
93402 ## Report this to the package-unused lists. ##
93403 ## ----------------------------------------- ##
93404 _ASBOX
93406 sed "s/^/$as_me: WARNING: /" >&2
93408 esac
93409 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93410 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93411 if test "${ac_cv_header_langinfo_h+set}" = set; then
93412 echo $ECHO_N "(cached) $ECHO_C" >&6
93413 else
93414 ac_cv_header_langinfo_h=$ac_header_preproc
93416 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93417 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93420 if test $ac_cv_header_langinfo_h = yes; then
93421 ac_has_langinfo_h=yes
93422 else
93423 ac_has_langinfo_h=no
93428 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93429 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93430 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93431 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93432 echo $ECHO_N "(cached) $ECHO_C" >&6
93433 else
93434 ac_check_lib_save_LIBS=$LIBS
93435 LIBS="-liconv $LIBS"
93436 if test x$gcc_no_link = xyes; then
93437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93439 { (exit 1); exit 1; }; }
93441 cat >conftest.$ac_ext <<_ACEOF
93442 /* confdefs.h. */
93443 _ACEOF
93444 cat confdefs.h >>conftest.$ac_ext
93445 cat >>conftest.$ac_ext <<_ACEOF
93446 /* end confdefs.h. */
93448 /* Override any gcc2 internal prototype to avoid an error. */
93449 #ifdef __cplusplus
93450 extern "C"
93451 #endif
93452 /* We use char because int might match the return type of a gcc2
93453 builtin and then its argument prototype would still apply. */
93454 char iconv ();
93456 main ()
93458 iconv ();
93460 return 0;
93462 _ACEOF
93463 rm -f conftest.$ac_objext conftest$ac_exeext
93464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93465 (eval $ac_link) 2>conftest.er1
93466 ac_status=$?
93467 grep -v '^ *+' conftest.er1 >conftest.err
93468 rm -f conftest.er1
93469 cat conftest.err >&5
93470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93471 (exit $ac_status); } &&
93472 { ac_try='test -z "$ac_c_werror_flag"
93473 || test ! -s conftest.err'
93474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93475 (eval $ac_try) 2>&5
93476 ac_status=$?
93477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93478 (exit $ac_status); }; } &&
93479 { ac_try='test -s conftest$ac_exeext'
93480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93481 (eval $ac_try) 2>&5
93482 ac_status=$?
93483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93484 (exit $ac_status); }; }; then
93485 ac_cv_lib_iconv_iconv=yes
93486 else
93487 echo "$as_me: failed program was:" >&5
93488 sed 's/^/| /' conftest.$ac_ext >&5
93490 ac_cv_lib_iconv_iconv=no
93492 rm -f conftest.err conftest.$ac_objext \
93493 conftest$ac_exeext conftest.$ac_ext
93494 LIBS=$ac_check_lib_save_LIBS
93496 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93497 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93498 if test $ac_cv_lib_iconv_iconv = yes; then
93499 LIBICONV="-liconv"
93502 ac_save_LIBS="$LIBS"
93503 LIBS="$LIBS $LIBICONV"
93510 for ac_func in iconv_open iconv_close iconv nl_langinfo
93512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93513 echo "$as_me:$LINENO: checking for $ac_func" >&5
93514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93515 if eval "test \"\${$as_ac_var+set}\" = set"; then
93516 echo $ECHO_N "(cached) $ECHO_C" >&6
93517 else
93518 if test x$gcc_no_link = xyes; then
93519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93521 { (exit 1); exit 1; }; }
93523 cat >conftest.$ac_ext <<_ACEOF
93524 /* confdefs.h. */
93525 _ACEOF
93526 cat confdefs.h >>conftest.$ac_ext
93527 cat >>conftest.$ac_ext <<_ACEOF
93528 /* end confdefs.h. */
93529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93531 #define $ac_func innocuous_$ac_func
93533 /* System header to define __stub macros and hopefully few prototypes,
93534 which can conflict with char $ac_func (); below.
93535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93536 <limits.h> exists even on freestanding compilers. */
93538 #ifdef __STDC__
93539 # include <limits.h>
93540 #else
93541 # include <assert.h>
93542 #endif
93544 #undef $ac_func
93546 /* Override any gcc2 internal prototype to avoid an error. */
93547 #ifdef __cplusplus
93548 extern "C"
93550 #endif
93551 /* We use char because int might match the return type of a gcc2
93552 builtin and then its argument prototype would still apply. */
93553 char $ac_func ();
93554 /* The GNU C library defines this for functions which it implements
93555 to always fail with ENOSYS. Some functions are actually named
93556 something starting with __ and the normal name is an alias. */
93557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93558 choke me
93559 #else
93560 char (*f) () = $ac_func;
93561 #endif
93562 #ifdef __cplusplus
93564 #endif
93567 main ()
93569 return f != $ac_func;
93571 return 0;
93573 _ACEOF
93574 rm -f conftest.$ac_objext conftest$ac_exeext
93575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93576 (eval $ac_link) 2>conftest.er1
93577 ac_status=$?
93578 grep -v '^ *+' conftest.er1 >conftest.err
93579 rm -f conftest.er1
93580 cat conftest.err >&5
93581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582 (exit $ac_status); } &&
93583 { ac_try='test -z "$ac_c_werror_flag"
93584 || test ! -s conftest.err'
93585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93586 (eval $ac_try) 2>&5
93587 ac_status=$?
93588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589 (exit $ac_status); }; } &&
93590 { ac_try='test -s conftest$ac_exeext'
93591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93592 (eval $ac_try) 2>&5
93593 ac_status=$?
93594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93595 (exit $ac_status); }; }; then
93596 eval "$as_ac_var=yes"
93597 else
93598 echo "$as_me: failed program was:" >&5
93599 sed 's/^/| /' conftest.$ac_ext >&5
93601 eval "$as_ac_var=no"
93603 rm -f conftest.err conftest.$ac_objext \
93604 conftest$ac_exeext conftest.$ac_ext
93606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93608 if test `eval echo '${'$as_ac_var'}'` = yes; then
93609 cat >>confdefs.h <<_ACEOF
93610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93611 _ACEOF
93612 ac_XPG2funcs=yes
93613 else
93614 ac_XPG2funcs=no
93616 done
93619 LIBS="$ac_save_LIBS"
93621 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93622 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93623 if test x"$ac_has_iconv_h" = xyes &&
93624 test x"$ac_has_langinfo_h" = xyes &&
93625 test x"$ac_XPG2funcs" = xyes;
93626 then
93627 ac_XPG2_wchar_t=yes
93628 else
93629 ac_XPG2_wchar_t=no
93631 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93632 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93634 # At the moment, only enable wchar_t specializations if all the
93635 # above support is present.
93636 if test x"$ac_isoC99_wchar_t" = xyes &&
93637 test x"$ac_XPG2_wchar_t" = xyes;
93638 then
93639 cat >>confdefs.h <<\_ACEOF
93640 #define _GLIBCXX_USE_WCHAR_T 1
93641 _ACEOF
93643 enable_wchar_t=yes
93646 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93647 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93648 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93649 echo "${ECHO_T}$enable_wchar_t" >&6
93651 # All of the dependencies for wide character support are here, so
93652 # turn it on. This requires some syncronization with the
93653 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93654 cat >>confdefs.h <<\_ACEOF
93655 #define _GLIBCXX_USE_WCHAR_T 1
93656 _ACEOF
93658 # Are these tested for even when cross?
93659 cat >>confdefs.h <<\_ACEOF
93660 #define HAVE_FLOAT_H 1
93661 _ACEOF
93663 cat >>confdefs.h <<\_ACEOF
93664 #define HAVE_IEEEFP_H 1
93665 _ACEOF
93667 cat >>confdefs.h <<\_ACEOF
93668 #define HAVE_INTTYPES_H 1
93669 _ACEOF
93671 cat >>confdefs.h <<\_ACEOF
93672 #define HAVE_LOCALE_H 1
93673 _ACEOF
93675 cat >>confdefs.h <<\_ACEOF
93676 #define HAVE_NAN_H 1
93677 _ACEOF
93679 cat >>confdefs.h <<\_ACEOF
93680 #define HAVE_SYS_FILIO_H 1
93681 _ACEOF
93683 cat >>confdefs.h <<\_ACEOF
93684 #define HAVE_SYS_IOCTL_H 1
93685 _ACEOF
93687 cat >>confdefs.h <<\_ACEOF
93688 #define HAVE_SYS_ISA_DEFS_H 1
93689 _ACEOF
93691 cat >>confdefs.h <<\_ACEOF
93692 #define HAVE_SYS_RESOURCE_H 1
93693 _ACEOF
93695 cat >>confdefs.h <<\_ACEOF
93696 #define HAVE_SYS_TIME_H 1
93697 _ACEOF
93699 cat >>confdefs.h <<\_ACEOF
93700 #define HAVE_SYS_TYPES_H 1
93701 _ACEOF
93703 cat >>confdefs.h <<\_ACEOF
93704 #define HAVE_UNISTD_H 1
93705 _ACEOF
93707 cat >>confdefs.h <<\_ACEOF
93708 #define HAVE_WCHAR_H 1
93709 _ACEOF
93711 cat >>confdefs.h <<\_ACEOF
93712 #define HAVE_WCTYPE_H 1
93713 _ACEOF
93715 cat >>confdefs.h <<\_ACEOF
93716 #define HAVE_LIBM 1
93717 _ACEOF
93720 esac
93721 case "$target" in
93722 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93723 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93724 cat >>confdefs.h <<\_ACEOF
93725 #define HAVE___BUILTIN_ABS 1
93726 _ACEOF
93728 cat >>confdefs.h <<\_ACEOF
93729 #define HAVE___BUILTIN_LABS 1
93730 _ACEOF
93732 cat >>confdefs.h <<\_ACEOF
93733 #define HAVE___BUILTIN_FABS 1
93734 _ACEOF
93736 cat >>confdefs.h <<\_ACEOF
93737 #define HAVE___BUILTIN_FABSF 1
93738 _ACEOF
93740 cat >>confdefs.h <<\_ACEOF
93741 #define HAVE___BUILTIN_FABSL 1
93742 _ACEOF
93744 cat >>confdefs.h <<\_ACEOF
93745 #define HAVE___BUILTIN_COS 1
93746 _ACEOF
93748 cat >>confdefs.h <<\_ACEOF
93749 #define HAVE___BUILTIN_COSF 1
93750 _ACEOF
93752 cat >>confdefs.h <<\_ACEOF
93753 #define HAVE___BUILTIN_SIN 1
93754 _ACEOF
93756 cat >>confdefs.h <<\_ACEOF
93757 #define HAVE___BUILTIN_SINF 1
93758 _ACEOF
93761 esac
93762 cat >>confdefs.h <<\_ACEOF
93763 #define HAVE_STRTOF 1
93764 _ACEOF
93766 cat >>confdefs.h <<\_ACEOF
93767 #define HAVE_STRTOLD 1
93768 _ACEOF
93770 cat >>confdefs.h <<\_ACEOF
93771 #define HAVE_MMAP 1
93772 _ACEOF
93774 cat >>confdefs.h <<\_ACEOF
93775 #define HAVE_COPYSIGN 1
93776 _ACEOF
93778 cat >>confdefs.h <<\_ACEOF
93779 #define HAVE_ISNAN 1
93780 _ACEOF
93782 cat >>confdefs.h <<\_ACEOF
93783 #define HAVE_ISNANF 1
93784 _ACEOF
93786 cat >>confdefs.h <<\_ACEOF
93787 #define HAVE_MODFF 1
93788 _ACEOF
93790 cat >>confdefs.h <<\_ACEOF
93791 #define HAVE_HYPOT 1
93792 _ACEOF
93795 *-tpf)
93804 for ac_header in nan.h endian.h machine/endian.h \
93805 sys/param.h sys/types.h locale.h float.h inttypes.h
93807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93809 echo "$as_me:$LINENO: checking for $ac_header" >&5
93810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93812 echo $ECHO_N "(cached) $ECHO_C" >&6
93814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93816 else
93817 # Is the header compilable?
93818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93820 cat >conftest.$ac_ext <<_ACEOF
93821 /* confdefs.h. */
93822 _ACEOF
93823 cat confdefs.h >>conftest.$ac_ext
93824 cat >>conftest.$ac_ext <<_ACEOF
93825 /* end confdefs.h. */
93826 $ac_includes_default
93827 #include <$ac_header>
93828 _ACEOF
93829 rm -f conftest.$ac_objext
93830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93831 (eval $ac_compile) 2>conftest.er1
93832 ac_status=$?
93833 grep -v '^ *+' conftest.er1 >conftest.err
93834 rm -f conftest.er1
93835 cat conftest.err >&5
93836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93837 (exit $ac_status); } &&
93838 { ac_try='test -z "$ac_c_werror_flag"
93839 || test ! -s conftest.err'
93840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93841 (eval $ac_try) 2>&5
93842 ac_status=$?
93843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93844 (exit $ac_status); }; } &&
93845 { ac_try='test -s conftest.$ac_objext'
93846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93847 (eval $ac_try) 2>&5
93848 ac_status=$?
93849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93850 (exit $ac_status); }; }; then
93851 ac_header_compiler=yes
93852 else
93853 echo "$as_me: failed program was:" >&5
93854 sed 's/^/| /' conftest.$ac_ext >&5
93856 ac_header_compiler=no
93858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93860 echo "${ECHO_T}$ac_header_compiler" >&6
93862 # Is the header present?
93863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93865 cat >conftest.$ac_ext <<_ACEOF
93866 /* confdefs.h. */
93867 _ACEOF
93868 cat confdefs.h >>conftest.$ac_ext
93869 cat >>conftest.$ac_ext <<_ACEOF
93870 /* end confdefs.h. */
93871 #include <$ac_header>
93872 _ACEOF
93873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93875 ac_status=$?
93876 grep -v '^ *+' conftest.er1 >conftest.err
93877 rm -f conftest.er1
93878 cat conftest.err >&5
93879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93880 (exit $ac_status); } >/dev/null; then
93881 if test -s conftest.err; then
93882 ac_cpp_err=$ac_c_preproc_warn_flag
93883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93884 else
93885 ac_cpp_err=
93887 else
93888 ac_cpp_err=yes
93890 if test -z "$ac_cpp_err"; then
93891 ac_header_preproc=yes
93892 else
93893 echo "$as_me: failed program was:" >&5
93894 sed 's/^/| /' conftest.$ac_ext >&5
93896 ac_header_preproc=no
93898 rm -f conftest.err conftest.$ac_ext
93899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93900 echo "${ECHO_T}$ac_header_preproc" >&6
93902 # So? What about this header?
93903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93904 yes:no: )
93905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93909 ac_header_preproc=yes
93911 no:yes:* )
93912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93925 cat <<\_ASBOX
93926 ## ----------------------------------------- ##
93927 ## Report this to the package-unused lists. ##
93928 ## ----------------------------------------- ##
93929 _ASBOX
93931 sed "s/^/$as_me: WARNING: /" >&2
93933 esac
93934 echo "$as_me:$LINENO: checking for $ac_header" >&5
93935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93937 echo $ECHO_N "(cached) $ECHO_C" >&6
93938 else
93939 eval "$as_ac_Header=\$ac_header_preproc"
93941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93946 cat >>confdefs.h <<_ACEOF
93947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93948 _ACEOF
93952 done
93954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93957 # If we're not using GNU ld, then there's no point in even trying these
93958 # tests. Check for that first. We should have already tested for gld
93959 # by now (in libtool), but require it now just to be safe...
93960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93965 # The name set by libtool depends on the version of libtool. Shame on us
93966 # for depending on an impl detail, but c'est la vie. Older versions used
93967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93970 # set (hence we're using an older libtool), then set it.
93971 if test x${with_gnu_ld+set} != xset; then
93972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93974 with_gnu_ld=no
93975 else
93976 with_gnu_ld=$ac_cv_prog_gnu_ld
93980 # Start by getting the version number. I think the libtool test already
93981 # does some of this, but throws away the result.
93983 ldver=`$LD --version 2>/dev/null | head -1 | \
93984 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93986 glibcxx_gnu_ld_version=`echo $ldver | \
93987 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93989 # Set --gc-sections.
93990 if test "$with_gnu_ld" = "notbroken"; then
93991 # GNU ld it is! Joy and bunny rabbits!
93993 # All these tests are for C++; save the language and the compiler flags.
93994 # Need to do this so that g++ won't try to link in libstdc++
93995 ac_test_CFLAGS="${CFLAGS+set}"
93996 ac_save_CFLAGS="$CFLAGS"
93997 CFLAGS='-x c++ -Wl,--gc-sections'
93999 # Check for -Wl,--gc-sections
94000 # XXX This test is broken at the moment, as symbols required for linking
94001 # are now in libsupc++ (not built yet). In addition, this test has
94002 # cored on solaris in the past. In addition, --gc-sections doesn't
94003 # really work at the moment (keeps on discarding used sections, first
94004 # .eh_frame and now some of the glibc sections for iconv).
94005 # Bzzzzt. Thanks for playing, maybe next time.
94006 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94007 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94008 if test "$cross_compiling" = yes; then
94009 ac_sectionLDflags=yes
94010 else
94011 cat >conftest.$ac_ext <<_ACEOF
94012 /* confdefs.h. */
94013 _ACEOF
94014 cat confdefs.h >>conftest.$ac_ext
94015 cat >>conftest.$ac_ext <<_ACEOF
94016 /* end confdefs.h. */
94018 int main(void)
94020 try { throw 1; }
94021 catch (...) { };
94022 return 0;
94025 _ACEOF
94026 rm -f conftest$ac_exeext
94027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94028 (eval $ac_link) 2>&5
94029 ac_status=$?
94030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94033 (eval $ac_try) 2>&5
94034 ac_status=$?
94035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036 (exit $ac_status); }; }; then
94037 ac_sectionLDflags=yes
94038 else
94039 echo "$as_me: program exited with status $ac_status" >&5
94040 echo "$as_me: failed program was:" >&5
94041 sed 's/^/| /' conftest.$ac_ext >&5
94043 ( exit $ac_status )
94044 ac_sectionLDflags=no
94046 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94048 if test "$ac_test_CFLAGS" = set; then
94049 CFLAGS="$ac_save_CFLAGS"
94050 else
94051 # this is the suspicious part
94052 CFLAGS=''
94054 if test "$ac_sectionLDflags" = "yes"; then
94055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94057 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94058 echo "${ECHO_T}$ac_sectionLDflags" >&6
94061 # Set linker optimization flags.
94062 if test x"$with_gnu_ld" = x"yes"; then
94063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94071 echo "$as_me:$LINENO: checking for main in -lm" >&5
94072 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94073 if test "${ac_cv_lib_m_main+set}" = set; then
94074 echo $ECHO_N "(cached) $ECHO_C" >&6
94075 else
94076 ac_check_lib_save_LIBS=$LIBS
94077 LIBS="-lm $LIBS"
94078 if test x$gcc_no_link = xyes; then
94079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94081 { (exit 1); exit 1; }; }
94083 cat >conftest.$ac_ext <<_ACEOF
94084 /* confdefs.h. */
94085 _ACEOF
94086 cat confdefs.h >>conftest.$ac_ext
94087 cat >>conftest.$ac_ext <<_ACEOF
94088 /* end confdefs.h. */
94092 main ()
94094 main ();
94096 return 0;
94098 _ACEOF
94099 rm -f conftest.$ac_objext conftest$ac_exeext
94100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94101 (eval $ac_link) 2>conftest.er1
94102 ac_status=$?
94103 grep -v '^ *+' conftest.er1 >conftest.err
94104 rm -f conftest.er1
94105 cat conftest.err >&5
94106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94107 (exit $ac_status); } &&
94108 { ac_try='test -z "$ac_c_werror_flag"
94109 || test ! -s conftest.err'
94110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94111 (eval $ac_try) 2>&5
94112 ac_status=$?
94113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94114 (exit $ac_status); }; } &&
94115 { ac_try='test -s conftest$ac_exeext'
94116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94117 (eval $ac_try) 2>&5
94118 ac_status=$?
94119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94120 (exit $ac_status); }; }; then
94121 ac_cv_lib_m_main=yes
94122 else
94123 echo "$as_me: failed program was:" >&5
94124 sed 's/^/| /' conftest.$ac_ext >&5
94126 ac_cv_lib_m_main=no
94128 rm -f conftest.err conftest.$ac_objext \
94129 conftest$ac_exeext conftest.$ac_ext
94130 LIBS=$ac_check_lib_save_LIBS
94132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94133 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94134 if test $ac_cv_lib_m_main = yes; then
94135 cat >>confdefs.h <<_ACEOF
94136 #define HAVE_LIBM 1
94137 _ACEOF
94139 LIBS="-lm $LIBS"
94144 for ac_func in copysignf
94146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94147 echo "$as_me:$LINENO: checking for $ac_func" >&5
94148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94149 if eval "test \"\${$as_ac_var+set}\" = set"; then
94150 echo $ECHO_N "(cached) $ECHO_C" >&6
94151 else
94152 if test x$gcc_no_link = xyes; then
94153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94155 { (exit 1); exit 1; }; }
94157 cat >conftest.$ac_ext <<_ACEOF
94158 /* confdefs.h. */
94159 _ACEOF
94160 cat confdefs.h >>conftest.$ac_ext
94161 cat >>conftest.$ac_ext <<_ACEOF
94162 /* end confdefs.h. */
94163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94165 #define $ac_func innocuous_$ac_func
94167 /* System header to define __stub macros and hopefully few prototypes,
94168 which can conflict with char $ac_func (); below.
94169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94170 <limits.h> exists even on freestanding compilers. */
94172 #ifdef __STDC__
94173 # include <limits.h>
94174 #else
94175 # include <assert.h>
94176 #endif
94178 #undef $ac_func
94180 /* Override any gcc2 internal prototype to avoid an error. */
94181 #ifdef __cplusplus
94182 extern "C"
94184 #endif
94185 /* We use char because int might match the return type of a gcc2
94186 builtin and then its argument prototype would still apply. */
94187 char $ac_func ();
94188 /* The GNU C library defines this for functions which it implements
94189 to always fail with ENOSYS. Some functions are actually named
94190 something starting with __ and the normal name is an alias. */
94191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94192 choke me
94193 #else
94194 char (*f) () = $ac_func;
94195 #endif
94196 #ifdef __cplusplus
94198 #endif
94201 main ()
94203 return f != $ac_func;
94205 return 0;
94207 _ACEOF
94208 rm -f conftest.$ac_objext conftest$ac_exeext
94209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94210 (eval $ac_link) 2>conftest.er1
94211 ac_status=$?
94212 grep -v '^ *+' conftest.er1 >conftest.err
94213 rm -f conftest.er1
94214 cat conftest.err >&5
94215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 (exit $ac_status); } &&
94217 { ac_try='test -z "$ac_c_werror_flag"
94218 || test ! -s conftest.err'
94219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94220 (eval $ac_try) 2>&5
94221 ac_status=$?
94222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94223 (exit $ac_status); }; } &&
94224 { ac_try='test -s conftest$ac_exeext'
94225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94226 (eval $ac_try) 2>&5
94227 ac_status=$?
94228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94229 (exit $ac_status); }; }; then
94230 eval "$as_ac_var=yes"
94231 else
94232 echo "$as_me: failed program was:" >&5
94233 sed 's/^/| /' conftest.$ac_ext >&5
94235 eval "$as_ac_var=no"
94237 rm -f conftest.err conftest.$ac_objext \
94238 conftest$ac_exeext conftest.$ac_ext
94240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94242 if test `eval echo '${'$as_ac_var'}'` = yes; then
94243 cat >>confdefs.h <<_ACEOF
94244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94245 _ACEOF
94247 else
94248 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94250 done
94254 for ac_func in __signbit
94256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94257 echo "$as_me:$LINENO: checking for $ac_func" >&5
94258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94259 if eval "test \"\${$as_ac_var+set}\" = set"; then
94260 echo $ECHO_N "(cached) $ECHO_C" >&6
94261 else
94262 if test x$gcc_no_link = xyes; then
94263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94265 { (exit 1); exit 1; }; }
94267 cat >conftest.$ac_ext <<_ACEOF
94268 /* confdefs.h. */
94269 _ACEOF
94270 cat confdefs.h >>conftest.$ac_ext
94271 cat >>conftest.$ac_ext <<_ACEOF
94272 /* end confdefs.h. */
94273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94275 #define $ac_func innocuous_$ac_func
94277 /* System header to define __stub macros and hopefully few prototypes,
94278 which can conflict with char $ac_func (); below.
94279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94280 <limits.h> exists even on freestanding compilers. */
94282 #ifdef __STDC__
94283 # include <limits.h>
94284 #else
94285 # include <assert.h>
94286 #endif
94288 #undef $ac_func
94290 /* Override any gcc2 internal prototype to avoid an error. */
94291 #ifdef __cplusplus
94292 extern "C"
94294 #endif
94295 /* We use char because int might match the return type of a gcc2
94296 builtin and then its argument prototype would still apply. */
94297 char $ac_func ();
94298 /* The GNU C library defines this for functions which it implements
94299 to always fail with ENOSYS. Some functions are actually named
94300 something starting with __ and the normal name is an alias. */
94301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94302 choke me
94303 #else
94304 char (*f) () = $ac_func;
94305 #endif
94306 #ifdef __cplusplus
94308 #endif
94311 main ()
94313 return f != $ac_func;
94315 return 0;
94317 _ACEOF
94318 rm -f conftest.$ac_objext conftest$ac_exeext
94319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94320 (eval $ac_link) 2>conftest.er1
94321 ac_status=$?
94322 grep -v '^ *+' conftest.er1 >conftest.err
94323 rm -f conftest.er1
94324 cat conftest.err >&5
94325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326 (exit $ac_status); } &&
94327 { ac_try='test -z "$ac_c_werror_flag"
94328 || test ! -s conftest.err'
94329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330 (eval $ac_try) 2>&5
94331 ac_status=$?
94332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333 (exit $ac_status); }; } &&
94334 { ac_try='test -s conftest$ac_exeext'
94335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94336 (eval $ac_try) 2>&5
94337 ac_status=$?
94338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94339 (exit $ac_status); }; }; then
94340 eval "$as_ac_var=yes"
94341 else
94342 echo "$as_me: failed program was:" >&5
94343 sed 's/^/| /' conftest.$ac_ext >&5
94345 eval "$as_ac_var=no"
94347 rm -f conftest.err conftest.$ac_objext \
94348 conftest$ac_exeext conftest.$ac_ext
94350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94352 if test `eval echo '${'$as_ac_var'}'` = yes; then
94353 cat >>confdefs.h <<_ACEOF
94354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94355 _ACEOF
94357 else
94358 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94360 done
94364 for ac_func in __signbitf
94366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94367 echo "$as_me:$LINENO: checking for $ac_func" >&5
94368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94369 if eval "test \"\${$as_ac_var+set}\" = set"; then
94370 echo $ECHO_N "(cached) $ECHO_C" >&6
94371 else
94372 if test x$gcc_no_link = xyes; then
94373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94375 { (exit 1); exit 1; }; }
94377 cat >conftest.$ac_ext <<_ACEOF
94378 /* confdefs.h. */
94379 _ACEOF
94380 cat confdefs.h >>conftest.$ac_ext
94381 cat >>conftest.$ac_ext <<_ACEOF
94382 /* end confdefs.h. */
94383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94385 #define $ac_func innocuous_$ac_func
94387 /* System header to define __stub macros and hopefully few prototypes,
94388 which can conflict with char $ac_func (); below.
94389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94390 <limits.h> exists even on freestanding compilers. */
94392 #ifdef __STDC__
94393 # include <limits.h>
94394 #else
94395 # include <assert.h>
94396 #endif
94398 #undef $ac_func
94400 /* Override any gcc2 internal prototype to avoid an error. */
94401 #ifdef __cplusplus
94402 extern "C"
94404 #endif
94405 /* We use char because int might match the return type of a gcc2
94406 builtin and then its argument prototype would still apply. */
94407 char $ac_func ();
94408 /* The GNU C library defines this for functions which it implements
94409 to always fail with ENOSYS. Some functions are actually named
94410 something starting with __ and the normal name is an alias. */
94411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94412 choke me
94413 #else
94414 char (*f) () = $ac_func;
94415 #endif
94416 #ifdef __cplusplus
94418 #endif
94421 main ()
94423 return f != $ac_func;
94425 return 0;
94427 _ACEOF
94428 rm -f conftest.$ac_objext conftest$ac_exeext
94429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94430 (eval $ac_link) 2>conftest.er1
94431 ac_status=$?
94432 grep -v '^ *+' conftest.er1 >conftest.err
94433 rm -f conftest.er1
94434 cat conftest.err >&5
94435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94436 (exit $ac_status); } &&
94437 { ac_try='test -z "$ac_c_werror_flag"
94438 || test ! -s conftest.err'
94439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94440 (eval $ac_try) 2>&5
94441 ac_status=$?
94442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94443 (exit $ac_status); }; } &&
94444 { ac_try='test -s conftest$ac_exeext'
94445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94446 (eval $ac_try) 2>&5
94447 ac_status=$?
94448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94449 (exit $ac_status); }; }; then
94450 eval "$as_ac_var=yes"
94451 else
94452 echo "$as_me: failed program was:" >&5
94453 sed 's/^/| /' conftest.$ac_ext >&5
94455 eval "$as_ac_var=no"
94457 rm -f conftest.err conftest.$ac_objext \
94458 conftest$ac_exeext conftest.$ac_ext
94460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94462 if test `eval echo '${'$as_ac_var'}'` = yes; then
94463 cat >>confdefs.h <<_ACEOF
94464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94465 _ACEOF
94467 else
94468 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94470 done
94473 if test x$ac_cv_func_copysignl = x"yes"; then
94475 for ac_func in __signbitl
94477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94478 echo "$as_me:$LINENO: checking for $ac_func" >&5
94479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94480 if eval "test \"\${$as_ac_var+set}\" = set"; then
94481 echo $ECHO_N "(cached) $ECHO_C" >&6
94482 else
94483 if test x$gcc_no_link = xyes; then
94484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94486 { (exit 1); exit 1; }; }
94488 cat >conftest.$ac_ext <<_ACEOF
94489 /* confdefs.h. */
94490 _ACEOF
94491 cat confdefs.h >>conftest.$ac_ext
94492 cat >>conftest.$ac_ext <<_ACEOF
94493 /* end confdefs.h. */
94494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94496 #define $ac_func innocuous_$ac_func
94498 /* System header to define __stub macros and hopefully few prototypes,
94499 which can conflict with char $ac_func (); below.
94500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94501 <limits.h> exists even on freestanding compilers. */
94503 #ifdef __STDC__
94504 # include <limits.h>
94505 #else
94506 # include <assert.h>
94507 #endif
94509 #undef $ac_func
94511 /* Override any gcc2 internal prototype to avoid an error. */
94512 #ifdef __cplusplus
94513 extern "C"
94515 #endif
94516 /* We use char because int might match the return type of a gcc2
94517 builtin and then its argument prototype would still apply. */
94518 char $ac_func ();
94519 /* The GNU C library defines this for functions which it implements
94520 to always fail with ENOSYS. Some functions are actually named
94521 something starting with __ and the normal name is an alias. */
94522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94523 choke me
94524 #else
94525 char (*f) () = $ac_func;
94526 #endif
94527 #ifdef __cplusplus
94529 #endif
94532 main ()
94534 return f != $ac_func;
94536 return 0;
94538 _ACEOF
94539 rm -f conftest.$ac_objext conftest$ac_exeext
94540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94541 (eval $ac_link) 2>conftest.er1
94542 ac_status=$?
94543 grep -v '^ *+' conftest.er1 >conftest.err
94544 rm -f conftest.er1
94545 cat conftest.err >&5
94546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94547 (exit $ac_status); } &&
94548 { ac_try='test -z "$ac_c_werror_flag"
94549 || test ! -s conftest.err'
94550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94551 (eval $ac_try) 2>&5
94552 ac_status=$?
94553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94554 (exit $ac_status); }; } &&
94555 { ac_try='test -s conftest$ac_exeext'
94556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94557 (eval $ac_try) 2>&5
94558 ac_status=$?
94559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94560 (exit $ac_status); }; }; then
94561 eval "$as_ac_var=yes"
94562 else
94563 echo "$as_me: failed program was:" >&5
94564 sed 's/^/| /' conftest.$ac_ext >&5
94566 eval "$as_ac_var=no"
94568 rm -f conftest.err conftest.$ac_objext \
94569 conftest$ac_exeext conftest.$ac_ext
94571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94573 if test `eval echo '${'$as_ac_var'}'` = yes; then
94574 cat >>confdefs.h <<_ACEOF
94575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94576 _ACEOF
94578 else
94579 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94581 done
94585 # Used in libmath/Makefile.am.
94586 if test -n "$LIBMATHOBJS"; then
94587 need_libmath=yes
94592 # Test wchar.h for mbstate_t, which is needed for char_traits and
94593 # others even if wchar_t support is not on.
94594 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94595 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94596 cat >conftest.$ac_ext <<_ACEOF
94597 /* confdefs.h. */
94598 _ACEOF
94599 cat confdefs.h >>conftest.$ac_ext
94600 cat >>conftest.$ac_ext <<_ACEOF
94601 /* end confdefs.h. */
94602 #include <wchar.h>
94604 main ()
94606 mbstate_t teststate;
94608 return 0;
94610 _ACEOF
94611 rm -f conftest.$ac_objext
94612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94613 (eval $ac_compile) 2>conftest.er1
94614 ac_status=$?
94615 grep -v '^ *+' conftest.er1 >conftest.err
94616 rm -f conftest.er1
94617 cat conftest.err >&5
94618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94619 (exit $ac_status); } &&
94620 { ac_try='test -z "$ac_c_werror_flag"
94621 || test ! -s conftest.err'
94622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94623 (eval $ac_try) 2>&5
94624 ac_status=$?
94625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94626 (exit $ac_status); }; } &&
94627 { ac_try='test -s conftest.$ac_objext'
94628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94629 (eval $ac_try) 2>&5
94630 ac_status=$?
94631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94632 (exit $ac_status); }; }; then
94633 have_mbstate_t=yes
94634 else
94635 echo "$as_me: failed program was:" >&5
94636 sed 's/^/| /' conftest.$ac_ext >&5
94638 have_mbstate_t=no
94640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94641 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94642 echo "${ECHO_T}$have_mbstate_t" >&6
94643 if test x"$have_mbstate_t" = xyes; then
94644 cat >>confdefs.h <<\_ACEOF
94645 #define HAVE_MBSTATE_T 1
94646 _ACEOF
94650 # Sanity check for existence of ISO C99 headers for extended encoding.
94652 for ac_header in wchar.h
94654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94656 echo "$as_me:$LINENO: checking for $ac_header" >&5
94657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94659 echo $ECHO_N "(cached) $ECHO_C" >&6
94661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94663 else
94664 # Is the header compilable?
94665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94667 cat >conftest.$ac_ext <<_ACEOF
94668 /* confdefs.h. */
94669 _ACEOF
94670 cat confdefs.h >>conftest.$ac_ext
94671 cat >>conftest.$ac_ext <<_ACEOF
94672 /* end confdefs.h. */
94673 $ac_includes_default
94674 #include <$ac_header>
94675 _ACEOF
94676 rm -f conftest.$ac_objext
94677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94678 (eval $ac_compile) 2>conftest.er1
94679 ac_status=$?
94680 grep -v '^ *+' conftest.er1 >conftest.err
94681 rm -f conftest.er1
94682 cat conftest.err >&5
94683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94684 (exit $ac_status); } &&
94685 { ac_try='test -z "$ac_c_werror_flag"
94686 || test ! -s conftest.err'
94687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94688 (eval $ac_try) 2>&5
94689 ac_status=$?
94690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94691 (exit $ac_status); }; } &&
94692 { ac_try='test -s conftest.$ac_objext'
94693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94694 (eval $ac_try) 2>&5
94695 ac_status=$?
94696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94697 (exit $ac_status); }; }; then
94698 ac_header_compiler=yes
94699 else
94700 echo "$as_me: failed program was:" >&5
94701 sed 's/^/| /' conftest.$ac_ext >&5
94703 ac_header_compiler=no
94705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94707 echo "${ECHO_T}$ac_header_compiler" >&6
94709 # Is the header present?
94710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94712 cat >conftest.$ac_ext <<_ACEOF
94713 /* confdefs.h. */
94714 _ACEOF
94715 cat confdefs.h >>conftest.$ac_ext
94716 cat >>conftest.$ac_ext <<_ACEOF
94717 /* end confdefs.h. */
94718 #include <$ac_header>
94719 _ACEOF
94720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94722 ac_status=$?
94723 grep -v '^ *+' conftest.er1 >conftest.err
94724 rm -f conftest.er1
94725 cat conftest.err >&5
94726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94727 (exit $ac_status); } >/dev/null; then
94728 if test -s conftest.err; then
94729 ac_cpp_err=$ac_c_preproc_warn_flag
94730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94731 else
94732 ac_cpp_err=
94734 else
94735 ac_cpp_err=yes
94737 if test -z "$ac_cpp_err"; then
94738 ac_header_preproc=yes
94739 else
94740 echo "$as_me: failed program was:" >&5
94741 sed 's/^/| /' conftest.$ac_ext >&5
94743 ac_header_preproc=no
94745 rm -f conftest.err conftest.$ac_ext
94746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94747 echo "${ECHO_T}$ac_header_preproc" >&6
94749 # So? What about this header?
94750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94751 yes:no: )
94752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94756 ac_header_preproc=yes
94758 no:yes:* )
94759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94772 cat <<\_ASBOX
94773 ## ----------------------------------------- ##
94774 ## Report this to the package-unused lists. ##
94775 ## ----------------------------------------- ##
94776 _ASBOX
94778 sed "s/^/$as_me: WARNING: /" >&2
94780 esac
94781 echo "$as_me:$LINENO: checking for $ac_header" >&5
94782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94784 echo $ECHO_N "(cached) $ECHO_C" >&6
94785 else
94786 eval "$as_ac_Header=\$ac_header_preproc"
94788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94793 cat >>confdefs.h <<_ACEOF
94794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94795 _ACEOF
94796 ac_has_wchar_h=yes
94797 else
94798 ac_has_wchar_h=no
94801 done
94804 for ac_header in wctype.h
94806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94808 echo "$as_me:$LINENO: checking for $ac_header" >&5
94809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94811 echo $ECHO_N "(cached) $ECHO_C" >&6
94813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94815 else
94816 # Is the header compilable?
94817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94819 cat >conftest.$ac_ext <<_ACEOF
94820 /* confdefs.h. */
94821 _ACEOF
94822 cat confdefs.h >>conftest.$ac_ext
94823 cat >>conftest.$ac_ext <<_ACEOF
94824 /* end confdefs.h. */
94825 $ac_includes_default
94826 #include <$ac_header>
94827 _ACEOF
94828 rm -f conftest.$ac_objext
94829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94830 (eval $ac_compile) 2>conftest.er1
94831 ac_status=$?
94832 grep -v '^ *+' conftest.er1 >conftest.err
94833 rm -f conftest.er1
94834 cat conftest.err >&5
94835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94836 (exit $ac_status); } &&
94837 { ac_try='test -z "$ac_c_werror_flag"
94838 || test ! -s conftest.err'
94839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94840 (eval $ac_try) 2>&5
94841 ac_status=$?
94842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94843 (exit $ac_status); }; } &&
94844 { ac_try='test -s conftest.$ac_objext'
94845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94846 (eval $ac_try) 2>&5
94847 ac_status=$?
94848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94849 (exit $ac_status); }; }; then
94850 ac_header_compiler=yes
94851 else
94852 echo "$as_me: failed program was:" >&5
94853 sed 's/^/| /' conftest.$ac_ext >&5
94855 ac_header_compiler=no
94857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94859 echo "${ECHO_T}$ac_header_compiler" >&6
94861 # Is the header present?
94862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94864 cat >conftest.$ac_ext <<_ACEOF
94865 /* confdefs.h. */
94866 _ACEOF
94867 cat confdefs.h >>conftest.$ac_ext
94868 cat >>conftest.$ac_ext <<_ACEOF
94869 /* end confdefs.h. */
94870 #include <$ac_header>
94871 _ACEOF
94872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94874 ac_status=$?
94875 grep -v '^ *+' conftest.er1 >conftest.err
94876 rm -f conftest.er1
94877 cat conftest.err >&5
94878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94879 (exit $ac_status); } >/dev/null; then
94880 if test -s conftest.err; then
94881 ac_cpp_err=$ac_c_preproc_warn_flag
94882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94883 else
94884 ac_cpp_err=
94886 else
94887 ac_cpp_err=yes
94889 if test -z "$ac_cpp_err"; then
94890 ac_header_preproc=yes
94891 else
94892 echo "$as_me: failed program was:" >&5
94893 sed 's/^/| /' conftest.$ac_ext >&5
94895 ac_header_preproc=no
94897 rm -f conftest.err conftest.$ac_ext
94898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94899 echo "${ECHO_T}$ac_header_preproc" >&6
94901 # So? What about this header?
94902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94903 yes:no: )
94904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94908 ac_header_preproc=yes
94910 no:yes:* )
94911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94924 cat <<\_ASBOX
94925 ## ----------------------------------------- ##
94926 ## Report this to the package-unused lists. ##
94927 ## ----------------------------------------- ##
94928 _ASBOX
94930 sed "s/^/$as_me: WARNING: /" >&2
94932 esac
94933 echo "$as_me:$LINENO: checking for $ac_header" >&5
94934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94936 echo $ECHO_N "(cached) $ECHO_C" >&6
94937 else
94938 eval "$as_ac_Header=\$ac_header_preproc"
94940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94945 cat >>confdefs.h <<_ACEOF
94946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94947 _ACEOF
94948 ac_has_wctype_h=yes
94949 else
94950 ac_has_wctype_h=no
94953 done
94956 # Only continue checking if the ISO C99 headers exist and support is on.
94957 if test x"$ac_has_wchar_h" = xyes &&
94958 test x"$ac_has_wctype_h" = xyes &&
94959 test x"$enable_c_mbchar" != xno; then
94961 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94962 # numeric_limits can instantiate type_traits<wchar_t>
94963 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94964 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94965 cat >conftest.$ac_ext <<_ACEOF
94966 /* confdefs.h. */
94967 _ACEOF
94968 cat confdefs.h >>conftest.$ac_ext
94969 cat >>conftest.$ac_ext <<_ACEOF
94970 /* end confdefs.h. */
94971 #include <wchar.h>
94973 main ()
94975 int i = WCHAR_MIN; int j = WCHAR_MAX;
94977 return 0;
94979 _ACEOF
94980 rm -f conftest.$ac_objext
94981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94982 (eval $ac_compile) 2>conftest.er1
94983 ac_status=$?
94984 grep -v '^ *+' conftest.er1 >conftest.err
94985 rm -f conftest.er1
94986 cat conftest.err >&5
94987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94988 (exit $ac_status); } &&
94989 { ac_try='test -z "$ac_c_werror_flag"
94990 || test ! -s conftest.err'
94991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94992 (eval $ac_try) 2>&5
94993 ac_status=$?
94994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94995 (exit $ac_status); }; } &&
94996 { ac_try='test -s conftest.$ac_objext'
94997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94998 (eval $ac_try) 2>&5
94999 ac_status=$?
95000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95001 (exit $ac_status); }; }; then
95002 has_wchar_minmax=yes
95003 else
95004 echo "$as_me: failed program was:" >&5
95005 sed 's/^/| /' conftest.$ac_ext >&5
95007 has_wchar_minmax=no
95009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95010 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
95011 echo "${ECHO_T}$has_wchar_minmax" >&6
95013 # Test wchar.h for WEOF, which is what we use to determine whether
95014 # to specialize for char_traits<wchar_t> or not.
95015 echo "$as_me:$LINENO: checking for WEOF" >&5
95016 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
95017 cat >conftest.$ac_ext <<_ACEOF
95018 /* confdefs.h. */
95019 _ACEOF
95020 cat confdefs.h >>conftest.$ac_ext
95021 cat >>conftest.$ac_ext <<_ACEOF
95022 /* end confdefs.h. */
95024 #include <wchar.h>
95025 #include <stddef.h>
95027 main ()
95029 wint_t i = WEOF;
95031 return 0;
95033 _ACEOF
95034 rm -f conftest.$ac_objext
95035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95036 (eval $ac_compile) 2>conftest.er1
95037 ac_status=$?
95038 grep -v '^ *+' conftest.er1 >conftest.err
95039 rm -f conftest.er1
95040 cat conftest.err >&5
95041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95042 (exit $ac_status); } &&
95043 { ac_try='test -z "$ac_c_werror_flag"
95044 || test ! -s conftest.err'
95045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95046 (eval $ac_try) 2>&5
95047 ac_status=$?
95048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95049 (exit $ac_status); }; } &&
95050 { ac_try='test -s conftest.$ac_objext'
95051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95052 (eval $ac_try) 2>&5
95053 ac_status=$?
95054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95055 (exit $ac_status); }; }; then
95056 has_weof=yes
95057 else
95058 echo "$as_me: failed program was:" >&5
95059 sed 's/^/| /' conftest.$ac_ext >&5
95061 has_weof=no
95063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95064 echo "$as_me:$LINENO: result: $has_weof" >&5
95065 echo "${ECHO_T}$has_weof" >&6
95067 # Tests for wide character functions used in char_traits<wchar_t>.
95068 ac_wfuncs=yes
95075 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95078 echo "$as_me:$LINENO: checking for $ac_func" >&5
95079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95080 if eval "test \"\${$as_ac_var+set}\" = set"; then
95081 echo $ECHO_N "(cached) $ECHO_C" >&6
95082 else
95083 if test x$gcc_no_link = xyes; then
95084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95086 { (exit 1); exit 1; }; }
95088 cat >conftest.$ac_ext <<_ACEOF
95089 /* confdefs.h. */
95090 _ACEOF
95091 cat confdefs.h >>conftest.$ac_ext
95092 cat >>conftest.$ac_ext <<_ACEOF
95093 /* end confdefs.h. */
95094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95096 #define $ac_func innocuous_$ac_func
95098 /* System header to define __stub macros and hopefully few prototypes,
95099 which can conflict with char $ac_func (); below.
95100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95101 <limits.h> exists even on freestanding compilers. */
95103 #ifdef __STDC__
95104 # include <limits.h>
95105 #else
95106 # include <assert.h>
95107 #endif
95109 #undef $ac_func
95111 /* Override any gcc2 internal prototype to avoid an error. */
95112 #ifdef __cplusplus
95113 extern "C"
95115 #endif
95116 /* We use char because int might match the return type of a gcc2
95117 builtin and then its argument prototype would still apply. */
95118 char $ac_func ();
95119 /* The GNU C library defines this for functions which it implements
95120 to always fail with ENOSYS. Some functions are actually named
95121 something starting with __ and the normal name is an alias. */
95122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95123 choke me
95124 #else
95125 char (*f) () = $ac_func;
95126 #endif
95127 #ifdef __cplusplus
95129 #endif
95132 main ()
95134 return f != $ac_func;
95136 return 0;
95138 _ACEOF
95139 rm -f conftest.$ac_objext conftest$ac_exeext
95140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95141 (eval $ac_link) 2>conftest.er1
95142 ac_status=$?
95143 grep -v '^ *+' conftest.er1 >conftest.err
95144 rm -f conftest.er1
95145 cat conftest.err >&5
95146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147 (exit $ac_status); } &&
95148 { ac_try='test -z "$ac_c_werror_flag"
95149 || test ! -s conftest.err'
95150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95151 (eval $ac_try) 2>&5
95152 ac_status=$?
95153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95154 (exit $ac_status); }; } &&
95155 { ac_try='test -s conftest$ac_exeext'
95156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95157 (eval $ac_try) 2>&5
95158 ac_status=$?
95159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160 (exit $ac_status); }; }; then
95161 eval "$as_ac_var=yes"
95162 else
95163 echo "$as_me: failed program was:" >&5
95164 sed 's/^/| /' conftest.$ac_ext >&5
95166 eval "$as_ac_var=no"
95168 rm -f conftest.err conftest.$ac_objext \
95169 conftest$ac_exeext conftest.$ac_ext
95171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95173 if test `eval echo '${'$as_ac_var'}'` = yes; then
95174 cat >>confdefs.h <<_ACEOF
95175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95176 _ACEOF
95178 else
95179 ac_wfuncs=no
95181 done
95184 # Checks for names injected into std:: by the c_std headers.
95231 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95232 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95233 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95234 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95235 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95236 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95239 echo "$as_me:$LINENO: checking for $ac_func" >&5
95240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95241 if eval "test \"\${$as_ac_var+set}\" = set"; then
95242 echo $ECHO_N "(cached) $ECHO_C" >&6
95243 else
95244 if test x$gcc_no_link = xyes; then
95245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95247 { (exit 1); exit 1; }; }
95249 cat >conftest.$ac_ext <<_ACEOF
95250 /* confdefs.h. */
95251 _ACEOF
95252 cat confdefs.h >>conftest.$ac_ext
95253 cat >>conftest.$ac_ext <<_ACEOF
95254 /* end confdefs.h. */
95255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95257 #define $ac_func innocuous_$ac_func
95259 /* System header to define __stub macros and hopefully few prototypes,
95260 which can conflict with char $ac_func (); below.
95261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95262 <limits.h> exists even on freestanding compilers. */
95264 #ifdef __STDC__
95265 # include <limits.h>
95266 #else
95267 # include <assert.h>
95268 #endif
95270 #undef $ac_func
95272 /* Override any gcc2 internal prototype to avoid an error. */
95273 #ifdef __cplusplus
95274 extern "C"
95276 #endif
95277 /* We use char because int might match the return type of a gcc2
95278 builtin and then its argument prototype would still apply. */
95279 char $ac_func ();
95280 /* The GNU C library defines this for functions which it implements
95281 to always fail with ENOSYS. Some functions are actually named
95282 something starting with __ and the normal name is an alias. */
95283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95284 choke me
95285 #else
95286 char (*f) () = $ac_func;
95287 #endif
95288 #ifdef __cplusplus
95290 #endif
95293 main ()
95295 return f != $ac_func;
95297 return 0;
95299 _ACEOF
95300 rm -f conftest.$ac_objext conftest$ac_exeext
95301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95302 (eval $ac_link) 2>conftest.er1
95303 ac_status=$?
95304 grep -v '^ *+' conftest.er1 >conftest.err
95305 rm -f conftest.er1
95306 cat conftest.err >&5
95307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95308 (exit $ac_status); } &&
95309 { ac_try='test -z "$ac_c_werror_flag"
95310 || test ! -s conftest.err'
95311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95312 (eval $ac_try) 2>&5
95313 ac_status=$?
95314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95315 (exit $ac_status); }; } &&
95316 { ac_try='test -s conftest$ac_exeext'
95317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95318 (eval $ac_try) 2>&5
95319 ac_status=$?
95320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95321 (exit $ac_status); }; }; then
95322 eval "$as_ac_var=yes"
95323 else
95324 echo "$as_me: failed program was:" >&5
95325 sed 's/^/| /' conftest.$ac_ext >&5
95327 eval "$as_ac_var=no"
95329 rm -f conftest.err conftest.$ac_objext \
95330 conftest$ac_exeext conftest.$ac_ext
95332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95334 if test `eval echo '${'$as_ac_var'}'` = yes; then
95335 cat >>confdefs.h <<_ACEOF
95336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95337 _ACEOF
95339 else
95340 ac_wfuncs=no
95342 done
95345 # Checks for wide character functions that are not required
95346 # for basic wchar_t support. Don't disable support if they are missing.
95347 # Injection of these is wrapped with guard macros.
95353 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95356 echo "$as_me:$LINENO: checking for $ac_func" >&5
95357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95358 if eval "test \"\${$as_ac_var+set}\" = set"; then
95359 echo $ECHO_N "(cached) $ECHO_C" >&6
95360 else
95361 if test x$gcc_no_link = xyes; then
95362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95364 { (exit 1); exit 1; }; }
95366 cat >conftest.$ac_ext <<_ACEOF
95367 /* confdefs.h. */
95368 _ACEOF
95369 cat confdefs.h >>conftest.$ac_ext
95370 cat >>conftest.$ac_ext <<_ACEOF
95371 /* end confdefs.h. */
95372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95374 #define $ac_func innocuous_$ac_func
95376 /* System header to define __stub macros and hopefully few prototypes,
95377 which can conflict with char $ac_func (); below.
95378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95379 <limits.h> exists even on freestanding compilers. */
95381 #ifdef __STDC__
95382 # include <limits.h>
95383 #else
95384 # include <assert.h>
95385 #endif
95387 #undef $ac_func
95389 /* Override any gcc2 internal prototype to avoid an error. */
95390 #ifdef __cplusplus
95391 extern "C"
95393 #endif
95394 /* We use char because int might match the return type of a gcc2
95395 builtin and then its argument prototype would still apply. */
95396 char $ac_func ();
95397 /* The GNU C library defines this for functions which it implements
95398 to always fail with ENOSYS. Some functions are actually named
95399 something starting with __ and the normal name is an alias. */
95400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95401 choke me
95402 #else
95403 char (*f) () = $ac_func;
95404 #endif
95405 #ifdef __cplusplus
95407 #endif
95410 main ()
95412 return f != $ac_func;
95414 return 0;
95416 _ACEOF
95417 rm -f conftest.$ac_objext conftest$ac_exeext
95418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95419 (eval $ac_link) 2>conftest.er1
95420 ac_status=$?
95421 grep -v '^ *+' conftest.er1 >conftest.err
95422 rm -f conftest.er1
95423 cat conftest.err >&5
95424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95425 (exit $ac_status); } &&
95426 { ac_try='test -z "$ac_c_werror_flag"
95427 || test ! -s conftest.err'
95428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95429 (eval $ac_try) 2>&5
95430 ac_status=$?
95431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95432 (exit $ac_status); }; } &&
95433 { ac_try='test -s conftest$ac_exeext'
95434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95435 (eval $ac_try) 2>&5
95436 ac_status=$?
95437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95438 (exit $ac_status); }; }; then
95439 eval "$as_ac_var=yes"
95440 else
95441 echo "$as_me: failed program was:" >&5
95442 sed 's/^/| /' conftest.$ac_ext >&5
95444 eval "$as_ac_var=no"
95446 rm -f conftest.err conftest.$ac_objext \
95447 conftest$ac_exeext conftest.$ac_ext
95449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95451 if test `eval echo '${'$as_ac_var'}'` = yes; then
95452 cat >>confdefs.h <<_ACEOF
95453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95454 _ACEOF
95457 done
95460 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95461 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95462 if test x"$has_weof" = xyes &&
95463 test x"$has_wchar_minmax" = xyes &&
95464 test x"$ac_wfuncs" = xyes;
95465 then
95466 ac_isoC99_wchar_t=yes
95467 else
95468 ac_isoC99_wchar_t=no
95470 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95471 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95473 # Use iconv for wchar_t to char conversions. As such, check for
95474 # X/Open Portability Guide, version 2 features (XPG2).
95475 if test "${ac_cv_header_iconv_h+set}" = set; then
95476 echo "$as_me:$LINENO: checking for iconv.h" >&5
95477 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95478 if test "${ac_cv_header_iconv_h+set}" = set; then
95479 echo $ECHO_N "(cached) $ECHO_C" >&6
95481 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95482 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95483 else
95484 # Is the header compilable?
95485 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95486 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95487 cat >conftest.$ac_ext <<_ACEOF
95488 /* confdefs.h. */
95489 _ACEOF
95490 cat confdefs.h >>conftest.$ac_ext
95491 cat >>conftest.$ac_ext <<_ACEOF
95492 /* end confdefs.h. */
95493 $ac_includes_default
95494 #include <iconv.h>
95495 _ACEOF
95496 rm -f conftest.$ac_objext
95497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95498 (eval $ac_compile) 2>conftest.er1
95499 ac_status=$?
95500 grep -v '^ *+' conftest.er1 >conftest.err
95501 rm -f conftest.er1
95502 cat conftest.err >&5
95503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95504 (exit $ac_status); } &&
95505 { ac_try='test -z "$ac_c_werror_flag"
95506 || test ! -s conftest.err'
95507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95508 (eval $ac_try) 2>&5
95509 ac_status=$?
95510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95511 (exit $ac_status); }; } &&
95512 { ac_try='test -s conftest.$ac_objext'
95513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95514 (eval $ac_try) 2>&5
95515 ac_status=$?
95516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95517 (exit $ac_status); }; }; then
95518 ac_header_compiler=yes
95519 else
95520 echo "$as_me: failed program was:" >&5
95521 sed 's/^/| /' conftest.$ac_ext >&5
95523 ac_header_compiler=no
95525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95527 echo "${ECHO_T}$ac_header_compiler" >&6
95529 # Is the header present?
95530 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95531 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95532 cat >conftest.$ac_ext <<_ACEOF
95533 /* confdefs.h. */
95534 _ACEOF
95535 cat confdefs.h >>conftest.$ac_ext
95536 cat >>conftest.$ac_ext <<_ACEOF
95537 /* end confdefs.h. */
95538 #include <iconv.h>
95539 _ACEOF
95540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95542 ac_status=$?
95543 grep -v '^ *+' conftest.er1 >conftest.err
95544 rm -f conftest.er1
95545 cat conftest.err >&5
95546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95547 (exit $ac_status); } >/dev/null; then
95548 if test -s conftest.err; then
95549 ac_cpp_err=$ac_c_preproc_warn_flag
95550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95551 else
95552 ac_cpp_err=
95554 else
95555 ac_cpp_err=yes
95557 if test -z "$ac_cpp_err"; then
95558 ac_header_preproc=yes
95559 else
95560 echo "$as_me: failed program was:" >&5
95561 sed 's/^/| /' conftest.$ac_ext >&5
95563 ac_header_preproc=no
95565 rm -f conftest.err conftest.$ac_ext
95566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95567 echo "${ECHO_T}$ac_header_preproc" >&6
95569 # So? What about this header?
95570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95571 yes:no: )
95572 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95573 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95574 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95575 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95576 ac_header_preproc=yes
95578 no:yes:* )
95579 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95580 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95581 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95582 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95583 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95584 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95585 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95586 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95587 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95588 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95589 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95590 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95592 cat <<\_ASBOX
95593 ## ----------------------------------------- ##
95594 ## Report this to the package-unused lists. ##
95595 ## ----------------------------------------- ##
95596 _ASBOX
95598 sed "s/^/$as_me: WARNING: /" >&2
95600 esac
95601 echo "$as_me:$LINENO: checking for iconv.h" >&5
95602 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95603 if test "${ac_cv_header_iconv_h+set}" = set; then
95604 echo $ECHO_N "(cached) $ECHO_C" >&6
95605 else
95606 ac_cv_header_iconv_h=$ac_header_preproc
95608 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95609 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95612 if test $ac_cv_header_iconv_h = yes; then
95613 ac_has_iconv_h=yes
95614 else
95615 ac_has_iconv_h=no
95619 if test "${ac_cv_header_langinfo_h+set}" = set; then
95620 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95621 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95622 if test "${ac_cv_header_langinfo_h+set}" = set; then
95623 echo $ECHO_N "(cached) $ECHO_C" >&6
95625 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95626 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95627 else
95628 # Is the header compilable?
95629 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95630 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95631 cat >conftest.$ac_ext <<_ACEOF
95632 /* confdefs.h. */
95633 _ACEOF
95634 cat confdefs.h >>conftest.$ac_ext
95635 cat >>conftest.$ac_ext <<_ACEOF
95636 /* end confdefs.h. */
95637 $ac_includes_default
95638 #include <langinfo.h>
95639 _ACEOF
95640 rm -f conftest.$ac_objext
95641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95642 (eval $ac_compile) 2>conftest.er1
95643 ac_status=$?
95644 grep -v '^ *+' conftest.er1 >conftest.err
95645 rm -f conftest.er1
95646 cat conftest.err >&5
95647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95648 (exit $ac_status); } &&
95649 { ac_try='test -z "$ac_c_werror_flag"
95650 || test ! -s conftest.err'
95651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95652 (eval $ac_try) 2>&5
95653 ac_status=$?
95654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95655 (exit $ac_status); }; } &&
95656 { ac_try='test -s conftest.$ac_objext'
95657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95658 (eval $ac_try) 2>&5
95659 ac_status=$?
95660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95661 (exit $ac_status); }; }; then
95662 ac_header_compiler=yes
95663 else
95664 echo "$as_me: failed program was:" >&5
95665 sed 's/^/| /' conftest.$ac_ext >&5
95667 ac_header_compiler=no
95669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95671 echo "${ECHO_T}$ac_header_compiler" >&6
95673 # Is the header present?
95674 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95675 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95676 cat >conftest.$ac_ext <<_ACEOF
95677 /* confdefs.h. */
95678 _ACEOF
95679 cat confdefs.h >>conftest.$ac_ext
95680 cat >>conftest.$ac_ext <<_ACEOF
95681 /* end confdefs.h. */
95682 #include <langinfo.h>
95683 _ACEOF
95684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95685 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95686 ac_status=$?
95687 grep -v '^ *+' conftest.er1 >conftest.err
95688 rm -f conftest.er1
95689 cat conftest.err >&5
95690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95691 (exit $ac_status); } >/dev/null; then
95692 if test -s conftest.err; then
95693 ac_cpp_err=$ac_c_preproc_warn_flag
95694 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95695 else
95696 ac_cpp_err=
95698 else
95699 ac_cpp_err=yes
95701 if test -z "$ac_cpp_err"; then
95702 ac_header_preproc=yes
95703 else
95704 echo "$as_me: failed program was:" >&5
95705 sed 's/^/| /' conftest.$ac_ext >&5
95707 ac_header_preproc=no
95709 rm -f conftest.err conftest.$ac_ext
95710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95711 echo "${ECHO_T}$ac_header_preproc" >&6
95713 # So? What about this header?
95714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95715 yes:no: )
95716 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95717 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95718 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95719 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95720 ac_header_preproc=yes
95722 no:yes:* )
95723 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95724 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95725 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95726 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95727 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95728 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95729 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95730 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95731 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95732 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95733 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95734 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95736 cat <<\_ASBOX
95737 ## ----------------------------------------- ##
95738 ## Report this to the package-unused lists. ##
95739 ## ----------------------------------------- ##
95740 _ASBOX
95742 sed "s/^/$as_me: WARNING: /" >&2
95744 esac
95745 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95746 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95747 if test "${ac_cv_header_langinfo_h+set}" = set; then
95748 echo $ECHO_N "(cached) $ECHO_C" >&6
95749 else
95750 ac_cv_header_langinfo_h=$ac_header_preproc
95752 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95753 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95756 if test $ac_cv_header_langinfo_h = yes; then
95757 ac_has_langinfo_h=yes
95758 else
95759 ac_has_langinfo_h=no
95764 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95765 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95766 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95767 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95768 echo $ECHO_N "(cached) $ECHO_C" >&6
95769 else
95770 ac_check_lib_save_LIBS=$LIBS
95771 LIBS="-liconv $LIBS"
95772 if test x$gcc_no_link = xyes; then
95773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95775 { (exit 1); exit 1; }; }
95777 cat >conftest.$ac_ext <<_ACEOF
95778 /* confdefs.h. */
95779 _ACEOF
95780 cat confdefs.h >>conftest.$ac_ext
95781 cat >>conftest.$ac_ext <<_ACEOF
95782 /* end confdefs.h. */
95784 /* Override any gcc2 internal prototype to avoid an error. */
95785 #ifdef __cplusplus
95786 extern "C"
95787 #endif
95788 /* We use char because int might match the return type of a gcc2
95789 builtin and then its argument prototype would still apply. */
95790 char iconv ();
95792 main ()
95794 iconv ();
95796 return 0;
95798 _ACEOF
95799 rm -f conftest.$ac_objext conftest$ac_exeext
95800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95801 (eval $ac_link) 2>conftest.er1
95802 ac_status=$?
95803 grep -v '^ *+' conftest.er1 >conftest.err
95804 rm -f conftest.er1
95805 cat conftest.err >&5
95806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95807 (exit $ac_status); } &&
95808 { ac_try='test -z "$ac_c_werror_flag"
95809 || test ! -s conftest.err'
95810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95811 (eval $ac_try) 2>&5
95812 ac_status=$?
95813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95814 (exit $ac_status); }; } &&
95815 { ac_try='test -s conftest$ac_exeext'
95816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95817 (eval $ac_try) 2>&5
95818 ac_status=$?
95819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95820 (exit $ac_status); }; }; then
95821 ac_cv_lib_iconv_iconv=yes
95822 else
95823 echo "$as_me: failed program was:" >&5
95824 sed 's/^/| /' conftest.$ac_ext >&5
95826 ac_cv_lib_iconv_iconv=no
95828 rm -f conftest.err conftest.$ac_objext \
95829 conftest$ac_exeext conftest.$ac_ext
95830 LIBS=$ac_check_lib_save_LIBS
95832 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95833 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95834 if test $ac_cv_lib_iconv_iconv = yes; then
95835 LIBICONV="-liconv"
95838 ac_save_LIBS="$LIBS"
95839 LIBS="$LIBS $LIBICONV"
95846 for ac_func in iconv_open iconv_close iconv nl_langinfo
95848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95849 echo "$as_me:$LINENO: checking for $ac_func" >&5
95850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95851 if eval "test \"\${$as_ac_var+set}\" = set"; then
95852 echo $ECHO_N "(cached) $ECHO_C" >&6
95853 else
95854 if test x$gcc_no_link = xyes; then
95855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95857 { (exit 1); exit 1; }; }
95859 cat >conftest.$ac_ext <<_ACEOF
95860 /* confdefs.h. */
95861 _ACEOF
95862 cat confdefs.h >>conftest.$ac_ext
95863 cat >>conftest.$ac_ext <<_ACEOF
95864 /* end confdefs.h. */
95865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95867 #define $ac_func innocuous_$ac_func
95869 /* System header to define __stub macros and hopefully few prototypes,
95870 which can conflict with char $ac_func (); below.
95871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95872 <limits.h> exists even on freestanding compilers. */
95874 #ifdef __STDC__
95875 # include <limits.h>
95876 #else
95877 # include <assert.h>
95878 #endif
95880 #undef $ac_func
95882 /* Override any gcc2 internal prototype to avoid an error. */
95883 #ifdef __cplusplus
95884 extern "C"
95886 #endif
95887 /* We use char because int might match the return type of a gcc2
95888 builtin and then its argument prototype would still apply. */
95889 char $ac_func ();
95890 /* The GNU C library defines this for functions which it implements
95891 to always fail with ENOSYS. Some functions are actually named
95892 something starting with __ and the normal name is an alias. */
95893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95894 choke me
95895 #else
95896 char (*f) () = $ac_func;
95897 #endif
95898 #ifdef __cplusplus
95900 #endif
95903 main ()
95905 return f != $ac_func;
95907 return 0;
95909 _ACEOF
95910 rm -f conftest.$ac_objext conftest$ac_exeext
95911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95912 (eval $ac_link) 2>conftest.er1
95913 ac_status=$?
95914 grep -v '^ *+' conftest.er1 >conftest.err
95915 rm -f conftest.er1
95916 cat conftest.err >&5
95917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95918 (exit $ac_status); } &&
95919 { ac_try='test -z "$ac_c_werror_flag"
95920 || test ! -s conftest.err'
95921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95922 (eval $ac_try) 2>&5
95923 ac_status=$?
95924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95925 (exit $ac_status); }; } &&
95926 { ac_try='test -s conftest$ac_exeext'
95927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95928 (eval $ac_try) 2>&5
95929 ac_status=$?
95930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95931 (exit $ac_status); }; }; then
95932 eval "$as_ac_var=yes"
95933 else
95934 echo "$as_me: failed program was:" >&5
95935 sed 's/^/| /' conftest.$ac_ext >&5
95937 eval "$as_ac_var=no"
95939 rm -f conftest.err conftest.$ac_objext \
95940 conftest$ac_exeext conftest.$ac_ext
95942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95944 if test `eval echo '${'$as_ac_var'}'` = yes; then
95945 cat >>confdefs.h <<_ACEOF
95946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95947 _ACEOF
95948 ac_XPG2funcs=yes
95949 else
95950 ac_XPG2funcs=no
95952 done
95955 LIBS="$ac_save_LIBS"
95957 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95958 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95959 if test x"$ac_has_iconv_h" = xyes &&
95960 test x"$ac_has_langinfo_h" = xyes &&
95961 test x"$ac_XPG2funcs" = xyes;
95962 then
95963 ac_XPG2_wchar_t=yes
95964 else
95965 ac_XPG2_wchar_t=no
95967 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95968 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95970 # At the moment, only enable wchar_t specializations if all the
95971 # above support is present.
95972 if test x"$ac_isoC99_wchar_t" = xyes &&
95973 test x"$ac_XPG2_wchar_t" = xyes;
95974 then
95975 cat >>confdefs.h <<\_ACEOF
95976 #define _GLIBCXX_USE_WCHAR_T 1
95977 _ACEOF
95979 enable_wchar_t=yes
95982 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95983 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95984 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95985 echo "${ECHO_T}$enable_wchar_t" >&6
95987 cat >>confdefs.h <<\_ACEOF
95988 #define HAVE_COPYSIGN 1
95989 _ACEOF
95991 cat >>confdefs.h <<\_ACEOF
95992 #define HAVE_COPYSIGNF 1
95993 _ACEOF
95995 cat >>confdefs.h <<\_ACEOF
95996 #define HAVE_FINITE 1
95997 _ACEOF
95999 cat >>confdefs.h <<\_ACEOF
96000 #define HAVE_FINITEF 1
96001 _ACEOF
96003 cat >>confdefs.h <<\_ACEOF
96004 #define HAVE_FREXPF 1
96005 _ACEOF
96007 cat >>confdefs.h <<\_ACEOF
96008 #define HAVE_HYPOTF 1
96009 _ACEOF
96011 cat >>confdefs.h <<\_ACEOF
96012 #define HAVE_ISINF 1
96013 _ACEOF
96015 cat >>confdefs.h <<\_ACEOF
96016 #define HAVE_ISINFF 1
96017 _ACEOF
96019 cat >>confdefs.h <<\_ACEOF
96020 #define HAVE_ISNAN 1
96021 _ACEOF
96023 cat >>confdefs.h <<\_ACEOF
96024 #define HAVE_ISNANF 1
96025 _ACEOF
96027 cat >>confdefs.h <<\_ACEOF
96028 #define HAVE_SINCOS 1
96029 _ACEOF
96031 cat >>confdefs.h <<\_ACEOF
96032 #define HAVE_SINCOSF 1
96033 _ACEOF
96035 if test x"long_double_math_on_this_cpu" = x"yes"; then
96036 cat >>confdefs.h <<\_ACEOF
96037 #define HAVE_FINITEL 1
96038 _ACEOF
96040 cat >>confdefs.h <<\_ACEOF
96041 #define HAVE_HYPOTL 1
96042 _ACEOF
96044 cat >>confdefs.h <<\_ACEOF
96045 #define HAVE_ISINFL 1
96046 _ACEOF
96048 cat >>confdefs.h <<\_ACEOF
96049 #define HAVE_ISNANL 1
96050 _ACEOF
96054 *-vxworks)
96055 cat >>confdefs.h <<\_ACEOF
96056 #define HAVE_MMAP 1
96057 _ACEOF
96059 cat >>confdefs.h <<\_ACEOF
96060 #define HAVE_ACOSF 1
96061 _ACEOF
96063 cat >>confdefs.h <<\_ACEOF
96064 #define HAVE_ASINF 1
96065 _ACEOF
96067 cat >>confdefs.h <<\_ACEOF
96068 #define HAVE_ATAN2F 1
96069 _ACEOF
96071 cat >>confdefs.h <<\_ACEOF
96072 #define HAVE_ATANF 1
96073 _ACEOF
96075 cat >>confdefs.h <<\_ACEOF
96076 #define HAVE_CEILF 1
96077 _ACEOF
96079 cat >>confdefs.h <<\_ACEOF
96080 #define HAVE_COSF 1
96081 _ACEOF
96083 cat >>confdefs.h <<\_ACEOF
96084 #define HAVE_COSHF 1
96085 _ACEOF
96087 cat >>confdefs.h <<\_ACEOF
96088 #define HAVE_EXPF 1
96089 _ACEOF
96091 cat >>confdefs.h <<\_ACEOF
96092 #define HAVE_FABSF 1
96093 _ACEOF
96095 cat >>confdefs.h <<\_ACEOF
96096 #define HAVE_FLOORF 1
96097 _ACEOF
96099 cat >>confdefs.h <<\_ACEOF
96100 #define HAVE_FMODF 1
96101 _ACEOF
96103 cat >>confdefs.h <<\_ACEOF
96104 #define HAVE_HYPOT 1
96105 _ACEOF
96107 cat >>confdefs.h <<\_ACEOF
96108 #define HAVE_LOG10F 1
96109 _ACEOF
96111 cat >>confdefs.h <<\_ACEOF
96112 #define HAVE_LOGF 1
96113 _ACEOF
96115 cat >>confdefs.h <<\_ACEOF
96116 #define HAVE_POWF 1
96117 _ACEOF
96119 cat >>confdefs.h <<\_ACEOF
96120 #define HAVE_SINF 1
96121 _ACEOF
96123 cat >>confdefs.h <<\_ACEOF
96124 #define HAVE_SINHF 1
96125 _ACEOF
96127 cat >>confdefs.h <<\_ACEOF
96128 #define HAVE_SQRTF 1
96129 _ACEOF
96131 cat >>confdefs.h <<\_ACEOF
96132 #define HAVE_TANF 1
96133 _ACEOF
96135 cat >>confdefs.h <<\_ACEOF
96136 #define HAVE_TANHF 1
96137 _ACEOF
96140 *-windiss*)
96141 cat >>confdefs.h <<\_ACEOF
96142 #define HAVE_ACOSF 1
96143 _ACEOF
96145 cat >>confdefs.h <<\_ACEOF
96146 #define HAVE_ACOSL 1
96147 _ACEOF
96149 cat >>confdefs.h <<\_ACEOF
96150 #define HAVE_ASINF 1
96151 _ACEOF
96153 cat >>confdefs.h <<\_ACEOF
96154 #define HAVE_ASINL 1
96155 _ACEOF
96157 cat >>confdefs.h <<\_ACEOF
96158 #define HAVE_ATAN2F 1
96159 _ACEOF
96161 cat >>confdefs.h <<\_ACEOF
96162 #define HAVE_ATAN2L 1
96163 _ACEOF
96165 cat >>confdefs.h <<\_ACEOF
96166 #define HAVE_ATANF 1
96167 _ACEOF
96169 cat >>confdefs.h <<\_ACEOF
96170 #define HAVE_ATANL 1
96171 _ACEOF
96173 cat >>confdefs.h <<\_ACEOF
96174 #define HAVE_CEILF 1
96175 _ACEOF
96177 cat >>confdefs.h <<\_ACEOF
96178 #define HAVE_CEILL 1
96179 _ACEOF
96181 cat >>confdefs.h <<\_ACEOF
96182 #define HAVE_COPYSIGN 1
96183 _ACEOF
96185 cat >>confdefs.h <<\_ACEOF
96186 #define HAVE_COPYSIGNF 1
96187 _ACEOF
96189 cat >>confdefs.h <<\_ACEOF
96190 #define HAVE_COSF 1
96191 _ACEOF
96193 cat >>confdefs.h <<\_ACEOF
96194 #define HAVE_COSL 1
96195 _ACEOF
96197 cat >>confdefs.h <<\_ACEOF
96198 #define HAVE_COSHF 1
96199 _ACEOF
96201 cat >>confdefs.h <<\_ACEOF
96202 #define HAVE_COSHL 1
96203 _ACEOF
96205 cat >>confdefs.h <<\_ACEOF
96206 #define HAVE_EXPF 1
96207 _ACEOF
96209 cat >>confdefs.h <<\_ACEOF
96210 #define HAVE_EXPL 1
96211 _ACEOF
96213 cat >>confdefs.h <<\_ACEOF
96214 #define HAVE_FABSF 1
96215 _ACEOF
96217 cat >>confdefs.h <<\_ACEOF
96218 #define HAVE_FABSL 1
96219 _ACEOF
96221 cat >>confdefs.h <<\_ACEOF
96222 #define HAVE_FLOORF 1
96223 _ACEOF
96225 cat >>confdefs.h <<\_ACEOF
96226 #define HAVE_FLOORL 1
96227 _ACEOF
96229 cat >>confdefs.h <<\_ACEOF
96230 #define HAVE_FMODF 1
96231 _ACEOF
96233 cat >>confdefs.h <<\_ACEOF
96234 #define HAVE_FMODL 1
96235 _ACEOF
96237 cat >>confdefs.h <<\_ACEOF
96238 #define HAVE_FREXPF 1
96239 _ACEOF
96241 cat >>confdefs.h <<\_ACEOF
96242 #define HAVE_FREXPL 1
96243 _ACEOF
96245 cat >>confdefs.h <<\_ACEOF
96246 #define HAVE_LDEXPF 1
96247 _ACEOF
96249 cat >>confdefs.h <<\_ACEOF
96250 #define HAVE_LDEXPL 1
96251 _ACEOF
96253 cat >>confdefs.h <<\_ACEOF
96254 #define HAVE_LOG10F 1
96255 _ACEOF
96257 cat >>confdefs.h <<\_ACEOF
96258 #define HAVE_LOG10L 1
96259 _ACEOF
96261 cat >>confdefs.h <<\_ACEOF
96262 #define HAVE_LOGF 1
96263 _ACEOF
96265 cat >>confdefs.h <<\_ACEOF
96266 #define HAVE_MODFF 1
96267 _ACEOF
96269 cat >>confdefs.h <<\_ACEOF
96270 #define HAVE_MODFL 1
96271 _ACEOF
96273 cat >>confdefs.h <<\_ACEOF
96274 #define HAVE_POWF 1
96275 _ACEOF
96277 cat >>confdefs.h <<\_ACEOF
96278 #define HAVE_POWL 1
96279 _ACEOF
96281 cat >>confdefs.h <<\_ACEOF
96282 #define HAVE_SINF 1
96283 _ACEOF
96285 cat >>confdefs.h <<\_ACEOF
96286 #define HAVE_SINL 1
96287 _ACEOF
96289 cat >>confdefs.h <<\_ACEOF
96290 #define HAVE_SINHF 1
96291 _ACEOF
96293 cat >>confdefs.h <<\_ACEOF
96294 #define HAVE_SINHL 1
96295 _ACEOF
96297 cat >>confdefs.h <<\_ACEOF
96298 #define HAVE_SQRTF 1
96299 _ACEOF
96301 cat >>confdefs.h <<\_ACEOF
96302 #define HAVE_SQRTL 1
96303 _ACEOF
96305 cat >>confdefs.h <<\_ACEOF
96306 #define HAVE_TANF 1
96307 _ACEOF
96309 cat >>confdefs.h <<\_ACEOF
96310 #define HAVE_TANL 1
96311 _ACEOF
96313 cat >>confdefs.h <<\_ACEOF
96314 #define HAVE_TANHF 1
96315 _ACEOF
96317 cat >>confdefs.h <<\_ACEOF
96318 #define HAVE_TANHL 1
96319 _ACEOF
96323 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96324 echo "$as_me: error: No support for this host/target combination." >&2;}
96325 { (exit 1); exit 1; }; }
96327 esac
96332 # At some point, we should differentiate between architectures
96333 # like x86, which have long double versions, and alpha/powerpc/etc.,
96334 # which don't. For the time being, punt.
96335 if test x"long_double_math_on_this_cpu" = x"yes"; then
96336 cat >>confdefs.h <<\_ACEOF
96337 #define HAVE_ACOSL 1
96338 _ACEOF
96340 cat >>confdefs.h <<\_ACEOF
96341 #define HAVE_ASINL 1
96342 _ACEOF
96344 cat >>confdefs.h <<\_ACEOF
96345 #define HAVE_ATAN2L 1
96346 _ACEOF
96348 cat >>confdefs.h <<\_ACEOF
96349 #define HAVE_ATANL 1
96350 _ACEOF
96352 cat >>confdefs.h <<\_ACEOF
96353 #define HAVE_CEILL 1
96354 _ACEOF
96356 cat >>confdefs.h <<\_ACEOF
96357 #define HAVE_COPYSIGNL 1
96358 _ACEOF
96360 cat >>confdefs.h <<\_ACEOF
96361 #define HAVE_COSL 1
96362 _ACEOF
96364 cat >>confdefs.h <<\_ACEOF
96365 #define HAVE_COSHL 1
96366 _ACEOF
96368 cat >>confdefs.h <<\_ACEOF
96369 #define HAVE_EXPL 1
96370 _ACEOF
96372 cat >>confdefs.h <<\_ACEOF
96373 #define HAVE_FABSL 1
96374 _ACEOF
96376 cat >>confdefs.h <<\_ACEOF
96377 #define HAVE_FLOORL 1
96378 _ACEOF
96380 cat >>confdefs.h <<\_ACEOF
96381 #define HAVE_FMODL 1
96382 _ACEOF
96384 cat >>confdefs.h <<\_ACEOF
96385 #define HAVE_FREXPL 1
96386 _ACEOF
96388 cat >>confdefs.h <<\_ACEOF
96389 #define HAVE_LDEXPL 1
96390 _ACEOF
96392 cat >>confdefs.h <<\_ACEOF
96393 #define HAVE_LOG10L 1
96394 _ACEOF
96396 cat >>confdefs.h <<\_ACEOF
96397 #define HAVE_LOGL 1
96398 _ACEOF
96400 cat >>confdefs.h <<\_ACEOF
96401 #define HAVE_MODFL 1
96402 _ACEOF
96404 cat >>confdefs.h <<\_ACEOF
96405 #define HAVE_POWL 1
96406 _ACEOF
96408 cat >>confdefs.h <<\_ACEOF
96409 #define HAVE_SINCOSL 1
96410 _ACEOF
96412 cat >>confdefs.h <<\_ACEOF
96413 #define HAVE_SINL 1
96414 _ACEOF
96416 cat >>confdefs.h <<\_ACEOF
96417 #define HAVE_SINHL 1
96418 _ACEOF
96420 cat >>confdefs.h <<\_ACEOF
96421 #define HAVE_SQRTL 1
96422 _ACEOF
96424 cat >>confdefs.h <<\_ACEOF
96425 #define HAVE_TANL 1
96426 _ACEOF
96428 cat >>confdefs.h <<\_ACEOF
96429 #define HAVE_TANHL 1
96430 _ACEOF
96436 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96439 # Check whether --enable-symvers or --disable-symvers was given.
96440 if test "${enable_symvers+set}" = set; then
96441 enableval="$enable_symvers"
96443 case "$enableval" in
96444 yes|no|gnu) ;;
96445 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96446 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96447 { (exit 1); exit 1; }; } ;;
96448 esac
96450 else
96451 enable_symvers=yes
96455 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96456 # don't know enough about $LD to do tricks...
96458 # FIXME The following test is too strict, in theory.
96459 if test $enable_shared = no ||
96460 test "x$LD" = x ||
96461 test x$glibcxx_gnu_ld_version = x; then
96462 enable_symvers=no
96465 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96466 if test $enable_symvers != no; then
96467 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96468 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96469 ac_save_CFLAGS="$CFLAGS"
96470 CFLAGS=' -lgcc_s'
96471 if test x$gcc_no_link = xyes; then
96472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96474 { (exit 1); exit 1; }; }
96476 cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h. */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h. */
96484 main ()
96486 return 0;
96488 return 0;
96490 _ACEOF
96491 rm -f conftest.$ac_objext conftest$ac_exeext
96492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96493 (eval $ac_link) 2>conftest.er1
96494 ac_status=$?
96495 grep -v '^ *+' conftest.er1 >conftest.err
96496 rm -f conftest.er1
96497 cat conftest.err >&5
96498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96499 (exit $ac_status); } &&
96500 { ac_try='test -z "$ac_c_werror_flag"
96501 || test ! -s conftest.err'
96502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96503 (eval $ac_try) 2>&5
96504 ac_status=$?
96505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96506 (exit $ac_status); }; } &&
96507 { ac_try='test -s conftest$ac_exeext'
96508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96509 (eval $ac_try) 2>&5
96510 ac_status=$?
96511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96512 (exit $ac_status); }; }; then
96513 glibcxx_shared_libgcc=yes
96514 else
96515 echo "$as_me: failed program was:" >&5
96516 sed 's/^/| /' conftest.$ac_ext >&5
96518 glibcxx_shared_libgcc=no
96520 rm -f conftest.err conftest.$ac_objext \
96521 conftest$ac_exeext conftest.$ac_ext
96522 CFLAGS="$ac_save_CFLAGS"
96523 if test $glibcxx_shared_libgcc = no; then
96524 cat > conftest.c <<EOF
96525 int main (void) { return 0; }
96527 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96528 -shared -shared-libgcc -o conftest.so \
96529 conftest.c -v 2>&1 >/dev/null \
96530 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96531 rm -f conftest.c conftest.so
96532 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96533 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96534 if test x$gcc_no_link = xyes; then
96535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96537 { (exit 1); exit 1; }; }
96539 cat >conftest.$ac_ext <<_ACEOF
96540 /* confdefs.h. */
96541 _ACEOF
96542 cat confdefs.h >>conftest.$ac_ext
96543 cat >>conftest.$ac_ext <<_ACEOF
96544 /* end confdefs.h. */
96547 main ()
96549 return 0;
96551 return 0;
96553 _ACEOF
96554 rm -f conftest.$ac_objext conftest$ac_exeext
96555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96556 (eval $ac_link) 2>conftest.er1
96557 ac_status=$?
96558 grep -v '^ *+' conftest.er1 >conftest.err
96559 rm -f conftest.er1
96560 cat conftest.err >&5
96561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96562 (exit $ac_status); } &&
96563 { ac_try='test -z "$ac_c_werror_flag"
96564 || test ! -s conftest.err'
96565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96566 (eval $ac_try) 2>&5
96567 ac_status=$?
96568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96569 (exit $ac_status); }; } &&
96570 { ac_try='test -s conftest$ac_exeext'
96571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96572 (eval $ac_try) 2>&5
96573 ac_status=$?
96574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96575 (exit $ac_status); }; }; then
96576 glibcxx_shared_libgcc=yes
96577 else
96578 echo "$as_me: failed program was:" >&5
96579 sed 's/^/| /' conftest.$ac_ext >&5
96582 rm -f conftest.err conftest.$ac_objext \
96583 conftest$ac_exeext conftest.$ac_ext
96584 CFLAGS="$ac_save_CFLAGS"
96587 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96588 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96591 # For GNU ld, we need at least this version. The format is described in
96592 # GLIBCXX_CHECK_LINKER_FEATURES above.
96593 glibcxx_min_gnu_ld_version=21400
96594 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96596 # Check to see if unspecified "yes" value can win, given results above.
96597 # Change "yes" into either "no" or a style name.
96598 if test $enable_symvers = yes; then
96599 if test $with_gnu_ld = yes &&
96600 test $glibcxx_shared_libgcc = yes;
96601 then
96602 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96603 enable_symvers=gnu
96604 else
96605 # The right tools, the right setup, but too old. Fallbacks?
96606 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96607 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96608 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96609 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96610 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96611 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96612 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96613 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96614 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96615 # Globbing fix is present, proper block support is not.
96616 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96617 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96618 enable_symvers=no
96619 else
96620 # 2.11 or older.
96621 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96622 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96623 enable_symvers=no
96626 else
96627 # just fail for now
96628 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96629 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96630 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96631 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96632 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96633 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96634 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96635 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96636 enable_symvers=no
96640 # Everything parsed; figure out what file to use.
96641 case $enable_symvers in
96643 SYMVER_MAP=config/linker-map.dummy
96645 gnu)
96646 SYMVER_MAP=config/linker-map.gnu
96647 cat >>confdefs.h <<\_ACEOF
96648 #define _GLIBCXX_SYMVER 1
96649 _ACEOF
96652 esac
96657 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96658 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96661 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96663 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96664 # Do checks for resource limit functions.
96666 setrlimit_have_headers=yes
96670 for ac_header in unistd.h sys/time.h sys/resource.h
96672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96674 echo "$as_me:$LINENO: checking for $ac_header" >&5
96675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96677 echo $ECHO_N "(cached) $ECHO_C" >&6
96679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96681 else
96682 # Is the header compilable?
96683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96685 cat >conftest.$ac_ext <<_ACEOF
96686 /* confdefs.h. */
96687 _ACEOF
96688 cat confdefs.h >>conftest.$ac_ext
96689 cat >>conftest.$ac_ext <<_ACEOF
96690 /* end confdefs.h. */
96691 $ac_includes_default
96692 #include <$ac_header>
96693 _ACEOF
96694 rm -f conftest.$ac_objext
96695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96696 (eval $ac_compile) 2>conftest.er1
96697 ac_status=$?
96698 grep -v '^ *+' conftest.er1 >conftest.err
96699 rm -f conftest.er1
96700 cat conftest.err >&5
96701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96702 (exit $ac_status); } &&
96703 { ac_try='test -z "$ac_c_werror_flag"
96704 || test ! -s conftest.err'
96705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96706 (eval $ac_try) 2>&5
96707 ac_status=$?
96708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96709 (exit $ac_status); }; } &&
96710 { ac_try='test -s conftest.$ac_objext'
96711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96712 (eval $ac_try) 2>&5
96713 ac_status=$?
96714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96715 (exit $ac_status); }; }; then
96716 ac_header_compiler=yes
96717 else
96718 echo "$as_me: failed program was:" >&5
96719 sed 's/^/| /' conftest.$ac_ext >&5
96721 ac_header_compiler=no
96723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96725 echo "${ECHO_T}$ac_header_compiler" >&6
96727 # Is the header present?
96728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96730 cat >conftest.$ac_ext <<_ACEOF
96731 /* confdefs.h. */
96732 _ACEOF
96733 cat confdefs.h >>conftest.$ac_ext
96734 cat >>conftest.$ac_ext <<_ACEOF
96735 /* end confdefs.h. */
96736 #include <$ac_header>
96737 _ACEOF
96738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96740 ac_status=$?
96741 grep -v '^ *+' conftest.er1 >conftest.err
96742 rm -f conftest.er1
96743 cat conftest.err >&5
96744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96745 (exit $ac_status); } >/dev/null; then
96746 if test -s conftest.err; then
96747 ac_cpp_err=$ac_c_preproc_warn_flag
96748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96749 else
96750 ac_cpp_err=
96752 else
96753 ac_cpp_err=yes
96755 if test -z "$ac_cpp_err"; then
96756 ac_header_preproc=yes
96757 else
96758 echo "$as_me: failed program was:" >&5
96759 sed 's/^/| /' conftest.$ac_ext >&5
96761 ac_header_preproc=no
96763 rm -f conftest.err conftest.$ac_ext
96764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96765 echo "${ECHO_T}$ac_header_preproc" >&6
96767 # So? What about this header?
96768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96769 yes:no: )
96770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96774 ac_header_preproc=yes
96776 no:yes:* )
96777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96790 cat <<\_ASBOX
96791 ## ----------------------------------------- ##
96792 ## Report this to the package-unused lists. ##
96793 ## ----------------------------------------- ##
96794 _ASBOX
96796 sed "s/^/$as_me: WARNING: /" >&2
96798 esac
96799 echo "$as_me:$LINENO: checking for $ac_header" >&5
96800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96802 echo $ECHO_N "(cached) $ECHO_C" >&6
96803 else
96804 eval "$as_ac_Header=\$ac_header_preproc"
96806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96811 cat >>confdefs.h <<_ACEOF
96812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96813 _ACEOF
96815 else
96816 setrlimit_have_headers=no
96819 done
96821 # If don't have the headers, then we can't run the tests now, and we
96822 # won't be seeing any of these during testsuite compilation.
96823 if test $setrlimit_have_headers = yes; then
96824 # Can't do these in a loop, else the resulting syntax is wrong.
96826 cat >conftest.$ac_ext <<_ACEOF
96827 /* confdefs.h. */
96828 _ACEOF
96829 cat confdefs.h >>conftest.$ac_ext
96830 cat >>conftest.$ac_ext <<_ACEOF
96831 /* end confdefs.h. */
96832 #include <unistd.h>
96833 #include <sys/time.h>
96834 #include <sys/resource.h>
96837 main ()
96839 int f = RLIMIT_DATA ;
96841 return 0;
96843 _ACEOF
96844 rm -f conftest.$ac_objext
96845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96846 (eval $ac_compile) 2>conftest.er1
96847 ac_status=$?
96848 grep -v '^ *+' conftest.er1 >conftest.err
96849 rm -f conftest.er1
96850 cat conftest.err >&5
96851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852 (exit $ac_status); } &&
96853 { ac_try='test -z "$ac_c_werror_flag"
96854 || test ! -s conftest.err'
96855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96856 (eval $ac_try) 2>&5
96857 ac_status=$?
96858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96859 (exit $ac_status); }; } &&
96860 { ac_try='test -s conftest.$ac_objext'
96861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96862 (eval $ac_try) 2>&5
96863 ac_status=$?
96864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96865 (exit $ac_status); }; }; then
96866 glibcxx_mresult=1
96867 else
96868 echo "$as_me: failed program was:" >&5
96869 sed 's/^/| /' conftest.$ac_ext >&5
96871 glibcxx_mresult=0
96873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96875 cat >>confdefs.h <<_ACEOF
96876 #define HAVE_LIMIT_DATA $glibcxx_mresult
96877 _ACEOF
96881 cat >conftest.$ac_ext <<_ACEOF
96882 /* confdefs.h. */
96883 _ACEOF
96884 cat confdefs.h >>conftest.$ac_ext
96885 cat >>conftest.$ac_ext <<_ACEOF
96886 /* end confdefs.h. */
96887 #include <unistd.h>
96888 #include <sys/time.h>
96889 #include <sys/resource.h>
96892 main ()
96894 int f = RLIMIT_RSS ;
96896 return 0;
96898 _ACEOF
96899 rm -f conftest.$ac_objext
96900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96901 (eval $ac_compile) 2>conftest.er1
96902 ac_status=$?
96903 grep -v '^ *+' conftest.er1 >conftest.err
96904 rm -f conftest.er1
96905 cat conftest.err >&5
96906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96907 (exit $ac_status); } &&
96908 { ac_try='test -z "$ac_c_werror_flag"
96909 || test ! -s conftest.err'
96910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96911 (eval $ac_try) 2>&5
96912 ac_status=$?
96913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96914 (exit $ac_status); }; } &&
96915 { ac_try='test -s conftest.$ac_objext'
96916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96917 (eval $ac_try) 2>&5
96918 ac_status=$?
96919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96920 (exit $ac_status); }; }; then
96921 glibcxx_mresult=1
96922 else
96923 echo "$as_me: failed program was:" >&5
96924 sed 's/^/| /' conftest.$ac_ext >&5
96926 glibcxx_mresult=0
96928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96930 cat >>confdefs.h <<_ACEOF
96931 #define HAVE_LIMIT_RSS $glibcxx_mresult
96932 _ACEOF
96936 cat >conftest.$ac_ext <<_ACEOF
96937 /* confdefs.h. */
96938 _ACEOF
96939 cat confdefs.h >>conftest.$ac_ext
96940 cat >>conftest.$ac_ext <<_ACEOF
96941 /* end confdefs.h. */
96942 #include <unistd.h>
96943 #include <sys/time.h>
96944 #include <sys/resource.h>
96947 main ()
96949 int f = RLIMIT_VMEM ;
96951 return 0;
96953 _ACEOF
96954 rm -f conftest.$ac_objext
96955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96956 (eval $ac_compile) 2>conftest.er1
96957 ac_status=$?
96958 grep -v '^ *+' conftest.er1 >conftest.err
96959 rm -f conftest.er1
96960 cat conftest.err >&5
96961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96962 (exit $ac_status); } &&
96963 { ac_try='test -z "$ac_c_werror_flag"
96964 || test ! -s conftest.err'
96965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96966 (eval $ac_try) 2>&5
96967 ac_status=$?
96968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96969 (exit $ac_status); }; } &&
96970 { ac_try='test -s conftest.$ac_objext'
96971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96972 (eval $ac_try) 2>&5
96973 ac_status=$?
96974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96975 (exit $ac_status); }; }; then
96976 glibcxx_mresult=1
96977 else
96978 echo "$as_me: failed program was:" >&5
96979 sed 's/^/| /' conftest.$ac_ext >&5
96981 glibcxx_mresult=0
96983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96985 cat >>confdefs.h <<_ACEOF
96986 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96987 _ACEOF
96991 cat >conftest.$ac_ext <<_ACEOF
96992 /* confdefs.h. */
96993 _ACEOF
96994 cat confdefs.h >>conftest.$ac_ext
96995 cat >>conftest.$ac_ext <<_ACEOF
96996 /* end confdefs.h. */
96997 #include <unistd.h>
96998 #include <sys/time.h>
96999 #include <sys/resource.h>
97002 main ()
97004 int f = RLIMIT_AS ;
97006 return 0;
97008 _ACEOF
97009 rm -f conftest.$ac_objext
97010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97011 (eval $ac_compile) 2>conftest.er1
97012 ac_status=$?
97013 grep -v '^ *+' conftest.er1 >conftest.err
97014 rm -f conftest.er1
97015 cat conftest.err >&5
97016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017 (exit $ac_status); } &&
97018 { ac_try='test -z "$ac_c_werror_flag"
97019 || test ! -s conftest.err'
97020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021 (eval $ac_try) 2>&5
97022 ac_status=$?
97023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024 (exit $ac_status); }; } &&
97025 { ac_try='test -s conftest.$ac_objext'
97026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97027 (eval $ac_try) 2>&5
97028 ac_status=$?
97029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030 (exit $ac_status); }; }; then
97031 glibcxx_mresult=1
97032 else
97033 echo "$as_me: failed program was:" >&5
97034 sed 's/^/| /' conftest.$ac_ext >&5
97036 glibcxx_mresult=0
97038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97040 cat >>confdefs.h <<_ACEOF
97041 #define HAVE_LIMIT_AS $glibcxx_mresult
97042 _ACEOF
97046 cat >conftest.$ac_ext <<_ACEOF
97047 /* confdefs.h. */
97048 _ACEOF
97049 cat confdefs.h >>conftest.$ac_ext
97050 cat >>conftest.$ac_ext <<_ACEOF
97051 /* end confdefs.h. */
97052 #include <unistd.h>
97053 #include <sys/time.h>
97054 #include <sys/resource.h>
97057 main ()
97059 int f = RLIMIT_FSIZE ;
97061 return 0;
97063 _ACEOF
97064 rm -f conftest.$ac_objext
97065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97066 (eval $ac_compile) 2>conftest.er1
97067 ac_status=$?
97068 grep -v '^ *+' conftest.er1 >conftest.err
97069 rm -f conftest.er1
97070 cat conftest.err >&5
97071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072 (exit $ac_status); } &&
97073 { ac_try='test -z "$ac_c_werror_flag"
97074 || test ! -s conftest.err'
97075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97076 (eval $ac_try) 2>&5
97077 ac_status=$?
97078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97079 (exit $ac_status); }; } &&
97080 { ac_try='test -s conftest.$ac_objext'
97081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97082 (eval $ac_try) 2>&5
97083 ac_status=$?
97084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97085 (exit $ac_status); }; }; then
97086 glibcxx_mresult=1
97087 else
97088 echo "$as_me: failed program was:" >&5
97089 sed 's/^/| /' conftest.$ac_ext >&5
97091 glibcxx_mresult=0
97093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97095 cat >>confdefs.h <<_ACEOF
97096 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97097 _ACEOF
97101 # Check for rlimit, setrlimit.
97102 if test "${ac_setrlimit+set}" = set; then
97103 echo $ECHO_N "(cached) $ECHO_C" >&6
97104 else
97106 cat >conftest.$ac_ext <<_ACEOF
97107 /* confdefs.h. */
97108 _ACEOF
97109 cat confdefs.h >>conftest.$ac_ext
97110 cat >>conftest.$ac_ext <<_ACEOF
97111 /* end confdefs.h. */
97112 #include <unistd.h>
97113 #include <sys/time.h>
97114 #include <sys/resource.h>
97117 main ()
97119 struct rlimit r;
97120 setrlimit(0, &r);
97122 return 0;
97124 _ACEOF
97125 rm -f conftest.$ac_objext
97126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97127 (eval $ac_compile) 2>conftest.er1
97128 ac_status=$?
97129 grep -v '^ *+' conftest.er1 >conftest.err
97130 rm -f conftest.er1
97131 cat conftest.err >&5
97132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97133 (exit $ac_status); } &&
97134 { ac_try='test -z "$ac_c_werror_flag"
97135 || test ! -s conftest.err'
97136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97137 (eval $ac_try) 2>&5
97138 ac_status=$?
97139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97140 (exit $ac_status); }; } &&
97141 { ac_try='test -s conftest.$ac_objext'
97142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97143 (eval $ac_try) 2>&5
97144 ac_status=$?
97145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97146 (exit $ac_status); }; }; then
97147 ac_setrlimit=yes
97148 else
97149 echo "$as_me: failed program was:" >&5
97150 sed 's/^/| /' conftest.$ac_ext >&5
97152 ac_setrlimit=no
97154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97160 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97161 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97162 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97163 ac_res_limits=yes
97164 cat >>confdefs.h <<\_ACEOF
97165 #define _GLIBCXX_RES_LIMITS 1
97166 _ACEOF
97168 else
97169 ac_res_limits=no
97171 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97172 echo "${ECHO_T}$ac_res_limits" >&6
97175 # Look for setenv, so that extended locale tests can be performed.
97177 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97178 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97179 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97180 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97181 echo $ECHO_N "(cached) $ECHO_C" >&6
97182 else
97186 ac_ext=cc
97187 ac_cpp='$CXXCPP $CPPFLAGS'
97188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97192 cat >conftest.$ac_ext <<_ACEOF
97193 /* confdefs.h. */
97194 _ACEOF
97195 cat confdefs.h >>conftest.$ac_ext
97196 cat >>conftest.$ac_ext <<_ACEOF
97197 /* end confdefs.h. */
97198 #include <stdlib.h>
97200 main ()
97202 setenv(0, 0, 0);
97204 return 0;
97206 _ACEOF
97207 rm -f conftest.$ac_objext
97208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97209 (eval $ac_compile) 2>conftest.er1
97210 ac_status=$?
97211 grep -v '^ *+' conftest.er1 >conftest.err
97212 rm -f conftest.er1
97213 cat conftest.err >&5
97214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97215 (exit $ac_status); } &&
97216 { ac_try='test -z "$ac_cxx_werror_flag"
97217 || test ! -s conftest.err'
97218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97219 (eval $ac_try) 2>&5
97220 ac_status=$?
97221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97222 (exit $ac_status); }; } &&
97223 { ac_try='test -s conftest.$ac_objext'
97224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97225 (eval $ac_try) 2>&5
97226 ac_status=$?
97227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97228 (exit $ac_status); }; }; then
97229 glibcxx_cv_func_setenv_use=yes
97230 else
97231 echo "$as_me: failed program was:" >&5
97232 sed 's/^/| /' conftest.$ac_ext >&5
97234 glibcxx_cv_func_setenv_use=no
97236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97237 ac_ext=c
97238 ac_cpp='$CPP $CPPFLAGS'
97239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97248 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97249 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97251 for ac_func in setenv
97253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97254 echo "$as_me:$LINENO: checking for $ac_func" >&5
97255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97256 if eval "test \"\${$as_ac_var+set}\" = set"; then
97257 echo $ECHO_N "(cached) $ECHO_C" >&6
97258 else
97259 if test x$gcc_no_link = xyes; then
97260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97262 { (exit 1); exit 1; }; }
97264 cat >conftest.$ac_ext <<_ACEOF
97265 /* confdefs.h. */
97266 _ACEOF
97267 cat confdefs.h >>conftest.$ac_ext
97268 cat >>conftest.$ac_ext <<_ACEOF
97269 /* end confdefs.h. */
97270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97272 #define $ac_func innocuous_$ac_func
97274 /* System header to define __stub macros and hopefully few prototypes,
97275 which can conflict with char $ac_func (); below.
97276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97277 <limits.h> exists even on freestanding compilers. */
97279 #ifdef __STDC__
97280 # include <limits.h>
97281 #else
97282 # include <assert.h>
97283 #endif
97285 #undef $ac_func
97287 /* Override any gcc2 internal prototype to avoid an error. */
97288 #ifdef __cplusplus
97289 extern "C"
97291 #endif
97292 /* We use char because int might match the return type of a gcc2
97293 builtin and then its argument prototype would still apply. */
97294 char $ac_func ();
97295 /* The GNU C library defines this for functions which it implements
97296 to always fail with ENOSYS. Some functions are actually named
97297 something starting with __ and the normal name is an alias. */
97298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97299 choke me
97300 #else
97301 char (*f) () = $ac_func;
97302 #endif
97303 #ifdef __cplusplus
97305 #endif
97308 main ()
97310 return f != $ac_func;
97312 return 0;
97314 _ACEOF
97315 rm -f conftest.$ac_objext conftest$ac_exeext
97316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97317 (eval $ac_link) 2>conftest.er1
97318 ac_status=$?
97319 grep -v '^ *+' conftest.er1 >conftest.err
97320 rm -f conftest.er1
97321 cat conftest.err >&5
97322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323 (exit $ac_status); } &&
97324 { ac_try='test -z "$ac_c_werror_flag"
97325 || test ! -s conftest.err'
97326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97327 (eval $ac_try) 2>&5
97328 ac_status=$?
97329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330 (exit $ac_status); }; } &&
97331 { ac_try='test -s conftest$ac_exeext'
97332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97333 (eval $ac_try) 2>&5
97334 ac_status=$?
97335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97336 (exit $ac_status); }; }; then
97337 eval "$as_ac_var=yes"
97338 else
97339 echo "$as_me: failed program was:" >&5
97340 sed 's/^/| /' conftest.$ac_ext >&5
97342 eval "$as_ac_var=no"
97344 rm -f conftest.err conftest.$ac_objext \
97345 conftest$ac_exeext conftest.$ac_ext
97347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97349 if test `eval echo '${'$as_ac_var'}'` = yes; then
97350 cat >>confdefs.h <<_ACEOF
97351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97352 _ACEOF
97355 done
97360 if test $enable_symvers = no; then
97361 enable_abi_check=no
97362 else
97363 case "$host" in
97364 *-*-cygwin*)
97365 enable_abi_check=no ;;
97367 enable_abi_check=yes ;;
97368 esac
97370 else
97371 # Only build this as native, since automake does not understand
97372 # CXX_FOR_BUILD.
97373 enable_abi_check=no
97376 # Export file names for ABI checking.
97377 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97385 # Propagate the target-specific source directories through the build chain.
97386 ATOMICITY_SRCDIR=config/${atomicity_dir}
97387 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97388 OS_INC_SRCDIR=config/${os_include_dir}
97389 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97395 # Determine cross-compile flags and AM_CONDITIONALs.
97396 #AC_SUBST(GLIBCXX_IS_NATIVE)
97397 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97398 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97399 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97402 if test $is_hosted = yes; then
97403 GLIBCXX_HOSTED_TRUE=
97404 GLIBCXX_HOSTED_FALSE='#'
97405 else
97406 GLIBCXX_HOSTED_TRUE='#'
97407 GLIBCXX_HOSTED_FALSE=
97413 if test $enable_libstdcxx_pch = yes; then
97414 GLIBCXX_BUILD_PCH_TRUE=
97415 GLIBCXX_BUILD_PCH_FALSE='#'
97416 else
97417 GLIBCXX_BUILD_PCH_TRUE='#'
97418 GLIBCXX_BUILD_PCH_FALSE=
97424 if test $enable_cheaders = c; then
97425 GLIBCXX_C_HEADERS_C_TRUE=
97426 GLIBCXX_C_HEADERS_C_FALSE='#'
97427 else
97428 GLIBCXX_C_HEADERS_C_TRUE='#'
97429 GLIBCXX_C_HEADERS_C_FALSE=
97435 if test $enable_cheaders = c_std; then
97436 GLIBCXX_C_HEADERS_C_STD_TRUE=
97437 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97438 else
97439 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97440 GLIBCXX_C_HEADERS_C_STD_FALSE=
97446 if test $c_compatibility = yes; then
97447 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97448 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97449 else
97450 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97451 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97457 if test $enable_libstdcxx_debug = yes; then
97458 GLIBCXX_BUILD_DEBUG_TRUE=
97459 GLIBCXX_BUILD_DEBUG_FALSE='#'
97460 else
97461 GLIBCXX_BUILD_DEBUG_TRUE='#'
97462 GLIBCXX_BUILD_DEBUG_FALSE=
97468 if test $enable_symvers != no; then
97469 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97470 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97471 else
97472 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97473 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97479 if test $enable_wchar_t = yes; then
97480 GLIBCXX_TEST_WCHAR_T_TRUE=
97481 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97482 else
97483 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97484 GLIBCXX_TEST_WCHAR_T_FALSE=
97490 if test $enable_thread = yes; then
97491 GLIBCXX_TEST_THREAD_TRUE=
97492 GLIBCXX_TEST_THREAD_FALSE='#'
97493 else
97494 GLIBCXX_TEST_THREAD_TRUE='#'
97495 GLIBCXX_TEST_THREAD_FALSE=
97501 if test $enable_abi_check = yes; then
97502 GLIBCXX_TEST_ABI_TRUE=
97503 GLIBCXX_TEST_ABI_FALSE='#'
97504 else
97505 GLIBCXX_TEST_ABI_TRUE='#'
97506 GLIBCXX_TEST_ABI_FALSE=
97512 cat >confcache <<\_ACEOF
97513 # This file is a shell script that caches the results of configure
97514 # tests run on this system so they can be shared between configure
97515 # scripts and configure runs, see configure's option --config-cache.
97516 # It is not useful on other systems. If it contains results you don't
97517 # want to keep, you may remove or edit it.
97519 # config.status only pays attention to the cache file if you give it
97520 # the --recheck option to rerun configure.
97522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97524 # following values.
97526 _ACEOF
97528 # The following way of writing the cache mishandles newlines in values,
97529 # but we know of no workaround that is simple, portable, and efficient.
97530 # So, don't put newlines in cache variables' values.
97531 # Ultrix sh set writes to stderr and can't be redirected directly,
97532 # and sets the high bit in the cache file unless we assign to the vars.
97534 (set) 2>&1 |
97535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97536 *ac_space=\ *)
97537 # `set' does not quote correctly, so add quotes (double-quote
97538 # substitution turns \\\\ into \\, and sed turns \\ into \).
97539 sed -n \
97540 "s/'/'\\\\''/g;
97541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97544 # `set' quotes correctly as required by POSIX, so do not add quotes.
97545 sed -n \
97546 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97548 esac;
97550 sed '
97551 t clear
97552 : clear
97553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97554 t end
97555 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97556 : end' >>confcache
97557 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97558 if test -w $cache_file; then
97559 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97560 cat confcache >$cache_file
97561 else
97562 echo "not updating unwritable cache $cache_file"
97565 rm -f confcache
97567 if test ${multilib} = yes; then
97568 multilib_arg="--enable-multilib"
97569 else
97570 multilib_arg=
97573 # Export all the install information.
97575 glibcxx_toolexecdir=no
97576 glibcxx_toolexeclibdir=no
97577 glibcxx_prefixdir=$prefix
97579 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97580 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97582 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97583 if test "${with_gxx_include_dir+set}" = set; then
97584 withval="$with_gxx_include_dir"
97585 case "$withval" in
97586 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97587 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97588 { (exit 1); exit 1; }; } ;;
97589 no) gxx_include_dir=no ;;
97590 *) gxx_include_dir=$withval ;;
97591 esac
97592 else
97593 gxx_include_dir=no
97595 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97596 echo "${ECHO_T}$gxx_include_dir" >&6
97598 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97599 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97600 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97601 if test "${enable_version_specific_runtime_libs+set}" = set; then
97602 enableval="$enable_version_specific_runtime_libs"
97603 case "$enableval" in
97604 yes) version_specific_libs=yes ;;
97605 no) version_specific_libs=no ;;
97606 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97607 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97608 { (exit 1); exit 1; }; };;
97609 esac
97610 else
97611 version_specific_libs=no
97613 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97614 echo "${ECHO_T}$version_specific_libs" >&6
97616 # Default case for install directory for include files.
97617 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97618 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97621 # Version-specific runtime libs processing.
97622 if test $version_specific_libs = yes; then
97623 # Need the gcc compiler version to know where to install libraries
97624 # and header files if --enable-version-specific-runtime-libs option
97625 # is selected. FIXME: these variables are misnamed, there are
97626 # no executables installed in _toolexecdir or _toolexeclibdir.
97627 if test x"$gxx_include_dir" = x"no"; then
97628 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97630 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97631 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97634 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97635 # Install a library built with a cross compiler in tooldir, not libdir.
97636 if test x"$glibcxx_toolexecdir" = x"no"; then
97637 if test -n "$with_cross_host" &&
97638 test x"$with_cross_host" != x"no"; then
97639 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97640 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97641 else
97642 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97643 glibcxx_toolexeclibdir='${libdir}'
97645 multi_os_directory=`$CXX -print-multi-os-directory`
97646 case $multi_os_directory in
97647 .) ;; # Avoid trailing /.
97648 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97649 esac
97652 echo "$as_me:$LINENO: checking for install location" >&5
97653 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97654 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97655 echo "${ECHO_T}$gxx_include_dir" >&6
97663 # Export all the include and flag information to Makefiles.
97665 # Used for every C++ compile we perform.
97666 GLIBCXX_INCLUDES="\
97667 -I$glibcxx_builddir/include/$host_alias \
97668 -I$glibcxx_builddir/include \
97669 -I$glibcxx_srcdir/libsupc++"
97671 # For Canadian crosses, pick this up too.
97672 if test $CANADIAN = yes; then
97673 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97676 # Stuff in the actual top level. Currently only used by libsupc++ to
97677 # get unwind* headers from the gcc dir.
97678 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97679 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97681 # Now, export this to all the little Makefiles....
97686 # Optimization flags that are probably a good idea for thrill-seekers. Just
97687 # uncomment the lines below and make, everything else is ready to go...
97688 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97689 OPTIMIZE_CXXFLAGS=
97692 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97696 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97697 grep "enable shared" > /dev/null;
97698 then
97699 LIBSUPCXX_PICFLAGS=-prefer-pic
97700 else
97701 LIBSUPCXX_PICFLAGS=
97705 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97707 ac_config_files="$ac_config_files scripts/check_survey"
97709 ac_config_files="$ac_config_files scripts/testsuite_flags"
97712 ac_config_commands="$ac_config_commands default"
97715 cat >confcache <<\_ACEOF
97716 # This file is a shell script that caches the results of configure
97717 # tests run on this system so they can be shared between configure
97718 # scripts and configure runs, see configure's option --config-cache.
97719 # It is not useful on other systems. If it contains results you don't
97720 # want to keep, you may remove or edit it.
97722 # config.status only pays attention to the cache file if you give it
97723 # the --recheck option to rerun configure.
97725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97727 # following values.
97729 _ACEOF
97731 # The following way of writing the cache mishandles newlines in values,
97732 # but we know of no workaround that is simple, portable, and efficient.
97733 # So, don't put newlines in cache variables' values.
97734 # Ultrix sh set writes to stderr and can't be redirected directly,
97735 # and sets the high bit in the cache file unless we assign to the vars.
97737 (set) 2>&1 |
97738 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97739 *ac_space=\ *)
97740 # `set' does not quote correctly, so add quotes (double-quote
97741 # substitution turns \\\\ into \\, and sed turns \\ into \).
97742 sed -n \
97743 "s/'/'\\\\''/g;
97744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97747 # `set' quotes correctly as required by POSIX, so do not add quotes.
97748 sed -n \
97749 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97751 esac;
97753 sed '
97754 t clear
97755 : clear
97756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97757 t end
97758 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97759 : end' >>confcache
97760 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97761 if test -w $cache_file; then
97762 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97763 cat confcache >$cache_file
97764 else
97765 echo "not updating unwritable cache $cache_file"
97768 rm -f confcache
97770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97771 # Let make expand exec_prefix.
97772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97776 # trailing colons and then remove the whole line if VPATH becomes empty
97777 # (actually we leave an empty line to preserve line numbers).
97778 if test "x$srcdir" = x.; then
97779 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97780 s/:*\$(srcdir):*/:/;
97781 s/:*\${srcdir}:*/:/;
97782 s/:*@srcdir@:*/:/;
97783 s/^\([^=]*=[ ]*\):*/\1/;
97784 s/:*$//;
97785 s/^[^=]*=[ ]*$//;
97789 DEFS=-DHAVE_CONFIG_H
97791 ac_libobjs=
97792 ac_ltlibobjs=
97793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97794 # 1. Remove the extension, and $U if already installed.
97795 ac_i=`echo "$ac_i" |
97796 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97797 # 2. Add them.
97798 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97799 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97800 done
97801 LIBOBJS=$ac_libobjs
97803 LTLIBOBJS=$ac_ltlibobjs
97806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97807 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97808 Usually this means the macro was only invoked conditionally." >&5
97809 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97810 Usually this means the macro was only invoked conditionally." >&2;}
97811 { (exit 1); exit 1; }; }
97813 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97814 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97815 Usually this means the macro was only invoked conditionally." >&5
97816 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97817 Usually this means the macro was only invoked conditionally." >&2;}
97818 { (exit 1); exit 1; }; }
97820 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97821 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97822 Usually this means the macro was only invoked conditionally." >&5
97823 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" 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_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97828 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97829 Usually this means the macro was only invoked conditionally." >&5
97830 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" 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_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97835 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97836 Usually this means the macro was only invoked conditionally." >&5
97837 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97838 Usually this means the macro was only invoked conditionally." >&2;}
97839 { (exit 1); exit 1; }; }
97841 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97842 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97843 Usually this means the macro was only invoked conditionally." >&5
97844 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" 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_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97849 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97850 Usually this means the macro was only invoked conditionally." >&5
97851 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97852 Usually this means the macro was only invoked conditionally." >&2;}
97853 { (exit 1); exit 1; }; }
97855 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97856 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97857 Usually this means the macro was only invoked conditionally." >&5
97858 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" 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_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97863 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97864 Usually this means the macro was only invoked conditionally." >&5
97865 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" 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_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97870 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97871 Usually this means the macro was only invoked conditionally." >&5
97872 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97873 Usually this means the macro was only invoked conditionally." >&2;}
97874 { (exit 1); exit 1; }; }
97876 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97877 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97878 Usually this means the macro was only invoked conditionally." >&5
97879 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97880 Usually this means the macro was only invoked conditionally." >&2;}
97881 { (exit 1); exit 1; }; }
97884 : ${CONFIG_STATUS=./config.status}
97885 ac_clean_files_save=$ac_clean_files
97886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97887 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97888 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97889 cat >$CONFIG_STATUS <<_ACEOF
97890 #! $SHELL
97891 # Generated by $as_me.
97892 # Run this file to recreate the current configuration.
97893 # Compiler output produced by configure, useful for debugging
97894 # configure, is in config.log if it exists.
97896 debug=false
97897 ac_cs_recheck=false
97898 ac_cs_silent=false
97899 SHELL=\${CONFIG_SHELL-$SHELL}
97900 _ACEOF
97902 cat >>$CONFIG_STATUS <<\_ACEOF
97903 ## --------------------- ##
97904 ## M4sh Initialization. ##
97905 ## --------------------- ##
97907 # Be Bourne compatible
97908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97909 emulate sh
97910 NULLCMD=:
97911 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97912 # is contrary to our usage. Disable this feature.
97913 alias -g '${1+"$@"}'='"$@"'
97914 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97915 set -o posix
97917 DUALCASE=1; export DUALCASE # for MKS sh
97919 # Support unset when possible.
97920 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97921 as_unset=unset
97922 else
97923 as_unset=false
97927 # Work around bugs in pre-3.0 UWIN ksh.
97928 $as_unset ENV MAIL MAILPATH
97929 PS1='$ '
97930 PS2='> '
97931 PS4='+ '
97933 # NLS nuisances.
97934 for as_var in \
97935 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97936 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97937 LC_TELEPHONE LC_TIME
97939 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97940 eval $as_var=C; export $as_var
97941 else
97942 $as_unset $as_var
97944 done
97946 # Required to use basename.
97947 if expr a : '\(a\)' >/dev/null 2>&1; then
97948 as_expr=expr
97949 else
97950 as_expr=false
97953 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97954 as_basename=basename
97955 else
97956 as_basename=false
97960 # Name of the executable.
97961 as_me=`$as_basename "$0" ||
97962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97963 X"$0" : 'X\(//\)$' \| \
97964 X"$0" : 'X\(/\)$' \| \
97965 . : '\(.\)' 2>/dev/null ||
97966 echo X/"$0" |
97967 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97968 /^X\/\(\/\/\)$/{ s//\1/; q; }
97969 /^X\/\(\/\).*/{ s//\1/; q; }
97970 s/.*/./; q'`
97973 # PATH needs CR, and LINENO needs CR and PATH.
97974 # Avoid depending upon Character Ranges.
97975 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97976 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97977 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97978 as_cr_digits='0123456789'
97979 as_cr_alnum=$as_cr_Letters$as_cr_digits
97981 # The user is always right.
97982 if test "${PATH_SEPARATOR+set}" != set; then
97983 echo "#! /bin/sh" >conf$$.sh
97984 echo "exit 0" >>conf$$.sh
97985 chmod +x conf$$.sh
97986 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97987 PATH_SEPARATOR=';'
97988 else
97989 PATH_SEPARATOR=:
97991 rm -f conf$$.sh
97995 as_lineno_1=$LINENO
97996 as_lineno_2=$LINENO
97997 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97998 test "x$as_lineno_1" != "x$as_lineno_2" &&
97999 test "x$as_lineno_3" = "x$as_lineno_2" || {
98000 # Find who we are. Look in the path if we contain no path at all
98001 # relative or not.
98002 case $0 in
98003 *[\\/]* ) as_myself=$0 ;;
98004 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98005 for as_dir in $PATH
98007 IFS=$as_save_IFS
98008 test -z "$as_dir" && as_dir=.
98009 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98010 done
98013 esac
98014 # We did not find ourselves, most probably we were run as `sh COMMAND'
98015 # in which case we are not to be found in the path.
98016 if test "x$as_myself" = x; then
98017 as_myself=$0
98019 if test ! -f "$as_myself"; then
98020 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98021 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98022 { (exit 1); exit 1; }; }
98024 case $CONFIG_SHELL in
98026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98027 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98029 IFS=$as_save_IFS
98030 test -z "$as_dir" && as_dir=.
98031 for as_base in sh bash ksh sh5; do
98032 case $as_dir in
98034 if ("$as_dir/$as_base" -c '
98035 as_lineno_1=$LINENO
98036 as_lineno_2=$LINENO
98037 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98038 test "x$as_lineno_1" != "x$as_lineno_2" &&
98039 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98040 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98041 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98042 CONFIG_SHELL=$as_dir/$as_base
98043 export CONFIG_SHELL
98044 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98045 fi;;
98046 esac
98047 done
98048 done
98050 esac
98052 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98053 # uniformly replaced by the line number. The first 'sed' inserts a
98054 # line-number line before each line; the second 'sed' does the real
98055 # work. The second script uses 'N' to pair each line-number line
98056 # with the numbered line, and appends trailing '-' during
98057 # substitution so that $LINENO is not a special case at line end.
98058 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98059 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98060 sed '=' <$as_myself |
98061 sed '
98063 s,$,-,
98064 : loop
98065 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98066 t loop
98067 s,-$,,
98068 s,^['$as_cr_digits']*\n,,
98069 ' >$as_me.lineno &&
98070 chmod +x $as_me.lineno ||
98071 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98072 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98073 { (exit 1); exit 1; }; }
98075 # Don't try to exec as it changes $[0], causing all sort of problems
98076 # (the dirname of $[0] is not the place where we might find the
98077 # original and so on. Autoconf is especially sensible to this).
98078 . ./$as_me.lineno
98079 # Exit status is that of the last command.
98080 exit
98084 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98085 *c*,-n*) ECHO_N= ECHO_C='
98086 ' ECHO_T=' ' ;;
98087 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98088 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98089 esac
98091 if expr a : '\(a\)' >/dev/null 2>&1; then
98092 as_expr=expr
98093 else
98094 as_expr=false
98097 rm -f conf$$ conf$$.exe conf$$.file
98098 echo >conf$$.file
98099 if ln -s conf$$.file conf$$ 2>/dev/null; then
98100 # We could just check for DJGPP; but this test a) works b) is more generic
98101 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98102 if test -f conf$$.exe; then
98103 # Don't use ln at all; we don't have any links
98104 as_ln_s='cp -p'
98105 else
98106 as_ln_s='ln -s'
98108 elif ln conf$$.file conf$$ 2>/dev/null; then
98109 as_ln_s=ln
98110 else
98111 as_ln_s='cp -p'
98113 rm -f conf$$ conf$$.exe conf$$.file
98115 if mkdir -p . 2>/dev/null; then
98116 as_mkdir_p=:
98117 else
98118 test -d ./-p && rmdir ./-p
98119 as_mkdir_p=false
98122 as_executable_p="test -f"
98124 # Sed expression to map a string onto a valid CPP name.
98125 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98127 # Sed expression to map a string onto a valid variable name.
98128 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98131 # IFS
98132 # We need space, tab and new line, in precisely that order.
98133 as_nl='
98135 IFS=" $as_nl"
98137 # CDPATH.
98138 $as_unset CDPATH
98140 exec 6>&1
98142 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98143 # report actual input values of CONFIG_FILES etc. instead of their
98144 # values after options handling. Logging --version etc. is OK.
98145 exec 5>>config.log
98147 echo
98148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98149 ## Running $as_me. ##
98150 _ASBOX
98151 } >&5
98152 cat >&5 <<_CSEOF
98154 This file was extended by package-unused $as_me version-unused, which was
98155 generated by GNU Autoconf 2.59. Invocation command line was
98157 CONFIG_FILES = $CONFIG_FILES
98158 CONFIG_HEADERS = $CONFIG_HEADERS
98159 CONFIG_LINKS = $CONFIG_LINKS
98160 CONFIG_COMMANDS = $CONFIG_COMMANDS
98161 $ $0 $@
98163 _CSEOF
98164 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98165 echo >&5
98166 _ACEOF
98168 # Files that config.status was made for.
98169 if test -n "$ac_config_files"; then
98170 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98173 if test -n "$ac_config_headers"; then
98174 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98177 if test -n "$ac_config_links"; then
98178 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98181 if test -n "$ac_config_commands"; then
98182 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98185 cat >>$CONFIG_STATUS <<\_ACEOF
98187 ac_cs_usage="\
98188 \`$as_me' instantiates files from templates according to the
98189 current configuration.
98191 Usage: $0 [OPTIONS] [FILE]...
98193 -h, --help print this help, then exit
98194 -V, --version print version number, then exit
98195 -q, --quiet do not print progress messages
98196 -d, --debug don't remove temporary files
98197 --recheck update $as_me by reconfiguring in the same conditions
98198 --file=FILE[:TEMPLATE]
98199 instantiate the configuration file FILE
98200 --header=FILE[:TEMPLATE]
98201 instantiate the configuration header FILE
98203 Configuration files:
98204 $config_files
98206 Configuration headers:
98207 $config_headers
98209 Configuration commands:
98210 $config_commands
98212 Report bugs to <bug-autoconf@gnu.org>."
98213 _ACEOF
98215 cat >>$CONFIG_STATUS <<_ACEOF
98216 ac_cs_version="\\
98217 package-unused config.status version-unused
98218 configured by $0, generated by GNU Autoconf 2.59,
98219 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98221 Copyright (C) 2003 Free Software Foundation, Inc.
98222 This config.status script is free software; the Free Software Foundation
98223 gives unlimited permission to copy, distribute and modify it."
98224 srcdir=$srcdir
98225 INSTALL="$INSTALL"
98226 _ACEOF
98228 cat >>$CONFIG_STATUS <<\_ACEOF
98229 # If no file are specified by the user, then we need to provide default
98230 # value. By we need to know if files were specified by the user.
98231 ac_need_defaults=:
98232 while test $# != 0
98234 case $1 in
98235 --*=*)
98236 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98237 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98238 ac_shift=:
98241 ac_option=$1
98242 ac_optarg=$2
98243 ac_shift=shift
98245 *) # This is not an option, so the user has probably given explicit
98246 # arguments.
98247 ac_option=$1
98248 ac_need_defaults=false;;
98249 esac
98251 case $ac_option in
98252 # Handling of the options.
98253 _ACEOF
98254 cat >>$CONFIG_STATUS <<\_ACEOF
98255 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98256 ac_cs_recheck=: ;;
98257 --version | --vers* | -V )
98258 echo "$ac_cs_version"; exit 0 ;;
98259 --he | --h)
98260 # Conflict between --help and --header
98261 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98262 Try \`$0 --help' for more information." >&5
98263 echo "$as_me: error: ambiguous option: $1
98264 Try \`$0 --help' for more information." >&2;}
98265 { (exit 1); exit 1; }; };;
98266 --help | --hel | -h )
98267 echo "$ac_cs_usage"; exit 0 ;;
98268 --debug | --d* | -d )
98269 debug=: ;;
98270 --file | --fil | --fi | --f )
98271 $ac_shift
98272 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98273 ac_need_defaults=false;;
98274 --header | --heade | --head | --hea )
98275 $ac_shift
98276 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98277 ac_need_defaults=false;;
98278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98279 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98280 ac_cs_silent=: ;;
98282 # This is an error.
98283 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98284 Try \`$0 --help' for more information." >&5
98285 echo "$as_me: error: unrecognized option: $1
98286 Try \`$0 --help' for more information." >&2;}
98287 { (exit 1); exit 1; }; } ;;
98289 *) ac_config_targets="$ac_config_targets $1" ;;
98291 esac
98292 shift
98293 done
98295 ac_configure_extra_args=
98297 if $ac_cs_silent; then
98298 exec 6>/dev/null
98299 ac_configure_extra_args="$ac_configure_extra_args --silent"
98302 _ACEOF
98303 cat >>$CONFIG_STATUS <<_ACEOF
98304 if \$ac_cs_recheck; then
98305 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98306 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98309 _ACEOF
98311 cat >>$CONFIG_STATUS <<_ACEOF
98313 # INIT-COMMANDS section.
98317 srcdir="$srcdir"
98318 host="$host"
98319 target="$target"
98320 with_multisubdir="$with_multisubdir"
98321 with_multisrctop="$with_multisrctop"
98322 with_target_subdir="$with_target_subdir"
98323 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98324 multi_basedir="$multi_basedir"
98325 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98326 CC="$CC"
98328 # Variables needed in config.status (file generation) which aren't already
98329 # passed by autoconf.
98330 SUBDIRS="$SUBDIRS"
98333 _ACEOF
98337 cat >>$CONFIG_STATUS <<\_ACEOF
98338 for ac_config_target in $ac_config_targets
98340 case "$ac_config_target" in
98341 # Handling of arguments.
98342 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98343 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98344 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98345 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98346 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98347 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98348 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98349 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98350 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98351 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98352 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98353 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98354 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98355 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98356 { (exit 1); exit 1; }; };;
98357 esac
98358 done
98360 # If the user did not use the arguments to specify the items to instantiate,
98361 # then the envvar interface is used. Set only those that are not.
98362 # We use the long form for the default assignment because of an extremely
98363 # bizarre bug on SunOS 4.1.3.
98364 if $ac_need_defaults; then
98365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98370 # Have a temporary directory for convenience. Make it in the build tree
98371 # simply because there is no reason to put it here, and in addition,
98372 # creating and moving files from /tmp can sometimes cause problems.
98373 # Create a temporary directory, and hook for its removal unless debugging.
98374 $debug ||
98376 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98377 trap '{ (exit 1); exit 1; }' 1 2 13 15
98380 # Create a (secure) tmp directory for tmp files.
98383 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98384 test -n "$tmp" && test -d "$tmp"
98385 } ||
98387 tmp=./confstat$$-$RANDOM
98388 (umask 077 && mkdir $tmp)
98389 } ||
98391 echo "$me: cannot create a temporary directory in ." >&2
98392 { (exit 1); exit 1; }
98395 _ACEOF
98397 cat >>$CONFIG_STATUS <<_ACEOF
98400 # CONFIG_FILES section.
98403 # No need to generate the scripts if there are no CONFIG_FILES.
98404 # This happens for instance when ./config.status config.h
98405 if test -n "\$CONFIG_FILES"; then
98406 # Protect against being on the right side of a sed subst in config.status.
98407 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98408 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98409 s,@SHELL@,$SHELL,;t t
98410 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98411 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98412 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98413 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98414 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98415 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98416 s,@exec_prefix@,$exec_prefix,;t t
98417 s,@prefix@,$prefix,;t t
98418 s,@program_transform_name@,$program_transform_name,;t t
98419 s,@bindir@,$bindir,;t t
98420 s,@sbindir@,$sbindir,;t t
98421 s,@libexecdir@,$libexecdir,;t t
98422 s,@datadir@,$datadir,;t t
98423 s,@sysconfdir@,$sysconfdir,;t t
98424 s,@sharedstatedir@,$sharedstatedir,;t t
98425 s,@localstatedir@,$localstatedir,;t t
98426 s,@libdir@,$libdir,;t t
98427 s,@includedir@,$includedir,;t t
98428 s,@oldincludedir@,$oldincludedir,;t t
98429 s,@infodir@,$infodir,;t t
98430 s,@mandir@,$mandir,;t t
98431 s,@build_alias@,$build_alias,;t t
98432 s,@host_alias@,$host_alias,;t t
98433 s,@target_alias@,$target_alias,;t t
98434 s,@DEFS@,$DEFS,;t t
98435 s,@ECHO_C@,$ECHO_C,;t t
98436 s,@ECHO_N@,$ECHO_N,;t t
98437 s,@ECHO_T@,$ECHO_T,;t t
98438 s,@LIBS@,$LIBS,;t t
98439 s,@libtool_VERSION@,$libtool_VERSION,;t t
98440 s,@multi_basedir@,$multi_basedir,;t t
98441 s,@build@,$build,;t t
98442 s,@build_cpu@,$build_cpu,;t t
98443 s,@build_vendor@,$build_vendor,;t t
98444 s,@build_os@,$build_os,;t t
98445 s,@host@,$host,;t t
98446 s,@host_cpu@,$host_cpu,;t t
98447 s,@host_vendor@,$host_vendor,;t t
98448 s,@host_os@,$host_os,;t t
98449 s,@target@,$target,;t t
98450 s,@target_cpu@,$target_cpu,;t t
98451 s,@target_vendor@,$target_vendor,;t t
98452 s,@target_os@,$target_os,;t t
98453 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98454 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98455 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98456 s,@CYGPATH_W@,$CYGPATH_W,;t t
98457 s,@PACKAGE@,$PACKAGE,;t t
98458 s,@VERSION@,$VERSION,;t t
98459 s,@ACLOCAL@,$ACLOCAL,;t t
98460 s,@AUTOCONF@,$AUTOCONF,;t t
98461 s,@AUTOMAKE@,$AUTOMAKE,;t t
98462 s,@AUTOHEADER@,$AUTOHEADER,;t t
98463 s,@MAKEINFO@,$MAKEINFO,;t t
98464 s,@install_sh@,$install_sh,;t t
98465 s,@STRIP@,$STRIP,;t t
98466 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98467 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98468 s,@mkdir_p@,$mkdir_p,;t t
98469 s,@AWK@,$AWK,;t t
98470 s,@SET_MAKE@,$SET_MAKE,;t t
98471 s,@am__leading_dot@,$am__leading_dot,;t t
98472 s,@AMTAR@,$AMTAR,;t t
98473 s,@am__tar@,$am__tar,;t t
98474 s,@am__untar@,$am__untar,;t t
98475 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98476 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98477 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98478 s,@CC@,$CC,;t t
98479 s,@ac_ct_CC@,$ac_ct_CC,;t t
98480 s,@EXEEXT@,$EXEEXT,;t t
98481 s,@OBJEXT@,$OBJEXT,;t t
98482 s,@CXX@,$CXX,;t t
98483 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98484 s,@CFLAGS@,$CFLAGS,;t t
98485 s,@CXXFLAGS@,$CXXFLAGS,;t t
98486 s,@LN_S@,$LN_S,;t t
98487 s,@AS@,$AS,;t t
98488 s,@ac_ct_AS@,$ac_ct_AS,;t t
98489 s,@AR@,$AR,;t t
98490 s,@ac_ct_AR@,$ac_ct_AR,;t t
98491 s,@RANLIB@,$RANLIB,;t t
98492 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98493 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98494 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98495 s,@MAINT@,$MAINT,;t t
98496 s,@LIBTOOL@,$LIBTOOL,;t t
98497 s,@CXXCPP@,$CXXCPP,;t t
98498 s,@CPPFLAGS@,$CPPFLAGS,;t t
98499 s,@enable_shared@,$enable_shared,;t t
98500 s,@enable_static@,$enable_static,;t t
98501 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98502 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98503 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98504 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98505 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98506 s,@CSTDIO_H@,$CSTDIO_H,;t t
98507 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98508 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98509 s,@CPP@,$CPP,;t t
98510 s,@EGREP@,$EGREP,;t t
98511 s,@check_msgfmt@,$check_msgfmt,;t t
98512 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98513 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98514 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98515 s,@USE_NLS@,$USE_NLS,;t t
98516 s,@CLOCALE_H@,$CLOCALE_H,;t t
98517 s,@CCODECVT_H@,$CCODECVT_H,;t t
98518 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98519 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98520 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98521 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98522 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98523 s,@CMONEY_CC@,$CMONEY_CC,;t t
98524 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98525 s,@CTIME_H@,$CTIME_H,;t t
98526 s,@CTIME_CC@,$CTIME_CC,;t t
98527 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98528 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98529 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98530 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98531 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98532 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98533 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98534 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98535 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98536 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98537 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98538 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98539 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98540 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98541 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98542 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98543 s,@WERROR@,$WERROR,;t t
98544 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98545 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98546 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98547 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98548 s,@LIBICONV@,$LIBICONV,;t t
98549 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98550 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98551 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98552 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98553 s,@baseline_dir@,$baseline_dir,;t t
98554 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98555 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98556 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98557 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98558 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98559 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98560 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98561 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98562 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98563 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98564 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98565 s,@gxx_include_dir@,$gxx_include_dir,;t t
98566 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98567 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98568 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98569 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98570 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98571 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98572 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98573 s,@LIBOBJS@,$LIBOBJS,;t t
98574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98575 CEOF
98577 _ACEOF
98579 cat >>$CONFIG_STATUS <<\_ACEOF
98580 # Split the substitutions into bite-sized pieces for seds with
98581 # small command number limits, like on Digital OSF/1 and HP-UX.
98582 ac_max_sed_lines=48
98583 ac_sed_frag=1 # Number of current file.
98584 ac_beg=1 # First line for current file.
98585 ac_end=$ac_max_sed_lines # Line after last line for current file.
98586 ac_more_lines=:
98587 ac_sed_cmds=
98588 while $ac_more_lines; do
98589 if test $ac_beg -gt 1; then
98590 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98591 else
98592 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98594 if test ! -s $tmp/subs.frag; then
98595 ac_more_lines=false
98596 else
98597 # The purpose of the label and of the branching condition is to
98598 # speed up the sed processing (if there are no `@' at all, there
98599 # is no need to browse any of the substitutions).
98600 # These are the two extra sed commands mentioned above.
98601 (echo ':t
98602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98603 if test -z "$ac_sed_cmds"; then
98604 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98605 else
98606 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98608 ac_sed_frag=`expr $ac_sed_frag + 1`
98609 ac_beg=$ac_end
98610 ac_end=`expr $ac_end + $ac_max_sed_lines`
98612 done
98613 if test -z "$ac_sed_cmds"; then
98614 ac_sed_cmds=cat
98616 fi # test -n "$CONFIG_FILES"
98618 _ACEOF
98619 cat >>$CONFIG_STATUS <<\_ACEOF
98620 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98621 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98622 case $ac_file in
98623 - | *:- | *:-:* ) # input from stdin
98624 cat >$tmp/stdin
98625 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98626 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98627 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98628 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98629 * ) ac_file_in=$ac_file.in ;;
98630 esac
98632 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98633 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98635 X"$ac_file" : 'X\(//\)[^/]' \| \
98636 X"$ac_file" : 'X\(//\)$' \| \
98637 X"$ac_file" : 'X\(/\)' \| \
98638 . : '\(.\)' 2>/dev/null ||
98639 echo X"$ac_file" |
98640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98642 /^X\(\/\/\)$/{ s//\1/; q; }
98643 /^X\(\/\).*/{ s//\1/; q; }
98644 s/.*/./; q'`
98645 { if $as_mkdir_p; then
98646 mkdir -p "$ac_dir"
98647 else
98648 as_dir="$ac_dir"
98649 as_dirs=
98650 while test ! -d "$as_dir"; do
98651 as_dirs="$as_dir $as_dirs"
98652 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98654 X"$as_dir" : 'X\(//\)[^/]' \| \
98655 X"$as_dir" : 'X\(//\)$' \| \
98656 X"$as_dir" : 'X\(/\)' \| \
98657 . : '\(.\)' 2>/dev/null ||
98658 echo X"$as_dir" |
98659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98661 /^X\(\/\/\)$/{ s//\1/; q; }
98662 /^X\(\/\).*/{ s//\1/; q; }
98663 s/.*/./; q'`
98664 done
98665 test ! -n "$as_dirs" || mkdir $as_dirs
98666 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98668 { (exit 1); exit 1; }; }; }
98670 ac_builddir=.
98672 if test "$ac_dir" != .; then
98673 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98674 # A "../" for each directory in $ac_dir_suffix.
98675 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98676 else
98677 ac_dir_suffix= ac_top_builddir=
98680 case $srcdir in
98681 .) # No --srcdir option. We are building in place.
98682 ac_srcdir=.
98683 if test -z "$ac_top_builddir"; then
98684 ac_top_srcdir=.
98685 else
98686 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98687 fi ;;
98688 [\\/]* | ?:[\\/]* ) # Absolute path.
98689 ac_srcdir=$srcdir$ac_dir_suffix;
98690 ac_top_srcdir=$srcdir ;;
98691 *) # Relative path.
98692 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98693 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98694 esac
98696 # Do not use `cd foo && pwd` to compute absolute paths, because
98697 # the directories may not exist.
98698 case `pwd` in
98699 .) ac_abs_builddir="$ac_dir";;
98701 case "$ac_dir" in
98702 .) ac_abs_builddir=`pwd`;;
98703 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98704 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98705 esac;;
98706 esac
98707 case $ac_abs_builddir in
98708 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98710 case ${ac_top_builddir}. in
98711 .) ac_abs_top_builddir=$ac_abs_builddir;;
98712 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98713 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98714 esac;;
98715 esac
98716 case $ac_abs_builddir in
98717 .) ac_abs_srcdir=$ac_srcdir;;
98719 case $ac_srcdir in
98720 .) ac_abs_srcdir=$ac_abs_builddir;;
98721 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98722 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98723 esac;;
98724 esac
98725 case $ac_abs_builddir in
98726 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98728 case $ac_top_srcdir in
98729 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98730 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98731 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98732 esac;;
98733 esac
98736 case $INSTALL in
98737 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98738 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98739 esac
98741 if test x"$ac_file" != x-; then
98742 { echo "$as_me:$LINENO: creating $ac_file" >&5
98743 echo "$as_me: creating $ac_file" >&6;}
98744 rm -f "$ac_file"
98746 # Let's still pretend it is `configure' which instantiates (i.e., don't
98747 # use $as_me), people would be surprised to read:
98748 # /* config.h. Generated by config.status. */
98749 if test x"$ac_file" = x-; then
98750 configure_input=
98751 else
98752 configure_input="$ac_file. "
98754 configure_input=$configure_input"Generated from `echo $ac_file_in |
98755 sed 's,.*/,,'` by configure."
98757 # First look for the input files in the build tree, otherwise in the
98758 # src tree.
98759 ac_file_inputs=`IFS=:
98760 for f in $ac_file_in; do
98761 case $f in
98762 -) echo $tmp/stdin ;;
98763 [\\/$]*)
98764 # Absolute (can't be DOS-style, as IFS=:)
98765 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98766 echo "$as_me: error: cannot find input file: $f" >&2;}
98767 { (exit 1); exit 1; }; }
98768 echo "$f";;
98769 *) # Relative
98770 if test -f "$f"; then
98771 # Build tree
98772 echo "$f"
98773 elif test -f "$srcdir/$f"; then
98774 # Source tree
98775 echo "$srcdir/$f"
98776 else
98777 # /dev/null tree
98778 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98779 echo "$as_me: error: cannot find input file: $f" >&2;}
98780 { (exit 1); exit 1; }; }
98781 fi;;
98782 esac
98783 done` || { (exit 1); exit 1; }
98784 _ACEOF
98785 cat >>$CONFIG_STATUS <<_ACEOF
98786 sed "$ac_vpsub
98787 $extrasub
98788 _ACEOF
98789 cat >>$CONFIG_STATUS <<\_ACEOF
98791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98792 s,@configure_input@,$configure_input,;t t
98793 s,@srcdir@,$ac_srcdir,;t t
98794 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98795 s,@top_srcdir@,$ac_top_srcdir,;t t
98796 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98797 s,@builddir@,$ac_builddir,;t t
98798 s,@abs_builddir@,$ac_abs_builddir,;t t
98799 s,@top_builddir@,$ac_top_builddir,;t t
98800 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98801 s,@INSTALL@,$ac_INSTALL,;t t
98802 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98803 rm -f $tmp/stdin
98804 if test x"$ac_file" != x-; then
98805 mv $tmp/out $ac_file
98806 else
98807 cat $tmp/out
98808 rm -f $tmp/out
98811 # Run the commands associated with the file.
98812 case $ac_file in
98813 scripts/check_survey ) chmod +x scripts/check_survey ;;
98814 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98815 esac
98816 done
98817 _ACEOF
98818 cat >>$CONFIG_STATUS <<\_ACEOF
98821 # CONFIG_HEADER section.
98824 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98825 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98827 # ac_d sets the value in "#define NAME VALUE" lines.
98828 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98829 ac_dB='[ ].*$,\1#\2'
98830 ac_dC=' '
98831 ac_dD=',;t'
98832 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98833 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98834 ac_uB='$,\1#\2define\3'
98835 ac_uC=' '
98836 ac_uD=',;t'
98838 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98839 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98840 case $ac_file in
98841 - | *:- | *:-:* ) # input from stdin
98842 cat >$tmp/stdin
98843 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98845 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98846 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98847 * ) ac_file_in=$ac_file.in ;;
98848 esac
98850 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98851 echo "$as_me: creating $ac_file" >&6;}
98853 # First look for the input files in the build tree, otherwise in the
98854 # src tree.
98855 ac_file_inputs=`IFS=:
98856 for f in $ac_file_in; do
98857 case $f in
98858 -) echo $tmp/stdin ;;
98859 [\\/$]*)
98860 # Absolute (can't be DOS-style, as IFS=:)
98861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98862 echo "$as_me: error: cannot find input file: $f" >&2;}
98863 { (exit 1); exit 1; }; }
98864 # Do quote $f, to prevent DOS paths from being IFS'd.
98865 echo "$f";;
98866 *) # Relative
98867 if test -f "$f"; then
98868 # Build tree
98869 echo "$f"
98870 elif test -f "$srcdir/$f"; then
98871 # Source tree
98872 echo "$srcdir/$f"
98873 else
98874 # /dev/null tree
98875 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98876 echo "$as_me: error: cannot find input file: $f" >&2;}
98877 { (exit 1); exit 1; }; }
98878 fi;;
98879 esac
98880 done` || { (exit 1); exit 1; }
98881 # Remove the trailing spaces.
98882 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98884 _ACEOF
98886 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98887 # `conftest.undefs', that substitutes the proper values into
98888 # config.h.in to produce config.h. The first handles `#define'
98889 # templates, and the second `#undef' templates.
98890 # And first: Protect against being on the right side of a sed subst in
98891 # config.status. Protect against being in an unquoted here document
98892 # in config.status.
98893 rm -f conftest.defines conftest.undefs
98894 # Using a here document instead of a string reduces the quoting nightmare.
98895 # Putting comments in sed scripts is not portable.
98897 # `end' is used to avoid that the second main sed command (meant for
98898 # 0-ary CPP macros) applies to n-ary macro definitions.
98899 # See the Autoconf documentation for `clear'.
98900 cat >confdef2sed.sed <<\_ACEOF
98901 s/[\\&,]/\\&/g
98902 s,[\\$`],\\&,g
98903 t clear
98904 : clear
98905 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98906 t end
98907 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98908 : end
98909 _ACEOF
98910 # If some macros were called several times there might be several times
98911 # the same #defines, which is useless. Nevertheless, we may not want to
98912 # sort them, since we want the *last* AC-DEFINE to be honored.
98913 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98914 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98915 rm -f confdef2sed.sed
98917 # This sed command replaces #undef with comments. This is necessary, for
98918 # example, in the case of _POSIX_SOURCE, which is predefined and required
98919 # on some systems where configure will not decide to define it.
98920 cat >>conftest.undefs <<\_ACEOF
98921 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98922 _ACEOF
98924 # Break up conftest.defines because some shells have a limit on the size
98925 # of here documents, and old seds have small limits too (100 cmds).
98926 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98927 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98928 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98929 echo ' :' >>$CONFIG_STATUS
98930 rm -f conftest.tail
98931 while grep . conftest.defines >/dev/null
98933 # Write a limited-size here document to $tmp/defines.sed.
98934 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98935 # Speed up: don't consider the non `#define' lines.
98936 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98937 # Work around the forget-to-reset-the-flag bug.
98938 echo 't clr' >>$CONFIG_STATUS
98939 echo ': clr' >>$CONFIG_STATUS
98940 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98941 echo 'CEOF
98942 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98943 rm -f $tmp/in
98944 mv $tmp/out $tmp/in
98945 ' >>$CONFIG_STATUS
98946 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98947 rm -f conftest.defines
98948 mv conftest.tail conftest.defines
98949 done
98950 rm -f conftest.defines
98951 echo ' fi # grep' >>$CONFIG_STATUS
98952 echo >>$CONFIG_STATUS
98954 # Break up conftest.undefs because some shells have a limit on the size
98955 # of here documents, and old seds have small limits too (100 cmds).
98956 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98957 rm -f conftest.tail
98958 while grep . conftest.undefs >/dev/null
98960 # Write a limited-size here document to $tmp/undefs.sed.
98961 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98962 # Speed up: don't consider the non `#undef'
98963 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98964 # Work around the forget-to-reset-the-flag bug.
98965 echo 't clr' >>$CONFIG_STATUS
98966 echo ': clr' >>$CONFIG_STATUS
98967 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98968 echo 'CEOF
98969 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98970 rm -f $tmp/in
98971 mv $tmp/out $tmp/in
98972 ' >>$CONFIG_STATUS
98973 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98974 rm -f conftest.undefs
98975 mv conftest.tail conftest.undefs
98976 done
98977 rm -f conftest.undefs
98979 cat >>$CONFIG_STATUS <<\_ACEOF
98980 # Let's still pretend it is `configure' which instantiates (i.e., don't
98981 # use $as_me), people would be surprised to read:
98982 # /* config.h. Generated by config.status. */
98983 if test x"$ac_file" = x-; then
98984 echo "/* Generated by configure. */" >$tmp/config.h
98985 else
98986 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98988 cat $tmp/in >>$tmp/config.h
98989 rm -f $tmp/in
98990 if test x"$ac_file" != x-; then
98991 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98992 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98993 echo "$as_me: $ac_file is unchanged" >&6;}
98994 else
98995 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98997 X"$ac_file" : 'X\(//\)[^/]' \| \
98998 X"$ac_file" : 'X\(//\)$' \| \
98999 X"$ac_file" : 'X\(/\)' \| \
99000 . : '\(.\)' 2>/dev/null ||
99001 echo X"$ac_file" |
99002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99004 /^X\(\/\/\)$/{ s//\1/; q; }
99005 /^X\(\/\).*/{ s//\1/; q; }
99006 s/.*/./; q'`
99007 { if $as_mkdir_p; then
99008 mkdir -p "$ac_dir"
99009 else
99010 as_dir="$ac_dir"
99011 as_dirs=
99012 while test ! -d "$as_dir"; do
99013 as_dirs="$as_dir $as_dirs"
99014 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99016 X"$as_dir" : 'X\(//\)[^/]' \| \
99017 X"$as_dir" : 'X\(//\)$' \| \
99018 X"$as_dir" : 'X\(/\)' \| \
99019 . : '\(.\)' 2>/dev/null ||
99020 echo X"$as_dir" |
99021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99023 /^X\(\/\/\)$/{ s//\1/; q; }
99024 /^X\(\/\).*/{ s//\1/; q; }
99025 s/.*/./; q'`
99026 done
99027 test ! -n "$as_dirs" || mkdir $as_dirs
99028 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99030 { (exit 1); exit 1; }; }; }
99032 rm -f $ac_file
99033 mv $tmp/config.h $ac_file
99035 else
99036 cat $tmp/config.h
99037 rm -f $tmp/config.h
99039 # Compute $ac_file's index in $config_headers.
99040 _am_stamp_count=1
99041 for _am_header in $config_headers :; do
99042 case $_am_header in
99043 $ac_file | $ac_file:* )
99044 break ;;
99046 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99047 esac
99048 done
99049 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99050 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99051 X$ac_file : 'X\(//\)[^/]' \| \
99052 X$ac_file : 'X\(//\)$' \| \
99053 X$ac_file : 'X\(/\)' \| \
99054 . : '\(.\)' 2>/dev/null ||
99055 echo X$ac_file |
99056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99058 /^X\(\/\/\)$/{ s//\1/; q; }
99059 /^X\(\/\).*/{ s//\1/; q; }
99060 s/.*/./; q'`/stamp-h$_am_stamp_count
99061 done
99062 _ACEOF
99063 cat >>$CONFIG_STATUS <<\_ACEOF
99066 # CONFIG_COMMANDS section.
99068 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99069 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99070 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99071 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99072 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99073 X"$ac_dest" : 'X\(//\)[^/]' \| \
99074 X"$ac_dest" : 'X\(//\)$' \| \
99075 X"$ac_dest" : 'X\(/\)' \| \
99076 . : '\(.\)' 2>/dev/null ||
99077 echo X"$ac_dest" |
99078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99080 /^X\(\/\/\)$/{ s//\1/; q; }
99081 /^X\(\/\).*/{ s//\1/; q; }
99082 s/.*/./; q'`
99083 { if $as_mkdir_p; then
99084 mkdir -p "$ac_dir"
99085 else
99086 as_dir="$ac_dir"
99087 as_dirs=
99088 while test ! -d "$as_dir"; do
99089 as_dirs="$as_dir $as_dirs"
99090 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99092 X"$as_dir" : 'X\(//\)[^/]' \| \
99093 X"$as_dir" : 'X\(//\)$' \| \
99094 X"$as_dir" : 'X\(/\)' \| \
99095 . : '\(.\)' 2>/dev/null ||
99096 echo X"$as_dir" |
99097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99099 /^X\(\/\/\)$/{ s//\1/; q; }
99100 /^X\(\/\).*/{ s//\1/; q; }
99101 s/.*/./; q'`
99102 done
99103 test ! -n "$as_dirs" || mkdir $as_dirs
99104 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99106 { (exit 1); exit 1; }; }; }
99108 ac_builddir=.
99110 if test "$ac_dir" != .; then
99111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99112 # A "../" for each directory in $ac_dir_suffix.
99113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99114 else
99115 ac_dir_suffix= ac_top_builddir=
99118 case $srcdir in
99119 .) # No --srcdir option. We are building in place.
99120 ac_srcdir=.
99121 if test -z "$ac_top_builddir"; then
99122 ac_top_srcdir=.
99123 else
99124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99125 fi ;;
99126 [\\/]* | ?:[\\/]* ) # Absolute path.
99127 ac_srcdir=$srcdir$ac_dir_suffix;
99128 ac_top_srcdir=$srcdir ;;
99129 *) # Relative path.
99130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99132 esac
99134 # Do not use `cd foo && pwd` to compute absolute paths, because
99135 # the directories may not exist.
99136 case `pwd` in
99137 .) ac_abs_builddir="$ac_dir";;
99139 case "$ac_dir" in
99140 .) ac_abs_builddir=`pwd`;;
99141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99143 esac;;
99144 esac
99145 case $ac_abs_builddir in
99146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99148 case ${ac_top_builddir}. in
99149 .) ac_abs_top_builddir=$ac_abs_builddir;;
99150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99152 esac;;
99153 esac
99154 case $ac_abs_builddir in
99155 .) ac_abs_srcdir=$ac_srcdir;;
99157 case $ac_srcdir in
99158 .) ac_abs_srcdir=$ac_abs_builddir;;
99159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99161 esac;;
99162 esac
99163 case $ac_abs_builddir in
99164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99166 case $ac_top_srcdir in
99167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99170 esac;;
99171 esac
99174 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99175 echo "$as_me: executing $ac_dest commands" >&6;}
99176 case $ac_dest in
99177 default-1 )
99178 # Only add multilib support code if we just rebuilt the top-level
99179 # Makefile.
99180 case " $CONFIG_FILES " in
99181 *" Makefile "*)
99182 ac_file=Makefile . ${multi_basedir}/config-ml.in
99184 esac ;;
99185 default ) if test -n "$CONFIG_FILES"; then
99186 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99187 # that multilib installs will end up installed in the correct place.
99188 # The testsuite needs it for multilib-aware ABI baseline files.
99189 # To work around this not being passed down from config-ml.in ->
99190 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99191 # append it here. Only modify Makefiles that have just been created.
99193 # Also, get rid of this simulated-VPATH thing that automake does.
99194 cat > vpsed << \_EOF
99195 s!`test -f '$<' || echo '$(srcdir)/'`!!
99196 _EOF
99197 for i in $SUBDIRS; do
99198 case $CONFIG_FILES in
99199 *${i}/Makefile*)
99200 #echo "Adding MULTISUBDIR to $i/Makefile"
99201 sed -f vpsed $i/Makefile > tmp
99202 grep '^MULTISUBDIR =' Makefile >> tmp
99203 mv tmp $i/Makefile
99205 esac
99206 done
99207 rm vpsed
99209 (cd include && ${MAKE-make})
99211 esac
99212 done
99213 _ACEOF
99215 cat >>$CONFIG_STATUS <<\_ACEOF
99217 { (exit 0); exit 0; }
99218 _ACEOF
99219 chmod +x $CONFIG_STATUS
99220 ac_clean_files=$ac_clean_files_save
99223 # configure is writing to config.log, and then calls config.status.
99224 # config.status does its own redirection, appending to config.log.
99225 # Unfortunately, on DOS this fails, as config.log is still kept open
99226 # by configure, so config.status won't be able to write to it; its
99227 # output is simply discarded. So we exec the FD to /dev/null,
99228 # effectively closing config.log, so it can be properly (re)opened and
99229 # appended to by config.status. When coming back to configure, we
99230 # need to make the FD available again.
99231 if test "$no_create" != yes; then
99232 ac_cs_success=:
99233 ac_config_status_args=
99234 test "$silent" = yes &&
99235 ac_config_status_args="$ac_config_status_args --quiet"
99236 exec 5>/dev/null
99237 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99238 exec 5>>config.log
99239 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99240 # would make configure fail if this is the last instruction.
99241 $ac_cs_success || { (exit 1); exit 1; }